site stats
October 11, 2018 |

Archive for » October 11th, 2018«

Freedom Kitchen India Expo 2018 from Oct 26

Hyderabad: Traditions Event Management Marketing Private Limited and HITEX Hyderabad in association with Freedom Healthy Cooking Oil Range and Metalika Industries announced the third edition of ‘Freedom Kitchen India Expo 2018’, to be held from October 26 to 28 at the HITEX Exhibition Centre.

Chef Puneet Mehta, Consultant Chef (Master Chef Finalist, Season-2), said the Expo envisages to encourage consumers to adopt a modern lifestyle and adopt the latest technology available to make cooking a family fun activity.

“We have the best global brands dealing with kitchen accessories, appliances and food ingredients, showcasing their best products at Expo 2018. We also have curated several live cookery shows by renowned chefs from Hyderabad,” he said. The show on the third day will also host cookery contests for various categories of cooks by professional chefs for passionate, amateurs and talented homemakers, a press release said.




Category: Accessories  Tags: ,  Comments off

10 things you should never buy cheap

dont-buy-cheap-hero.jpg

— Our editors review and recommend products to help you buy the stuff you need. If you make a purchase by clicking one of our links, we may earn a small share of the revenue. However, our picks and opinions are independent from USA TODAY’s newsroom and any business incentives.

I don’t know about you, but when I’m faced with a choice between an expensive item and a cheap one, my gut reaction is to just buy the cheap one. The justification here is generally something along the lines of “How different can they really be?”

With some products, this is true—there’s no reason to spend $60 on a facial moisturizer. I will die on this hill. However, there are other household products that are worth splurging on, as a high-end model will make you life infinitely easier.

The following are 10 items that we really, REALLY think you should spend more money on.

1. A tomato-slicing, onion-dicing kitchen knife

zwilling-chefs-knife_Cropped.jpg

For years, I used cheap kitchen knives that I bought from HomeGoods, and they worked well enough considering their discount prices. However, the first time I used a real kitchen knife? Life changing. All of a sudden, it wasn’t a battle to slice through tomato skin or dice an onion.

A good, high-quality kitchen knife is worth every penny, as they make chopping, slicing, and dicing, a whole lot easier. In our tests, we found the Zwilling Pro 8″ Chef’s Knife to be the best chef’s knife available today, and it’s definitely worth the splurge because it’s not just sharp and well balanced, but it’ll outlast the cheap knife you’ve been putting up with. by years.

Get the Zwilling Pro 8” Chef’s Knife on Amazon for $139.95

2. Headphones with top-notch sound quality

beats-powerbeats3_Cropped.jpg

If you use headphones once in a blue moon, I guess it’s fine to buy the $5 ones from Walmart. However, most people use headphones on a daily basis, which is why they’re always a splurge-worthy product in our book.

Not only do high-quality headphones provide better sound, but they’re also more comfortable to wear and more durable. You’ll be much happier wearing a pair of headphones you don’t have to adjust every five minutes, especially if you’re using them to exercise or during your commute.

In particular, we love the Audio-Technica ATH-MSR7 over-ear headphones, which aced our tests for the best headphone review, as well as the Beats Powerbeats3 Wireless Earbuds, which are some of the best earbuds out there. And if you want true wireless, we recommend Apple Airpods or Jabra Elite 65t earbuds for Android users.

3. Jeans that actually fit your body

ag-jeans_Cropped.jpg

This might seem like kind of a random thing for this list, but high-quality denim is truly life-changing. The first time you put on a pair of genuinely nice jeans, you’ll never want to squeeze into ill-fitting discount brands again.

Seriously, brands like AG and Hudson fit flawlessly and they’re comfortable to wear all day—no more waistbands digging into your stomach or having to pull them up every time you sit down. And if these aren’t just right for you, one of our editors swears by Madewell’s jeans.

4. A kitchen skillet that actually cooks things evenly

all-clad-skillet_Cropped.jpg

Let me tell you a story. Once upon a time, I bought a cute, cheap skillet from a discount store, as I’m apt to do. Within five uses, the paint was flaking off said skillet and getting cooked onto the stovetop. Not to mention the bottom wasn’t completely even, so everything had to be cooked lopsided. It wasn’t ideal.

A skillet is one kitchen item that you’re fully justified to splurge on. High-quality stainless steel skillets cook food quickly and evenly, are lightweight, will last for years, and won’t burn your hand on the handle when you’re cooking. Just buy one. You will not regret it. In particular, we’d recommend the All-Clad 4112 Stainless Steel Tri-Ply 12-inch Fry Pan, but there are plenty of great options out there.

Get the All-Clad 4112 Stainless Steel Tri-Ply 12-inch Fry Pan on Amazon for $159.95

5. A fast, light, long-lasting laptop

dell-laptop_Cropped.png

Do you like slowing load screens, crappy displays, poor sound quality, and a battery that dies in an hour? No? Then don’t buy a cheap laptop.

Inexpensive laptops are fine for casual users, but if you need one for work or school, this is no time to be frugal. A high-end laptop will serve you much better in terms of processing power, screen and sound quality, battery life, and portability. In our tests to determine the best laptops available today, the Dell XPS 15 2-in-1 truly knocked it out of the park, and it’s well worth the price, in our opinion.

Get the Dell XPS 15 2-in-1 from Dell.com for $1,949.99

6. A vacuum that really sucks

kenmore-canister-vacuum_Cropped.jpg

High-end vacuums are a good example of a product that’s not particularly necessary but will make your life a whole lot easier compared to cheaper alternatives. Budget vacuums can get the job done, but it typically takes longer and the results won’t be as good. Plus, you’ll probably have to replace them in a few years.

More expensive vacuums will help you clean faster and more effectively thanks to impressive suction and versatility and they’ll last for years. The Kenmore Bagged Canister Vacuum with Pet PowerMate is a great example of a moderately priced vacuums that cleans quickly and effectively, and it’s on the lower end of the price scale in its category, making it our value pick for the best canister vacuums.

Get the Kenmore Bagged Canister Vacuum with Pet PowerMate on Amazon for $274

7. A powerful hair dryer

harry-josh-hairdryer_Cropped_1_.jpg

It might seem like your $20 drugstore hair dryer is fine, but there’s a reason it takes a lot longer when you blow dry your hair vs. when your hairdresser does it. High-quality hair dryers get the job done faster and better, leaving you with smooth, luscious locks worthy of a beauty campaign.

The bottom line? Go ahead and invest in a quality hair dryer—it will last you for years and make your morning routine faster and easier. We’d recommend the Harry Josh Pro Tools Pro Dryer 2000, specifically, as it aced our tests in our search for the best hair dryer.

Get the Harry Josh Pro Tools Pro Dryer 2000 from Dermstore for $199.20

8. A mattress that will last for years

casper-mattress_Cropped.jpg

There are a lot of surprisingly affordable mattresses available online today—I’m talking $200-$300 for a queen size. If this seems too good to be true, that’s probably because it is.

When you carefully read the reviews for these budget mattresses, you’ll see that many people say the mattresses get lumpy, bumpy or deflated after just a few months of use. These might work for, say, a guest room or your AirBnB ventures, but who wants to have to replace their main mattress every year?

Now, I’m not saying you have to spend $5,000 on a mattress, but you should at least invest in a moderately priced one that you’re sure is going to stand the test of time. For instance, Casper is an online brand with a good reputation, and our Editor in Chief swears by his Casper mattress.

Get a Queen-sized Casper Mattress on Amazon for $995

9. Strong, durable home improvement tools

makita-electric-drill_Cropped.jpg

Even if you’re not particularly handy, most people have a few key home improvement tools lying around the house. You know, a hammer for hanging up photos, a drill for hanging up photos, a level for hanging up photos—is this the only reason we have tools?

Regardless, it’s always better to spend a little extra on home improvement tools, and I’ll tell you why. First, well-made tools will do their jobs better and with more power, accuracy, and efficiency. Second, durable, high-quality tools will help keep you safe, since they’re less likely to break mid-job. So do yourself a favor, and invest in some good tools, such as our pick for best cordless drill, the Makita FD07R1 Cordless Driver / Drill Kit.

Get the Makita FD07R1 Cordless Driver / Drill Kit from Home Depot for $145

10. A coffee maker that will make you excited to get out of bed

illy-ground-coffee-extra-dark-roast-o_Cropped.jpg

Coffee is important to me. For that reason, I refuse to drink bad coffee, which is often what happens when you use a pod coffee machine.

If you need a powerful and tasty dose of caffeine to get you going each morning, then you should definitely spend a little extra money on a high-end coffee maker. For instance, the sleek Technivorm Moccamaster KB brews a complex, smooth cup of java at top speed, earning it the title of best drip coffee maker in our tests. BRB, I need to go refill my mug.

Get the Technivorm Moccamaster KB on Amazon for $299.99

Prices are accurate at the time of publication, but may change over time.

Category: Skillets  Tags: ,  Comments off

Everything You Need to Fire Up a Dazzling Hot Pot Feast at Home

“Bessou” means “holiday home” in Japanese, so it’s fitting that restaurant owner Maiko Kyogoku and executive chef Emily Yuen specialize in cozy homestyle Japanese food at their New York restaurant of the same name. One of Bessou’s signature dishes is hot pot, with a seasonally rotating cast of ingredients that might include scallops, tofu, and thick-cut bacon or spicy prawns, crab legs, and enoki mushrooms, along with noodles, vegetables, and various broths.

But hot pot is not a restaurant-only meal by any means. “I grew up doing this at home,” says Kyogoku. “We would often make [varieties like] shabu shabu or sukiyaki by throwing together whatever we had lying around the kitchen. Hot pot can be fancy, but it’s often very casual, and because you cook together, it’s very intimate. Some of my best food memories are from making hot pot dinners at home with my family.”

Firing up a hands-on hot pot feast at home is easy, but it does require the right tools. Kyogoku not only has years of hot pot experience in her own home but also happens to have a finely honed aesthetic, which is reflected in the beautiful-yet-functional items at Bessou. Here, she shares her product picks for a hot pot feast of your own design.

A portable stove burner

“You can’t do a hot pot dinner at home by cooking it in the kitchen! Hot pot is interactive and meant to be cooked at the table, with everyone grabbing for that last piece of meat. It’s a time for friends and family to gather and create the meal together, which you can’t do without a portable stovetop. This one is basic, but pretty much essential.”

Buy Iwatani ZA-3HP Portable Butane Stove Burner, $36.37


A minimalist donabe hot pot

“Donabes withstand countless uses, and they’re very durable. Similar to a cast iron or Dutch oven, they insulate heat well. There are more intricate designs out there, but I think this one, with its cracked porcelain design, is beautiful in its minimalism and utilitarianism. It’s what we use at the restaurant, and also what I used growing up, so I have a bit of an attachment to this style. I like to keep the donabe pot simple to highlight what’s inside.”

Buy Korin Sumikannyu Donabe, $21


An elegant wooden serving spoon

“I like the aesthetics of this spoon. It’s pretty shallow, not like a ladle — you use it more to grab the ingredients inside the hotpot. It’s also great to use in place of a regular Chinese soup soup, especially if you want more broth, or use a deeper bowl for each person.”

Buy MTC Kitchen Wooden Serving Spoon, $4

Super-functional bamboo tongs

“We also use these at the restaurant — for me, part of the aesthetics of a Japanese home and meal are about keeping it very natural. I think it helps with the tablescape. These are great for picking up noodles or slippery ingredients; they give you a better grip than chopsticks, and can be used in combination with the spoon above.”

Buy Korin Bamboo Tongs, $5.90


Hand-painted donburi bowls

“Set the table with these beautiful donburi bowls, which are large enough for any hot pot stew and all of its soupy contents. ‘Donburi’ means large rice bowl, or one-bowl meal, and I like that you can easily use these for all kinds of meals. The larger size gives you a sense of heartiness, and the hand-painted design fits into that natural aesthetic.”

Buy MTC Kitchen Donburi Bowl with Lines, $6


MCT Kitchen

Bamboo chopsticks

“Certain elements give a little pop to the table, like this — the design is subtle, but the lines provide such a pretty color. Reusable chopsticks are a good investment for any home, not just for eating hot pot, but also for beating eggs, picking things out of hot oil, stirring things in pots and pans, and more. Plus, they don’t take up a lot of space — embrace the chopsticks!”

Buy Crate Barrel Striped Bamboo Chopsticks, set of five pairs, $5.95

Vintage fabric table mats

“Kiriko is an Oregon-based company that sources vintage fabric from Japan and turns it into accessories and products. At Bessou, we use their bandanas for the kitchen staff. These table mats are beautiful and very thick, so they’re durable, and I love the cross-stitch pattern, which reminds me of old kimono fabric.”

Buy Kiriko Kasuri-Ori Table Mat, $29


Crate and Barrel chopsticks; Kiriko table mats


Vox Media has affiliate partnerships. These do not influence editorial content, though Vox Media may earn commissions for products purchased via affiliate links. For more information, see our ethics policy.

Category: Accessories  Tags: ,  Comments off

Design Elements Inspire At New York Tabletop Market

Fresh takes on design led the way on day two of the New York Tabletop Market, October 10. As vendors continue to look to satisfy casual living lifestyles, color, form and finish have evolved and inspired across a range of tableware segments.

When it comes to color, vendors noted several color families are primed for the coming year: pastels, deep bolds and iridescences. Gibson, for example, expanded its cross-category Pastels collection. The collection includes a wide selection of products including dinnerware, prep, serveware, cookware, bakeware, coffee/tea and cutlery in a variety of pastel colors. David Nicklin, Gibson’s vp/marketing and licensing, noted that the pastel color palette continues to make its way from runways into U.S. homes, and appeals to a broad cross-section of consumers looking for elegant, simple products.

Part of the deep bolds family, black has emerged as a potential powerhouse for the category. Vendors noted that the color, much like white, is capable of satisfying the need for a blank canvas on which consumers can layer other pieces or even bring attention to food itself. Several vendors highlighted black dinnerware, serveware and flatware meant to add balance, pops of color or nuanced eclecticism to the table.

Iridescent colorways were also a highlight at the show. The look has come in a big way to glassware and flatware in particular. Several vendors highlighted new collections boasting iridescent colors. LSA International had on hand its Iridescence collection of glassware, which features hand-painted luster, gold rims and assorted pastel and pearl finishes. Lifetime’s Mikasa brand launched its own lines of iridescent glassware, Nala and Nala Optic. Nala Optic also features an added texture. The company also launched a new flatware collection featuring bold iridescence.

Form and finish were also a major touch point at the fall market. Various textures took shape there, with vendors launching collections featuring 3D printing techniques, embossed designs meant to punch up white dinnerware and a variety of new surfaces within glassware. When it comes to finishes, reactive glazes continue to hit their stride and numerous vendors launched their own iterations of the trend across several dinnerware surfaces. Matte finishes have also become popular and expanded beyond black and white, as some vendors launched matte finishes across several different colorways.

Some vendors at the show strived to take on each of these trends within collections in order to reach today’s consumer. Lenox’s Kate Spade brand, for example, launched its cross-category Willow Drive collection, which features dinnerware, serveware, on-the-go and small electrics in textured finishes and pastel colorways. The cross-category collection boasts a complete kitchen story for retailers to tell in-store.

Category: Dinnerware  Tags: ,  Comments off

Using the whole beet

(Photo provided — Yvona Fast)

<!–
–>

Most Americans know beets from alphabet books. Some have had canned or pickled beets. Only a few know how to prepare the bunches of beets plentiful at farmers’ markets and roadside stands this time of year.

You can use the whole beet: roots, leaves, and stems. Roots are great roasted or boiled. Stems can be added to stir-fries and skillets. The greens have great flavor and a good, sturdy texture similar to Swiss chard. They can be prepared like any other greens: sautéed, braised, even juiced. They are wonderful in autumn salads and egg dishes like quiche or frittata.

Native to the sandy shores of the Mediterranean, beet greens have been eaten since prehistoric times. The Romans were the first to cultivate them. Centuries later, French chefs saw potential in the sweet delicacy. Today, beets are common fare throughout most of Europe.

Bright crimson-red beetroots look rough on the outside, but once cooked they are delectably sweet, soft and buttery, with higher sugar content than sweet potatoes or carrots. Raw beets have a crisp texture similar to carrots and can be shredded into salads. They are very nutritious and fairly low in calories. Fresh beets contain twice as much folic acid and potassium as canned beets, because these nutrients are lost in the canning process.

With 55 calories per cup, beetroots contain lots of fiber, potassium, manganese, folic acid, and vitamins A and C. Betacyanin, the dye responsible for the bright crimson color of red beets, is a powerful cancer preventative.

With just 19 calories in half a cup, beet greens are even more nutritious than the roots. They have almost double the potassium of the roots, as well as lots of fiber, folic acid, vitamin A and iron. Some recent studies show that beet greens may help smokers quit by suppressing nicotine cravings.

Both greens and roots are a good source of powerful antioxidants, flavonoids and other important phytochemicals that protect against heart disease and certain cancers, especially colon cancer.

At the market, look for small, young, brightly colored beets that are smooth, hard and no more than four inches in diameter. Large beets may be tough. Bright green leaves with rich red veins running through them should be attached.

Beet greens deteriorate quickly, so eat them first; beetroots will keep longer in your fridge or root cellar. Store greens unwashed in the refrigerator, and wash in several changes of water prior to use to remove clinging sand. They cook down, so one pound of beet greens will yield less than two cups when cooked, or about four to five cups when shredded for a salad. Stems and greens can be cut up and sautéed. They go well with strong seasonings like garlic, ham, or chilies and are great braised together with other greens, such as chard, mustard or turnip greens.

To prepare the roots, wash gently, being careful not to cut or remove the skin, root or bottom inch of the stem; this ensures that the flavor, color and nutrients are preserved. Beetroots can be roasted, boiled, steamed, served hot or cold, pickled, made into soups, salads or even sandwiches. There is beet jam, beet cake, beet relish and even beet wine. A little raw grated beet will dress up a tossed salad. They’re very accommodating, complementing almost any ingredient you think to add.

When roasted or boiled, the skins will slip off easily as soon as the beets are cool enough to handle. If using beetroots raw, you will need to peel them with a potato peeler. Leave baby beets whole; cut the larger ones in cubes or slices. Season and serve. They’re great with just a little butter and salt, or with fresh herbs: parsley, mint, chervil or dill are all good choices.

If you eat a lot of beets, you may see red in your urine or stool. This is nothing to worry about, but a harmless condition called beeturia.

Use caution when handling beets, since betalains, the red dye in beets, can stain. You don’t want to get it on your clothes, and you may want to wear gloves when working with them.

Whole Beet Quiche

Ingredients:

1 beet with stems and greens

1 potato

A little butter or oil for the pan

2 strips bacon (optional)

1 apple

3 eggs

1/2 teaspoon salt, optional

1/3 cup cottage cheese

1/2 cup crumbled feta cheese

Directions:

In skillet, cook 1 or 2 strips bacon until crisp. Remove and set aside.

For the crust, preheat oven to 375 degrees. Pour about a tablespoon of the bacon drippings into a pie plate. Use to grease bottom and sides of plate (or, oil pie plate if not using bacon). Peel beet and potato. Shred coarsely using a food processor or hand grater; you will need about 3 cups. Place in prepared pie plate; pat into bottom and sides of a 9-inch pie plate. Bake at 375 degrees about 10 minutes. Remove from oven and lower heat to 325 degrees.

For the filling, wash and chop beet greens and stems. Add to bacon drippings in skillet; cook, covered, on low until soft. Core and dice an apple, and add.

In bowl, beat eggs with a little salt; beat in cottage cheese.

Layer contents of skillet on top of beet-potato nest in pie plate. Pour in egg mixture. Top with feta cheese and reserved bacon.

Bake until eggs set and cheese melts, 30 to 40 minutes.

Remove from oven. Let cool five to 10 minutes before slicing.

Serves three to four. Serve with a tossed salad.

Beet and Lamb Skillet

Ingredients:

1 small bunch beets with greens

1 onion

1 teaspoon oil or butter

1/2 pound ground lamb (or another ground meat like beef or pork)

1/2 teaspoon salt

1/4 teaspoon black pepper

1 apple (washed, cored diced – no need to peel) or 1/2 cup applesauce

1/4 cup sharp Cheddar cheese

1 Tablespoon apple cider vinegar

Directions:

Peel and dice the onion. Set aside.

Peel some of the beets and dice into 1/2″ cubes (you need about a cup or two). Set aside.

Wash beet greens and stems and chop into 1 or 2 inch lengths. Set aside.

Heat oil or butter to just coat bottom of skillet.

Add onion, ground lamb, salt and pepper. Cover and cook on low 5 minutes.

Add diced beets and cook, covered, another 5 to 10 minutes, stirring occasionally.

Wash, core and dice the apple.

Stir in beet greens and stems and diced apple. Continue cooking, covered, until softened, about another 10 minutes.

Stir in cheese and cook one to two minutes to melt. If using applesauce in place of apple, stir it in with the cheese.

Remove from heat and stir in the cider vinegar. Serve over pasta or with a side of boiled potatoes.

Serves two to three.

Vegetarian option: omit lamb. Add 1 1/2 cups cooked beans towards the end of cooking. Increase cheese to 1/2 cup.

Author of the award-winning cookbook Garden Gourmet: Fresh Fabulous Meals from your Garden, CSA or Farmers’ Market, Yvona Fast lives in Lake Clear and has two passions: cooking and writing. She can be reached at yvonawrite@yahoo.com or on Facebook as Author Yvona Fast.

Category: Skillets  Tags: ,  Comments off

The Best Products for an Ecofriendly Kitchen, According to Experts

‘:””},t.getDefinedParams=function(e,t){return t.filter(function(t){return e[t]}).reduce(function(t,r){return n(t,function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}({},r,e[r]))},{})},t.isValidMediaTypes=function(e){var t=[“banner”,”native”,”video”];return!!Object.keys(e).every(function(e){return t.includes(e)})(!e.video||!e.video.context||[“instream”,”outstream”].includes(e.video.context))},t.unsupportedBidderMessage=function(e,t){var r=e.mediaType||Object.keys(e.mediaTypes).join(“, “),n=1===t.length?”This bidder”:”These bidders”;return”n “+e.code+” is a “+r+” ad unitn containing bidders that don’t support “+r+”: “+t.join(“, “)+”.n “+n+” won’t fetch demand.n “};var o,a=r(8),s=(o=r(61))o.__esModule?o:{default:o},d=r(2),u=!1,c=Object.prototype.toString,l=null;try{l=console.info.bind(window.console)}catch(e){}t.replaceTokenInString=function(e,t,r){return this._each(t,function(t,n){t=void 0===t?””:t;var i=r+n.toUpperCase()+r,o=new RegExp(i,”g”);e=e.replace(o,t)}),e};var f,p=(f=0,function(){return++f});function g(){return p()+Math.random().toString(16).substr(2)}function v(e){if(t.isArray(e)2===e.length!isNaN(e[0])!isNaN(e[1]))return e[0]+”x”+e[1]}function m(){return window.consolewindow.console.log}t.getUniqueIdentifierStr=g,t.generateUUID=function e(t){return t?(t^16*Math.random()t/4).toString(16):([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,e)},t.getBidIdParameter=function(e,t){return tt[e]?t[e]:””},t.tryAppendQueryString=function(e,t,r){return r?e+(t+”=”)+encodeURIComponent(r)+””:e},t.parseQueryStringParameters=function(e){var t=””;for(var r in e)e.hasOwnProperty(r)(t+=r+”=”+encodeURIComponent(e[r])+””);return t},t.transformAdServerTargetingObj=function(e){return eObject.getOwnPropertyNames(e).length0?S(e).map(function(t){return t+”=”+encodeURIComponent(E(e,t))}).join(“”):””},t.getTopWindowLocation=function(){var e=void 0;try{window.top.location.toString(),e=window.top.location}catch(t){e=window.location}return e},t.getTopWindowUrl=function(){var e=void 0;try{e=this.getTopWindowLocation().href}catch(t){e=””}return e},t.getTopWindowReferrer=function(){try{return window.top.document.referrer}catch(e){return document.referrer}},t.logWarn=function(e){b()console.warnconsole.warn(“WARNING: “+e)},t.logInfo=function(e,t){b()m()l(t0!==t.length||(t=””),l(“INFO: “+e+(“”===t?””:” : params : “),t))},t.logMessage=function(e){b()m()console.log(“MESSAGE: “+e)},t.hasConsoleLogger=m;var b=function(){if(!1===a.config.getConfig(“debug”)!1===u){var e=”TRUE”===y(d.DEBUG_MODE).toUpperCase();a.config.setConfig({debug:e}),u=!0}return!!a.config.getConfig(“debug”)};t.debugTurnedOn=b,t.logError=function(){b()window.consolewindow.console.errorconsole.error.apply(console,arguments)},t.createInvisibleIframe=function(){var e=document.createElement(“iframe”);return e.id=g(),e.height=0,e.width=0,e.border=”0px”,e.hspace=”0″,e.vspace=”0″,e.marginWidth=”0″,e.marginHeight=”0″,e.style.border=”0″,e.scrolling=”no”,e.frameBorder=”0″,e.src=”about:blank”,e.style.display=”none”,e};var y=function(e){var t=new RegExp(“[\?]”+e+”=([^]*)”).exec(window.location.search);return null===t?””:decodeURIComponent(t[1].replace(/+/g,” “))};t.getParameterByName=y,t.hasValidBidRequest=function(e,t,r){var n=!1;function i(e,r){r===t[o](n=!0)}for(var o=0;o0);for(var r in e)if(hasOwnProperty.call(e,r))return!1;return!0},t.isEmptyStr=function(e){return this.isStr(e)(!e||0===e.length)},t._each=function(e,t){if(!this.isEmpty(e)){if(this.isFn(e.forEach))return e.forEach(t,this);var r=0,n=e.length;if(n0)for(;r’+”:””},t.createTrackPixelIframeHtml=function(e){var r=!(arguments.length1void 0!==arguments[1])||arguments[1],n=arguments.length2void 0!==arguments[2]?arguments[2]:””;return e?(r(e=encodeURI(e)),n(n=’sandbox=”‘+n+'”‘),”‘):””},t.getIframeDocument=function(e){if(e){var t=void 0;try{t=e.contentWindow?e.contentWindow.document:e.contentDocument.document?e.contentDocument.document:e.contentDocument}catch(e){this.logError(“Cannot get iframe document”,e)}return t}},t.getValueString=function(e,t,r){return null==t?r:this.isStr(t)?t:this.isNumber(t)?t.toString():void this.logWarn(“Unsuported type for param: “+e+” required type: String”)}},function(e,t,r){var n=Object.assign||function(e){for(var t=1;t2void 0!==arguments[2]?arguments[2]:{}).supportedMediaTypes,i=void 0===n?[]:n;er?”function”==typeof e.callBids?(f[r]=e,i.includes(“video”)t.videoAdapters.push(r),i.includes(“native”)a.nativeAdapters.push(r)):d.logError(“Bidder adaptor error for bidder code: “+r+”bidder must implement a callBids() function”):d.logError(“bidAdaptor or bidderCode not specified”)},t.aliasBidAdapter=function(e,r){var i,o;if(void 0===f[r]){var u=f[e];if(void 0===u)d.logError(‘bidderCode “‘+e+'” is not an existing bidder.’,”adaptermanager.aliasBidAdapter”);else try{var c=void 0,l=(i=e,o=[],t.videoAdapters.includes(i)o.push(“video”),a.nativeAdapters.includes(i)o.push(“native”),o);if(u.constructor.prototype!=Object.prototype)(c=new u.constructor).setBidderCode(r);else{var p=u.getSpec();c=(0,s.newBidder)(n({},p,{code:r}))}this.registerBidAdapter(c,r,{supportedMediaTypes:l})}catch(t){d.logError(e+” bidder does not currently support aliasing.”,”adaptermanager.aliasBidAdapter”)}}else d.logMessage(‘alias name “‘+r+'” has been already specified.’)},t.registerAnalyticsAdapter=function(e){var t=e.adapter,r=e.code;tr?”function”==typeof t.enableAnalytics?(t.code=r,m[r]=t):d.logError(‘Prebid Error: Analytics adaptor error for analytics “‘+r+'”n analytics adapter must implement an enableAnalytics() function’):d.logError(“Prebid Error: analyticsAdapter or analyticsCode not specified”)},t.enableAnalytics=function(e){d.isArray(e)||(e=[e]),d._each(e,function(e){var t=m[e.provider];t?t.enableAnalytics(e):d.logError(“Prebid Error: no analytics adapter found in registry forn “+e.provider+”.”)})},t.setBidderSequence=function(e){v[e]?b=e:d.logWarn(“Invalid order: “+e+”. Bidder Sequence was not set.”)},t.getBidAdapter=function(e){return f[e]},t.setS2SConfig=function(e){p=e},t.setS2STestingModule=function(e){l=e}},function(e,t){e.exports={JSON_MAPPING:{PL_CODE:”code”,PL_SIZE:”sizes”,PL_BIDS:”bids”,BD_BIDDER:”bidder”,BD_ID:”paramsd”,BD_PL_ID:”placementId”,ADSERVER_TARGETING:”adserverTargeting”,BD_SETTING_STANDARD:”standard”},REPO_AND_VERSION:”prebid_prebid_0.34.16″,DEBUG_MODE:”pbjs_debug”,STATUS:{GOOD:1,NO_BID:2},CB:{TYPE:{ALL_BIDS_BACK:”allRequestedBidsBack”,AD_UNIT_BIDS_BACK:”adUnitBidsBack”,BID_WON:”bidWon”,REQUEST_BIDS:”requestBids”}},EVENTS:{AUCTION_INIT:”auctionInit”,AUCTION_END:”auctionEnd”,BID_ADJUSTMENT:”bidAdjustment”,BID_TIMEOUT:”bidTimeout”,BID_REQUESTED:”bidRequested”,BID_RESPONSE:”bidResponse”,BID_WON:”bidWon”,SET_TARGETING:”setTargeting”,REQUEST_BIDS:”requestBids”,ADD_AD_UNITS:”addAdUnits”},EVENT_ID_PATHS:{bidWon:”adUnitCode”},GRANULARITY_OPTIONS:{LOW:”low”,MEDIUM:”medium”,HIGH:”high”,AUTO:”auto”,DENSE:”dense”,CUSTOM:”custom”},TARGETING_KEYS:[“hb_bidder”,”hb_adid”,”hb_pb”,”hb_size”,”hb_deal”],S2S:{DEFAULT_ENDPOINT:”https://prebid.adnxs.com/pbs/v1/auction”,SRC:”s2s”,ADAPTER:”prebidServer”,SYNC_ENDPOINT:”https://prebid.adnxs.com/pbs/v1/cookie_sync”,SYNCED_BIDDERS_KEY:”pbjsSyncs”}}},function(e,t,r){var n=Object.assign||function(e){for(var t=1;tpbjs.cbTimeout+pbjs.timeoutBuffert.executeCallback(!0)}function w(e){var r;m.emit(p.EVENTS.BID_RESPONSE,e),pbjs._bidsReceived.push(e),e.adUnitCodefunction(e){var t=this;return pbjs._bidsRequested.map(function(r){return r.bids.filter(o.adUnitsFilter.bind(t,pbjs._adUnitCodes)).filter(function(t){return t.placementCode===e})}).reduce(o.flatten,[]).map(function(e){return”indexExchange”===e.bidder?e.sizes.length:1}).reduce(I,0)===pbjs._bidsReceived.filter(function(t){return t.adUnitCode===e}).length}(e.adUnitCode)(r=[e.adUnitCode],x(b.byAdUnit,r)),S()t.executeCallback()}function T(e,t){var r={},i=pbjs.bidderSettings;return tiA(r,j(),t),etii[e]i[e][p.JSON_MAPPING.ADSERVER_TARGETING]?(A(r,i[e],t),t.alwaysUseBid=i[e].alwaysUseBid,t.sendStandardTargeting=i[e].sendStandardTargeting):y[e](A(r,y[e],t),t.alwaysUseBid=y[e].alwaysUseBid,t.sendStandardTargeting=y[e].sendStandardTargeting),t.native(r=n({},r,(0,s.getNativeTargeting)(t))),r}function A(e,t,r){var n=t[p.JSON_MAPPING.ADSERVER_TARGETING];return r.size=r.getSize(),v._each(n,function(n){var i=n.key,o=n.val;if(e[i]v.logWarn(“The key: “+i+” is getting ovewritten”),v.isFn(o))try{o=o(r)}catch(e){v.logError(“bidmanager”,”ERROR”,e)}(void 0===t.suppressEmptyKeys||!0!==t.suppressEmptyKeys)”hb_deal”!==i||!v.isEmptyStr(o)null!=o?e[i]=o:v.logInfo(“suppressing empty key ‘”+i+”‘ from adserver targeting”)}),e}function x(e,t){var r=this;v.isArray(e)e.forEach(function(e){var n=t||pbjs._adUnitCodes,i=[pbjs._bidsReceived.filter(o.adUnitsFilter.bind(r,n)).reduce(D,{})];e.apply(pbjs,i)})}function D(e,t){return e[t.adUnitCode]||(e[t.adUnitCode]={bids:[]}),e[t.adUnitCode].bids.push(t),e}function C(e){var t=e.bidderCode,r=e.cpm,i=void 0;if(pbjs.bidderSettings(tpbjs.bidderSettings[t]”function”==typeof pbjs.bidderSettings[t].bidCpmAdjustment?i=pbjs.bidderSettings[t].bidCpmAdjustment:pbjs.bidderSettings[p.JSON_MAPPING.BD_SETTING_STANDARD]”function”==typeof pbjs.bidderSettings[p.JSON_MAPPING.BD_SETTING_STANDARD].bidCpmAdjustment(i=pbjs.bidderSettings[p.JSON_MAPPING.BD_SETTING_STANDARD].bidCpmAdjustment),i))try{r=i(e.cpm,n({},e))}catch(e){v.logError(“Error during bid adjustment”,”bidmanager.js”,e)}r=0(e.cpm=r)}function j(){var e=l.config.getConfig(“priceGranularity”),t=pbjs.bidderSettings;return t[p.JSON_MAPPING.BD_SETTING_STANDARD]||(t[p.JSON_MAPPING.BD_SETTING_STANDARD]={}),t[p.JSON_MAPPING.BD_SETTING_STANDARD][p.JSON_MAPPING.ADSERVER_TARGETING]||(t[p.JSON_MAPPING.BD_SETTING_STANDARD][p.JSON_MAPPING.ADSERVER_TARGETING]=[{key:”hb_bidder”,val:function(e){return e.bidderCode}},{key:”hb_adid”,val:function(e){return e.adId}},{key:”hb_pb”,val:function(t){return e===p.GRANULARITY_OPTIONS.AUTO?t.pbAg:e===p.GRANULARITY_OPTIONS.DENSE?t.pbDg:e===p.GRANULARITY_OPTIONS.LOW?t.pbLg:e===p.GRANULARITY_OPTIONS.MEDIUM?t.pbMg:e===p.GRANULARITY_OPTIONS.HIGH?t.pbHg:e===p.GRANULARITY_OPTIONS.CUSTOM?t.pbCg:void 0}},{key:”hb_size”,val:function(e){return e.size}},{key:”hb_deal”,val:function(e){return e.dealId}}]),t[p.JSON_MAPPING.BD_SETTING_STANDARD]}t.getTimedOutBidders=function(){return pbjs._bidsRequested.map(h).filter(o.uniques).filter(function(e){return pbjs._bidsReceived.map(_).filter(o.uniques).indexOf(e)0||e.dealId)(s=T(e.bidderCode,e)),e.adserverTargeting=n(e.adserverTargeting||{},s)}(t,e),”video”===t.mediaType?(r=t,l.config.getConfig(“usePrebidCache”)!r.videoCacheKey?(0,u.store)([r],function(e,t){e?v.logWarn(“Failed to save to the video cache: “+e+”. Video bid must be discarded.”):(r.videoCacheKey=t[0].uuid,r.vastUrl||(r.vastUrl=(0,u.getCacheUrl)(r.videoCacheKey)),w(r)),E(r)}):(w(r),E(r))):(w(t),E(t)))}),t.getKeyValueTargetingPairs=function(){return T.apply(void 0,arguments)},t.registerDefaultBidderSetting=function(e,t){y[e]=t},t.executeCallback=function(e){if(!eb.timerclearTimeout(b.timer),!0!==b.all.called(x(b.all),b.all.called=!0,e)){var r=t.getTimedOutBidders();r.lengthm.emit(p.EVENTS.BID_TIMEOUT,r)}if(b.oneTime){m.emit(g);try{x([b.oneTime])}catch(e){v.logError(“Error executing bidsBackHandler”,null,e)}finally{b.oneTime=null,b.timer=!1,pbjs.clearAuction()}}},t.externalCallbackReset=function(){b.all.called=!1},t.addOneTimeCallback=function(e,t){b.oneTime=e,b.timer=t},t.addCallback=function(e,t,r){t.id=e,p.CB.TYPE.ALL_BIDS_BACK===r?b.all.push(t):p.CB.TYPE.AD_UNIT_BIDS_BACK===rb.byAdUnit.push(t)},m.on(p.EVENTS.BID_ADJUSTMENT,function(e){C(e)}),t.adjustBids=function(){return C.apply(void 0,arguments)},t.getStandardBidderAdServerTargeting=function(){return j()[p.JSON_MAPPING.ADSERVER_TARGETING]}},function(e,t,r){var n=r(0);t.createBid=function(e,t){return new function(e,t){var r=tt.bidId||n.getUniqueIdentifierStr(),i=ethis.bidderCode=tt.bidder||””,this.width=0,this.height=0,this.statusMessage=function(){switch(i){case 0:return”Pending”;case 1:return”Bid available”;case 2:return”Bid returned empty or error response”;case 3:return”Bid timed out”}}(),this.adId=r,this.mediaType=”banner”,this.getStatusCode=function(){return i},this.getSize=function(){return this.width+”x”+this.height}}(e,t)}},function(e,t,r){var n=r(0),i={};function o(e,t){var r=document.createElement(“script”);r.type=”text/javascript”,r.async=!0,t”function”==typeof t(r.readyState?r.onreadystatechange=function(){“loaded”!==r.readyState”complete”!==r.readyState||(r.onreadystatechange=null,t())}:r.onload=function(){t()}),r.src=e;var n=document.getElementsByTagName(“head”);(n=n.length?n:document.getElementsByTagName(“body”)).length(n=n[0]).insertBefore(r,n.firstChild)}t.loadScript=function(e,t,r){e?r?i[e]?t”function”==typeof t(i[e].loaded?t():i[e].callbacks.push(t)):(i[e]={loaded:!1,callbacks:[]},t”function”==typeof ti[e].callbacks.push(t),o(e,function(){i[e].loaded=!0;try{for(var t=0;t3void 0!==arguments[3]?arguments[3]:{};try{var c=void 0,l=!1,f=u.method||(r?”POST”:”GET”),p=”object”===(void 0===t?”undefined”:i(t))?t:{success:function(){a.logMessage(“xhr success”)},error:function(e){a.logError(“xhr error”,null,e)}};if(“function”==typeof t(p.success=t),window.XMLHttpRequest?void 0===(c=new window.XMLHttpRequest).responseType(l=!0):l=!0,l?((c=new window.XDomainRequest).onload=function(){p.success(c.responseText,c)},c.onerror=function(){p.error(“error”,c)},c.ontimeout=function(){p.error(“timeout”,c)},c.onprogress=function(){a.logMessage(“xhr onprogress”)}):c.onreadystatechange=function(){if(c.readyState===s){var e=c.status;e=200e0;)try{this.cmd.shift().call()}catch(e){i.logError(“Error processing Renderer command: “,e)}}},function(e,t,r){Object.defineProperty(t,”__esModule”,{value:!0}),t.userSync=void 0;var n=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var r=[],n=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done)(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){i=!0,o=e}finally{try{!ns.returns.return()}finally{if(i)throw o}}return r}(e,t);throw new TypeError(“Invalid attempt to destructure non-iterable instance”)},i=Object.assign||function(e){for(var t=1;t=u.syncsPerBidder?o.logWarn(‘Number of user syncs exceeded for “{$bidder}”‘):u.enabledBiddersu.enabledBidders.lengthu.enabledBidders.indexOf(t)0void 0!==arguments[0]?arguments[0]:0;if(e)return window.setTimeout(c,Number(e));c()},t.triggerUserSyncs=function(){u.enableOverridet.syncUsers()},t}a.config.setDefaults({userSync:{syncEnabled:!0,pixelEnabled:!0,syncsPerBidder:5,syncDelay:3e3}});var d=!o.isSafariBrowser()o.cookiesAreEnabled();t.userSync=s({config:a.config.getConfig(“userSync”),browserSupportsCookies:d})},function(e,t){var r=e.exports=”undefined”!=typeof windowwindow.Math==Math?window:”undefined”!=typeof selfself.Math==Math?self:Function(“return this”)();”number”==typeof __g(__g=r)},function(e,t){var r=e.exports={version:”2.5.3″};”number”==typeof __e(__e=r)},function(e,t){e.exports=function(e){return”object”==_typeof(e)?null!==e:”function”==typeof e}},function(e,t,r){var n=r(16),i=r(14),o=r(28),a=r(412),s=r(48),d=”prototype”,u=function e(t,r,u){var c,l,f,p,g=te.F,v=te.G,m=te.P,b=te.B,y=v?n:te.S?n[r]||(n[r]={}):(n[r]||{})[d],h=v?i:i[r]||(i[r]={}),_=h[d]||(h[d]={});for(c in v(u=r),u)f=((l=!gyvoid 0!==y[c])?y:u)[c],p=bl?s(f,n):m”function”==typeof f?s(Function.call,f):f,ya(y,c,f,te.U),h[c]!=fo(h,c,p),m_[c]!=f(_[c]=f)};n.core=i,u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,e.exports=u},function(e,t){e.exports=function(e){return”object”==_typeof(e)?null!==e:”function”==typeof e}},function(e,t,r){var n=r(19),i=r(20),o=r(36),a=r(103),s=”prototype”,d=function e(t,r,d){var u,c,l,f=te.F,p=te.G,g=te.S,v=te.P,m=te.B,b=te.W,y=p?i:i[r]||(i[r]={}),h=y[s],_=p?n:g?n[r]:(n[r]||{})[s];for(u in p(d=r),d)(c=!f_void 0!==_[u])u in y||(l=c?_[u]:d[u],y[u]=p”function”!=typeof _[u]?d[u]:mc?o(l,n):b_[u]==l?function(e){var t=function(t,r,n){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,r)}return new e(t,r,n)}return e.apply(this,arguments)};return t[s]=e[s],t}(l):v”function”==typeof l?o(Function.call,l):l,v((y.virtual||(y.virtual={}))[u]=l,te.Rh!h[u]a(h,u,l)))};d.F=1,d.G=2,d.S=4,d.P=8,d.B=16,d.W=32,d.U=64,d.R=128,e.exports=d},function(e,t,r){e.exports=!r(37)(function(){return 7!=Object.defineProperty({},”a”,{get:function(){return 7}}).a})},function(e,t){e.exports=function(){}},function(e,t,r){var n=r(0),i=r(8),o=r(15);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var s=r(3),d=r(0),u=r(2),c=t,l=[];function f(e){return”string”==typeof e?[e]:d.isArray(e)?e:pbjs._adUnitCodes||[]}function p(){return s.getStandardBidderAdServerTargeting().map(function(e){return e.key}).concat(u.TARGETING_KEYS).filter(n.uniques)}function g(e){return{adUnitCode:e,cpm:0,adserverTargeting:{},timeToRespond:0}}c.resetPresetTargeting=function(e){if((0,n.isGptPubadsDefined)()){var t=f(e),r=pbjs.adUnits.filter(function(e){return t.includes(e.code)});window.googletag.pubads().getSlots().forEach(function(e){l.forEach(function(t){r.forEach(function(r){r.code!==e.getAdUnitPath()r.code!==e.getSlotElementId()||e.setTargeting(t,null)})})})}},c.getAllTargeting=function(e){var t,r,s,d,v,m,b=f(e),y=(d=b,v=c.getWinningBids(d),m=p(),v=v.map(function(e){return a({},e.adUnitCode,Object.keys(e.adserverTargeting).filter(function(t){return void 0===e.sendStandardTargeting||e.sendStandardTargeting||-1===m.indexOf(t)}).map(function(t){return a({},t.substring(0,20),[e.adserverTargeting[t]])}))})).concat(function(e){var t=p();return pbjs._bidsReceived.filter(n.adUnitsFilter.bind(this,e)).map(function(e){if(e.alwaysUseBid)return a({},e.adUnitCode,Object.keys(e.adserverTargeting).map(function(r){if(!(t.indexOf(r)-1))return a({},r.substring(0,20),[e.adserverTargeting[r]])}).filter(function(e){return e}))}).filter(function(e){return e})}(b)).concat(i.config.getConfig(“enableSendAllBids”)?(t=u.TARGETING_KEYS.concat(o.NATIVE_TARGETING_KEYS),r=[],s=(0,n.groupBy)(pbjs._bidsReceived,”adUnitCode”),Object.keys(s).forEach(function(e){var t=(0,n.groupBy)(s[e],”bidderCode”);Object.keys(t).forEach(function(e){return r.push(t[e].reduce(n.getHighestCpm,g()))})}),r.map(function(e){if(e.adserverTargeting)return a({},e.adUnitCode,(r=e,t.filter(function(t){return void 0!==e.adserverTargeting[t]}).map(function(e){return a({},(e+”_”+r.bidderCode).substring(0,20),[r.adserverTargeting[e]])})));var r}).filter(function(e){return e})):[]);return y.map(function(e){Object.keys(e).map(function(t){e[t].map(function(e){-1===l.indexOf(Object.keys(e)[0])(l=Object.keys(e).concat(l))})})}),y},c.setTargeting=function(e){window.googletag.pubads().getSlots().forEach(function(t){e.filter(function(e){return Object.keys(e)[0]===t.getAdUnitPath()||Object.keys(e)[0]===t.getSlotElementId()}).forEach(function(e){return e[Object.keys(e)[0]].forEach(function(e){e[Object.keys(e)[0]].map(function(r){return d.logMessage(“Attempting to set key value for slot: “+t.getSlotElementId()+” key: “+Object.keys(e)[0]+” value: “+r),r}).forEach(function(r){t.setTargeting(Object.keys(e)[0],r)})})})})},c.getWinningBids=function(e){var t=f(e);return pbjs._bidsReceived.filter(function(e){return t.includes(e.adUnitCode)}).filter(function(e){return e.cpm0}).map(function(e){return e.adUnitCode}).filter(n.uniques).map(function(e){return pbjs._bidsReceived.filter(function(t){return t.adUnitCode===e?t:null}).reduce(n.getHighestCpm,g(e))})},c.setTargetingForAst=function(){var e=pbjs.getAdserverTargeting();Object.keys(e).forEach(function(t){return Object.keys(e[t]).forEach(function(r){if(d.logMessage(“Attempting to set targeting for targetId: “+t+” key: “+r+” value: “+e[t][r]),d.isStr(e[t][r])||d.isArray(e[t][r])){var n={};n[r.toUpperCase()]=e[t][r],window.apntag.setKeywords(t,n)}})})},c.isApntagDefined=function(){if(window.apntagd.isFn(window.apntag.setKeywords))return!0}},function(e,t,r){var n=r(406),i=r(411);e.exports=r(29)?function(e,t,r){return n.f(e,t,i(1,r))}:function(e,t,r){return e[t]=r,e}},function(e,t,r){e.exports=!r(30)(function(){return 7!=Object.defineProperty({},”a”,{get:function(){return 7}}).a})},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t){var r=0,n=Math.random();e.exports=function(e){return”Symbol(“.concat(void 0===e?””:e,”)_”,(++r+n).toString(36))}},function(e,t,r){var n=r(50);e.exports=Object(“z”).propertyIsEnumerable(0)?Object:function(e){return”String”==n(e)?e.split(“”):Object(e)}},function(e,t,r){var n=r(55)(“unscopables”),i=Array.prototype;null==i[n]r(28)(i,n,{}),e.exports=function(e){i[n][e]=!0}},function(e,t,r){Object.defineProperty(t,”__esModule”,{value:!0});var n=r(0),i=2,o={buckets:[{min:0,max:5,increment:.5}]},a={buckets:[{min:0,max:20,increment:.1}]},s={buckets:[{min:0,max:20,increment:.01}]},d={buckets:[{min:0,max:3,increment:.01},{min:3,max:8,increment:.05},{min:8,max:20,increment:.5}]},u={buckets:[{min:0,max:5,increment:.05},{min:5,max:10,increment:.1},{min:10,max:20,increment:.5}]};function c(e,t,r){var n=””;if(!l(t))return n;var o=t.buckets.reduce(function(e,t){return e.maxt.max?e:t},{max:0}),a=t.buckets.find(function(t){if(eo.max*r){var a=t.precision;void 0===a(a=i),n=(t.max*r).toFixed(a)}else if(e=t.min*r)return t});return a(n=function(e,t,r,n){void 0===r(r=i);var o=1/(t*n);return(Math.floor(e*o)/o).toFixed(r)}(e,a.increment,a.precision,r)),n}function l(e){if(n.isEmpty(e)||!e.buckets||!Array.isArray(e.buckets))return!1;var t=!0;return e.buckets.forEach(function(e){void 0!==e.mine.maxe.increment||(t=!1)}),t}t.getPriceBucketString=function(e,t){var r=arguments.length2void 0!==arguments[2]?arguments[2]:1,n=parseFloat(e);return isNaN(n)(n=””),{low:””===n?””:c(e,o,r),med:””===n?””:c(e,a,r),high:””===n?””:c(e,s,r),auto:””===n?””:c(e,u,r),dense:””===n?””:c(e,d,r),custom:””===n?””:c(e,t,r)}},t.isValidPriceConfig=l},function(e,t,r){Object.defineProperty(t,”__esModule”,{value:!0}),t.hasNonVideoBidder=t.videoBidder=t.videoAdUnit=void 0,t.isValidVideoBid=function(e){var t=(0,i.getBidRequest)(e.adId),r=t(0,i.deepAccess)(t,”mediaTypes.video”),n=r(0,i.deepAccess)(r,”context”);return!t||rn!==a?o.config.getConfig(“usePrebidCache”)||!e.vastXml||e.vastUrl?!(!e.vastUrl!e.vastXml):((0,i.logError)(“n This bid contains only vastXml and will not work when prebid-cache is disabled.n Try enabling prebid-cache with pbjs.setConfig({ usePrebidCache: true });n “),!1):n!==a||!(!e.renderer!t.renderer)};var n=r(1),i=r(0),o=r(8),a=”outstream”,s=(t.videoAdUnit=function(e){var t=”video”===e.mediaType,r=(0,i.deepAccess)(e,”mediaTypes.video”);return t||r},t.videoBidder=function(e){return n.videoAdapters.includes(e.bidder)});t.hasNonVideoBidder=function(e){return e.bids.filter(function(e){return!s(e)}).length}},function(e,t,r){var n=r(102);e.exports=function(e,t,r){if(n(e),void 0===t)return e;switch(r){case 1:return function(r){return e.call(t,r)};case 2:return function(r,n){return e.call(t,r,n)};case 3:return function(r,n,i){return e.call(t,r,n,i)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},,function(e,t,r){var n=r(40);e.exports=Object(“z”).propertyIsEnumerable(0)?Object:function(e){return”String”==n(e)?e.split(“”):Object(e)}},function(e,t){var r={}.toString;e.exports=function(e){return r.call(e).slice(8,-1)}},function(e,t){e.exports=function(e){if(null==e)throw TypeError(“Can’t call method on “+e);return e}},function(e,t,r){var n=r(43),i=Math.min;e.exports=function(e){return e0?i(n(e),9007199254740991):0}},function(e,t){var r=Math.ceil,n=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e0?n:r)(e)}},function(e,t,r){r(147),e.exports=r(20).Array.includes},function(e,t){var r;r=function(){return this}();try{r=r||Function(“return this”)()||(0,eval)(“this”)}catch(e){“object”==(“undefined”==typeof window?”undefined”:_typeof(window))(r=window)}e.exports=r},function(e,t,r){Object.defineProperty(t,”__esModule”,{value:!0}),t.getGlobal=function(){return window.pbjs},window.pbjs=window.pbjs||{},window.pbjs.cmd=window.pbjs.cmd||[],window.pbjs.que=window.pbjs.que||[]},function(e,t){var r={}.hasOwnProperty;e.exports=function(e,t){return r.call(e,t)}},function(e,t,r){var n=r(413);e.exports=function(e,t,r){if(n(e),void 0===t)return e;switch(r){case 1:return function(r){return e.call(t,r)};case 2:return function(r,n){return e.call(t,r,n)};case 3:return function(r,n,i){return e.call(t,r,n,i)}}return function(){return e.apply(t,arguments)}}},function(e,t,r){var n=r(48),i=r(32),o=r(51),a=r(53),s=r(414);e.exports=function(e,t){var r=1==e,d=2==e,u=3==e,c=4==e,l=6==e,f=5==e||l,p=treturn function(t,s,g){for(var v,m,b=o(t),y=i(b),h=n(s,g,3),_=a(y.length),I=0,S=r?p(t,_):d?p(t,0):void 0;_I;I++)if((f||I in y)(m=h(v=y[I],I,b),e))if(r)S[I]=m;else if(m)switch(e){case 3:return!0;case 5:return v;case 6:return I;case 2:S.push(v)}else if(c)return!1;return l?-1:u||c?c:S}}},function(e,t){var r={}.toString;e.exports=function(e){return r.call(e).slice(8,-1)}},function(e,t,r){var n=r(52);e.exports=function(e){return Object(n(e))}},function(e,t){e.exports=function(e){if(null==e)throw TypeError(“Can’t call method on “+e);return e}},function(e,t,r){var n=r(54),i=Math.min;e.exports=function(e){return e0?i(n(e),9007199254740991):0}},function(e,t){var r=Math.ceil,n=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e0?n:r)(e)}},function(e,t,r){var n=r(56)(“wks”),i=r(31),o=r(16).Symbol,a=”function”==typeof o;(e.exports=function(e){return n[e]||(n[e]=ao[e]||(a?o:i)(“Symbol.”+e))}).store=n},function(e,t,r){var n=r(16),i=”__core-js_shared__”,o=n[i]||(n[i]={});e.exports=function(e){return o[e]||(o[e]={})}},function(e,t,r){var n=r(58),i=r(53),o=r(421);e.exports=function(e){return function(t,r,a){var s,d=n(t),u=i(d.length),c=o(a,u);if(er!=r){for(;uc;)if((s=d[c++])!=s)return!0}else for(;uc;c++)if((e||c in d)d[c]===r)return e||creturn!e-1}}},function(e,t,r){var n=r(32),i=r(52);e.exports=function(e){return n(i(e))}},,,function(e,t){e.exports=function e(t){var r=Array.isArray(t)?[]:{};for(var n in t){var i=t[n];r[n]=i”object”==_typeof(i)?e(i):i}return r}},function(e,t,r){Object.defineProperty(t,”__esModule”,{value:!0}),t.setWindow=t.getScreenWidth=t.mapSizes=void 0;var n=function(e){if(ee.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)(t[r]=e[r]);return t.default=e,t}(r(0)),i=void 0;function o(e){var t=e||i||window,r=t.document;return t.innerWidth?t.innerWidth:r.body.clientWidth?r.body.clientWidth:r.documentElement.clientWidth?r.documentElement.clientWidth:0}t.mapSizes=function(e){if(t=e.sizeMapping,!(n.isArray(t)t.length0||(n.logInfo(“No size mapping defined”),0)))return e.sizes;var t,r=o();if(!r){var i=e.sizeMapping.reduce(function(e,t){return e.minWidth=e.minWidth});return ss.sizess.sizes.length?(a=s.sizes,n.logMessage(“AdUnit : “+e.code+” resized based on device width to : “+a)):n.logMessage(“AdUnit : “+e.code+” not mapped to any sizes for device width. This request will be suppressed.”),a},t.getScreenWidth=o,t.setWindow=function(e){i=e}},function(e,t,r){Object.defineProperty(t,”__esModule”,{value:!0}),t.store=function(e,t){var r,a={puts:e.map(o)};(0,n.ajax)(i,(r=t,{success:function(e){var t=void 0;try{t=JSON.parse(e).responses}catch(e){return void r(e,[])}t?r(null,t):r(new Error(“The cache server didn’t respond with a responses property.”),[])},error:function(e,t){r(new Error(“Error storing video ad in the cache: “+e+”: “+JSON.stringify(t)),[])}}),JSON.stringify(a),{contentType:”text/plain”,withCredentials:!0})},t.getCacheUrl=function(e){return i+”?uuid=”+e};var n=r(7),i=”https://prebid.adnxs.com/pbc/v1/cache”;function o(e){return{type:”xml”,value:e.vastXml?e.vastXml:’n n n prebid.org wrappern n n n n n “}}},function(e,t,r){Object.defineProperty(t,”__esModule”,{value:!0});var n=Object.assign||function(e){for(var t=1;t1void 0!==arguments[1]?arguments[1]:10;”function”==typeof e(a.push({fn:e,priority:t}),a.sort(function(e,t){return t.priority-e.priority}))},removeHook:function(e){a=a.filter(function(r){return r.fn===t||r.fn!==e})}};return”string”==typeof r(o[r]=d),n(function(){for(var r=arguments.length,n=Array(r),i=0;i1?arguments[1]:void 0)}}),r(26)(“includes”)},function(e,t,r){var n=r(149),i=r(42),o=r(150);e.exports=function(e){return function(t,r,a){var s,d=n(t),u=i(d.length),c=o(a,u);if(er!=r){for(;uc;)if((s=d[c++])!=s)return!0}else for(;uc;c++)if((e||c in d)d[c]===r)return e||creturn!e-1}}},function(e,t,r){var n=r(39),i=r(41);e.exports=function(e){return n(i(e))}},function(e,t,r){var n=r(43),i=Math.max,o=Math.min;e.exports=function(e,t){return(e=n(e))0void 0!==arguments[0]?arguments[0]:{},t=e.bidsBackHandler,r=e.timeout,n=e.adUnits,i=e.adUnitCodes;S.emit(“requestBids”);var o=m.cbTimeout=r||g.config.getConfig(“bidderTimeout”);if(n=n||m.adUnits,y.logInfo(“Invoking pbjs.requestBids”,arguments),ii.length?n=n.filter(function(e){return i.includes(e.code)}):i=nn.map(function(e){return e.code}),n.filter(s.videoAdUnit).filter(s.hasNonVideoBidder).forEach(function(e){var t=e.bids.filter(function(e){return!(0,s.videoBidder)(e)}).map(function(e){return e.bidder});y.logWarn(y.unsupportedBidderMessage(e,t)),e.bids=e.bids.filter(s.videoBidder)}),n.filter(d.nativeAdUnit).filter(d.hasNonNativeBidder).forEach(function(e){var t=e.bids.filter(function(e){return!(0,d.nativeBidder)(e)}).map(function(e){return e.bidder});y.logWarn(y.unsupportedBidderMessage(e,t)),e.bids=e.bids.filter(d.nativeBidder)}),j)B.push(function(){m.requestBids({bidsBackHandler:t,timeout:o,adUnits:n,adUnitCodes:i})});else{if(j=!0,m._adUnitCodes=i,h.externalCallbackReset(),m._bidsRequested=[],m._bidsReceived=m._bidsReceived.filter(function(e){return!m._adUnitCodes.includes(e.adUnitCode)}),!n||0===n.length)return y.logMessage(“No adUnits configured. No bids requested.”),”function”==typeof th.addOneTimeCallback(t,!1),void h.executeCallback();var a=h.executeCallback.bind(h,!0),u=setTimeout(a,o);(0,p.setAjaxTimeout)(o),”function”==typeof th.addOneTimeCallback(t,u),_.callBids({adUnits:n,adUnitCodes:i,cbTimeout:o}),0===m._bidsRequested.lengthh.executeCallback()}},m.addAdUnits=function(e){y.logInfo(“Invoking pbjs.addAdUnits”,arguments),y.isArray(e)?(e.forEach(function(e){return e.transactionId=y.generateUUID()}),m.adUnits.push.apply(m.adUnits,e)):”object”===(void 0===e?”undefined”:n(e))(e.transactionId=y.generateUUID(),m.adUnits.push(e)),S.emit(C)},m.onEvent=function(e,t,r){y.logInfo(“Invoking pbjs.onEvent”,arguments),y.isFn(t)?!r||O[e].call(null,r)?S.on(e,t,r):y.logError(‘The id provided is not valid for event “‘+e+'” and no handler was set.’):y.logError(‘The event handler provided is not a function and was not set on event “‘+e+'”.’)},m.offEvent=function(e,t,r){y.logInfo(“Invoking pbjs.offEvent”,arguments),r!O[e].call(null,r)||S.off(e,t,r)},m.addCallback=function(e,t){y.logWarn(“pbjs.addCallback will be removed in Prebid 1.0. Please use onEvent instead”),y.logInfo(“Invoking pbjs.addCallback”,arguments);var r=null;return et”function”==typeof t?(r=y.getUniqueIdentifierStr,h.addCallback(r,t,e),r):(y.logError(“error registering callback. Check method signature”),r)},m.removeCallback=function(){return y.logWarn(“pbjs.removeCallback will be removed in Prebid 1.0. Please use offEvent instead.”),null},m.registerBidAdapter=function(e,t){y.logInfo(“Invoking pbjs.registerBidAdapter”,arguments);try{_.registerBidAdapter(e(),t)}catch(e){y.logError(“Error registering bidder adapter : “+e.message)}},m.registerAnalyticsAdapter=function(e){y.logInfo(“Invoking pbjs.registerAnalyticsAdapter”,arguments);try{_.registerAnalyticsAdapter(e)}catch(e){y.logError(“Error registering analytics adapter : “+e.message)}},m.bidsAvailableForAdapter=function(e){y.logInfo(“Invoking pbjs.bidsAvailableForAdapter”,arguments),m._bidsRequested.find(function(t){return t.bidderCode===e}).bids.map(function(t){return i(t,I.createBid(1),{bidderCode:e,adUnitCode:t.placementCode})}).map(function(e){return m._bidsReceived.push(e)})},m.createBid=function(e){return y.logInfo(“Invoking pbjs.createBid”,arguments),I.createBid(e)},m.addBidResponse=function(e,t){y.logWarn(“pbjs.addBidResponse will be removed in Prebid 1.0. Each bidder will be passed a reference to addBidResponse function in callBids as an argument. See https://github.com/prebid/Prebid.js/issues/1087 for more details.”),y.logInfo(“Invoking pbjs.addBidResponse”,arguments),h.addBidResponse(e,t)},m.loadScript=function(e,t,r){y.logInfo(“Invoking pbjs.loadScript”,arguments),(0,f.loadScript)(e,t,r)},m.enableAnalytics=function(e){e!y.isEmpty(e)?(y.logInfo(“Invoking pbjs.enableAnalytics for: “,e),_.enableAnalytics(e)):y.logError(“pbjs.enableAnalytics should be called with option {}”)},m.aliasBidder=function(e,t){y.logInfo(“Invoking pbjs.aliasBidder”,arguments),et?_.aliasBidAdapter(e,t):y.logError(“bidderCode and alias must be passed as arguments”,”pbjs.aliasBidder”)},m.setPriceGranularity=function(e){y.logWarn(“pbjs.setPriceGranularity will be removed in Prebid 1.0. Use pbjs.setConfig({ priceGranularity: }) instead.”),y.logInfo(“Invoking pbjs.setPriceGranularity”,arguments),g.config.setConfig({priceGranularity:e})},m.enableSendAllBids=function(){g.config.setConfig({enableSendAllBids:!0})},m.getAllWinningBids=function(){return m._winningBids},m.buildMasterVideoTagFromAdserverTag=function(e,t){y.logWarn(“pbjs.buildMasterVideoTagFromAdserverTag will be removed in Prebid 1.0. Include the dfpVideoSupport module in your build, and use the pbjs.adservers.dfp.buildVideoAdUrl function instead”),y.logInfo(“Invoking pbjs.buildMasterVideoTagFromAdserverTag”,arguments);var r=(0,u.parse)(e);if(0===m._bidsReceived.length)return e;if(“dfp”===t.adserver.toLowerCase()){var n=E.dfpAdserver(t,r);return n.verifyAdserverTag()||y.logError(“Invalid adserverTag, required google params are missing in query string”),n.appendQueryParams(),(0,u.format)(n.urlComponents)}y.logError(“Only DFP adserver is supported”)},m.setBidderSequence=_.setBidderSequence,m.getHighestCpmBids=function(e){return w.getWinningBids(e)},m.setS2SConfig=function(e){if(y.contains(Object.keys(e),”accountId”))if(y.contains(Object.keys(e),”bidders”)){var t=i({enabled:!1,endpoint:b.S2S.DEFAULT_ENDPOINT,timeout:1e3,maxBids:1,adapter:b.S2S.ADAPTER,syncEndpoint:b.S2S.SYNC_ENDPOINT,cookieSet:!0,bidders:[]},e);_.setS2SConfig(t)}else y.logError(“bidders missing in Server to Server config”);else y.logError(“accountId missing in Server to Server config”)},m.getConfig=g.config.getConfig,m.setConfig=g.config.setConfig,m.que.push(function(){return(0,c.listenMessagesFromCreative)()}),m.cmd.push=function(e){if(“function”==typeof e)try{e.call()}catch(e){y.logError(“Error processing command :”,e.message,e.stack)}else y.logError(“Commands written into pbjs.cmd.push must be wrapped in a function”)},m.que.push=m.cmd.push,m.processQueue=function(){P(m.que),P(m.cmd)}},function(e,t,r){r(404),r(417),r(419),r(422),Number.isInteger=Number.isInteger||function(e){return”number”==typeof eisFinite(e)Math.floor(e)===e}},function(e,t,r){r(405),e.exports=r(14).Array.find},function(e,t,r){var n=r(22),i=r(49)(5),o=”find”,a=!0;o in[]Array(1)[o](function(){a=!1}),n(n.P+n.F*a,”Array”,{find:function(e){return i(this,e,arguments.length1?arguments[1]:void 0)}}),r(33)(o)},function(e,t,r){var n=r(407),i=r(408),o=r(410),a=Object.defineProperty;t.f=r(29)?Object.defineProperty:function(e,t,r){if(n(e),t=o(t,!0),n(r),i)try{return a(e,t,r)}catch(e){}if(“get”in r||”set”in r)throw TypeError(“Accessors not supported!”);return”value”in r(e[t]=r.value),e}},function(e,t,r){var n=r(23);e.exports=function(e){if(!n(e))throw TypeError(e+” is not an object!”);return e}},function(e,t,r){e.exports=!r(29)!r(30)(function(){return 7!=Object.defineProperty(r(409)(“div”),”a”,{get:function(){return 7}}).a})},function(e,t,r){var n=r(23),i=r(16).document,o=n(i)n(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},function(e,t,r){var n=r(23);e.exports=function(e,t){if(!n(e))return e;var r,i;if(t”function”==typeof(r=e.toString)!n(i=r.call(e)))return i;if(“function”==typeof(r=e.valueOf)!n(i=r.call(e)))return i;if(!t”function”==typeof(r=e.toString)!n(i=r.call(e)))return i;throw TypeError(“Can’t convert object to primitive value”)}},function(e,t){e.exports=function(e,t){return{enumerable:!(1e),configurable:!(2e),writable:!(4e),value:t}}},function(e,t,r){var n=r(16),i=r(28),o=r(47),a=r(31)(“src”),s=”toString”,d=Function[s],u=(“”+d).split(s);r(14).inspectSource=function(e){return d.call(e)},(e.exports=function(e,t,r,s){var d=”function”==typeof r;d(o(r,”name”)||i(r,”name”,t)),e[t]!==r(d(o(r,a)||i(r,a,e[t]?””+e[t]:u.join(String(t)))),e===n?e[t]=r:s?e[t]?e[t]=r:i(e,t,r):(delete e[t],i(e,t,r)))})(Function.prototype,s,function(){return”function”==typeof thisthis[a]||d.call(this)})},function(e,t){e.exports=function(e){if(“function”!=typeof e)throw TypeError(e+” is not a function!”);return e}},function(e,t,r){var n=r(415);e.exports=function(e,t){return new(n(e))(t)}},function(e,t,r){var n=r(23),i=r(416),o=r(55)(“species”);e.exports=function(e){var t;return i(e)(“function”!=typeof(t=e.constructor)||t!==Array!i(t.prototype)||(t=void 0),n(t)null===(t=t[o])(t=void 0)),void 0===t?Array:t}},function(e,t,r){var n=r(50);e.exports=Array.isArray||function(e){return”Array”==n(e)}},function(e,t,r){r(418),e.exports=r(14).Array.findIndex},function(e,t,r){var n=r(22),i=r(49)(6),o=”findIndex”,a=!0;o in[]Array(1)[o](function(){a=!1}),n(n.P+n.F*a,”Array”,{findIndex:function(e){return i(this,e,arguments.length1?arguments[1]:void 0)}}),r(33)(o)},function(e,t,r){r(420),e.exports=r(14).Array.includes},function(e,t,r){var n=r(22),i=r(57)(!0);n(n.P,”Array”,{includes:function(e){return i(this,e,arguments.length1?arguments[1]:void 0)}}),r(33)(“includes”)},function(e,t,r){var n=r(54),i=Math.max,o=Math.min;e.exports=function(e,t){return(e=n(e))u;)for(var f,p=s(arguments[u++]),g=c?n(p).concat(c(p)):n(p),v=g.length,m=0;vm;)l.call(p,f=g[m++])(r[f]=p[f]);return r}:d},function(e,t,r){var n=r(426),i=r(428);e.exports=Object.keys||function(e){return n(e,i)}},function(e,t,r){var n=r(47),i=r(58),o=r(57)(!1),a=r(427)(“IE_PROTO”);e.exports=function(e,t){var r,s=i(e),d=0,u=[];for(r in s)r!=an(s,r)u.push(r);for(;t.lengthd;)n(s,r=t[d++])(~o(u,r)||u.push(r));return u}},function(e,t,r){var n=r(56)(“keys”),i=r(31);e.exports=function(e){return n[e]||(n[e]=i(e))}},function(e,t){e.exports=”constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf”.split(“,”)},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,r){Object.defineProperty(t,”__esModule”,{value:!0}),t.listenMessagesFromCreative=function(){addEventListener(“message”,s,!1)};var n,i=(n=r(12))n.__esModule?n:{default:n},o=r(15),a=r(2).EVENTS.BID_WON;function s(e){var t,r,n,s,d,u,c,l,f,p,g,v,m,b=e.message?”message”:”data”,y={};try{y=JSON.parse(e[b])}catch(e){return}if(y.adId){var h=pbjs._bidsReceived.find(function(e){return e.adId===y.adId});”Prebid Request”===y.message(t=h,r=y.adServerDomain,n=e.source,s=t.adId,d=t.ad,u=t.adUrl,c=t.width,l=t.height,s(p=(f=t).adUnitCode,g=f.width,v=f.height,(m=document.getElementById(window.googletag.pubads().getSlots().find(function(e){return e.getAdUnitPath()===p||e.getSlotElementId()===p}).getSlotElementId()).querySelector(“iframe”)).width=””+g,m.height=””+v,n.postMessage(JSON.stringify({message:”Prebid Response”,ad:d,adUrl:u,adId:s,width:c,height:l}),r)),pbjs._winningBids.push(h),i.default.emit(a,h)),”Prebid Native”===y.message((0,o.fireNativeTrackers)(y,h),pbjs._winningBids.push(h),i.default.emit(a,h))}}},function(e,t,r){var n=r(13),i=r(27);t.dfpAdserver=function(e,t){var r=new function(e){this.name=e.adserver,this.code=e.code,this.getWinningBidByCode=function(){return(0,i.getWinningBids)(this.code)[0]}}(e);r.urlComponents=t;var o={env:”vp”,gdfp_req:”1″,impl:”s”,unviewed_position_start:”1″},a=[“output”,”iu”,”sz”,”url”,”correlator”,”description_url”,”hl”];return r.appendQueryParams=function(){var e,t=r.getWinningBidByCode();t(this.urlComponents.search.description_url=encodeURIComponent(t.vastUrl),this.urlComponents.search.cust_params=(e=t.adserverTargeting,encodeURIComponent((0,n.formatQS)(e))),this.urlComponents.search.correlator=Date.now())},r.verifyAdserverTag=function(){for(var e in o)if(!this.urlComponents.search.hasOwnProperty(e)||this.urlComponents.search[e]!==o[e])return!1;for(var t in a)if(!this.urlComponents.search.hasOwnProperty(a[t]))return!1;return!0},r}}]),pbjsChunk([119],{138:function(e,t,r){e.exports=r(139)},139:function(e,t,r){var n,i,o=Object.assign||function(e){for(var t=1;t0(p=”size=”+g[0],v1)){p+=”promo_sizes=”;for(var m=1;mn let win = window;n for (const i=0; i’):(i.width=e.width,i.height=e.height,i.ad=e.creative)):i=c(),i}return{callBids:function(t){!window.criteo_pubtag||window.criteo_pubtag instanceof Array?(d(t),o.loadScript(e,function(){},!0)):d(t)}}};a.registerBidAdapter(new d,”criteo”),e.exports=d}},[178]),pbjsChunk([99],{218:function(e,t,r){e.exports=r(219)},219:function(e,t,r){var n=Object.assign||function(e){for(var t=1;t=0(this.timeoutDelay=r),this.siteID=e,this.impressions=[],this._parseFnName=void 0,this.sitePage=void 0;try{this.sitePage=d.getTopWindowUrl()}catch(e){}if(void 0!==this.sitePage””!==this.sitePage||(top===self?this.sitePage=location.href:this.sitePage=document.referrer),top===self?this.topframe=1:this.topframe=0,void 0!==t){if(“function”!=typeof t)throw”Invalid jsonp target function”;this._parseFnName=”cygnus_index_args.parseFn”}void 0===_IndexRequestData.requestCounter?_IndexRequestData.requestCounter=Math.floor(256*Math.random()):_IndexRequestData.requestCounter=(_IndexRequestData.requestCounter+1)%256,this.requestID=String((new Date).getTime()%2592e3*256+_IndexRequestData.requestCounter+256),this.initialized=!0}i.prototype.serialize=function(){var e='{“id”:”‘+this.requestID+'”,”site”:{“page”:”‘+n(this.sitePage)+'”‘;”string”==typeof document.referrer””!==document.referrer(e+=’,”ref”:”‘+n(document.referrer)+'”‘),e+=’},”imp”:[‘;for(var t=0;t0(e+=’,”ext”: {‘+i.join()+”}”),t+1===this.impressions.length?e+=”}”:e+=”},”}return e+”]}”},i.prototype.setPageOverride=function(e){return”string”==typeof e!e.match(/^s*$/)(this.sitePage=e,!0)},i.prototype.addImpression=function(e,t,r,n,i,o){var a={id:String(this.impressions.length+1)};if(“number”!=typeof e||e=0))return null;a.siteID=o}return this.impressions.push(a),a.id},i.prototype.buildRequest=function(){if(0!==this.impressions.length!0===this.initialized){var e,t=encodeURIComponent(this.serialize());(function(e){for(var t=window,r=””,n=0;n=0(e+=”t=”+this.timeoutDelay),e}};try{if(“undefined”==typeof cygnus_index_args||void 0===cygnus_index_args.siteID||void 0===cygnus_index_args.slots)return;var o,a,s=new i(cygnus_index_args.siteID,cygnus_index_args.parseFn,cygnus_index_args.timeout);cygnus_index_args.url”string”==typeof cygnus_index_args.urls.setPageOverride(cygnus_index_args.url),_IndexRequestData.impIDToSlotID[s.requestID]={},_IndexRequestData.reqOptions[s.requestID]={};for(var u=0;u 0. Got: “+r),0))(void 0!==(t=e.params.video.playerType)d.isStr(t)?(t=t.toUpperCase(),_[t]||(d.logError(“Player type is invalid, must be one of: “+Object.keys(_)),0)):(d.logError(“Player type is invalid, must be one of: “+Object.keys(_)),0))function(e){if(!d.isArray(e)||d.isEmpty(e))return d.logError(“Protocol array is not an array. Got: “+e),!1;for(var t=0;t0)return e;var t,r,n}(e)){e=function(e){e.params.video.siteID=+e.params.video.siteID,e.params.video.maxduration=+e.params.video.maxduration,e.params.video.protocols=e.params.video.protocols.reduce(function(e,t){return e.concat(I[t])},[]);var t=e.params.video.minduration;void 0!==tO(t)||(d.logInfo(“Using default value for ‘minduration’, default: “+h.minduration),e.params.video.minduration=h.minduration);var r=e.params.video.startdelay;void 0!==rfunction(e){if(void 0===w[e]){var t=+e;if(isNaN(t)||!d.isNumber(t)||t= -2. Got: “+e),!1}return!0}(r)||(d.logInfo(“Using default value for ‘startdelay’, default: “+h.startdelay),e.params.video.startdelay=h.startdelay);var n,i=e.params.video.linearity;void 0!==i(E[n=i]||(d.logInfo(“Linearity is invalid, must be one of: “+Object.keys(E)+”. Got: “+n),0))||(d.logInfo(“Using default value for ‘linearity’, default: “+h.linearity),e.params.video.linearity=h.linearity);var o=e.params.video.mimes,a=e.params.video.playerType.toUpperCase();void 0!==ofunction(e){if(!d.isArray(e)||d.isEmpty(e))return d.logError(“MIMEs array is not an array. Got: “+e),!1;for(var t=0;t0function(e,t){var r,n,i,o={id:e,imp:t,site:{page:d.getTopWindowUrl()}};if(!d.isEmpty(o.imp)){var a=(r=o.imp[0].ext.siteID,n=o,(i=”https:”===window.location.protocol?c.parse(“https://as-sec.casalemedia.com/cygnus?v=8fn=pbjs.handleCygnusResponse”):c.parse(“http://as.casalemedia.com/cygnus?v=8fn=pbjs.handleCygnusResponse”)).search.s=r,i.search.r=encodeURIComponent(JSON.stringify(n)),c.format(i));l.default.loadScript(a)}}(e.bidderRequestId,o),cygnus_index_args.slots.length20d.logError(“Too many unique sizes on slots, will use the first 20.”,v),cygnus_index_args.slots.length0l.default.loadScript(C());var u=!1;window.cygnus_index_ready_state=function(){if(!u){u=!0;try{var e=_IndexRequestData.targetIDToBid;for(var r in t){var n=t[r].placementCode,o=[];for(var c in e){var l=/^(Td_)?(.+)_(d+)$/.exec(c);if(l){var p=l[1]||””,b=l[2],y=l[3],h=j(cygnus_index_args,p+b);if(b===r){var _=a.default.createBid(1);_.cpm=y/100,_.ad=e[c][0],_.bidderCode=m,_.width=h.width,_.height=h.height,_.siteID=h.siteID,”object”===i(_IndexRequestData.targetIDToResp)”object”===i(_IndexRequestData.targetIDToResp[c])void 0!==_IndexRequestData.targetIDToResp[c].dealID?(void 0===_IndexRequestData.targetAggregate.private[n](_IndexRequestData.targetAggregate.private[n]=[]),_.dealId=_IndexRequestData.targetIDToResp[c].dealID,_IndexRequestData.targetAggregate.private[n].push(b+”_”+_IndexRequestData.targetIDToResp[c].dealID)):(void 0===_IndexRequestData.targetAggregate.open[n](_IndexRequestData.targetAggregate.open[n]=[]),_IndexRequestData.targetAggregate.open[n].push(b+”_”+y)),o.push(_)}}else d.logError(“Unable to parse “+c+”, skipping slot”,v)}if(o.length0)for(var I=0;I0r.length0a.push({code:t.id,sizes:r,bids:n})}),a}(),r=new Event(“nymPrebidCleared”),n.length0?window.pbjs.que.push(function(){window.pbjs.addAdUnits(n),window.pbjs.requestBids({bidsBackHandler:h})}):a=0,setTimeout(function(){window.prebid.cleared=!0,h(),window.dispatchEvent(r)},a))},10),setTimeout(function(){c(i.clearInterval(c),i.googletag.pubads().refresh(),i.location.href.indexOf(“pbjs_debug=true”)-1console.log(“MESSAGE: Timeout for prebid load exceeded, aborting”))},500)),r=function(e){var t,a,n=e.data;return n.loaded?e:(n.loaded=!0,t=null,(t=n.sizes?l.defineSlot(n.name,n.sizes,n.id).addService(l.pubads()):l.defineOutOfPageSlot(n.name,n.id).addService(l.pubads())).setTargeting(“adid”,n.id),b.hasOwnProperty(“utm_campaign”)t.setTargeting(“utmcamp”,b.utm_campaign),a=p.getAdCount(n.label),t.setTargeting(“label”,n.label+”_”+n.site+”-“+a),l.display(n.id),l.pubads().addEventListener(“slotOnload”,function(){i.NYM.analytics.firstAdLoadTime||(i.NYM.analytics.firstAdLoadTime=i.performance.now(),i.NYM.analytics.firstAdLoadLabel=e.data.label)}),window.prebidwindow.prebid.cleared(window.pbjs.setTargetingForGPTAsync(),l.pubads().refresh([t],{changeCorrelator:!1})),e.slot=t,e)},o=function(e){var a,i,n,r=t(),o=e.getAttribute(“data-name”),d=e.getAttribute(“data-sizes”),s=e.getAttribute(“data-label”),u=e.getAttribute(“data-site”);r=e.id,dd.length?(d=d.split(“,”),a=[],_map(d,function(e){e=e.split(“x”),i=parseInt(e[0]),n=parseInt(e[1]),a.push([i,n])})):(e.classList.add(“oop”),a=!1),this.data={id:r,name:o,sizes:a,loaded:!1,label:s,site:u},g[r]=this},s=function(e){l.cmd.push(function(){var t=r(e);g[e.data.id]=t})},d=function(e){e.slot?(window.pbjs.setTargetingForGPTAsync(),l.pubads().refresh([e.slot],{changeCorrelator:!1})):es(e)},l.cmd.push(function(){var e,t,n,r=page.getMeta(“article:tag”),o=page.getMeta(“author”),d=i.location.href,s=(e=a.head.querySelector(“.head-gtm”),t=a.body.querySelector(“.gtm”),e”top”===e.getAttribute(“data-gtm”)?”gtmtop”:t”bottom”===t.getAttribute(“data-gtm”)?”gtmbottom”:””);n=[],_forEach([r,o,s],function(e){_forEach(e.split(“,”),function(e){(e=e.trim().toLowerCase().replace(/s/g,”-“).replace(/’|’/g,””)).lengthn.push(e)})}),l.pubads().setTargeting(“kw”,n),d=d.slice(d.lastIndexOf(“/”)+1),l.pubads().setTargeting(“pn”,d),l.companionAds().setRefreshUnfilledSlots(!0),l.pubads().enableAsyncRendering(),l.enableServices()}),this.load=s,this.create=function(e){return new o(e)},this.refresh=function(e){var t;_isString(e)?(t=this.getById(e),d(t)):d(e)},this.remove=function(e){var t=e.data.id;a.getElementById(t).innerHTML=””},this.getAdCount=function(e){var t,a=0,i=Object.keys(g);return _each(i,function(i){(t=g[i]).data.loadedt.data.label===ea++}),a},this.getById=function(e){return g[e]},u=_debounce(function(){var e={TopLeaderboard:1,RightColTopMPU:2,outOfPage:99,”homepageTakeover/TopLeaderboard”:1},t=_sortBy(f,function(t){return e[t.data.label]||10});_forEach(t,function(e){return s(e)}),f=[]},10),this.addToPageLoadQueue=function(e){f.push(e),u()}}]);
}, {“7″:7,”15″:15,”29″:29,”40″:40,”63″:63,”67″:67,”116″:116,”120″:120,”125″:125,”129″:129,”164”:164}];
window.modules[“chartbeat.legacy”] = [function(require,module,exports){“use strict”;var page=require(125);DS.service(“chartbeat”,[“$document”,”$window”,”login”,function(t,e,a){var n,o,c,s,i,r,g,p=t.getElementById(“cb-sponsor-data”);e._sf_async_config={uid:19989,useCanonical:!0,domain:”nymag.com”,sections:(n=page.getSiteBase(),o=page.getSiteName(),c=o||n,”The Cut”!==c”Vulture”!==c||(c+=[“,”,c,page.getChannel()].join(” “)),c)},(s=page.getPrimaryPageComponent())”Sponsored Story”===s.getAttribute(“data-type”)?(e._sf_async_config.sponsorName=pp.getAttribute(“data-sponsor”),e._sf_async_config.type=”Sponsored”):e._sf_async_config.sponsorName=void 0,(i=t.querySelectorAll(“.article-author”)).length(e._sf_async_config.authors=i[0].textContent.trim()),e._cbq=e._cbq||[],e._cbq.push([“_acct”,a.isLoggedIn()?”lgdin”:”anon”]),r=function(){var a=t.createElement(“script”);e._sf_endpt=(new Date).getTime(),a.setAttribute(“language”,”javascript”),a.setAttribute(“type”,”text/javascript”),a.setAttribute(“src”,”//static.chartbeat.com/js/chartbeat.js”),t.body.appendChild(a)},”complete”===t.readyState?r():(g=”function”==typeof e.onload?e.onload:function(){},e.onload=function(){g(),r()})}]),setTimeout(function(){DS.get(“chartbeat”)},0);
}, {“125”:125}];
window.modules[“cid.legacy”] = [function(require,module,exports){“use strict”;DS.service(“$cid”,function(){var r=Math.floor(100*Math.random());return function(){return”cid-“+ ++r}});
}, {}];
window.modules[“cookie.legacy”] = [function(require,module,exports){“use strict”;DS.service(“cookie”,[“$document”,function(t){var e=this;this.set=function(t,i,n){var s,r=””;n((s=new Date).setTime(s.getTime()+864e5*n),r=”; expires=”+s.toGMTString()),e.nativeSet(t+”=”+i+r+”; path=/”)},this.get=function(t){var i,n,s,r=e.nativeGet().split(“;”);for(t+=”=”,i=0,n=r.length;i0(t.dataLayer.push.apply(t.dataLayer,u),u=[]),d=!1)}function L(t,i){var n=(i||e.body).querySelectorAll(“[“+l+”]”);_each(n,function(e){var i=e.getAttribute(l),n=f[i];nn.initn.init(e,i,t)})}t.dataLayer=t.dataLayer||[],this.init=function(u){var d=!!e.head.querySelector(“.head-gtm”);r||(r=!0,i.onceReady(function(i){n=i,d||function(i,n){a.reportNow({event:”dataLayer-initialized”,userDetails:{newYorkMediaUserID:n.clientId,loyaltyLevel:n.userLoyalty},pageDetails:{pageUri:n.pageUri,vertical:o,pageType:c,author:s}}),function(t,e,i,n,a){t[n]=t[n]||[],t[n].push({“gtm.start”:(new Date).getTime(),event:”gtm.js”});var r=e.getElementsByTagName(i)[0],o=e.createElement(i);o.async=!0,o.src=”https://www.googletagmanager.com/gtm.js?id=”+a,r.parentNode.insertBefore(o,r)}(t,e,”script”,”dataLayer”,i)}(u,i),L(i),a.reportNow(),e.addEventListener(“mouseleave”,function(t){t.clientY=_size(o)}function m(){var e;e=_mapValues(o,n.get),a=_omitBy(e,function(e){return””===e||_isUndefined(e)||_isNull(e)})}function h(){return f()||m()||f()}function g(){return h()a}function _(e){s.redirect(“login”,function(e){return{userId:e.id,session_id:e.session,username:e.username,remember_me:!!e.rememberMe}}(e))}function v(e,n){d(c+”/account/email/”+(e||””),n)}function w(e,n){d(c+”/account/username/”+(e||””),n)}function b(e,n){v(e,function(t,i){w(e,function(e,s){var a=in(a?null:t||e,a)})})}function p(e,n){var t,i=(t=[e.first_name,e.last_name,n],_filter(t,_isString).join(“.”).toLowerCase().replace(/[^.’A-Za-z]+/g,””));w(i,function(t,a){a||t?p(e,n?n+1:1):(e.username=i,s.trigger(“open:register-fb-account”,e))})}function k(e){ajax.sendJsonReceiveJson({method:”POST”,url:c+”/account/social/login/facebook”,data:u(r,e)},function(n,t,i){if(n||200!==i.status)switch(_get(t,”reasonCode”)){case 0:p(e);break;case 2:s.trigger(“open:link-fb-account”,e)}else _(l(t))})}function q(e){var n=window.location.search.match(new RegExp(“[?]”+e+”=([^]*)”));return nn[1]}e.enable(s),this.isLoggedIn=h,this.logOut=function(){s.redirect(“logout”)},this.logIn=_,this.nymAuth=function(e,n){var t;b(e.id,function(i,s){i?n({form:”request failed”}):s?ajax.sendJsonReceiveJson({method:”POST”,url:c+”/account/login”,data:e},function(e,i){e422===e.status?n({password:”invalid”}):e?n({form:”request failed”}):(_(t=l(i)),n(null,t))}):n({id:”invalid”})})},this.getCred=g,this.getProfile=function(e){var n=g()a.session;n?ajax.sendReceiveJson(c+”/account/profile?session_id=”+n,e):e(“User not logged in”)},this.getActivationStatus=function(){var e;switch(q(“account_activation”)){case”0″:e=”activated”;break;case”1″:e=”activation-expired”;break;case”2″:e=”activation-used”}return e},this.getResetRequest=function(){if(!_isNull(q(“reset-password”)))return{id:q(“email”),oldP:q(“code”)}},this.requestReset=function(e,n){ajax.sendJsonReceiveJson({method:”POST”,url:c+”/account/password/reset”,data:e},function(e,t){var i;switch(_get(t,”status”)){case”1″:i=”nym”;break;case”2″:i=”fb”;break;case”0″:default:i=null}n(e,i)})},this.resetPassword=function(e,n){ajax.sendJson({method:”POST”,url:c+”/account/password/update”,data:e},function(e,t){422===t.status?n(“Your password has already been changed.”):e||200!==t.status?n(“Error”):n(null)})},this.register=function(e,n){var t;ajax.sendJsonReceiveJson({method:”POST”,url:c+”/account”,data:e},function(e,i,s){e||200!==s.status?(t=(_get(s,”responseText”)||””).indexOf(“Invalid email”)-1,n(t?{email:”Please enter a valid email address”}:{form:i.message||”Request failed, please try again”})):n(null,!0)})},this.checkUserEmail=v,this.checkUsername=w,this.checkUserId=b,this.connectFacebookUser=k,this.linkFbNymUser=function(e){ajax.sendJson({method:”POST”,url:c+”/account/social/facebook/link”,data:e},function(n){var t;n?console.warn(n):k((t=e,u(_invert(r),t)))})},this.redirect=function(e,n){window.location.href=c+”/account/”+e+”/cookie?”+_reduce(n,function(e,n,t){return e+t+”=”+n+””},””)+”origin=”+window.location.href.split(“?”)[0]}}]),DS.get(“facebook”);
}, {“10″:10,”29″:29,”51″:51,”82″:82,”111″:111,”116″:116,”135″:135,”166″:166,”167″:167,”168″:168,”169″:169,”170”:170}];
window.modules[“visit.legacy”] = [function(require,module,exports){“use strict”;var _reduce=require(82),_get=require(10),_includes=require(11),_assign=require(34),_clone=require(33),_remove=require(164);DS.service(“visit”,[“$window”,”$document”,”cookie”,”login”,”Fingerprint2″,function(e,i,t,r,n){var o,s=e.localStorage,c=”data-uri”,l=”visitServiceCount”,u=”visitServicePreviousTimestamp”,d=”visitServiceFirstVisitTimestamp”,a=”visitServiceVisitStartTimestamp”,f=”visitServiceInitialRefferer”,h=”nyma”,_=”visitDates”,m=864e5,v=18e5,I=30,g={},p=Object.create(Object.prototype,{_processQ:{value:function(){var e,i=this._q.slice(0),t=i.length;for(this._q=[],e=0;tS(u),t=e-mS(a);return i||t}function M(){var e=Date.now();!B(e)O(e)}function F(e){p.clientId=t.get(h),p.clientId||function(e){new n({excludeJsFonts:!0,excludeFlashFonts:!0,excludeCanvas:!0,excludeWebGL:!0,excludePixelRatio:!0}).get(function(i){p.clientId=i+”.”+e})}(e)}function q(i){return i=Array.isArray(i)?i:[],_reduce(_get(e,”location.search”,””).substr(1).split(“”),function(e,t){var r=t.split(“=”),n=r[0],o=r[1];return o_includes(i,n)(e[n]=decodeURIComponent(o)),e},{})}function C(){var i=e.navigator,t=i.userAgent,r=function(e,i,t){return t||_includes(e,” OPR/”)?_includes(e,”Mini”)?”Opera Mini”:”Opera”:/(BlackBerry|PlayBook|BB10)/i.test(e)?”BlackBerry”:_includes(e,”IEMobile”)||_includes(e,”WPDesktop”)?”Internet Explorer Mobile”:_includes(e,”Edge”)?”Microsoft Edge”:_includes(e,”FBIOS”)?”Facebook Mobile”:_includes(e,”Chrome”)?”Chrome”:_includes(e,”CriOS”)?”Chrome iOS”:_includes(e,”FxiOS”)?”Firefox iOS”:_includes(i,”Apple”)?_includes(e,”Mobile”)?”Mobile Safari”:”Safari”:_includes(e,”Android”)?”Android Mobile”:_includes(e,”Konqueror”)?”Konqueror”:_includes(e,”Firefox”)?”Firefox”:_includes(e,”MSIE”)||_includes(e,”Trident/”)?”Internet Explorer”:_includes(e,”Gecko”)?”Mozilla”:””}(t,i.vendor,e.opera);return{browser:r,browserVersion:function(e,i){var t={“Internet Explorer Mobile”:/rv:(d+(.d+)?)/,”Microsoft Edge”:/Edge/(d+(.d+)?)/,Chrome:/Chrome/(d+(.d+)?)/,”Chrome iOS”:/CriOS/(d+(.d+)?)/,Safari:/Version/(d+(.d+)?)/,”Mobile Safari”:/Version/(d+(.d+)?)/,Opera:/(Opera|OPR)/(d+(.d+)?)/,Firefox:/Firefox/(d+(.d+)?)/,”Firefox iOS”:/FxiOS/(d+(.d+)?)/,Konqueror:/Konqueror:(d+(.d+)?)/,BlackBerry:/BlackBerry (d+(.d+)?)/,”Android Mobile”:/androids(d+(.d+)?)/,”Internet Explorer”:/(rv:|MSIE )(d+(.d+)?)/,Mozilla:/rv:(d+(.d+)?)/}[e],r=ti.match(t);return r?parseFloat(r[r.length-2]):null}(r,t),os:function(e){return/Windows/i.test(e)?/Phone/.test(e)||/WPDesktop/.test(e)?”Windows Phone”:”Windows”:/(iPhone|iPad|iPod)/.test(e)?”iOS”:/Android/.test(e)?”Android”:/(BlackBerry|PlayBook|BB10)/i.test(e)?”BlackBerry”:/Mac/i.test(e)?”Mac OS X”:/Linux/.test(e)?”Linux”:””}(t)}}function k(t,n){var o,l;g=_assign({clientId:t,currentUrl:e.location.href,firstVisitTimestamp:w(),initialReferrer:s.getItem(f),isNewVisit:p.isNewVisit,isLoggedIn:r.isLoggedIn(),pageUri:(l=i.querySelector(“[“+c+’*=”/_pages/”]’),ll.getAttribute(c)),referrer:i.referrer,screenHeight:e.screen.height,screenWidth:e.screen.width,timestamp:n,visitCount:b(),userLoyalty:(o=(s.getItem(_)||””).split(“,”),o.lengthr}),(0===t.length||n-t[0]=864e5)t.unshift(n),s.setItem(_,t.join(“,”));try{s.setItem(f,i.referrer)}catch(e){}}var t,r,n;O(o),k(e,o)}),e.document.addEventListener(“click”,M),this.onceReady=function(e){p.onceClientIdIsReady(function(){e.call(null,_clone(g))})},this.getQueryParamsObject=q,this.getBrowserInfo=C}]);
}, {“10″:10,”11″:11,”33″:33,”34″:34,”82″:82,”164”:164}];
require=(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require==”function”require;if(!ua)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 typeof key === ‘string’ key.match(/.legacy$/))
.forEach((key) = window.require(key));
}

function tryToMount(fn, el, name) {
try {
fn(el); // init the controller
} catch (e) {
const elementTag = el.outerHTML.slice(0, el.outerHTML.indexOf(el.innerHTML));

console.error(`Error initializing controller for “${name}” on “${elementTag}”`, e);
}
}

/**
* mount client.js component controllers
*/
function mountComponentModules() {
Object.keys(window.modules)
.filter((key) = typeof key === ‘string’ key.match(/.client$/))
.forEach((key) = {
let controllerFn = window.require(key);

if (typeof controllerFn === ‘function’) {
const name = key.replace(‘.client’, ”),
instancesSelector = `[data-uri*=”_components/${name}/”]`,
defaultSelector = `[data-uri$=”_components${name}”]`,
instances = document.querySelectorAll(instancesSelector),
defaults = document.querySelectorAll(defaultSelector);

for (let el of instances) {
tryToMount(controllerFn, el, name);
}

for (let el of defaults) {
tryToMount(controllerFn, el, name);
}
}
});
}

// 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();

// ]]

Category: Accessories  Tags: ,  Comments off

I Don’t Like Seafood. How Can I Tell Dinner Hosts My Preference Without Being a Bother?

‘:””},t.getDefinedParams=function(e,t){return t.filter(function(t){return e[t]}).reduce(function(t,n){return l(t,function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},n,e[n]))},{})},t.isValidMediaTypes=function(e){var t=[“banner”,”native”,”video”];return!!Object.keys(e).every(function(e){return(0,b.default)(t,e)})(!e.video||!e.video.context||(0,b.default)([“instream”,”outstream”],e.video.context))},t.getBidderRequest=function(e,t,n){return(0,v.default)(e,function(e){return e.bids.filter(function(e){return e.bidder===te.adUnitCode===n}).length0})||{start:null,auctionId:null}},t.getUserConfiguredParams=function(e,t,n){return e.filter(function(e){return e.code===t}).map(function(e){return e.bids}).reduce(s,[]).filter(function(e){return e.bidder===n}).map(function(e){return e.params||{}})},t.getOrigin=function(){return window.location.origin?window.location.origin:window.location.protocol+”//”+window.location.hostname+(window.location.port?”:”+window.location.port:””)},t.getDNT=function(){return”1″===navigator.doNotTrack||”1″===window.doNotTrack||”1″===navigator.msDoNotTrack||”yes”===navigator.doNotTrack},t.isAdUnitCodeMatchingSlot=function(e){return function(t){return B(e,t)}},t.isSlotMatchingAdUnitCode=function(e){return function(t){return B(t,e)}},t.unsupportedBidderMessage=function(e,t){var n=Object.keys(e.mediaTypes||{banner:”banner”}).join(“, “);return”n “+e.code+” is a “+n+” ad unitn containing bidders that don’t support “+n+”: “+t+”.n This bidder won’t fetch demand.n “},t.deletePropertyFromObject=function(e,t){var n=l({},e);return delete n[t],n},t.removeRequestId=function(e){return t.deletePropertyFromObject(e,”requestId”)},t.isInteger=function(e){return Number.isInteger?Number.isInteger(e):”number”==typeof eisFinite(e)Math.floor(e)===e},t.convertCamelToUnderscore=function(e){return e.replace(/(?:^|.?)([A-Z])/g,function(e,t){return”_”+t.toLowerCase()}).replace(/^_/,””)},t.transformBidderParamKeywords=function(e){var n=arguments.length1void 0!==arguments[1]?arguments[1]:”keywords”,r=[];return t._each(e,function(e,i){if(t.isArray(e)){var o=[];t._each(e,function(e){(e=t.getValueString(n+”.”+i,e))o.push(e)}),e=o}else{if(e=t.getValueString(n+”.”+i,e),!t.isStr(e))return;e=[e]}r.push({key:i,value:e})}),r},t.convertTypes=function(e,n){return Object.keys(e).forEach(function(r){var i,o;n[r](t.isFn(e[r])?n[r]=e[r](n[r]):n[r]=(i=e[r],o=n[r],”string”===i?oo.toString():”number”===i?Number(o):o),isNaN(n[r])delete n.key)}),n};var g=n(3),h=r(n(63)),v=r(n(10)),b=r(n(5)),y=n(11),m=n(4),_=!1,A=Object.prototype.toString,w=Boolean(window.console),E=Boolean(wwindow.console.log),S=Boolean(wwindow.console.info),I=Boolean(wwindow.console.warn),T=Boolean(wwindow.console.error);t.replaceTokenInString=function(e,n,r){return t._each(n,function(t,n){t=void 0===t?””:t;var i=r+n.toUpperCase()+r,o=new RegExp(i,”g”);e=e.replace(o,t)}),e};var x,j=(x=0,function(){return++x});t.getUniqueIdentifierStr=i,t.generateUUID=function e(t){return t?(t^16*Math.random()t/4).toString(16):([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,e)},t.getBidIdParameter=function(e,t){return tt[e]?t[e]:””},t.tryAppendQueryString=function(e,t,n){return n?e+(t+”=”)+encodeURIComponent(n)+””:e},t.parseQueryStringParameters=function(e){var t=””;for(var n in e)e.hasOwnProperty(n)(t+=n+”=”+encodeURIComponent(e[n])+””);return t},t.transformAdServerTargetingObj=function(e){return eObject.getOwnPropertyNames(e).length0?c(e).map(function(t){return t+”=”+encodeURIComponent(d(e,t))}).join(“”):””},t.getTopWindowLocation=function(){if(t.inIframe()){var e=void 0;try{e=t.getAncestorOrigins()||t.getTopFrameReferrer()}catch(e){logInfo(“could not obtain top window location”,e)}if(e)return(0,y.parse)(e,{decodeSearchAsString:!0})}return t.getWindowLocation()},t.getTopFrameReferrer=function(){try{window.top.location.toString();for(var e=””,t=void 0;(t=t?t.parent:window).documentt.document.referrer(e=t.document.referrer),t!==window.top;);return e}catch(e){return window.document.referrer}},t.getAncestorOrigins=function(){if(window.document.locationwindow.document.location.ancestorOriginswindow.document.location.ancestorOrigins.length=1)return window.document.location.ancestorOrigins[window.document.location.ancestorOrigins.length-1]},t.getWindowTop=function(){return window.top},t.getWindowSelf=function(){return window.self},t.getWindowLocation=function(){return window.location},t.getTopWindowUrl=function(){var e=void 0;try{e=t.getTopWindowLocation().href}catch(t){e=””}return e},t.getTopWindowReferrer=function(){try{return window.top.document.referrer}catch(e){return document.referrer}},t.logMessage=function(){O()Econsole.log.apply(console,a(arguments,”MESSAGE:”))},t.logInfo=function(){O()Sconsole.info.apply(console,a(arguments,”INFO:”))},t.logWarn=function(){O()Iconsole.warn.apply(console,a(arguments,”WARNING:”))},t.logError=function(){O()Tconsole.error.apply(console,a(arguments,”ERROR:”))},t.hasConsoleLogger=function(){return E};var O=function(){if(!1===g.config.getConfig(“debug”)!1===_){var e=”TRUE”===C(m.DEBUG_MODE).toUpperCase();g.config.setConfig({debug:e}),_=!0}return!!g.config.getConfig(“debug”)};t.debugTurnedOn=O,t.createInvisibleIframe=function(){var e=document.createElement(“iframe”);return e.id=i(),e.height=0,e.width=0,e.border=”0px”,e.hspace=”0″,e.vspace=”0″,e.marginWidth=”0″,e.marginHeight=”0″,e.style.border=”0″,e.scrolling=”no”,e.frameBorder=”0″,e.src=”about:blank”,e.style.display=”none”,e};var C=function(e){var t=new RegExp(“[\?]”+e+”=([^]*)”).exec(window.location.search);return null===t?””:decodeURIComponent(t[1].replace(/+/g,” “))};t.getParameterByName=C,t.hasValidBidRequest=function(e,n,r){function i(e,t){t===n[a](o=!0)}for(var o=!1,a=0;a0);for(var n in e)if(hasOwnProperty.call(e,n))return!1;return!0},t.isEmptyStr=function(e){return t.isStr(e)(!e||0===e.length)},t._each=function(e,n){if(!t.isEmpty(e)){if(t.isFn(e.forEach))return e.forEach(n,this);var r=0,i=e.length;if(i0)for(;r‘},t.createTrackPixelIframeHtml=function(e){var n=!(arguments.length1void 0!==arguments[1])||arguments[1],r=arguments.length2void 0!==arguments[2]?arguments[2]:””;return e?(n(e=encodeURI(e)),r(r=’sandbox=”‘+r+'”‘),”‘):””},t.getIframeDocument=function(e){if(e){var n=void 0;try{n=e.contentWindow?e.contentWindow.document:e.contentDocument.document?e.contentDocument.document:e.contentDocument}catch(e){
t.logError(“Cannot get iframe document”,e)}return n}},t.getValueString=function(e,n,r){return null==n?r:t.isStr(n)?n:t.isNumber(n)?n.toString():void t.logWarn(“Unsuported type for param: “+e+” required type: String”)},t.getHighestCpm=f(“timeToRespond”,function(e,t){return et}),t.getOldestHighestCpmBid=f(“responseTimestamp”,function(e,t){return et}),t.getLatestHighestCpmBid=f(“responseTimestamp”,function(e,t){return e1?arguments[1]:void 0)}}),n(27)(o)},11:function(e,t,n){“use strict”;function r(e){return e?e.replace(/^?/,””).split(“”).reduce(function(e,t){var n=t.split(“=”),r=o(n,2),i=r[0],a=r[1];return/[]$/.test(i)?(e[i=i.replace(“[]”,””)]=e[i]||[],e[i].push(a)):e[i]=a||””,e},{}):{}}function i(e){return Object.keys(e).map(function(t){return Array.isArray(e[t])?e[t].map(function(e){return t+”[]=”+e}).join(“”):t+”=”+e[t]}).join(“”)}Object.defineProperty(t,”__esModule”,{value:!0});var o=function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,u=e[Symbol.iterator]();!(r=(a=u.next()).done)(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{!ru.returnu.return()}finally{if(i)throw o}}return n}(e,t);throw new TypeError(“Invalid attempt to destructure non-iterable instance”)}}();t.parseQS=r,t.formatQS=i,t.parse=function(e,t){var n=document.createElement(“a”);t”noDecodeWholeURL”in tt.noDecodeWholeURL?n.href=e:n.href=decodeURIComponent(e);var i=t”decodeSearchAsString”in tt.decodeSearchAsString;return{href:n.href,protocol:(n.protocol||””).replace(/:$/,””),hostname:n.hostname,port:+n.port,pathname:n.pathname.replace(/^(?!/)/,”/”),search:i?n.search:r(n.search||””),hash:(n.hash||””).replace(/^#/,””),host:n.host||window.location.host}},t.format=function(e){return(e.protocol||”http”)+”://”+(e.host||e.hostname+(e.port?”:”+e.port:””))+(e.pathname||””)+(e.search?”?”+i(e.search||””):””)+(e.hash?”#”+e.hash:””)}},12:function(e,t,n){“use strict”;function r(e){var t=this,n=e.url,r=e.config,a=e.id,u=e.callback,s=e.loaded;this.url=n,this.config=r,this.handlers={},this.id=a,this.loaded=s,this.cmd=[],this.push=function(e){“function”==typeof e?t.loaded?e.call():t.cmd.push(e):o.logError(“Commands given to Renderer.push must be wrapped in a function”)},this.callback=u||function(){t.loaded=!0,t.process()},(0,i.loadScript)(n,this.callback,!0)}Object.defineProperty(t,”__esModule”,{value:!0}),t.Renderer=r;var i=n(22),o=function(e){if(ee.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)(t[n]=e[n]);return t.default=e,t}(n(0));r.install=function(e){return new r({url:e.url,config:e.config,id:e.id,callback:e.callback,loaded:e.loaded})},r.prototype.getConfig=function(){return this.config},r.prototype.setRender=function(e){this.render=e},r.prototype.setEventHandlers=function(e){this.handlers=e},r.prototype.handleVideoEvent=function(e){var t=e.id,n=e.eventName;”function”==typeof this.handlers[n]this.handlers[n](),o.logMessage(“Prebid Renderer event for id “+t+” type “+n)},r.prototype.process=function(){for(;this.cmd.length0;)try{this.cmd.shift().call()}catch(e){o.logError(“Error processing Renderer command: “,e)}}},13:function(e,t){var n=e.exports={version:”2.5.3″};”number”==typeof __e(__e=n)},14:function(e,t,n){var r=n(19),i=n(13),o=n(32),a=n(47),u=”prototype”,s=function e(t,n,s){var c,d,f,l=te.F,p=te.G,g=te.S,h=te.P,v=te.B,b=te.W,y=p?i:i[n]||(i[n]={}),m=y[u],_=p?r:g?r[n]:(r[n]||{})[u];for(c in p(s=n),s)(d=!l_void 0!==_[c])c in y||(f=d?_[c]:s[c],y[c]=p”function”!=typeof _[c]?s[c]:vd?o(f,r):b_[c]==f?function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t[u]=e[u],t}(f):h”function”==typeof f?o(Function.call,f):f,h((y.virtual||(y.virtual={}))[c]=f,te.Rm!m[c]a(m,c,f)))};s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,s.U=64,s.R=128,e.exports=s},15:function(e,t){e.exports=function(e){return”object”==(void 0===e?”undefined”:_typeof(e))?null!==e:”function”==typeof e}},16:function(e,t,n){“use strict”;var r=n(0);t.createBid=function(e,t){return new function(e,t){var n=tt.bidId||r.getUniqueIdentifierStr(),i=tt.src||”client”,o=ethis.bidderCode=tt.bidder||””,this.width=0,this.height=0,this.statusMessage=function(){switch(o){case 0:return”Pending”;case 1:return”Bid available”;case 2:return”Bid returned empty or error response”;case 3:return”Bid timed out”}}(),this.adId=n,this.mediaType=”banner”,this.source=i,this.getStatusCode=function(){return o},this.getSize=function(){return this.width+”x”+this.height}}(e,t)}},17:function(e,t,n){“use strict”;function r(e){function t(){if(l.syncEnablede.browserSupportsCookies!a){try{!function(){(l.pixelEnabled||f.image)u.shuffle(r.image).forEach(function(e){var t=i(e,2),n=t[0],r=t[1];u.logMessage(“Invoking image pixel user sync for bidder: “+n),u.triggerPixel(r)})}(),function(){(l.iframeEnabled||f.iframe)u.shuffle(r.iframe).forEach(function(e){var t=i(e,2),n=t[0],r=t[1];u.logMessage(“Invoking iframe user sync for bidder: “+n),u.insertUserSyncIframe(r)})}()}catch(e){return u.logError(“Error firing user syncs”,e)}r={image:[],iframe:[]},a=!0}}var n={},r={image:[],iframe:[]},a=!1,c={},f={image:!1,iframe:!1},l=e.config;return s.config.getConfig(“userSync”,function(e){l=o(l,e.userSync)}),n.registerSync=function(e,t,n){if(!l.syncEnabled||!u.isArray(r[e]))return u.logWarn(‘User sync type “‘+e+'” not supported’);if(!t)return u.logWarn(“Bidder is required for registering sync”);if(Number(c[t])=l.syncsPerBidder)return u.logWarn(‘Number of user syncs exceeded for “‘+t+'”‘);if(l.filterSettings){if(function(e,t){var n=l.filterSettings;if(function(e,t){if(e.alle[t])return u.logWarn(‘Detected presence of the “filterSettings.all” and “filterSettings.’+t+'” in userSync config. You cannot mix “all” with “iframe/image” configs; they are mutually exclusive.’),!1;var n=e.all?e.all:e[t],r=e.all?”all”:t;if(!n)return!1;var i=n.filter,o=n.bidders;return i”include”!==i”exclude”!==i?(u.logWarn(‘UserSync “filterSettings.’+r+”.filter” setting ‘”+i+”‘ is not a valid option; use either ‘include’ or ‘exclude’.”),!1):!!(“*”===o||Array.isArray(o)o.length0o.every(function(e){return u.isStr(e)”*”!==e}))||(u.logWarn(‘Detected an invalid setup in userSync “filterSettings.’+r+”.bidders”; use either ‘*’ (to represent all bidders) or an array of bidders.”),!1)}(n,e)){f[e]=!0;var r=n.all?n.all:n[e],i=”*”===r.bidders?[t]:r.bidders,o=r.filter||”include”;return{include:function(e,t){return!(0,d.default)(e,t)},exclude:function(e,t){return(0,d.default)(e,t)}}[o](i,t)}return!1}(e,t))return u.logWarn(“Bidder ‘”+t+”‘ is not permitted to register their userSync “+e+” pixels as per filterSettings config.”)}else if(l.enabledBiddersl.enabledBidders.lengthl.enabledBidders.indexOf(t)0void 0!==arguments[0]?arguments[0]:0;if(e)return setTimeout(t,Number(e));t()},n.triggerUserSyncs=function(){l.enableOverriden.syncUsers()},n}Object.defineProperty(t,”__esModule”,{value:!0}),t.userSync=void 0;var i=function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,u=e[Symbol.iterator]();!(r=(a=u.next()).done)(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{!ru.returnu.return()}finally{if(i)throw o}}return n}(e,t);throw new TypeError(“Invalid attempt to destructure non-iterable instance”)}}(),o=Object.assign||function(e){for(var t=1;t1void 0!==arguments[1]?arguments[1]:10;”function”==typeof e(a.push({fn:e,priority:t}),a.sort(function(e,t){return t.priority-e.priority}))},removeHook:function(e){a=a.filter(function(n){return n.fn===t||n.fn!==e})},hasHook:function(e){return a.some(function(t){return t.fn===e})}};return”string”==typeof n(o[n]=s),r(function(){for(var n=arguments.length,r=Array(n),i=0;in n n prebid.org wrappern n “+(n?””:””)+”n n n n “)}}Object.defineProperty(t,”__esModule”,{value:!0}),t.store=function(e,t){var n={puts:e.map(r)};(0,i.ajax)(o.config.getConfig(“cache.url”),(a=t,{success:function(e){var t=void 0;try{t=JSON.parse(e).responses}catch(e){return void a(e,[])}t?a(null,t):a(new Error(“The cache server didn’t respond with a responses property.”),[])},error:function(e,t){a(new Error(“Error storing video ad in the cache: “+e+”: “+JSON.stringify(t)),[])}}),JSON.stringify(n),{contentType:”text/plain”,withCredentials:!0});var a},t.getCacheUrl=function(e){return o.config.getConfig(“cache.url”)+”?uuid=”+e};var i=n(7),o=n(3)},21:function(e,t,n){n(102),e.exports=n(13).Array.findIndex},22:function(e,t,n){“use strict”;function r(e,t){var n=document.createElement(“script”);n.type=”text/javascript”,n.async=!0,t”function”==typeof t(n.readyState?n.onreadystatechange=function(){“loaded”!==n.readyState”complete”!==n.readyState||(n.onreadystatechange=null,t())}:n.onload=function(){t()}),n.src=e;var r=document.getElementsByTagName(“head”);(r=r.length?r:document.getElementsByTagName(“body”)).length(r=r[0]).insertBefore(n,r.firstChild)}var i,o=n(5),a=(i=o)i.__esModule?i:{default:i},u=function(e){if(ee.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)(t[n]=e[n]);return t.default=e,t}(n(0)),s={},c=[“criteo”];t.loadExternalScript=function(e,t){if(te)if((0,a.default)(c,t)){if(!s[e]){u.logWarn(“module “+t+” is loading external JavaScript”);var n=document.createElement(“script”);n.type=”text/javascript”,n.async=!0,n.src=e,u.insertElement(n),s[e]=!0}}else u.logError(t+” not whitelisted for loading external JavaScript”);else u.logError(“cannot load external script without url and moduleCode”)},t.loadScript=function(e,t,n){e?n?s[e]?t”function”==typeof t(s[e].loaded?t():s[e].callbacks.push(t)):(s[e]={loaded:!1,callbacks:[]},t”function”==typeof ts[e].callbacks.push(t),r(e,function(){s[e].loaded=!0;try{for(var t=0;tt.max?e:t},{max:0}),b=(0,u.default)(t.buckets,function(t){if(ev.max*n){var i=t.precision;void 0===i(i=c),r=(t.max*n).toFixed(i)}else if(e=t.min*n)return t});return b(o=e,s=n,d=void 0!==(a=b).precision?a.precision:c,f=a.increment*s,l=a.min*s,p=Math.pow(10,d+2),g=(o*p-l*p)/(f*p),h=Math.floor(g)*f+l,r=(h=Number(h.toFixed(10))).toFixed(d)),r}function i(e){if(s.isEmpty(e)||!e.buckets||!Array.isArray(e.buckets))return!1;var t=!0;return e.buckets.forEach(function(e){void 0!==e.mine.maxe.increment||(t=!1)}),t}Object.defineProperty(t,”__esModule”,{value:!0}),t.isValidPriceConfig=t.getPriceBucketString=void 0;var o,a=n(10),u=(o=a)o.__esModule?o:{default:o},s=n(0),c=2,d={buckets:[{min:0,max:5,increment:.5}]},f={buckets:[{min:0,max:20,increment:.1}]},l={buckets:[{min:0,max:20,increment:.01}]},p={buckets:[{min:0,max:3,increment:.01},{min:3,max:8,increment:.05},{min:8,max:20,increment:.5}]},g={buckets:[{min:0,max:5,increment:.05},{min:5,max:10,increment:.1},{min:10,max:20,increment:.5}]};t.getPriceBucketString=function(e,t){var n=arguments.length2void 0!==arguments[2]?arguments[2]:1,i=parseFloat(e);return isNaN(i)(i=””),{low:””===i?””:r(e,d,n),med:””===i?””:r(e,f,n),high:””===i?””:r(e,l,n),auto:””===i?””:r(e,g,n),dense:””===i?””:r(e,p,n),custom:””===i?””:r(e,t,n)}},t.isValidPriceConfig=i},32:function(e,t,n){var r=n(46);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}}},33:function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},34:function(e,t,n){var r=n(32),i=n(35),o=n(54),a=n(36),u=n(55);e.exports=function(e,t){var n=1==e,s=2==e,c=3==e,d=4==e,f=6==e,l=5==e||f,p=treturn function(t,u,g){for(var h,v,b=o(t),y=i(b),m=r(u,g,3),_=a(y.length),A=0,w=n?p(t,_):s?p(t,0):void 0;_A;A++)if((l||A in y)(v=m(h=y[A],A,b),e))if(n)w[A]=v;else if(v)switch(e){case 3:return!0;case 5:return h;case 6:return A;case 2:w.push(h)}else if(d)return!1;return f?-1:c||d?d:w}}},35:function(e,t,n){var r=n(24);e.exports=Object(“z”).propertyIsEnumerable(0)?Object:function(e){return”String”==r(e)?e.split(“”):Object(e)}},36:function(e,t,n){var r=n(37),i=Math.min;e.exports=function(e){return e0?i(r(e),9007199254740991):0}},37:function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e0?r:n)(e)}},38:function(e,t,n){var r=n(24);e.exports=Array.isArray||function(e){return”Array”==r(e)}},39:function(e,t,n){“use strict”;Object.defineProperty(t,”__esModule”,{value:!0}),t.adunitCounter=void 0;var r=n(0),i={},o={incrementCounter:function(e){return i[e]=i[e]||{},i[e].counter=(0,r.deepAccess)(i,e+”.counter”)+1||1,i[e].counter},getCounter:function(e){return(0,r.deepAccess)(i,e+”.counter”)||0}};t.adunitCounter=o},4:function(e,t){e.exports={JSON_MAPPING:{PL_CODE:”code”,PL_SIZE:”sizes”,PL_BIDS:”bids”,BD_BIDDER:”bidder”,BD_ID:”paramsd”,BD_PL_ID:”placementId”,ADSERVER_TARGETING:”adserverTargeting”,BD_SETTING_STANDARD:”standard”},REPO_AND_VERSION:”prebid_prebid_1.22.0″,DEBUG_MODE:”pbjs_debug”,STATUS:{GOOD:1,NO_BID:2},CB:{TYPE:{ALL_BIDS_BACK:”allRequestedBidsBack”,AD_UNIT_BIDS_BACK:”adUnitBidsBack”,BID_WON:”bidWon”,REQUEST_BIDS:”requestBids”}},EVENTS:{AUCTION_INIT:”auctionInit”,AUCTION_END:”auctionEnd”,BID_ADJUSTMENT:”bidAdjustment”,BID_TIMEOUT:”bidTimeout”,BID_REQUESTED:”bidRequested”,BID_RESPONSE:”bidResponse”,BID_WON:”bidWon”,BIDDER_DONE:”bidderDone”,SET_TARGETING:”setTargeting”,REQUEST_BIDS:”requestBids”,ADD_AD_UNITS:”addAdUnits”,AD_RENDER_FAILED:”adRenderFailed”},AD_RENDER_FAILED_REASON:{PREVENT_WRITING_ON_MAIN_DOCUMENT:”preventWritingOnMainDocuemnt”,NO_AD:”noAd”,EXCEPTION:”exception”,CANNOT_FIND_AD:”cannotFindAd”,MISSING_DOC_OR_ADID:”missingDocOrAdid”},EVENT_ID_PATHS:{bidWon:”adUnitCode”},GRANULARITY_OPTIONS:{LOW:”low”,MEDIUM:”medium”,HIGH:”high”,AUTO:”auto”,DENSE:”dense”,CUSTOM:”custom”},TARGETING_KEYS:[“hb_bidder”,”hb_adid”,”hb_pb”,”hb_size”,”hb_deal”,”hb_source”,”hb_format”],S2S:{SRC:”s2s”,DEFAULT_ENDPOINT:”https://prebid.adnxs.com/pbs/v1/openrtb2/auction”,
SYNCED_BIDDERS_KEY:”pbjsSyncs”}}},40:function(e,t,n){“use strict”;Object.defineProperty(t,”__esModule”,{value:!0}),t.getGlobal=function(){return window.pbjs},window.pbjs=window.pbjs||{},window.pbjs.cmd=window.pbjs.cmd||[],window.pbjs.que=window.pbjs.que||[]},41:function(e,t,n){“use strict”;function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){var n=[],r=(0,c.groupBy)(e,”adUnitCode”);return Object.keys(r).forEach(function(e){var i=(0,c.groupBy)(r[e],”bidderCode”);Object.keys(i).forEach(function(e){return n.push(i[e].reduce(t,o()))})}),n}function o(e){return{adUnitCode:e,cpm:0,adserverTargeting:{},timeToRespond:0}}function a(e){function n(t){return”string”==typeof t?[t]:h.isArray(t)?t:e.getAdUnitCodes()||[]}function a(){return i(e.getBidsReceived().filter(A).filter(t.isBidNotExpired),c.getOldestHighestCpmBid)}function s(){return e.getStandardBidderAdServerTargeting().map(function(e){return e.key}).concat(v.TARGETING_KEYS).filter(c.uniques)}function l(e,t,n,r){return Object.keys(t.adserverTargeting).filter(p()).forEach(function(n){var r,i;e.lengthe.filter((i=n,function(e){return e.adUnitCode===t.adUnitCodee.adserverTargeting[i]})).forEach((r=n,function(e){h.isArray(e.adserverTargeting[r])||(e.adserverTargeting[r]=[e.adserverTargeting[r]]),e.adserverTargeting[r]=e.adserverTargeting[r].concat(t.adserverTargeting[r]).filter(c.uniques),delete t.adserverTargeting[r]}))}),e.push(t),e}function p(){var e=s();return function(t){return-1===e.indexOf(t)}}function y(e){return r({},e.adUnitCode,Object.keys(e.adserverTargeting).filter(p()).map(function(t){return r({},t.substring(0,_),[e.adserverTargeting[t]])}))}var m={};return m.resetPresetTargeting=function(t){if((0,c.isGptPubadsDefined)()){var r=n(t),i=e.getAdUnits().filter(function(e){return(0,g.default)(r,e.code)});window.googletag.pubads().getSlots().forEach(function(e){b.forEach(function(t){i.forEach(function(n){n.code!==e.getAdUnitPath()n.code!==e.getSlotElementId()||e.setTargeting(t,null)})})})}},m.getAllTargeting=function(e){var t,o,p,A,w,E,S,I,T,x=arguments.length1void 0!==arguments[1]?arguments[1]:a(),j=n(e),O=(E=j,S=x,I=m.getWinningBids(E,S),T=s(),I=I.map(function(e){return r({},e.adUnitCode,Object.keys(e.adserverTargeting).filter(function(t){return void 0===e.sendStandardTargeting||e.sendStandardTargeting||-1===T.indexOf(t)}).map(function(t){return r({},”hb_deal”===t?(t+”_”+e.bidderCode).substring(0,_):t.substring(0,_),[e.adserverTargeting[t]])}))})).concat((A=j,w=x,w.filter(function(e){return(0,g.default)(A,e.adUnitCode)}).map(function(e){return u({},e)}).reduce(l,[]).map(y).filter(function(e){return e}))).concat(d.config.getConfig(“enableSendAllBids”)?(t=j,o=x,p=v.TARGETING_KEYS.concat(f.NATIVE_TARGETING_KEYS),i(o,c.getHighestCpm).map(function(e){if(e.adserverTargetingt(h.isArray(t)(0,g.default)(t,e.adUnitCode)||”string”==typeof te.adUnitCode===t))return r({},e.adUnitCode,(n=e,p.filter(function(t){return void 0!==e.adserverTargeting[t]}).map(function(e){return r({},(e+”_”+n.bidderCode).substring(0,_),[n.adserverTargeting[e]])})));var n}).filter(function(e){return e})):[]);return O.map(function(e){Object.keys(e).map(function(t){e[t].map(function(e){-1===b.indexOf(Object.keys(e)[0])(b=Object.keys(e).concat(b))})})}),O=O.map(function(e){return r({},Object.keys(e)[0],e[Object.keys(e)[0]].map(function(e){return r({},Object.keys(e)[0],e[Object.keys(e)[0]].join(“, “))}).reduce(function(e,t){return u(t,e)},{}))}).reduce(function(e,t){var n=Object.keys(t)[0];return e[n]=u({},e[n],t[n]),e},{}),j.forEach(function(e){O[e]||(O[e]={})}),O},m.setTargetingForGPT=function(e,t){window.googletag.pubads().getSlots().forEach(function(n){Object.keys(e).filter(t?t(n):(0,c.isAdUnitCodeMatchingSlot)(n)).forEach(function(t){return Object.keys(e[t]).forEach(function(r){var i=e[t][r].split(“,”);(i=i.length1?[i]:i).map(function(e){return h.logMessage(“Attempting to set key value for slot: “+n.getSlotElementId()+” key: “+r+” value: “+e),e}).forEach(function(e){n.setTargeting(r,e)})})})})},m.getWinningBids=function(e){var t=arguments.length1void 0!==arguments[1]?arguments[1]:a(),r=n(e);return t.filter(function(e){return(0,g.default)(r,e.adUnitCode)}).filter(function(e){return e.cpm0}).map(function(e){return e.adUnitCode}).filter(c.uniques).map(function(e){return t.filter(function(t){return t.adUnitCode===e?t:null}).reduce(c.getHighestCpm,o(e))})},m.setTargetingForAst=function(){var e=m.getAllTargeting();Object.keys(e).forEach(function(t){return Object.keys(e[t]).forEach(function(n){if(h.logMessage(“Attempting to set targeting for targetId: “+t+” key: “+n+” value: “+e[t][n]),h.isStr(e[t][n])||h.isArray(e[t][n])){var r={};n.search(/pt[0-9]/)(0,c.timestamp)()},function(e){return e(e.status!(0,g.default)([y,m],e.status)||!e.status)});t.targeting=a(l.auctionManager)},42:function(e,t,n){“use strict”;function r(e){return ee.__esModule?e:{default:e}}function i(e,t){t.timeToResponde.getTimeout()+y.config.getConfig(“timeoutBuffer”)e.executeCallback(!0)}function o(e,t){T.emit(x.EVENTS.BID_RESPONSE,t),e.addBidReceived(t),i(e,t)}function a(e){var t=y.config.getConfig(“mediaTypePriceGranularity.”+e),n=”string”==typeof et?”string”==typeof t?t:”custom”:y.config.getConfig(“priceGranularity”),r=pbjs.bidderSettings;return r[x.JSON_MAPPING.BD_SETTING_STANDARD]||(r[x.JSON_MAPPING.BD_SETTING_STANDARD]={}),r[x.JSON_MAPPING.BD_SETTING_STANDARD][x.JSON_MAPPING.ADSERVER_TARGETING]||(r[x.JSON_MAPPING.BD_SETTING_STANDARD][x.JSON_MAPPING.ADSERVER_TARGETING]=[{key:”hb_bidder”,val:function(e){return e.bidderCode}},{key:”hb_adid”,val:function(e){return e.adId}},{key:”hb_pb”,val:function(e){return n===x.GRANULARITY_OPTIONS.AUTO?e.pbAg:n===x.GRANULARITY_OPTIONS.DENSE?e.pbDg:n===x.GRANULARITY_OPTIONS.LOW?e.pbLg:n===x.GRANULARITY_OPTIONS.MEDIUM?e.pbMg:n===x.GRANULARITY_OPTIONS.HIGH?e.pbHg:n===x.GRANULARITY_OPTIONS.CUSTOM?e.pbCg:void 0}},{key:”hb_size”,val:function(e){return e.size}},{key:”hb_deal”,val:function(e){return e.dealId}},{key:”hb_source”,val:function(e){return e.source}},{key:”hb_format”,val:function(e){return e.mediaType}}]),r[x.JSON_MAPPING.BD_SETTING_STANDARD]}function u(e,t){if(!t)return{};var n={},r=pbjs.bidderSettings;return r(s(n,a(t.mediaType),t),er[e]r[e][x.JSON_MAPPING.ADSERVER_TARGETING](s(n,r[e],t),t.sendStandardTargeting=r[e].sendStandardTargeting)),t.native(n=l({},n,(0,h.getNativeTargeting)(t))),n}function s(e,t,n){var r=t[x.JSON_MAPPING.ADSERVER_TARGETING];return n.size=n.getSize(),S._each(r,function(r){var i=r.key,o=r.val;if(e[i]S.logWarn(“The key: “+i+” is getting ovewritten”),S.isFn(o))try{o=o(n)}catch(e){S.logError(“bidmanager”,”ERROR”,e)}(void 0===t.suppressEmptyKeys||!0!==t.suppressEmptyKeys)”hb_deal”!==i||!S.isEmptyStr(o)null!=o?e[i]=o:S.logInfo(“suppressing empty key ‘”+i+”‘ from adserver targeting”)}),e}function c(e){var t=e.bidderCode,n=e.cpm,r=void 0;if(pbjs.bidderSettings(tpbjs.bidderSettings[t]”function”==typeof pbjs.bidderSettings[t].bidCpmAdjustment?r=pbjs.bidderSettings[t].bidCpmAdjustment:pbjs.bidderSettings[x.JSON_MAPPING.BD_SETTING_STANDARD]”function”==typeof pbjs.bidderSettings[x.JSON_MAPPING.BD_SETTING_STANDARD].bidCpmAdjustment(r=pbjs.bidderSettings[x.JSON_MAPPING.BD_SETTING_STANDARD].bidCpmAdjustment),r))try{n=r(e.cpm,l({},e))}catch(e){S.logError(“Error during bid adjustment”,”bidmanager.js”,e)}n=0(e.cpm=n)}function d(e,t){return e[t.adUnitCode]||(e[t.adUnitCode]={bids:[]}),e[t.adUnitCode].bids.push(t),e}Object.defineProperty(t,”__esModule”,{value:!0}),t.addBidResponse=t.AUCTION_COMPLETED=t.AUCTION_IN_PROGRESS=t.AUCTION_STARTED=void 0;var f=”function”==typeof Symbol”symbol”==_typeof(Symbol.iterator)?function(e){return void 0===e?”undefined”:_typeof(e)}:function(e){return e”function”==typeof Symbole.constructor===Symbole!==Symbol.prototype?”symbol”:void 0===e?”undefined”:_typeof(e)},l=Object.assign||function(e){for(var t=1;t=1})(S.logInfo(“Bids Received for Auction with id: “+v,g),b=C,t(!1,!0))}var r=e.adUnits,i=e.adUnitCodes,o=e.callback,a=e.cbTimeout,u=e.labels,s=r,c=u,f=i,l=[],g=[],h=void 0,v=S.generateUUID(),b=void 0,m=o,_=void 0,P=a,U=[];return{addBidReceived:function(e){g=g.concat(e)},executeCallback:t,callBids:function(){function e(e){var t=!0,n=y.config.getConfig(“maxRequestsPerOrigin”)return e.bidRequests.some(function(e){var r=1,i=void 0!==e.srce.src===x.S2S.SRC?”s2s”:e.bidderCode;return k[i](!1===k[i].SRA(r=Math.min(e.bids.length,n)),B[k[i].origin]+rn(t=!1)),!t}),te.run(),t}function r(e,t){void 0===e[t]?e[t]=1:e[t]++}var i=this;b=j,h=Date.now();var o=I.makeBidRequests(s,h,v,P,c);S.logInfo(“Bids Requested for Auction with id: “+v,o),o.forEach(function(e){var t;t=e,l=l.concat(t)});var a={},u={bidRequests:o,run:function(){var u,c;u=t.bind(null,!0),c=setTimeout(u,P),_=c,b=O;var d={timestamp:h,auctionId:v,timeout:P};T.emit(x.EVENTS.AUCTION_INIT,d),I.callBids(s,o,D.bind(i),function(e){var t=e;return(0,p.delayExecution)(function(){(0,A.default)(l,function(e){return t===e.bidderRequestId}).doneCbCallCount+=1,n()},1)}.bind(i),{request:function(e,t){r(B,t),r(a,e),k[e]||(k[e]={SRA:!0,origin:t}),a[e]1(k[e].SRA=!1)},done:function(t){B[t]–,N[0]e(N[0])N.shift()}},P)}};e(u)||(S.logWarn(“queueing auction due to limited endpoint capacity”),N.push(u))},bidsBackAll:n,addWinningBid:function(e){U=U.concat(e),I.callBidWonBidder(e.bidder,e)},getWinningBids:function(){return U},getTimeout:function(){return P},getAuctionId:function(){return v},getAuctionStatus:function(){return b},getAdUnits:function(){return s},getAdUnitCodes:function(){return f},getBidRequests:function(){return l},getBidsReceived:function(){return g}}},t.getStandardBidderSettings=a,t.getKeyValueTargetingPairs=u,t.adjustBids=c;var p=n(0),g=n(31),h=n(18),v=n(203),b=n(12),y=n(3),m=n(17),_=n(20),A=r(n(10)),w=r(n(5)),E=m.userSync.syncUsers,S=n(0),I=n(8),T=n(9),x=n(4),j=t.AUCTION_STARTED=”started”,O=t.AUCTION_IN_PROGRESS=”inProgress”,C=t.AUCTION_COMPLETED=”completed”;T.on(x.EVENTS.BID_ADJUSTMENT,function(e){c(e)});var R=4,B={},k={},N=[],D=t.addBidResponse=(0,_.createHook)(“asyncSeries”,function(e,t){var n,r,a,s,c=this.getBidRequests(),d=this.getAuctionId(),h=(0,p.getBidderRequest)(c,t.bidderCode,e),m=function(e){var t=e.adUnitCode,n=e.bid,r=e.bidRequest,i=e.auctionId,o=r.start,a=l({},n,{auctionId:i,responseTimestamp:(0,p.timestamp)(),requestTimestamp:o,cpm:parseFloat(n.cpm)||0,bidder:n.bidderCode,adUnitCode:t});a.timeToRespond=a.responseTimestamp-a.requestTimestamp,T.emit(x.EVENTS.BID_ADJUSTMENT,a);var s=r.bids(0,A.default)(r.bids,function(e){return e.adUnitCode==t}),c=ss.renderer;cc.url(a.renderer=b.Renderer.install({url:c.url}),a.renderer.setRender(c.render));var d,h=y.config.getConfig(“mediaTypePriceGranularity.”+n.mediaType),v=(0,g.getPriceBucketString)(a.cpm,”object”===(void 0===h?”undefined”:f(h))?h:y.config.getConfig(“customPriceBucket”),y.config.getConfig(“currency.granularityMultiplier”));return a.pbLg=v.low,a.pbMg=v.med,a.pbHg=v.high,a.pbAg=v.auto,a.pbDg=v.dense,a.pbCg=v.custom,a.bidderCode(a.cpm0||a.dealId)(d=u(a.bidderCode,a)),a.adserverTargeting=l(a.adserverTargeting||{},d),a}({adUnitCode:e,bid:t,bidRequest:h,auctionId:d});”video”===m.mediaType?(n=this,r=m,a=h,s=!0,y.config.getConfig(“cache.url”)(r.videoCacheKey?r.vastUrl||(S.logError(“videoCacheKey specified but not required vastUrl for video bid”),s=!1):(s=!1,(0,v.store)([r],function(e,t){e?(S.logWarn(“Failed to save to the video cache: “+e+”. Video bid must be discarded.”),i(n,r)):(r.videoCacheKey=t[0].uuid,r.vastUrl||(r.vastUrl=(0,v.getCacheUrl)(r.videoCacheKey)),a.doneCbCallCount+=1,o(n,r),n.bidsBackAll())}))),so(n,r)):o(this,m)},”addBidResponse”)},45:function(e,t,n){“use strict”;var r=n(14),i=n(34)(5),o=”find”,a=!0;o in[]Array(1)[o](function(){a=!1}),r(r.P+r.F*a,”Array”,{find:function(e){return i(this,e,arguments.length1?arguments[1]:void 0)}}),n(27)(o)},46:function(e,t){e.exports=function(e){if(“function”!=typeof e)throw TypeError(e+” is not a function!”);return e}},47:function(e,t,n){var r=n(48),i=n(53);e.exports=n(23)?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},48:function(e,t,n){var r=n(49),i=n(50),o=n(52),a=Object.defineProperty;t.f=n(23)?Object.defineProperty:function(e,t,n){if(r(e),t=o(t,!0),r(n),i)try{return a(e,t,n)}catch(e){}if(“get”in n||”set”in n)throw TypeError(“Accessors not supported!”);return”value”in n(e[t]=n.value),e}},49:function(e,t,n){var r=n(15);e.exports=function(e){if(!r(e))throw TypeError(e+” is not an object!”);return e}},5:function(e,t,n){n(59),e.exports=n(13).Array.includes},50:function(e,t,n){e.exports=!n(23)!n(33)(function(){return 7!=Object.defineProperty(n(51)(“div”),”a”,{get:function(){return 7}}).a})},51:function(e,t,n){var r=n(15),i=n(19).document,o=r(i)r(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},52:function(e,t,n){var r=n(15);e.exports=function(e,t){if(!r(e))return e;var n,i;if(t”function”==typeof(n=e.toString)!r(i=n.call(e)))return i;if(“function”==typeof(n=e.valueOf)!r(i=n.call(e)))return i;if(!t”function”==typeof(n=e.toString)!r(i=n.call(e)))return i;throw TypeError(“Can’t convert object to primitive value”)}},53:function(e,t){e.exports=function(e,t){return{enumerable:!(1e),configurable:!(2e),writable:!(4e),value:t}}},54:function(e,t,n){var r=n(25);e.exports=function(e){return Object(r(e))}},55:function(e,t,n){var r=n(56);e.exports=function(e,t){return new(r(e))(t)}},555:function(e,t,n){e.exports=n(556)},556:function(e,t,n){“use strict”;function r(e,t,n){e.defaultViewe.defaultView.frameElement(e.defaultView.frameElement.width=t,e.defaultView.frameElement.height=n)}function i(e,t,n){var r={};r.reason=e,r.message=t,n(r.bid=n),S.logError(t),x.emit(N,r)}function o(e){e.forEach(function(e){if(void 0===e.called)try{e.call(),e.called=!0}catch(e){S.logError(“Error processing command :”,”prebid.js”,e)}})}var a,u=”function”==typeof Symbol”symbol”==_typeof(Symbol.iterator)?function(e){return void 0===e?”undefined”:_typeof(e)}:function(e){return e”function”==typeof Symbole.constructor===Symbole!==Symbol.prototype?”symbol”:void 0===e?”undefined”:_typeof(e)},s=Object.assign||function(e){for(var t=1;t0void 0!==arguments[0]?arguments[0]:{},t=e.bidsBackHandler,n=e.timeout,r=e.adUnits,i=e.adUnitCodes,o=e.labels;x.emit(B);var a=n||g.config.getConfig(“bidderTimeout”);if(r=r||w.adUnits,S.logInfo(“Invoking pbjs.requestBids”,arguments),ii.length?r=r.filter(function(e){return(0,_.default)(i,e.code)}):i=rr.map(function(e){return e.code}),r.forEach(function(e){var t=Object.keys(e.mediaTypes||{banner:”banner”}),n=e.bids.map(function(e){return e.bidder}),r=I.bidderRegistry,i=g.config.getConfig(“s2sConfig”),o=ii.bidders,a=o?n.filter(function(e){return!(0,_.default)(o,e)}):n;e.transactionId||(e.transactionId=S.generateUUID()),a.forEach(function(n){var i=r[n],o=ii.getSpeci.getSpec(),a=oo.supportedMediaTypes||[“banner”];t.some(function(e){return(0,_.default)(a,e)})||(S.logWarn(S.unsupportedBidderMessage(e,n)),e.bids=e.bids.filter(function(e){return e.bidder!==n}))}),A.adunitCounter.incrementCounter(e.code)}),r0!==r.length){var u=h.auctionManager.createAuction({adUnits:r,adUnitCodes:i,callback:t,cbTimeout:a,labels:o});return u.callBids(),u}if(S.logMessage(“No adUnits configured. No bids requested.”),”function”==typeof t)try{t()}catch(e){S.logError(“Error executing bidsBackHandler”,null,e)}}),w.addAdUnits=function(e){S.logInfo(“Invoking pbjs.addAdUnits”,arguments),S.isArray(e)?w.adUnits.push.apply(w.adUnits,e):”object”===(void 0===e?”undefined”:u(e))w.adUnits.push(e),x.emit(C)},w.onEvent=function(e,t,n){S.logInfo(“Invoking pbjs.onEvent”,arguments),S.isFn(t)?!n||W[e].call(null,n)?x.on(e,t,n):S.logError(‘The id provided is not valid for event “‘+e+'” and no handler was set.’):S.logError(‘The event handler provided is not a function and was not set on event “‘+e+'”.’)},w.offEvent=function(e,t,n){S.logInfo(“Invoking pbjs.offEvent”,arguments),n!W[e].call(null,n)||x.off(e,t,n)},w.registerBidAdapter=function(e,t){S.logInfo(“Invoking pbjs.registerBidAdapter”,arguments);try{I.registerBidAdapter(e(),t)}catch(e){S.logError(“Error registering bidder adapter : “+e.message)}},w.registerAnalyticsAdapter=function(e){S.logInfo(“Invoking pbjs.registerAnalyticsAdapter”,arguments);try{I.registerAnalyticsAdapter(e)}catch(e){S.logError(“Error registering analytics adapter : “+e.message)}},w.createBid=function(e){return S.logInfo(“Invoking pbjs.createBid”,arguments),T.createBid(e)},w.loadScript=function(e,t,n){S.logInfo(“Invoking pbjs.loadScript”,arguments),(0,p.loadScript)(e,t,n)},w.enableAnalytics=function(e){e!S.isEmpty(e)?(S.logInfo(“Invoking pbjs.enableAnalytics for: “,e),I.enableAnalytics(e)):S.logError(“pbjs.enableAnalytics should be called with option {}”)},w.aliasBidder=function(e,t){S.logInfo(“Invoking pbjs.aliasBidder”,arguments),et?I.aliasBidAdapter(e,t):S.logError(“bidderCode and alias must be passed as arguments”,”pbjs.aliasBidder”)},w.getAllWinningBids=function(){return h.auctionManager.getAllWinningBids().map(d.removeRequestId)},w.getAllPrebidWinningBids=function(){return h.auctionManager.getBidsReceived().filter(function(e){return e.status===v.BID_TARGETING_SET}).map(d.removeRequestId)},w.getHighestCpmBids=function(e){return v.targeting.getWinningBids(e).map(d.removeRequestId)},w.markWinningBidAsUsed=function(e){var t=[];e.adUnitCodee.adId?t=h.auctionManager.getBidsReceived().filter(function(t){return t.adId===e.adIdt.adUnitCode===e.adUnitCode}):e.adUnitCode?t=v.targeting.getWinningBids(e.adUnitCode):e.adId?t=h.auctionManager.getBidsReceived().filter(function(t){return t.adId===e.adId}):S.logWarn(“Inproper usage of markWinningBidAsUsed. It’ll need an adUnitCode and/or adId to function.”),t.length0(t[0].status=v.RENDERED)},w.getConfig=g.config.getConfig,w.setConfig=g.config.setConfig,w.que.push(function(){return(0,f.listenMessagesFromCreative)()}),w.cmd.push=function(e){if(“function”==typeof e)try{e.call()}catch(e){S.logError(“Error processing command :”,e.message,e.stack)}else S.logError(“Commands written into pbjs.cmd.push must be wrapped in a function”)},w.que.push=w.cmd.push,w.processQueue=function(){o(w.que),o(w.cmd)}},557:function(e,t,n){“use strict”;function r(e){return ee.__esModule?e:{default:e}}function i(e){var t,n,r,i,u,l,p,g,h,v,b,y,m=e.message?”message”:”data”,_={};try{_=JSON.parse(e[m])}catch(e){return}if(__.adId){var A=(0,d.default)(c.auctionManager.getBidsReceived(),function(e){return e.adId===_.adId});”Prebid Request”===_.message(u=A,l=_.adServerDomain,p=e.source,g=u.adId,h=u.ad,v=u.adUrl,b=u.width,y=u.height,g(n=(t=u).adUnitCode,r=t.width,i=t.height,[“div”,”iframe”].forEach(function(e){var t,o=(t=e,document.getElementById((0,d.default)(window.googletag.pubads().getSlots().filter((0,s.isSlotMatchingAdUnitCode)(n)),function(e){return e}).getSlotElementId()).querySelector(t)).style;o.width=r,o.height=i}),p.postMessage(JSON.stringify({message:”Prebid Response”,ad:h,adUrl:v,adId:g,width:b,height:y}),l)),c.auctionManager.addWinningBid(A),o.default.emit(f,A)),”Prebid Native”===_.message((0,a.fireNativeTrackers)(_,A),c.auctionManager.addWinningBid(A),o.default.emit(f,A))}}Object.defineProperty(t,”__esModule”,{value:!0}),t.listenMessagesFromCreative=function(){addEventListener(“message”,i,!1)};var o=r(n(9)),a=n(18),u=n(4),s=n(0),c=n(29),d=r(n(10)),f=u.EVENTS.BID_WON},558:function(e,t,n){“use strict”;function r(e){(0,d.logMessage)(“DEBUG: “+e)}function i(e){var n=arguments.length1void 0!==arguments[1]arguments[1];c.config.setConfig({debug:!0}),r(“bidder overrides enabled”+(n?” from session”:””)),pf.addBidResponse.removeHook(p),t.boundHook=p=a.bind(null,e),f.addBidResponse.addHook(p,5)}function o(){p(f.addBidResponse.removeHook(p),r(“bidder overrides disabled”))}function a(e,t,n,i){if(Array.isArray(e.bidders)-1===e.bidders.indexOf(n.bidderCode))return o=”bidder ‘”+n.bidderCode+”‘ excluded from auction by bidder overrides”,void(0,d.logWarn)(“DEBUG: “+o);var o;Array.isArray(e.bids)e.bids.forEach(function(e){e.biddere.bidder!==n.bidderCode||e.adUnitCodee.adUnitCode!==t||(n=s({},n),Object.keys(e).filter(function(e){return-1===[“bidder”,”adUnitCode”].indexOf(e)}).forEach(function(i){var o=e[i];r(“bidder overrides changed ‘”+t+”/”+n.bidderCode+”‘ bid.”+i+” from ‘”+n[i]+”‘ to ‘”+o+”‘”),n[i]=o}))}),i(t,n)}function u(e){if(e.enabled){try{window.sessionStorage.setItem(l,JSON.stringify(e))}catch(e){}i(e)}else{o();try{window.sessionStorage.removeItem(l)}catch(e){}}}Object.defineProperty(t,”__esModule”,{value:!0}),t.boundHook=void 0;var s=Object.assign||function(e){for(var t=1;t1?arguments[1]:void 0)}}),n(27)(“includes”)},60:function(e,t,n){var r=n(61),i=n(36),o=n(62);e.exports=function(e){return function(t,n,a){var u,s=r(t),c=i(s.length),d=o(a,c);if(en!=n){for(;cd;)if((u=s[d++])!=u)return!0}else for(;cd;d++)if((e||d in s)s[d]===n)return e||dreturn!e-1}}},61:function(e,t,n){var r=n(35),i=n(25);e.exports=function(e){return r(i(e))}},62:function(e,t,n){var r=n(37),i=Math.max,o=Math.min;e.exports=function(e,t){return(e=r(e))0void 0!==arguments[0]?arguments[0]:{},n=t.labels,r=void 0===n?[]:n,o=t.labelAll,a=void 0!==oo,s=t.activeLabels,f=void 0===s?[]:s,l=arguments.length1void 0!==arguments[1]?arguments[1]:[],p=(e=arguments.length2void 0!==arguments[2]?arguments[2]:d,e.reduce(function(e,t){return”object”===(void 0===t?”undefined”:i(t))”string”==typeof t.mediaQuery?matchMedia(t.mediaQuery).matches(Array.isArray(t.sizesSupported)(e.shouldFilter=!0),[“labels”,”sizesSupported”].forEach(function(n){return(t[n]||[]).forEach(function(t){return e[n][t]=!0})})):(0,u.logWarn)(‘sizeConfig rule missing required property “mediaQuery”‘),e},{labels:{},sizesSupported:{},shouldFilter:!1})),g=void 0;return g=p.shouldFilter?l.filter(function(e){return p.sizesSupported[e]}):l,{active:g.length0(0===r.length||!a(r.some(function(e){return p.labels[e]})||r.some(function(e){return(0,c.default)(f,e)}))||ar.reduce(function(e,t){return e?p.labels[t]||(0,c.default)(f,t):e},!0)),sizes:g}};var o,a=n(3),u=n(0),s=n(5),c=(o=s)o.__esModule?o:{default:o},d=[];a.config.getConfig(“sizeConfig”,function(e){return r(e.sizeConfig)})},65:function(e,t,n){“use strict”;Object.defineProperty(t,”__esModule”,{value:!0}),t.hasNonVideoBidder=t.videoBidder=t.videoAdUnit=void 0,t.isValidVideoBid=function(e,t){var n=(0,o.getBidRequest)(e.adId,t),r=n(0,o.deepAccess)(n,”mediaTypes.video”),i=r(0,o.deepAccess)(r,”context”);return!n||ri!==c?a.config.getConfig(“cache.url”)||!e.vastXml||e.vastUrl?!(!e.vastUrl!e.vastXml):((0,o.logError)(‘n This bid contains only vastXml and will not work when a prebid cache url is not specified.n Try enabling prebid cache with pbjs.setConfig({ cache: {url: “…”} });n ‘),!1):i!==c||!(!e.renderer!n.renderer)};var r,i=n(8),o=n(0),a=n(3),u=n(5),s=(r=u)r.__esModule?r:{default:r},c=”outstream”,d=(t.videoAdUnit=function(e){var t=”video”===e.mediaType,n=(0,o.deepAccess)(e,”mediaTypes.video”);return t||n},t.videoBidder=function(e){return(0,s.default)(i.videoAdapters,e.bidder)});t.hasNonVideoBidder=function(e){return e.bids.filter(function(e){return!d(e)}).length}},7:function(e,t,n){“use strict”;function r(){var e=arguments.length0void 0!==arguments[0]?arguments[0]:3e3,t=arguments.length1void 0!==arguments[1]?arguments[1]:{},n=t.request,r=t.done;return function(t,d,f){var l=arguments.length3void 0!==arguments[3]?arguments[3]:{};try{var p=void 0,g=l.method||(f?”POST”:”GET”),h=document.createElement(“a”);h.href=t;var v=”object”===(void 0===d?”undefined”:o(d))null!==d?d:{success:function(){s.logMessage(“xhr success”)},error:function(e){s.logError(“xhr error”,null,e)}};if(“function”==typeof d(v.success=d),(p=new window.XMLHttpRequest).onreadystatechange=function(){if(p.readyState===c){
“function”==typeof rr(h.origin);var e=p.status;e=200e0})})}var x,j,O=(x=e,(j=m.deepClone(x)).forEach(function(e){e.bids=e.bids.filter(function(e){return!a()||e.finalSource!==w.SERVER})}),j=j.filter(function(e){return 0!==e.bids.length}));return g.forEach(function(e){var t=m.getUniqueIdentifierStr(),a={bidderCode:e,auctionId:r,bidderRequestId:t,bids:o({bidderCode:e,auctionId:r,bidderRequestId:t,adUnits:O,labels:u}),auctionStart:n,timeout:i},c=E[e];c||m.logError(“Trying to make a request for bidder that does not exist: “+e),ca.bids0!==a.bids.lengths.push(a)}),t.gdprDataHandler.getConsentData()s.forEach(function(e){e.gdprConsent=t.gdprDataHandler.getConsentData()}),s},t.checkBidRequestSizes=function(e){function t(e){return Array.isArray(e)2===e.lengthm.isInteger(e[0])m.isInteger(e[1])}return e.forEach(function(e){var n=e.mediaTypes,r=m.getAdUnitSizes(e);if(nn.banner){var i=n.banner;i.sizes?(i.sizes=r,e.sizes=r):(m.logError(“Detected a mediaTypes.banner object did not include sizes. This is a required field for the mediaTypes.banner object. Removing invalid mediaTypes.banner object from request.”),delete e.mediaTypes.banner)}else e.sizes(m.logWarn(“Usage of adUnits.sizes will eventually be deprecated. Please define size dimensions within the corresponding area of the mediaTypes.

Category: Cookware Pans  Tags: ,  Comments off