How Bartenders At Most All-Inclusive Resorts Prepare Your Drinks (2024)

By Dylan Parker

Updated

Do bartenders at most all-inclusive resorts really water-down alcoholic drinks?

How Bartenders At Most All-Inclusive Resorts Prepare Your Drinks (1)

Enjoying 2 drinks in New York City

Read update
  • Staying in an All-Inclusive Resort often means guests can have access to endless drinks. Yes, bartenders have their secrets to prepare the drinks and this list has been expanded to include more of them.

Summary

  • Bartenders at all-inclusive resorts often water down drinks to keep costs low and ensure guests behave appropriately.
  • Even if you're friendly with the bartender, they're unlikely to make your drink stronger upon request.
  • Asking bartenders to customize drinks or use top-shelf liquor may not be well-received, as they prioritize following management's directives to keep costs low.

Do resort bartenders actually water-down drinks? That's a very popular question that many of us ask ourselves while hanging out at resort bars in Mexico, Hawaii, and all over the world. There's no doubt that there are numerous things that bartenders at all-inclusive resorts keep on the down-low while doing their jobs. But it just seems a tad nefarious that skimping out on already expensive drinks might be one of them.

It shouldn't be THAT surprising that certain popular, and beloved, all-inclusive resorts around the world constantly disappoint. They do have to live up to high expectations, after all. But some traits, including how bartenders prepare your glasses of liquid happiness transcends popular resorts and applies to just about anywhere.

Of course, travelers not interested on drinks, can choose an all-inclusive that don't factor drinks into their price.

Without further ado, here are how bartenders at most all-inclusive resorts prepare your drinks.

UPDATE: 2023/07/16 14:52 EST BY LUANA FERREIRA

Staying in an All-Inclusive Resort often means guests can have access to endless drinks. Yes, bartenders have their secrets to prepare the drinks and this list has been expanded to include more of them.

13 Yes, The Drinks Really Are Watered Down

Some hotel bars around the world offer a few of the most outrageous, generous, and creative drinks imaginable. But the truth is, most don't. And this is especially true of all-inclusive who have to keep their costs down due to "unlimited drinks." Therefore, watering down drinks is no myth, according to bartenders on Oyster. Additionally, if drinks are less strong, bartenders can ensure that guests behave appropriately as well as get to enjoy the resort more without being too hazy-eyed.

12 Even If Your Bartender Likes You, They'll Rarely Make Your Drink Stronger

How Bartenders At Most All-Inclusive Resorts Prepare Your Drinks (3)

A well-stocked assorted drinks bar

There are a number of secrets that your bartender just won't tell you directly, regardless of whether or not you think you have a good relationship with them. According to a number of bartenders interviewed for The Best of Life, typical bartenders won't even make your drink stronger if you ask them to. Sure, they may appear as though they do, but this is a facade. Usually, they'll just dip the straw in booze so things appear to taste stronger. However, there are exceptions to this. So, if you find a bartender who actually supplies you with a stronger drink, treat them well.

11 Telling Them How To Mix A Drink Is A Sure-Fire Way To NOT Get What You Want

How Bartenders At Most All-Inclusive Resorts Prepare Your Drinks (4)

Pouring a drink

While this point is included in a list about surprising secrets that bartenders wished we knew, it's really anything but surprising. Being a schmuck to any professional is a sure-fire way of not getting what you want, but this is especially true of bartenders. They tend to take their jobs really seriously. And if you know anything about it, you'd understand what an art form mixology truly is. But bartenders are also following strict commands from their management who are desperately trying to keep alcohol costs low at their all-inclusive. So, be understanding. And if you want something fancier, you're better to go to a regular resort or hotel and pay for it.

10 Saying That They're "Out Of Mint" Means They Just Don't Want To Make You That Mojito

How Bartenders At Most All-Inclusive Resorts Prepare Your Drinks (5)

Mojito on a bar

Being a belligerent jerk will get you nowhere fast. According to Oyster, every all-inclusive takes the safety of their guests very seriously. This includes making sure the bar areas are fun for everyone and not just the intoxicated knuckledragger causing a scene. In order to do this, management instructs the bartenders to water down the drinks of anyone they deem "out of control." If they don't do that, they'll cut you off completely. So, maybe try to have some self-control if you want to enjoy all that liquid happiness.

9 They Won't Give You Top-Shelf Liquor Unless You Ask For It... So, Yea... You'll Get The Cheapest Stuff

How Bartenders At Most All-Inclusive Resorts Prepare Your Drinks (6)

A wooden bar counter is lined with empty glasses and bottles of liquor, ready for a spirit tasting

If you want top-shelf liquor, you're going to have to ask for it. All-inclusive do everything they can to cut costs, especially in the bar areas. That's because alcohol can get mighty pricey. Therefore, all-inclusive bars almost always make their drinks with the cheapest booze they can find; otherwise known as "well" or "rail" alcohol. If you want something premium or top-shelf, you'll have to ask for it and hope to God that you'll get it without having to pay extra.

8 Pitchers Will Always Have Less Booze Than Individual Drinks

How Bartenders At Most All-Inclusive Resorts Prepare Your Drinks (7)

co*cktail Cowboy Serving Drinks at Bachelorette Party in Austin, Texas

Ordering a pitcher can be a fun way to save money as well as share an experience with friends and family. However, according to The Best Life, pitchers almost always mean less alcohol. With the exception of beer, pitchers of anything at all-inclusive contain fewer shots than if you were to order individual drinks. This is because bartenders can easily follow directives from their superiors and cut costs by filling the pitcher with the non-alcoholic ingredients. This is much harder to do when mixing an individual drink.

Related: Foods To Skip At All-Inclusive Resorts, And What To Eat Instead

7 You're Going To Get Judged If You Use Premium Booze In A Mixed Drink

How Bartenders At Most All-Inclusive Resorts Prepare Your Drinks (8)

Drinks being served at a Hawaiian luau

According to bartenders interviewed for Business Insider, you're going to get judged if you ask for a premium grade-alcohol for a mixed drink. Why? Well, because it's a total waste of money. Using Pyrat in a Long Island Iced Tea will taste the same as using the lowest grade of rum you can think of. The same goes for using Grey Goose or Belvedere in a Bloody Mary; it's going to taste the same as if you ordered Polar Ice. Unless you've chosen a drink that's only partially mixed, such as a dirty martini or a gin and tonic, picking anything above a "well" alcohol is a sign of being a juvenile customer.

Related: All-Inclusive Resort Staff Doesn’t Appreciate When Couples Act Like This

6 You Will Not Be Served In The Service Area

How Bartenders At Most All-Inclusive Resorts Prepare Your Drinks (9)

Womanwith red lipstick holding a co*cktail

When you go to the airport, you know not to board a plane while it's taking off on the runway. So, you should know not to order your drink in the service area of your all-inclusive's bar. According to bartenders speaking with Business Insider, this is because they're in preparation mode. They're creating someone else's drink or handing it off to a server and therefore are too busy to take an order. The obvious solution is to go to the clearly marked area where you can place your order.

Related: 12 Worst Vacationer Habits (As Revealed By The Staff At All-Inclusive Resorts)

5 Begging For Free Premium Drinks Will Get You Nowhere Fast

How Bartenders At Most All-Inclusive Resorts Prepare Your Drinks (10)

Food and drinks served in the resort restaurant

As everyone and their dog knows, all-inclusive resorts mean that the alcohol is flowing and guests don't need to worry about whipping out their credit card at the bar. However, there is a big exception to this. At most all-inclusives around the world, some premium alcohol is available for purchase and no bartender will give it to you for free. So, don't ask! They hate that because it puts them in an awkward position. Bartenders have been instructed to only give free premium drinks away under very special circ*mstances. And these circ*mstances never include when they're begged for it.

4 Expiration Dates Can Be Overlooked

How Bartenders At Most All-Inclusive Resorts Prepare Your Drinks (11)

Eggnog drink

In an attempt to stretch their resources during slower times, bartenders sometimes resort to tampering with expiration dates. According to The U.S. Sun, they may scratch off best-by or expiration dates on product labels to avoid serving older ingredients.

Most clients don't feel the difference, but it can happen. So, if guests find themselves at a bar enjoying a cranberry vodka or a refreshing beer, it wouldn't be entirely unexpected to encounter an off-taste or stale flavor on their palate.

3 They Might Have Large Batches Of Popular co*cktails

How Bartenders At Most All-Inclusive Resorts Prepare Your Drinks (12)

Drinks such as Margaritas, Piña Colada and Mojito are popular everywhere, and bartenders must prepare them each night. During busy seasons, it's common for the resorts to receive more people, and managing all the orders can be tricky. However, most bartenders have their secrets.

According to a Redditor, some bartenders create large batches of popular co*cktails to meet the repeated demands of the night, allowing for faster and more efficient drink preparation. This approach helps save time, particularly in a dry bar setup, by avoiding time-consuming and less popular recipes and prioritizing simplicity to ensure smoother operations for the bartending team.

2 They Spend A Lot Of Time Preparing

How Bartenders At Most All-Inclusive Resorts Prepare Your Drinks (13)

Array of drinks on the water in Ibiza

Preparing eye-catching and excellent drinks demands more than shaking co*cktails. There's a lot going on behind the scenes, including juicing, fruit cutting and syrup-making, and it takes a lot of time. Therefore, it isn't a surprise that some of them prepare large batches of popular co*cktails.

For example, when a guest orders a caipirinha, it involves cutting and juicing a handful of lemons. It also crosses their mind that their garnish supplies might end sooner than planned when clients request extra slices of lime or other ingredients.

1 They Might Prepare Better Drinks For Guests Who Tip

How Bartenders At Most All-Inclusive Resorts Prepare Your Drinks (14)

All-Inclusive resorts can be an affordable option when traveling. Guests should tip bartenders even when staying in an all-inclusive resort. There isn't a rule, but most people agree $1 per drink is a reasonable tip. Being generous with tipping can also help clients get top-shelf liquors and co*cktails quicker. Similar to what happens at bars, it's also a way to stand out during the busy season and ensure you won't have to wait ages for your drink.

By the way, the tipping etiquette is also valid for the resort staff, even when it's all-inclusive. More generous guests can also hand gifts to the staff.

Next: Here’s What “All-Inclusive” Resorts In The Caribbean Might Bill (Surprised) Vacationers For

',t}function Ee(e){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return e?((!(arguments.length>1&&void 0!==arguments[1])||arguments[1])&&(e=encodeURI(e)),t&&(t='sandbox="'.concat(t,'"')),"')):""}function Ae(e,t,n){return n.indexOf(e)===t}function we(e,t){return e.concat(t)}function Te(e,t){if(e)return t.flatMap((e=>e.bids)).find((t=>["bidId","adId","bid_id"].some((n=>t[n]===e))))}function Ce(e,t){return e[t]}function Ie(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:C.adUnits).map((e=>e.bids.map((e=>e.bidder)).reduce(we,[]))).reduce(we,[]).filter((e=>void 0!==e)).filter(Ae)}function Se(){if(window.googletag&&ne(window.googletag.pubads)&&ne(window.googletag.pubads().getSlots))return!0}function Be(){if(window.apntag&&ne(window.apntag.getTag))return!0}function ke(e){let t=e.length;for(;t>0;){let n=Math.floor(Math.random()*t);t--;let r=e[t];e[t]=e[n],e[n]=r}return e}function Oe(e){return o()(e)}function je(){try{return B.getWindowSelf()!==B.getWindowTop()}catch(e){return!0}}function Ue(){return/^((?!chrome|android|crios|fxios).)*safari/i.test(navigator.userAgent)}function Re(e,t){if(e)return Object.entries(t).reduce(((e,t)=>{let[n,r]=t;return e.replace(new RegExp("\\$\\{"+n+"\\}","g"),r||"")}),e)}function _e(e,t){return Re(e,{AUCTION_PRICE:t})}function De(e,t){if(e&&t&&"string"==typeof t)return e.replace(/\${CLICKTHROUGH}/g,t)}function qe(){return(new Date).getTime()}function We(){return window.performance&&window.performance.now&&window.performance.now()||0}function Ne(){return!1!==r.$W.getConfig("deviceAccess")}function xe(){if(window.navigator.cookieEnabled||document.cookie.length)return!0}function Pe(e,t){if(t<1)throw new Error("numRequiredCalls must be a positive number. Got ".concat(t));let n=0;return function(){n++,n===t&&e.apply(this,arguments)}}function Me(e,t){return e.reduce((function(e,n){return(e[n[t]]=e[n[t]]||[]).push(n),e}),{})}function Ve(e,t){return t.filter((t=>e[t])).reduce(((t,n)=>Object.assign(t,{[n]:e[n]})),{})}function Fe(e){const t=["banner","native","video"],n=["instream","outstream","adpod"];return!!Object.keys(e).every((e=>(0,s.mK)(t,e)))&&(!e.video||!e.video.context||(0,s.mK)(n,e.video.context))}function Le(e,t,n){return e.filter((e=>e.code===t)).flatMap((e=>e.bids)).filter((e=>e.bidder===n)).map((e=>e.params||{}))}function ze(){return"1"===navigator.doNotTrack||"1"===window.doNotTrack||"1"===navigator.msDoNotTrack||"yes"===navigator.doNotTrack}const $e=(e,t)=>e.getAdUnitPath()===t||e.getSlotElementId()===t;function Ke(e){return t=>$e(e,t)}function He(e,t){const n=Object.keys(e.mediaTypes||{banner:"banner"}).join(", ");return"\n ".concat(e.code," is a ").concat(n," ad unit\n containing bidders that don't support ").concat(n,": ").concat(t,".\n This bidder won't fetch demand.\n ")}const Ge=Number.isInteger.bind(Number);function Ye(e){return Object.fromEntries(Object.entries(e).filter((e=>{let[t,n]=e;return void 0!==n})))}function Je(e,t){return"object"!=typeof e?{}:t.reduce(((n,r,i)=>{if("function"==typeof r)return n;let o=r,s=r.match(/^(.+?)\sas\s(.+?)$/i);s&&(r=s[1],o=s[2]);let a=e[r];return"function"==typeof t[i+1]&&(a=t[i+1](a,n)),void 0!==a&&(n[o]=a),n}),{})}function Qe(e,t){return ie(e)&&(!t||e.length===t)&&e.every((e=>Ge(e)))}function Xe(e){return e?e.replace(/^\?/,"").split("&").reduce(((e,t)=>{let[n,r]=t.split("=");return/\[\]$/.test(n)?(n=n.replace("[]",""),e[n]=e[n]||[],e[n].push(r)):e[n]=r||"",e}),{}):{}}function Ze(e){return Object.keys(e).map((t=>Array.isArray(e[t])?e[t].map((e=>"".concat(t,"[]=").concat(e))).join("&"):"".concat(t,"=").concat(e[t]))).join("&")}function et(e,t){let n=document.createElement("a");t&&"noDecodeWholeURL"in t&&t.noDecodeWholeURL?n.href=e:n.href=decodeURIComponent(e);let r=t&&"decodeSearchAsString"in t&&t.decodeSearchAsString;return{href:n.href,protocol:(n.protocol||"").replace(/:$/,""),hostname:n.hostname,port:+n.port,pathname:n.pathname.replace(/^(?!\/)/,"/"),search:r?n.search:B.parseQS(n.search||""),hash:(n.hash||"").replace(/^#/,""),host:n.host||window.location.host}}function tt(e){return(e.protocol||"http")+"://"+(e.host||e.hostname+(e.port?":".concat(e.port):""))+(e.pathname||"")+(e.search?"?".concat(B.formatQS(e.search||"")):"")+(e.hash?"#".concat(e.hash):"")}function nt(e,t){let{checkTypes:n=!1}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(e===t)return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t||n&&e.constructor!==t.constructor)return!1;{const r=Object.keys(e);if(r.length!==Object.keys(t).length)return!1;for(let i of r){if(!t.hasOwnProperty(i))return!1;if(!nt(e[i],t[i],{checkTypes:n}))return!1}return!0}}function rt(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r{let r=1;for(let i=0;i1&&void 0!==arguments[1]?arguments[1]:0,n=function(e,t){if(ne(Math.imul))return Math.imul(e,t);var n=(4194303&e)*(t|=0);return 4290772992&e&&(n+=(4290772992&e)*t|0),0|n},r=3735928559^t,i=1103547991^t;for(let t,o=0;o>>16,2246822507)^n(i^i>>>13,3266489909),i=n(i^i>>>16,2246822507)^n(r^r>>>13,3266489909),(4294967296*(2097151&i)+(r>>>0)).toString()}function ot(e){try{return JSON.parse(e)}catch(e){}}function st(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(e){return e};const n=new Map,r=function(){const r=t.apply(this,arguments);return n.has(r)||n.set(r,e.apply(this,arguments)),n.get(r)};return r.clear=n.clear.bind(n),r}function at(e,t){Object.entries(t).forEach((t=>{let[n,r]=t;return e.setAttribute(n,r)}))}function dt(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e=>e,r=0,i=e.length&&e.length-1;const o=n(t);for(;i-r>1;){const t=r+Math.round((i-r)/2);o>n(e[t])?r=t:i=t}for(;e.length>r&&o>n(e[r]);)r++;return r}},57176:(e,t,n)=>{if(n.d(t,{y:()=>s}),39673==n.j)var r=n(67314);if(39673==n.j)var i=n(12693);if(39673==n.j)var o=n(91069);function s(e,t,n){var s;let{index:a=r.n.index,bs:d=i.u}=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};n=n||a.getBidRequest(t);const c=null==t?void 0:t.adapterCode,l=(null==t?void 0:t.bidderCode)||(null===(s=n)||void 0===s?void 0:s.bidder),u=d.get(null==t?void 0:t.adapterCode,"adjustAlternateBids"),g=d.getOwn(l,"bidCpmAdjustment")||d.get(u?c:l,"bidCpmAdjustment");if(g&&"function"==typeof g)try{return g(e,Object.assign({},t),n)}catch(e){(0,o.logError)("Error during bid adjustment",e)}return e}},68229:(e,t,n)=>{if(n.d(t,{C:()=>i}),39673==n.j)var r=n(70433);function i(e){return null==e||!e.gdprApplies||!0===(0,r.A)(e,"vendorData.purpose.consents.1")}},16894:(e,t,n)=>{n.d(t,{Ak:()=>h,BO:()=>f,K7:()=>p,NL:()=>b});var r=n(43272);const i="performanceMetrics",o=window.performance&&window.performance.now?()=>window.performance.now():()=>Date.now(),s=new WeakMap;function a(){let{now:e=o,mkNode:t=l,mkTimer:n=c,mkRenamer:r=(e=>e),nodes:i=s}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(){return function o(s){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e=>({forEach(t){t(e)}});a=r(a);const d=(c="timestamps",function(e){return s.dfWalk({visit(t,n){const r=n[c];if(r.hasOwnProperty(e))return r[e]}})});var c;function l(e,t){const n=a(e);s.dfWalk({follow:(e,t)=>t.propagate&&(!e||!e.stopPropagation),visit(e,r){n.forEach((n=>{null==e?r.metrics[n]=t:(r.groups.hasOwnProperty(n)||(r.groups[n]=[]),r.groups[n].push(t))}))}})}function u(t){return n(e,(e=>l(t,e)))}function g(){let e={};return s.dfWalk({visit(t,n){e=Object.assign({},!t||t.includeGroups?n.groups:null,n.metrics,e)}}),e}const f={startTiming:u,measureTime:function(e,t){return u(e).stopAfter(t)()},measureHookTime:function(e,t,n){const r=u(e);return n(function(e){const t=r.stopBefore(e);return t.bail=e.bail&&r.stopBefore(e.bail),t.stopTiming=r,t.untimed=e,t}(t))},checkpoint:function(t){s.timestamps[t]=e()},timeSince:function(t,n){const r=d(t),i=null!=r?e()-r:null;return null!=n&&l(n,i),i},timeBetween:function(e,t,n){const r=d(e),i=d(t),o=null!=r&&null!=i?i-r:null;return null!=n&&l(n,o),o},setMetric:l,getMetrics:g,fork:function(){let{propagate:e=!0,stopPropagation:n=!1,includeGroups:r=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return o(t([[s,{propagate:e,stopPropagation:n,includeGroups:r}]]),a)},join:function(e){let{propagate:t=!0,stopPropagation:n=!1,includeGroups:r=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const o=i.get(e);null!=o&&o.addParent(s,{propagate:t,stopPropagation:n,includeGroups:r})},newMetrics:function(){return o(s.newSibling(),a)},renameWith:function(e){return o(s,e)},toJSON:()=>g()};return i.set(f,s),f}(t([]))}}function d(e,t,n){return function(){t&&t();try{return e.apply(this,arguments)}finally{n&&n()}}}function c(e,t){const n=e();let r=!1;function i(){r||(t(e()-n),r=!0)}return i.stopBefore=e=>d(e,i),i.stopAfter=e=>d(e,null,i),i}function l(e){return{metrics:{},timestamps:{},groups:{},addParent(t,n){e.push([t,n])},newSibling:()=>l(e.slice()),dfWalk(){let t,{visit:n,follow:r=(()=>!0),visited:i=new Set,inEdge:o}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!i.has(this)){if(i.add(this),t=n(o,this),null!=t)return t;for(const[s,a]of e)if(r(o,a)&&(t=s.dfWalk({visit:n,follow:r,visited:i,inEdge:a}),null!=t))return t}}}}const u=(()=>{const e=function(){},t=()=>({}),n={forEach:e},r=()=>null;r.stopBefore=e=>e,r.stopAfter=e=>e;const i=Object.defineProperties({dfWalk:e,newSibling:()=>i,addParent:e},Object.fromEntries(["metrics","timestamps","groups"].map((e=>[e,{get:t}]))));return a({now:()=>0,mkNode:()=>i,mkRenamer:()=>()=>n,mkTimer:()=>r,nodes:{get:e,set:e}})()})();let g=!0;function f(e){return g&&e||u}r.$W.getConfig(i,(e=>{g=!!e[i]}));const p=(()=>{const e=a();return function(){return g?e():u}})();function m(e,t){return function(n,r){return function(i){for(var o=arguments.length,s=new Array(o>1?o-1:0),a=1;ae.metrics)),b=m("addBidResponse.",((e,t)=>t.metrics))},25555:(e,t,n)=>{function r(e,t,n){!function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}(e,t),t.set(e,n)}function i(e,t){return e.get(s(e,t))}function o(e,t,n){return e.set(s(e,t),n),n}function s(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}n.d(t,{k:()=>u,v:()=>f});const a=0,d=1;var c=new WeakMap,l=new WeakMap;class u{static timeout(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return new u((t=>{0===e?t():setTimeout(t,e)}))}constructor(e){if(r(this,c,void 0),r(this,l,void 0),"function"!=typeof e)throw new Error("resolver not a function");const t=[],n=[];let[i,s]=[a,d].map((e=>function(r){if(e===a&&"function"==typeof(null==r?void 0:r.then))r.then(i,s);else if(!t.length)for(t.push(e,r);n.length;)n.shift()()}));try{e(i,s)}catch(e){s(e)}o(c,this,t),o(l,this,n)}then(e,t){const n=i(c,this);return new this.constructor(((r,o)=>{const s=()=>{let i=n[1],[s,d]=n[0]===a?[e,r]:[t,o];if("function"==typeof s){try{i=s(i)}catch(e){return void o(e)}d=r}d(i)};n.length?s():i(l,this).push(s)}))}catch(e){return this.then(null,e)}finally(e){let t;return this.then((n=>(t=n,e())),(n=>(t=this.constructor.reject(n),e()))).then((()=>t))}static race(e){return new this(((t,n)=>{s(u,this,g).call(this,e,((e,r)=>e?t(r):n(r)))}))}static all(e){return new this(((t,n)=>{let r=[];s(u,this,g).call(this,e,((e,t,i)=>e?r[i]=t:n(t)),(()=>t(r)))}))}static allSettled(e){return new this((t=>{let n=[];s(u,this,g).call(this,e,((e,t,r)=>n[r]=e?{status:"fulfilled",value:t}:{status:"rejected",reason:t}),(()=>t(n)))}))}static resolve(e){return new this((t=>t(e)))}static reject(e){return new this(((t,n)=>n(e)))}}function g(e,t,n){let r=e.length;function i(){t.apply(this,arguments),--r<=0&&n&&n()}0===e.length&&n?n():e.forEach(((e,t)=>this.resolve(e).then((e=>i(!0,e,t)),(e=>i(!1,e,t)))))}function f(){let e,t,{promiseFactory:n=(e=>new u(e))}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};function r(e){return t=>e(t)}return{promise:n(((n,r)=>{e=n,t=r})),resolve:r(e),reject:r(t)}}},12713:(e,t,n)=>{function r(e,t){return e===t?0:e0&&void 0!==arguments[0]?arguments[0]:e=>e;return(t,n)=>r(e(t),e(n))}function o(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r;return(t,n)=>-e(t,n)||0}function s(){for(var e=arguments.length,t=new Array(e),n=0;n0&&void 0!==arguments[0]?arguments[0]:r;return(t,n)=>e(n,t)<0?n:t}function d(){return a(o(arguments.length>0&&void 0!==arguments[0]?arguments[0]:r))}n.d(t,{Bp:()=>a,Bq:()=>g,NV:()=>i,Ph:()=>d,Vk:()=>u});const c=i((e=>e.cpm)),l=i((e=>e.responseTimestamp)),u=d(s(c,o(i((e=>e.timeToRespond))))),g=d(s(c,o(l)));d(s(c,l))},67046:(e,t,n)=>{if(n.d(t,{H:()=>o}),39673==n.j)var r=n(25555);if(39673==n.j)var i=n(91069);function o(){let{startTime:e=i.timestamp,ttl:t=(()=>null),monotonic:n=!1,slack:o=5e3}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const s=new Map,a=[],d=[],c=n?e=>d.push(e):e=>d.splice((0,i.binarySearch)(d,e,(e=>e.expiry)),0,e);let l,u;function g(){if(u&&clearTimeout(u),d.length>0){const e=(0,i.timestamp)();l=Math.max(e,d[0].expiry+o),u=setTimeout((()=>{const e=(0,i.timestamp)();let t=0;for(const n of d){if(n.expiry>e)break;a.forEach((e=>{try{e(n.item)}catch(e){(0,i.logError)(e)}})),s.delete(n.item),t++}d.splice(0,t),u=null,g()}),l-e)}else u=null}function f(n){const i={},s=p;let a;const[d,f]=Object.entries({start:e,delta:t}).map((e=>{let t,[d,f]=e;return function(){const e=t={};r.k.resolve(f(n)).then((n=>{e===t&&(i[d]=n,s===p&&null!=i.start&&null!=i.delta&&(a=i.start+i.delta,c(m),(null==u||l>a+o)&&g()))}))}})),m={item:n,refresh:f,get expiry(){return a}};return d(),f(),m}let p={};return{[Symbol.iterator]:()=>s.keys(),add(e){!s.has(e)&&s.set(e,f(e))},clear(){d.length=0,g(),s.clear(),p={}},toArray:()=>Array.from(s.keys()),refresh(){d.length=0,g();for(const e of s.values())e.refresh()},onExpiry:e=>(a.push(e),()=>{const t=a.indexOf(e);t>=0&&a.splice(t,1)})}}},63895:(e,t,n)=>{if(n.d(t,{E2:()=>g,H6:()=>d,V0:()=>l,mn:()=>c,vk:()=>u}),39673==n.j)var r=n(70433);var i=n(91069),o=n(43272),s=n(16833);if(39673==n.j)var a=n(67314);const d="outstream",c="instream";function l(e){var t;const n=null==e||null===(t=e.mediaTypes)||void 0===t?void 0:t.video;null!=n&&null==n.plcmt&&(n.context===d||[2,3,4].includes(n.placement)?n.plcmt=4:n.context!==d&&[2,6].includes(n.playbackmethod)&&(n.plcmt=2))}function u(e){let{index:t=a.n.index}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=(0,r.A)(t.getMediaTypes(e),"video"),i=n&&(0,r.A)(n,"context"),o=n&&(0,r.A)(n,"useCacheKey"),s=t.getAdUnit(e);return g(e,s,n,i,o)}const g=(0,s.A_)("sync",(function(e,t,n,r,s){return n&&(s||r!==d)?o.$W.getConfig("cache.url")||!e.vastXml||e.vastUrl?!(!e.vastUrl&&!e.vastXml):((0,i.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):!(r===d&&!s)||!!(e.renderer||t&&t.renderer||n.renderer)}),"checkVideoBidSetup")},68693:(e,t,n)=>{if(n.d(t,{M:()=>c,t:()=>d}),39673==n.j)var r=n(68044);if(39673==n.j)var i=n(43272);if(39673==n.j)var o=n(67314);const s=15;function a(e){let{index:t=o.n.index}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=e.vastXml?e.vastXml:function(e,t){let n=(t=t&&(Array.isArray(t)?t:[t]))?t.map((e=>"<![CDATA[".concat(e,"]]>"))).join(""):"";return'\n \n \n prebid.org wrapper\n <![CDATA['.concat(e,"]]>\n ").concat(n,"\n \n \n \n ")}(e.vastUrl,e.vastImpUrl),r=t.getAuction(e);let a={type:"xml",value:n,ttlseconds:Number(e.ttl)+s};return i.$W.getConfig("cache.vasttrack")&&(a.bidder=e.bidder,a.bidid=e.requestId,a.aid=e.auctionId),null!=r&&(a.timestamp=r.getAuctionStart()),"string"==typeof e.customCacheKey&&""!==e.customCacheKey&&(a.key=e.customCacheKey),a}function d(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:r.g4;const o={puts:e.map(a)};n(i.$W.getConfig("cache.timeout"))(i.$W.getConfig("cache.url"),function(e){return{success:function(t){let n;try{n=JSON.parse(t).responses}catch(t){return void e(t,[])}n?e(null,n):e(new Error("The cache server didn't respond with a responses property."),[])},error:function(t,n){e(new Error("Error storing video ad in the cache: ".concat(t,": ").concat(JSON.stringify(n))),[])}}}(t),JSON.stringify(o),{contentType:"text/plain",withCredentials:!0})}function c(e){return"".concat(i.$W.getConfig("cache.url"),"?uuid=").concat(e)}},43018:e=>{e.exports=JSON.parse('{"iD":{"DY":"adserverTargeting","iS":"standard"},"rA":{"p":"not_found","O":"random"},"M":"pbjs_debug","XQ":{"y":1},"EVENTS":{"AUCTION_INIT":"auctionInit","AUCTION_TIMEOUT":"auctionTimeout","AUCTION_END":"auctionEnd","BID_ADJUSTMENT":"bidAdjustment","BID_TIMEOUT":"bidTimeout","BID_REQUESTED":"bidRequested","BID_RESPONSE":"bidResponse","BID_REJECTED":"bidRejected","NO_BID":"noBid","SEAT_NON_BID":"seatNonBid","BID_WON":"bidWon","BIDDER_DONE":"bidderDone","BIDDER_ERROR":"bidderError","SET_TARGETING":"setTargeting","BEFORE_REQUEST_BIDS":"beforeRequestBids","BEFORE_BIDDER_HTTP":"beforeBidderHttp","REQUEST_BIDS":"requestBids","ADD_AD_UNITS":"addAdUnits","AD_RENDER_FAILED":"adRenderFailed","AD_RENDER_SUCCEEDED":"adRenderSucceeded","TCF2_ENFORCEMENT":"tcf2Enforcement","AUCTION_DEBUG":"auctionDebug","BID_VIEWABLE":"bidViewable","STALE_RENDER":"staleRender","BILLABLE_EVENT":"billableEvent","BID_ACCEPTED":"bidAccepted"},"as":{"iV":"preventWritingOnMainDocument","og":"exception","Y7":"cannotFindAd","hD":"missingDocOrAdid"},"cA":{"bidWon":"adUnitCode"},"UE":{"$L":"low","E_":"medium","RY":"high","Q8":"auto","O0":"dense","Q4":"custom"},"xS":{"BIDDER":"hb_bidder","AD_ID":"hb_adid","PRICE_BUCKET":"hb_pb","SIZE":"hb_size","DEAL":"hb_deal","SOURCE":"hb_source","FORMAT":"hb_format","UUID":"hb_uuid","CACHE_ID":"hb_cache_id","CACHE_HOST":"hb_cache_host","ADOMAIN":"hb_adomain","ACAT":"hb_acat","CRID":"hb_crid","DSP":"hb_dsp"},"Zh":{"BIDDER":"hb_bidder","AD_ID":"hb_adid","PRICE_BUCKET":"hb_pb","SIZE":"hb_size","DEAL":"hb_deal","FORMAT":"hb_format","UUID":"hb_uuid","CACHE_HOST":"hb_cache_host"},"NATIVE_KEYS":{"title":"hb_native_title","body":"hb_native_body","body2":"hb_native_body2","privacyLink":"hb_native_privacy","privacyIcon":"hb_native_privicon","sponsoredBy":"hb_native_brand","image":"hb_native_image","icon":"hb_native_icon","clickUrl":"hb_native_linkurl","displayUrl":"hb_native_displayurl","cta":"hb_native_cta","rating":"hb_native_rating","address":"hb_native_address","downloads":"hb_native_downloads","likes":"hb_native_likes","phone":"hb_native_phone","price":"hb_native_price","salePrice":"hb_native_saleprice","rendererUrl":"hb_renderer_url","adTemplate":"hb_adTemplate"},"RW":{"xM":"s2s"},"tl":{"ht":"targetingSet","Un":"rendered","Xs":"bidRejected"},"Tf":{"uY":"Bid has missing or invalid properties","gq":"Invalid request ID","yu":"Bidder code is not allowed by allowedAlternateBidderCodes / allowUnknownBidderCodes","yz":"Bid does not meet price floor","_S":"Unable to convert currency","p0":"Bid does not provide required DSA transparency info","cH":"Bid indicates inappropriate DSA rendering method"},"PREBID_NATIVE_DATA_KEYS_TO_ORTB":{"body":"desc","body2":"desc2","sponsoredBy":"sponsored","cta":"ctatext","rating":"rating","address":"address","downloads":"downloads","likes":"likes","phone":"phone","price":"price","salePrice":"saleprice","displayUrl":"displayurl"},"NATIVE_ASSET_TYPES":{"sponsored":1,"desc":2,"rating":3,"likes":4,"downloads":5,"price":6,"saleprice":7,"phone":8,"address":9,"desc2":10,"displayurl":11,"ctatext":12},"NATIVE_IMAGE_TYPES":{"ICON":1,"MAIN":3},"NATIVE_KEYS_THAT_ARE_NOT_ASSETS":["privacyIcon","clickUrl","sendTargetingKeys","adTemplate","rendererUrl","type"],"iQ":{"V5":"noData","lF":"adUnit","sE":"setConfig","tH":"fetch","qO":"success","ff":"error","Q9":"timeout"},"nl":{"S3":"Prebid Request","Cf":"Prebid Response","s6":"Prebid Native","ll":"Prebid Event"}}')}}]);(self.pbjsChunk=self.pbjsChunk||[]).push([[39281],{3817:(t,e)=>{var r;Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t){null!==t&&this.fromHexString(t)}return t.prototype.toHexString=function(){if(this.s<0)return"-"+this.negate().toHexString();var t,e=!1,r="",n=this.t,o=this.DB-n*this.DB%4;if(n-- >0)for(o>o)>0&&(e=!0,r=h(t));n>=0;)o<4?(t=(this[n]&(1<>(o+=this.DB-4)):(t=this[n]>>(o-=4)&15,o<=0&&(o+=this.DB,--n)),t>0&&(e=!0),e&&(r+=h(t));return e?r:"0"},t.prototype.fromHexString=function(e){if(null!==e){this.t=0,this.s=0;for(var r=e.length,n=!1,o=0;--r>=0;){var i=u(e,r);i<0?"-"==e.charAt(r)&&(n=!0):(n=!1,0==o?this[this.t++]=i:o+4>this.DB?(this[this.t-1]|=(i&(1<>this.DB-o):this[this.t-1]|=i<=this.DB&&(o-=this.DB))}0,this.clamp(),n&&t.ZERO.subTo(this,this)}},t.prototype.negate=function(){var e=o();return t.ZERO.subTo(this,e),e},t.prototype.abs=function(){return this.s<0?this.negate():this},t.prototype.mod=function(e){var r=o();return this.abs().divRemTo(e,null,r),this.s<0&&r.compareTo(t.ZERO)>0&&e.subTo(r,r),r},t.prototype.copyTo=function(t){for(var e=this.t-1;e>=0;--e)t[e]=this[e];t.t=this.t,t.s=this.s},t.prototype.lShiftTo=function(t,e){for(var r=t%this.DB,n=this.DB-r,o=(1<=0;--a)e[a+i+1]=this[a]>>n|s,s=(this[a]&o)<=0;--a)e[a]=0;e[i]=s,e.t=this.t+i+1,e.s=this.s,e.clamp()},t.prototype.invDigit=function(){if(this.t<1)return 0;var t=this[0];if(!(1&t))return 0;var e=3&t;return(e=(e=(e=(e=e*(2-(15&t)*e)&15)*(2-(255&t)*e)&255)*(2-((65535&t)*e&65535))&65535)*(2-t*e%this.DV)%this.DV)>0?this.DV-e:-e},t.prototype.dlShiftTo=function(t,e){var r;for(r=this.t-1;r>=0;--r)e[r+t]=this[r];for(r=t-1;r>=0;--r)e[r]=0;e.t=this.t+t,e.s=this.s},t.prototype.squareTo=function(t){for(var e=this.abs(),r=t.t=2*e.t;--r>=0;)t[r]=0;for(r=0;r=e.DV&&(t[r+e.t]-=e.DV,t[r+e.t+1]=1)}t.t>0&&(t[t.t-1]+=e.am(r,e[r],t,2*r,0,1)),t.s=0,t.clamp()},t.prototype.multiplyTo=function(e,r){var n=this.abs(),o=e.abs(),i=n.t;for(r.t=i+o.t;--i>=0;)r[i]=0;for(i=0;i0?(s.lShiftTo(h,c),a.lShiftTo(h,n)):(s.copyTo(c),a.copyTo(n));var f=c.t,d=c[f-1];if(0!=d){var p=d*(1<1?c[f-2]>>this.F2:0),g=this.FV/p,m=(1<=0&&(n[n.t++]=1,n.subTo(b,n)),t.ONE.dlShiftTo(f,b),b.subTo(c,c);c.t=0;){var S=n[--y]==d?this.DM:Math.floor(n[y]*g+(n[y-1]+v)*m);if((n[y]+=c.am(0,S,n,w,0,f))0&&n.rShiftTo(h,n),u<0&&t.ZERO.subTo(n,n)}}},t.prototype.rShiftTo=function(t,e){e.s=this.s;var r=Math.floor(t/this.DB);if(r>=this.t)e.t=0;else{var n=t%this.DB,o=this.DB-n,i=(1<>n;for(var s=r+1;s>n;n>0&&(e[this.t-r-1]|=(this.s&i)<>=this.DB;if(t.t>=this.DB;n+=this.s}else{for(n+=this.s;r>=this.DB;n-=t.s}e.s=n<0?-1:0,n<-1?e[r++]=this.DV+n:n>0&&(e[r++]=n),e.t=r,e.clamp()},t.prototype.clamp=function(){for(var t=this.s&this.DM;this.t>0&&this[this.t-1]==t;)--this.t},t.prototype.modPowInt=function(t,e){var r;return r=t<256||e.isEven()?new f(e):new d(e),this.exp(t,r)},t.prototype.exp=function(e,r){if(e>4294967295||e<1)return t.ONE;var n=o(),s=o(),a=r.convert(this),c=i(e)-1;for(a.copyTo(n);--c>=0;)if(r.sqrTo(n,s),(e&1<0)r.mulTo(s,a,n);else{var u=n;n=s,s=u}return r.revert(n)},t.prototype.isEven=function(){return 0==(this.t>0?1&this[0]:this.s)},t.prototype.compareTo=function(t){var e=this.s-t.s;if(0!=e)return e;var r=this.t;if(0!=(e=r-t.t))return this.s<0?-e:e;for(;--r>=0;)if(0!=(e=this[r]-t[r]))return e;return 0},t.prototype.am1=function(t,e,r,n,o,i){for(;--i>=0;){var s=e*this[t++]+r[n]+o;o=Math.floor(s/67108864),r[n++]=67108863&s}return o},t.prototype.am2=function(t,e,r,n,o,i){for(var s=32767&e,a=e>>15;--i>=0;){var c=32767&this[t],u=this[t++]>>15,l=a*c+u*s;o=((c=s*c+((32767&l)<<15)+r[n]+(1073741823&o))>>>30)+(l>>>15)+a*u+(o>>>30),r[n++]=1073741823&c}return o},t.prototype.am3=function(t,e,r,n,o,i){for(var s=16383&e,a=e>>14;--i>=0;){var c=16383&this[t],u=this[t++]>>14,l=a*c+u*s;o=((c=s*c+((16383&l)<<14)+r[n]+o)>>28)+(l>>14)+a*u,r[n++]=268435455&c}return o},t}();function o(){return new n(null)}function i(t){var e,r=1;return 0!=(e=t>>>16)&&(t=e,r+=16),0!=(e=t>>8)&&(t=e,r+=8),0!=(e=t>>4)&&(t=e,r+=4),0!=(e=t>>2)&&(t=e,r+=2),0!=(e=t>>1)&&(t=e,r+=1),r}e.BigInteger=n,e.nbi=o,e.nbits=i;var s,a,c=[];for(s="0".charCodeAt(0),a=0;a<=9;++a)c[s++]=a;for(s="a".charCodeAt(0),a=10;a<36;++a)c[s++]=a;for(s="A".charCodeAt(0),a=10;a<36;++a)c[s++]=a;function u(t,e){var r=c[t.charCodeAt(e)];return null==r?-1:r}e.intAt=u;var l="0123456789abcdefghijklmnopqrstuvwxyz";function h(t){return l.charAt(t)}e.int2char=h;e.b64toHex=function(t){var e,r="",n=0,o=0;for(e=0;e>2),o=3&i,n=1):1==n?(r+=h(o<<2|i>>4),o=15&i,n=2):2==n?(r+=h(o),r+=h(i>>2),o=3&i,n=3):(r+=h(o<<2|i>>4),r+=h(15&i),n=0))}return 1==n&&(r+=h(o<<2)),r},e.removeExtraSymbols=function(t){return t.replace(/^1f+00/,"").replace("3031300d060960864801650304020105000420","")};var f=function(){function t(t){this.m=t}return t.prototype.convert=function(t){return t.s<0||t.compareTo(this.m)>=0?t.mod(this.m):t},t.prototype.revert=function(t){return t},t.prototype.reduce=function(t){t.divRemTo(this.m,null,t)},t.prototype.mulTo=function(t,e,r){t.multiplyTo(e,r),this.reduce(r)},t.prototype.sqrTo=function(t,e){t.squareTo(e),this.reduce(e)},t}(),d=function(){function t(t){this.m=t,this.mp=t.invDigit(),this.mpl=32767&this.mp,this.mph=this.mp>>15,this.um=(1<0&&this.m.subTo(e,e),e},t.prototype.revert=function(t){var e=o();return t.copyTo(e),this.reduce(e),e},t.prototype.reduce=function(t){for(;t.t<=this.mt2;)t[t.t++]=0;for(var e=0;e>15)*this.mpl&this.um)<<15)&t.DM;for(t[r=e+this.m.t]+=this.m.am(0,n,t,e,0,this.m.t);t[r]>=t.DV;)t[r]-=t.DV,t[++r]++}t.clamp(),t.drShiftTo(this.m.t,t),t.compareTo(this.m)>=0&&t.subTo(this.m,t)},t.prototype.mulTo=function(t,e,r){t.multiplyTo(e,r),this.reduce(r)},t.prototype.sqrTo=function(t,e){t.squareTo(e),this.reduce(e)},t}();function p(t){var e=o();return e.fromHexString(t.toString()),e}e.nbv=p,n.ZERO=p(0),n.ONE=p(1),"Microsoft Internet Explorer"==navigator.appName?(n.prototype.am=n.prototype.am2,r=30):"Netscape"!=navigator.appName?(n.prototype.am=n.prototype.am1,r=26):(n.prototype.am=n.prototype.am3,r=28),n.prototype.DB=r,n.prototype.DM=(1<{Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(){}return t.hash=function(e){e=t.utf8Encode(e||"");for(var r=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],n=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],o=(e+=String.fromCharCode(128)).length/4+2,i=Math.ceil(o/16),s=new Array(i),a=0;a>>0;s[i-1][14]=Math.floor(u),s[i-1][15]=l;for(a=0;a>>0;var d=n[0],p=n[1],g=n[2],m=n[3],v=n[4],y=n[5],w=n[6],b=n[7];for(f=0;f<64;f++){var S=b+t.z1(v)+t.Ch(v,y,w)+r[f]+h[f],x=t.z0(d)+t.Maj(d,p,g);b=w,w=y,y=v,v=m+S>>>0,m=g,g=p,p=d,d=S+x>>>0}n[0]=n[0]+d>>>0,n[1]=n[1]+p>>>0,n[2]=n[2]+g>>>0,n[3]=n[3]+m>>>0,n[4]=n[4]+v>>>0,n[5]=n[5]+y>>>0,n[6]=n[6]+w>>>0,n[7]=n[7]+b>>>0}var E=new Array(n.length);for(b=0;b>>t|e<<32-t},t.z0=function(e){return t.ROTR(2,e)^t.ROTR(13,e)^t.ROTR(22,e)},t.z1=function(e){return t.ROTR(6,e)^t.ROTR(11,e)^t.ROTR(25,e)},t.q0=function(e){return t.ROTR(7,e)^t.ROTR(18,e)^e>>>3},t.q1=function(e){return t.ROTR(17,e)^t.ROTR(19,e)^e>>>10},t.Ch=function(t,e,r){return t&e^~t&r},t.Maj=function(t,e,r){return t&e^t&r^e&r},t}();e.Sha256=r},28507:(t,e,r)=>{var n=r(3817),o=r(94149);e.M=function(t,e,r,i){var s=new n.BigInteger(n.b64toHex(e)),a=new n.BigInteger(n.b64toHex(r)),c=s.modPowInt(i,a);return n.removeExtraSymbols(c.toHexString())===o.Sha256.hash(t)}},19021:function(t,e,r){var n;t.exports=(n=n||function(t,e){var n;if("undefined"!=typeof window&&window.crypto&&(n=window.crypto),"undefined"!=typeof self&&self.crypto&&(n=self.crypto),"undefined"!=typeof globalThis&&globalThis.crypto&&(n=globalThis.crypto),!n&&"undefined"!=typeof window&&window.msCrypto&&(n=window.msCrypto),!n&&void 0!==r.g&&r.g.crypto&&(n=r.g.crypto),!n)try{n=r(50477)}catch(t){}var o=function(){if(n){if("function"==typeof n.getRandomValues)try{return n.getRandomValues(new Uint32Array(1))[0]}catch(t){}if("function"==typeof n.randomBytes)try{return n.randomBytes(4).readInt32LE()}catch(t){}}throw new Error("Native crypto module could not be used to get secure random number.")},i=Object.create||function(){function t(){}return function(e){var r;return t.prototype=e,r=new t,t.prototype=null,r}}(),s={},a=s.lib={},c=a.Base={extend:function(t){var e=i(this);return t&&e.mixIn(t),e.hasOwnProperty("init")&&this.init!==e.init||(e.init=function(){e.$super.init.apply(this,arguments)}),e.init.prototype=e,e.$super=this,e},create:function(){var t=this.extend();return t.init.apply(t,arguments),t},init:function(){},mixIn:function(t){for(var e in t)t.hasOwnProperty(e)&&(this[e]=t[e]);t.hasOwnProperty("toString")&&(this.toString=t.toString)},clone:function(){return this.init.prototype.extend(this)}},u=a.WordArray=c.extend({init:function(t,r){t=this.words=t||[],this.sigBytes=r!=e?r:4*t.length},toString:function(t){return(t||h).stringify(this)},concat:function(t){var e=this.words,r=t.words,n=this.sigBytes,o=t.sigBytes;if(this.clamp(),n%4)for(var i=0;i>>2]>>>24-i%4*8&255;e[n+i>>>2]|=s<<24-(n+i)%4*8}else for(var a=0;a>>2]=r[a>>>2];return this.sigBytes+=o,this},clamp:function(){var e=this.words,r=this.sigBytes;e[r>>>2]&=4294967295<<32-r%4*8,e.length=t.ceil(r/4)},clone:function(){var t=c.clone.call(this);return t.words=this.words.slice(0),t},random:function(t){for(var e=[],r=0;r>>2]>>>24-o%4*8&255;n.push((i>>>4).toString(16)),n.push((15&i).toString(16))}return n.join("")},parse:function(t){for(var e=t.length,r=[],n=0;n>>3]|=parseInt(t.substr(n,2),16)<<24-n%8*4;return new u.init(r,e/2)}},f=l.Latin1={stringify:function(t){for(var e=t.words,r=t.sigBytes,n=[],o=0;o>>2]>>>24-o%4*8&255;n.push(String.fromCharCode(i))}return n.join("")},parse:function(t){for(var e=t.length,r=[],n=0;n>>2]|=(255&t.charCodeAt(n))<<24-n%4*8;return new u.init(r,e)}},d=l.Utf8={stringify:function(t){try{return decodeURIComponent(escape(f.stringify(t)))}catch(t){throw new Error("Malformed UTF-8 data")}},parse:function(t){return f.parse(unescape(encodeURIComponent(t)))}},p=a.BufferedBlockAlgorithm=c.extend({reset:function(){this._data=new u.init,this._nDataBytes=0},_append:function(t){"string"==typeof t&&(t=d.parse(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes},_process:function(e){var r,n=this._data,o=n.words,i=n.sigBytes,s=this.blockSize,a=i/(4*s),c=(a=e?t.ceil(a):t.max((0|a)-this._minBufferSize,0))*s,l=t.min(4*c,i);if(c){for(var h=0;h>>6-s%4*2;o[i>>>2]|=a<<24-i%4*8,i++}return e.create(o,i)}t.enc.Base64={stringify:function(t){var e=t.words,r=t.sigBytes,n=this._map;t.clamp();for(var o=[],i=0;i>>2]>>>24-i%4*8&255)<<16|(e[i+1>>>2]>>>24-(i+1)%4*8&255)<<8|e[i+2>>>2]>>>24-(i+2)%4*8&255,a=0;a<4&&i+.75*a>>6*(3-a)&63));var c=n.charAt(64);if(c)for(;o.length%4;)o.push(c);return o.join("")},parse:function(t){var e=t.length,n=this._map,o=this._reverseMap;if(!o){o=this._reverseMap=[];for(var i=0;in&&(e=t.finalize(e)),e.clamp();for(var o=this._oKey=e.clone(),i=this._iKey=e.clone(),a=o.words,c=i.words,u=0;u>>24)|4278255360&(o<<24|o>>>8)}var i=this._hash.words,s=t[e+0],c=t[e+1],d=t[e+2],p=t[e+3],g=t[e+4],m=t[e+5],v=t[e+6],y=t[e+7],w=t[e+8],b=t[e+9],S=t[e+10],x=t[e+11],E=t[e+12],C=t[e+13],A=t[e+14],O=t[e+15],_=i[0],I=i[1],D=i[2],k=i[3];_=u(_,I,D,k,s,7,a[0]),k=u(k,_,I,D,c,12,a[1]),D=u(D,k,_,I,d,17,a[2]),I=u(I,D,k,_,p,22,a[3]),_=u(_,I,D,k,g,7,a[4]),k=u(k,_,I,D,m,12,a[5]),D=u(D,k,_,I,v,17,a[6]),I=u(I,D,k,_,y,22,a[7]),_=u(_,I,D,k,w,7,a[8]),k=u(k,_,I,D,b,12,a[9]),D=u(D,k,_,I,S,17,a[10]),I=u(I,D,k,_,x,22,a[11]),_=u(_,I,D,k,E,7,a[12]),k=u(k,_,I,D,C,12,a[13]),D=u(D,k,_,I,A,17,a[14]),_=l(_,I=u(I,D,k,_,O,22,a[15]),D,k,c,5,a[16]),k=l(k,_,I,D,v,9,a[17]),D=l(D,k,_,I,x,14,a[18]),I=l(I,D,k,_,s,20,a[19]),_=l(_,I,D,k,m,5,a[20]),k=l(k,_,I,D,S,9,a[21]),D=l(D,k,_,I,O,14,a[22]),I=l(I,D,k,_,g,20,a[23]),_=l(_,I,D,k,b,5,a[24]),k=l(k,_,I,D,A,9,a[25]),D=l(D,k,_,I,p,14,a[26]),I=l(I,D,k,_,w,20,a[27]),_=l(_,I,D,k,C,5,a[28]),k=l(k,_,I,D,d,9,a[29]),D=l(D,k,_,I,y,14,a[30]),_=h(_,I=l(I,D,k,_,E,20,a[31]),D,k,m,4,a[32]),k=h(k,_,I,D,w,11,a[33]),D=h(D,k,_,I,x,16,a[34]),I=h(I,D,k,_,A,23,a[35]),_=h(_,I,D,k,c,4,a[36]),k=h(k,_,I,D,g,11,a[37]),D=h(D,k,_,I,y,16,a[38]),I=h(I,D,k,_,S,23,a[39]),_=h(_,I,D,k,C,4,a[40]),k=h(k,_,I,D,s,11,a[41]),D=h(D,k,_,I,p,16,a[42]),I=h(I,D,k,_,v,23,a[43]),_=h(_,I,D,k,b,4,a[44]),k=h(k,_,I,D,E,11,a[45]),D=h(D,k,_,I,O,16,a[46]),_=f(_,I=h(I,D,k,_,d,23,a[47]),D,k,s,6,a[48]),k=f(k,_,I,D,y,10,a[49]),D=f(D,k,_,I,A,15,a[50]),I=f(I,D,k,_,m,21,a[51]),_=f(_,I,D,k,E,6,a[52]),k=f(k,_,I,D,p,10,a[53]),D=f(D,k,_,I,S,15,a[54]),I=f(I,D,k,_,c,21,a[55]),_=f(_,I,D,k,w,6,a[56]),k=f(k,_,I,D,O,10,a[57]),D=f(D,k,_,I,v,15,a[58]),I=f(I,D,k,_,C,21,a[59]),_=f(_,I,D,k,g,6,a[60]),k=f(k,_,I,D,x,10,a[61]),D=f(D,k,_,I,d,15,a[62]),I=f(I,D,k,_,b,21,a[63]),i[0]=i[0]+_|0,i[1]=i[1]+I|0,i[2]=i[2]+D|0,i[3]=i[3]+k|0},_doFinalize:function(){var e=this._data,r=e.words,n=8*this._nDataBytes,o=8*e.sigBytes;r[o>>>5]|=128<<24-o%32;var i=t.floor(n/4294967296),s=n;r[15+(o+64>>>9<<4)]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8),r[14+(o+64>>>9<<4)]=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),e.sigBytes=4*(r.length+1),this._process();for(var a=this._hash,c=a.words,u=0;u<4;u++){var l=c[u];c[u]=16711935&(l<<8|l>>>24)|4278255360&(l<<24|l>>>8)}return a},clone:function(){var t=i.clone.call(this);return t._hash=this._hash.clone(),t}});function u(t,e,r,n,o,i,s){var a=t+(e&r|~e&n)+o+s;return(a<>>32-i)+e}function l(t,e,r,n,o,i,s){var a=t+(e&n|r&~n)+o+s;return(a<>>32-i)+e}function h(t,e,r,n,o,i,s){var a=t+(e^r^n)+o+s;return(a<>>32-i)+e}function f(t,e,r,n,o,i,s){var a=t+(r^(e|~n))+o+s;return(a<>>32-i)+e}e.MD5=i._createHelper(c),e.HmacMD5=i._createHmacHelper(c)}(Math),n.MD5)},45471:function(t,e,r){var n,o,i,s,a,c,u,l;t.exports=(l=r(19021),o=(n=l).lib,i=o.WordArray,s=o.Hasher,a=n.algo,c=[],u=a.SHA1=s.extend({_doReset:function(){this._hash=new i.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(t,e){for(var r=this._hash.words,n=r[0],o=r[1],i=r[2],s=r[3],a=r[4],u=0;u<80;u++){if(u<16)c[u]=0|t[e+u];else{var l=c[u-3]^c[u-8]^c[u-14]^c[u-16];c[u]=l<<1|l>>>31}var h=(n<<5|n>>>27)+a+c[u];h+=u<20?1518500249+(o&i|~o&s):u<40?1859775393+(o^i^s):u<60?(o&i|o&s|i&s)-1894007588:(o^i^s)-899497514,a=s,s=i,i=o<<30|o>>>2,o=n,n=h}r[0]=r[0]+n|0,r[1]=r[1]+o|0,r[2]=r[2]+i|0,r[3]=r[3]+s|0,r[4]=r[4]+a|0},_doFinalize:function(){var t=this._data,e=t.words,r=8*this._nDataBytes,n=8*t.sigBytes;return e[n>>>5]|=128<<24-n%32,e[14+(n+64>>>9<<4)]=Math.floor(r/4294967296),e[15+(n+64>>>9<<4)]=r,t.sigBytes=4*e.length,this._process(),this._hash},clone:function(){var t=s.clone.call(this);return t._hash=this._hash.clone(),t}}),n.SHA1=s._createHelper(u),n.HmacSHA1=s._createHmacHelper(u),l.SHA1)},81380:function(t,e,r){var n;t.exports=(n=r(19021),r(43240),function(){var t=n,e=t.lib.Hasher,r=t.x64,o=r.Word,i=r.WordArray,s=t.algo;function a(){return o.create.apply(o,arguments)}var c=[a(1116352408,3609767458),a(1899447441,602891725),a(3049323471,3964484399),a(3921009573,2173295548),a(961987163,4081628472),a(1508970993,3053834265),a(2453635748,2937671579),a(2870763221,3664609560),a(3624381080,2734883394),a(310598401,1164996542),a(607225278,1323610764),a(1426881987,3590304994),a(1925078388,4068182383),a(2162078206,991336113),a(2614888103,633803317),a(3248222580,3479774868),a(3835390401,2666613458),a(4022224774,944711139),a(264347078,2341262773),a(604807628,2007800933),a(770255983,1495990901),a(1249150122,1856431235),a(1555081692,3175218132),a(1996064986,2198950837),a(2554220882,3999719339),a(2821834349,766784016),a(2952996808,2566594879),a(3210313671,3203337956),a(3336571891,1034457026),a(3584528711,2466948901),a(113926993,3758326383),a(338241895,168717936),a(666307205,1188179964),a(773529912,1546045734),a(1294757372,1522805485),a(1396182291,2643833823),a(1695183700,2343527390),a(1986661051,1014477480),a(2177026350,1206759142),a(2456956037,344077627),a(2730485921,1290863460),a(2820302411,3158454273),a(3259730800,3505952657),a(3345764771,106217008),a(3516065817,3606008344),a(3600352804,1432725776),a(4094571909,1467031594),a(275423344,851169720),a(430227734,3100823752),a(506948616,1363258195),a(659060556,3750685593),a(883997877,3785050280),a(958139571,3318307427),a(1322822218,3812723403),a(1537002063,2003034995),a(1747873779,3602036899),a(1955562222,1575990012),a(2024104815,1125592928),a(2227730452,2716904306),a(2361852424,442776044),a(2428436474,593698344),a(2756734187,3733110249),a(3204031479,2999351573),a(3329325298,3815920427),a(3391569614,3928383900),a(3515267271,566280711),a(3940187606,3454069534),a(4118630271,4000239992),a(116418474,1914138554),a(174292421,2731055270),a(289380356,3203993006),a(460393269,320620315),a(685471733,587496836),a(852142971,1086792851),a(1017036298,365543100),a(1126000580,2618297676),a(1288033470,3409855158),a(1501505948,4234509866),a(1607167915,987167468),a(1816402316,1246189591)],u=[];!function(){for(var t=0;t<80;t++)u[t]=a()}();var l=s.SHA512=e.extend({_doReset:function(){this._hash=new i.init([new o.init(1779033703,4089235720),new o.init(3144134277,2227873595),new o.init(1013904242,4271175723),new o.init(2773480762,1595750129),new o.init(1359893119,2917565137),new o.init(2600822924,725511199),new o.init(528734635,4215389547),new o.init(1541459225,327033209)])},_doProcessBlock:function(t,e){for(var r=this._hash.words,n=r[0],o=r[1],i=r[2],s=r[3],a=r[4],l=r[5],h=r[6],f=r[7],d=n.high,p=n.low,g=o.high,m=o.low,v=i.high,y=i.low,w=s.high,b=s.low,S=a.high,x=a.low,E=l.high,C=l.low,A=h.high,O=h.low,_=f.high,I=f.low,D=d,k=p,R=g,j=m,T=v,B=y,N=w,M=b,L=S,F=x,P=E,U=C,H=A,V=O,$=_,z=I,q=0;q<80;q++){var W,Q,G=u[q];if(q<16)Q=G.high=0|t[e+2*q],W=G.low=0|t[e+2*q+1];else{var J=u[q-15],X=J.high,Z=J.low,Y=(X>>>1|Z<<31)^(X>>>8|Z<<24)^X>>>7,K=(Z>>>1|X<<31)^(Z>>>8|X<<24)^(Z>>>7|X<<25),tt=u[q-2],et=tt.high,rt=tt.low,nt=(et>>>19|rt<<13)^(et<<3|rt>>>29)^et>>>6,ot=(rt>>>19|et<<13)^(rt<<3|et>>>29)^(rt>>>6|et<<26),it=u[q-7],st=it.high,at=it.low,ct=u[q-16],ut=ct.high,lt=ct.low;Q=(Q=(Q=Y+st+((W=K+at)>>>0>>0?1:0))+nt+((W+=ot)>>>0>>0?1:0))+ut+((W+=lt)>>>0>>0?1:0),G.high=Q,G.low=W}var ht,ft=L&P^~L&H,dt=F&U^~F&V,pt=D&R^D&T^R&T,gt=k&j^k&B^j&B,mt=(D>>>28|k<<4)^(D<<30|k>>>2)^(D<<25|k>>>7),vt=(k>>>28|D<<4)^(k<<30|D>>>2)^(k<<25|D>>>7),yt=(L>>>14|F<<18)^(L>>>18|F<<14)^(L<<23|F>>>9),wt=(F>>>14|L<<18)^(F>>>18|L<<14)^(F<<23|L>>>9),bt=c[q],St=bt.high,xt=bt.low,Et=$+yt+((ht=z+wt)>>>0>>0?1:0),Ct=vt+gt;$=H,z=V,H=P,V=U,P=L,U=F,L=N+(Et=(Et=(Et=Et+ft+((ht+=dt)>>>0
>>0?1:0))+St+((ht+=xt)>>>0>>0?1:0))+Q+((ht+=W)>>>0>>0?1:0))+((F=M+ht|0)>>>0>>0?1:0)|0,N=T,M=B,T=R,B=j,R=D,j=k,D=Et+(mt+pt+(Ct>>>0>>0?1:0))+((k=ht+Ct|0)>>>0>>0?1:0)|0}p=n.low=p+k,n.high=d+D+(p>>>0>>0?1:0),m=o.low=m+j,o.high=g+R+(m>>>0>>0?1:0),y=i.low=y+B,i.high=v+T+(y>>>0>>0?1:0),b=s.low=b+M,s.high=w+N+(b>>>0>>0?1:0),x=a.low=x+F,a.high=S+L+(x>>>0>>0?1:0),C=l.low=C+U,l.high=E+P+(C>>>0>>0?1:0),O=h.low=O+V,h.high=A+H+(O>>>0>>0?1:0),I=f.low=I+z,f.high=_+$+(I>>>0>>0?1:0)},_doFinalize:function(){var t=this._data,e=t.words,r=8*this._nDataBytes,n=8*t.sigBytes;return e[n>>>5]|=128<<24-n%32,e[30+(n+128>>>10<<5)]=Math.floor(r/4294967296),e[31+(n+128>>>10<<5)]=r,t.sigBytes=4*e.length,this._process(),this._hash.toX32()},clone:function(){var t=e.clone.call(this);return t._hash=this._hash.clone(),t},blockSize:32});t.SHA512=e._createHelper(l),t.HmacSHA512=e._createHmacHelper(l)}(),n.SHA512)},43240:function(t,e,r){var n;t.exports=(n=r(19021),function(t){var e=n,r=e.lib,o=r.Base,i=r.WordArray,s=e.x64={};s.Word=o.extend({init:function(t,e){this.high=t,this.low=e}}),s.WordArray=o.extend({init:function(e,r){e=this.words=e||[],this.sigBytes=r!=t?r:8*e.length},toX32:function(){for(var t=this.words,e=t.length,r=[],n=0;n{function n(t,e,r,n,o){for(e=e.split?e.split("."):e,n=0;nn})},68128:t=>{/** @license MIT* Fun Hooks v0.9.10* (c) @snapwich*/a.SYNC=1,a.ASYNC=2,a.QUEUE=4;var e="fun-hooks";var r=Object.freeze({useProxy:!0,ready:0}),n=new WeakMap,o="2,1,0"===[1].reduce((function(t,e,r){return[t,e,r]}),2).toString()?Array.prototype.reduce:function(t,e){var r,n=Object(this),o=n.length>>>0,i=0;if(e)r=e;else{for(;i{t.exports=function t(e){var r=Array.isArray(e)?[]:{};for(var n in e){var o=e[n];r[n]=o&&"object"==typeof o?t(o):o}return r}},92422:(t,e,r)=>{var n=r(76185);t.exports=n},84040:(t,e,r)=>{r(6290);var n=r(71382);t.exports=n("Array","find")},85111:(t,e,r)=>{var n=r(92422);t.exports=n},82159:(t,e,r)=>{var n=r(62250),o=r(4640),i=TypeError;t.exports=function(t){if(n(t))return t;throw new i(o(t)+" is not a function")}},42156:t=>{t.exports=function(){}},36624:(t,e,r)=>{var n=r(46285),o=String,i=TypeError;t.exports=function(t){if(n(t))return t;throw new i(o(t)+" is not an object")}},70726:(t,e,r)=>{var n=r(28311),o=r(1907),i=r(16946),s=r(39298),a=r(20575),c=r(56968),u=o([].push),l=function(t){var e=1===t,r=2===t,o=3===t,l=4===t,h=6===t,f=7===t,d=5===t||h;return function(p,g,m,v){for(var y,w,b=s(p),S=i(b),x=a(S),E=n(g,m),C=0,A=v||c,O=e?A(p,x):r||f?A(p,0):void 0;x>C;C++)if((d||C in S)&&(w=E(y=S[C],C,b),t))if(e)O[C]=w;else if(w)switch(t){case 3:return!0;case 5:return y;case 6:return C;case 2:u(O,y)}else switch(t){case 4:return!1;case 7:u(O,y)}return h?-1:o||l?l:O}};t.exports={forEach:l(0),map:l(1),filter:l(2),some:l(3),every:l(4),find:l(5),findIndex:l(6),filterReject:l(7)}},64010:(t,e,r)=>{var n=r(11793),o=r(25468),i=r(46285),s=r(76264)("species"),a=Array;t.exports=function(t){var e;return n(t)&&(e=t.constructor,(o(e)&&(e===a||n(e.prototype))||i(e)&&null===(e=e[s]))&&(e=void 0)),void 0===e?a:e}},56968:(t,e,r)=>{var n=r(64010);t.exports=function(t,e){return new(n(t))(0===e?0:e)}},45807:(t,e,r)=>{var n=r(1907),o=n({}.toString),i=n("".slice);t.exports=function(t){return i(o(t),8,-1)}},73948:(t,e,r)=>{var n=r(52623),o=r(62250),i=r(45807),s=r(76264)("toStringTag"),a=Object,c="Arguments"===i(function(){return arguments}());t.exports=n?i:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=a(t),s))?r:c?i(e):"Object"===(n=i(e))&&o(e.callee)?"Arguments":n}},61626:(t,e,r)=>{var n=r(39447),o=r(74284),i=r(75817);t.exports=n?function(t,e,r){return o.f(t,e,i(1,r))}:function(t,e,r){return t[e]=r,t}},75817:t=>{t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},2532:(t,e,r)=>{var n=r(41010),o=Object.defineProperty;t.exports=function(t,e){try{o(n,t,{value:e,configurable:!0,writable:!0})}catch(r){n[t]=e}return e}},39447:(t,e,r)=>{var n=r(98828);t.exports=!n((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},49552:(t,e,r)=>{var n=r(41010),o=r(46285),i=n.document,s=o(i)&&o(i.createElement);t.exports=function(t){return s?i.createElement(t):{}}},64723:t=>{t.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},15683:(t,e,r)=>{var n,o,i=r(41010),s=r(64723),a=i.process,c=i.Deno,u=a&&a.versions||c&&c.version,l=u&&u.v8;l&&(o=(n=l.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!o&&s&&(!(n=s.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=s.match(/Chrome\/(\d+)/))&&(o=+n[1]),t.exports=o},71382:(t,e,r)=>{var n=r(85582);t.exports=n},11091:(t,e,r)=>{var n=r(41010),o=r(76024),i=r(92361),s=r(62250),a=r(13846).f,c=r(7463),u=r(92046),l=r(28311),h=r(61626),f=r(49724);r(36128);var d=function(t){var e=function(r,n,i){if(this instanceof e){switch(arguments.length){case 0:return new t;case 1:return new t(r);case 2:return new t(r,n)}return new t(r,n,i)}return o(t,this,arguments)};return e.prototype=t.prototype,e};t.exports=function(t,e){var r,o,p,g,m,v,y,w,b,S=t.target,x=t.global,E=t.stat,C=t.proto,A=x?n:E?n[S]:n[S]&&n[S].prototype,O=x?u:u[S]||h(u,S,{})[S],_=O.prototype;for(g in e)o=!(r=c(x?g:S+(E?".":"#")+g,t.forced))&&A&&f(A,g),v=O[g],o&&(y=t.dontCallGetSet?(b=a(A,g))&&b.value:A[g]),m=o&&y?y:e[g],(r||C||typeof v!=typeof m)&&(w=t.bind&&o?l(m,n):t.wrap&&o?d(m):C&&s(m)?i(m):m,(t.sham||m&&m.sham||v&&v.sham)&&h(w,"sham",!0),h(O,g,w),C&&(f(u,p=S+"Prototype")||h(u,p,{}),h(u[p],g,m),t.real&&_&&(r||!_[g])&&h(_,g,m)))}},98828:t=>{t.exports=function(t){try{return!!t()}catch(t){return!0}}},76024:(t,e,r)=>{var n=r(41505),o=Function.prototype,i=o.apply,s=o.call;t.exports="object"==typeof Reflect&&Reflect.apply||(n?s.bind(i):function(){return s.apply(i,arguments)})},28311:(t,e,r)=>{var n=r(92361),o=r(82159),i=r(41505),s=n(n.bind);t.exports=function(t,e){return o(t),void 0===e?t:i?s(t,e):function(){return t.apply(e,arguments)}}},41505:(t,e,r)=>{var n=r(98828);t.exports=!n((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},13930:(t,e,r)=>{var n=r(41505),o=Function.prototype.call;t.exports=n?o.bind(o):function(){return o.apply(o,arguments)}},92361:(t,e,r)=>{var n=r(45807),o=r(1907);t.exports=function(t){if("Function"===n(t))return o(t)}},1907:(t,e,r)=>{var n=r(41505),o=Function.prototype,i=o.call,s=n&&o.bind.bind(i,i);t.exports=n?s:function(t){return function(){return i.apply(t,arguments)}}},85582:(t,e,r)=>{var n=r(92046),o=r(41010),i=r(62250),s=function(t){return i(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?s(n[t])||s(o[t]):n[t]&&n[t][e]||o[t]&&o[t][e]}},29367:(t,e,r)=>{var n=r(82159),o=r(87136);t.exports=function(t,e){var r=t[e];return o(r)?void 0:n(r)}},41010:function(t,e,r){var n=function(t){return t&&t.Math===Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||n("object"==typeof this&&this)||function(){return this}()||Function("return this")()},49724:(t,e,r)=>{var n=r(1907),o=r(39298),i=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return i(o(t),e)}},73648:(t,e,r)=>{var n=r(39447),o=r(98828),i=r(49552);t.exports=!n&&!o((function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},16946:(t,e,r)=>{var n=r(1907),o=r(98828),i=r(45807),s=Object,a=n("".split);t.exports=o((function(){return!s("z").propertyIsEnumerable(0)}))?function(t){return"String"===i(t)?a(t,""):s(t)}:s},12647:(t,e,r)=>{var n=r(1907),o=r(62250),i=r(36128),s=n(Function.toString);o(i.inspectSource)||(i.inspectSource=function(t){return s(t)}),t.exports=i.inspectSource},11793:(t,e,r)=>{var n=r(45807);t.exports=Array.isArray||function(t){return"Array"===n(t)}},62250:t=>{var e="object"==typeof document&&document.all;t.exports=void 0===e&&void 0!==e?function(t){return"function"==typeof t||t===e}:function(t){return"function"==typeof t}},25468:(t,e,r)=>{var n=r(1907),o=r(98828),i=r(62250),s=r(73948),a=r(85582),c=r(12647),u=function(){},l=a("Reflect","construct"),h=/^\s*(?:class|function)\b/,f=n(h.exec),d=!h.test(u),p=function(t){if(!i(t))return!1;try{return l(u,[],t),!0}catch(t){return!1}},g=function(t){if(!i(t))return!1;switch(s(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return d||!!f(h,c(t))}catch(t){return!0}};g.sham=!0,t.exports=!l||o((function(){var t;return p(p.call)||!p(Object)||!p((function(){t=!0}))||t}))?g:p},7463:(t,e,r)=>{var n=r(98828),o=r(62250),i=/#|\.prototype\./,s=function(t,e){var r=c[a(t)];return r===l||r!==u&&(o(e)?n(e):!!e)},a=s.normalize=function(t){return String(t).replace(i,".").toLowerCase()},c=s.data={},u=s.NATIVE="N",l=s.POLYFILL="P";t.exports=s},87136:t=>{t.exports=function(t){return null==t}},46285:(t,e,r)=>{var n=r(62250);t.exports=function(t){return"object"==typeof t?null!==t:n(t)}},7376:t=>{t.exports=!0},25594:(t,e,r)=>{var n=r(85582),o=r(62250),i=r(88280),s=r(51175),a=Object;t.exports=s?function(t){return"symbol"==typeof t}:function(t){var e=n("Symbol");return o(e)&&i(e.prototype,a(t))}},20575:(t,e,r)=>{var n=r(3121);t.exports=function(t){return n(t.length)}},41176:t=>{var e=Math.ceil,r=Math.floor;t.exports=Math.trunc||function(t){var n=+t;return(n>0?r:e)(n)}},74284:(t,e,r)=>{var n=r(39447),o=r(73648),i=r(58661),s=r(36624),a=r(70470),c=TypeError,u=Object.defineProperty,l=Object.getOwnPropertyDescriptor,h="enumerable",f="configurable",d="writable";e.f=n?i?function(t,e,r){if(s(t),e=a(e),s(r),"function"==typeof t&&"prototype"===e&&"value"in r&&d in r&&!r[d]){var n=l(t,e);n&&n[d]&&(t[e]=r.value,r={configurable:f in r?r[f]:n[f],enumerable:h in r?r[h]:n[h],writable:!1})}return u(t,e,r)}:u:function(t,e,r){if(s(t),e=a(e),s(r),o)try{return u(t,e,r)}catch(t){}if("get"in r||"set"in r)throw new c("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},13846:(t,e,r)=>{var n=r(39447),o=r(13930),i=r(22574),s=r(75817),a=r(27374),c=r(70470),u=r(49724),l=r(73648),h=Object.getOwnPropertyDescriptor;e.f=n?h:function(t,e){if(t=a(t),e=c(e),l)try{return h(t,e)}catch(t){}if(u(t,e))return s(!o(i.f,t,e),t[e])}},88280:(t,e,r)=>{var n=r(1907);t.exports=n({}.isPrototypeOf)},22574:(t,e)=>{var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,o=n&&!r.call({1:2},1);e.f=o?function(t){var e=n(this,t);return!!e&&e.enumerable}:r},60581:(t,e,r)=>{var n=r(13930),o=r(62250),i=r(46285),s=TypeError;t.exports=function(t,e){var r,a;if("string"===e&&o(r=t.toString)&&!i(a=n(r,t)))return a;if(o(r=t.valueOf)&&!i(a=n(r,t)))return a;if("string"!==e&&o(r=t.toString)&&!i(a=n(r,t)))return a;throw new s("Can't convert object to primitive value")}},92046:t=>{t.exports={}},74239:(t,e,r)=>{var n=r(87136),o=TypeError;t.exports=function(t){if(n(t))throw new o("Can't call method on "+t);return t}},36128:(t,e,r)=>{var n=r(7376),o=r(41010),i=r(2532),s="__core-js_shared__",a=t.exports=o[s]||i(s,{});(a.versions||(a.versions=[])).push({version:"3.36.1",mode:n?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.36.1/LICENSE",source:"https://github.com/zloirock/core-js"})},85816:(t,e,r)=>{var n=r(36128);t.exports=function(t,e){return n[t]||(n[t]=e||{})}},19846:(t,e,r)=>{var n=r(15683),o=r(98828),i=r(41010).String;t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol("symbol detection");return!i(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},27374:(t,e,r)=>{var n=r(16946),o=r(74239);t.exports=function(t){return n(o(t))}},65482:(t,e,r)=>{var n=r(41176);t.exports=function(t){var e=+t;return e!=e||0===e?0:n(e)}},3121:(t,e,r)=>{var n=r(65482),o=Math.min;t.exports=function(t){var e=n(t);return e>0?o(e,9007199254740991):0}},39298:(t,e,r)=>{var n=r(74239),o=Object;t.exports=function(t){return o(n(t))}},46028:(t,e,r)=>{var n=r(13930),o=r(46285),i=r(25594),s=r(29367),a=r(60581),c=r(76264),u=TypeError,l=c("toPrimitive");t.exports=function(t,e){if(!o(t)||i(t))return t;var r,c=s(t,l);if(c){if(void 0===e&&(e="default"),r=n(c,t,e),!o(r)||i(r))return r;throw new u("Can't convert object to primitive value")}return void 0===e&&(e="number"),a(t,e)}},70470:(t,e,r)=>{var n=r(46028),o=r(25594);t.exports=function(t){var e=n(t,"string");return o(e)?e:e+""}},52623:(t,e,r)=>{var n={};n[r(76264)("toStringTag")]="z",t.exports="[object z]"===String(n)},4640:t=>{var e=String;t.exports=function(t){try{return e(t)}catch(t){return"Object"}}},6499:(t,e,r)=>{var n=r(1907),o=0,i=Math.random(),s=n(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+s(++o+i,36)}},51175:(t,e,r)=>{var n=r(19846);t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},58661:(t,e,r)=>{var n=r(39447),o=r(98828);t.exports=n&&o((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},76264:(t,e,r)=>{var n=r(41010),o=r(85816),i=r(49724),s=r(6499),a=r(19846),c=r(51175),u=n.Symbol,l=o("wks"),h=c?u.for||u:u&&u.withoutSetter||s;t.exports=function(t){return i(l,t)||(l[t]=a&&i(u,t)?u[t]:h("Symbol."+t)),l[t]}},6290:(t,e,r)=>{var n=r(11091),o=r(70726).find,i=r(42156),s="find",a=!0;s in[]&&Array(1)[s]((function(){a=!1})),n({target:"Array",proto:!0,forced:a},{find:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),i(s)},76185:(t,e,r)=>{var n=r(84040);t.exports=n},16221:(t,e)=>{const r="[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}",n=new RegExp(`^${r}$`,"i"),o=!!String.prototype.trim;function i(t){return null!=t}function s(t){return"[object Array]"===Object.prototype.toString.call(t)}function a(t){return o?(""+t).trim():(""+t).replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}function c(t){return"string"==typeof t}function u(t){return!!t&&"object"==typeof t&&!s(t)}function l(t,e){return new Date((new Date).getTime()+t*e)}function h(t,e,r){if(u(e)){let n;return n="message"in e&&"string"==typeof e.message?new Error(r||e.message):new Error(r),n.name=t,"stack"in e&&"string"==typeof e.stack&&(n.stack=e.stack),"lineNumber"in e&&"number"==typeof e.lineNumber&&(n.lineNumber=e.lineNumber),"columnNumber"in e&&"number"==typeof e.columnNumber&&(n.columnNumber=e.columnNumber),n}{const e=Error(r);return e.name=t,e}}const f="li_errors";e.ERRORS_CHANNEL=f,e.ReplayEmitter=class{data;constructor(t){const e=parseInt(t.toString())||5;this.data={h:{},q:{},size:e}}on(t,e,r){const n={callback:e.bind(r),unbound:e};return this.data={...this.data,h:{...this.data.h,[t]:[...this.data.h[t]||[],n]}},(this.data.q[t]||[]).forEach((t=>e.call(r,t))),this}once(t,e,r){const n=this.data.q[t]||[];if(n.length>0)return e.call(r,n[0]),this;{const n=o=>{this.off(t,n),e.call(r,o)};return n._=e,this.on(t,n,r)}}emit(t,e){(this.data.h[t]||[]).forEach((t=>t.callback(e)));const r=this.data.q[t]||[];return this.data={...this.data,q:{...this.data.q,[t]:[...r.lengtht.unbound!==e))||[];if(n.length)this.data={...this.data,h:{...this.data.h,[t]:n}};else{const{[t]:e,...r}=this.data.h;this.data={...this.data,h:r}}return this}emitErrorWithMessage(t,e,r){const n=h(t,r,e);return this.emit(f,n)}emitError(t,e){const r=h(t,e);return this.emit(f,r)}},e.UUID=r,e.expiresInDays=function(t){return l(t,864e5)},e.expiresInHours=function(t){return l(t,36e5)},e.isArray=s,e.isFunction=function(t){return!!t&&"function"==typeof t},e.isNonEmpty=function(t){return i(t)&&a(t).length>0},e.isObject=u,e.isRecord=function(t){return u(t)},e.isString=c,e.isUUID=function(t){return!!t&&n.test(a(t))},e.nonNull=i,e.onNonNull=function(t,e){return null!=t?e(t):t},e.safeToString=function(t){return"object"==typeof t?JSON.stringify(t):""+t},e.strEqualsIgnoreCase=function(t,e){return c(t)&&c(e)&&a(t.toLowerCase())===a(e.toLowerCase())},e.trim=a,e.wrapError=h},51227:(t,e,r)=>{var n=r(4669);r(16221),r(3417);const o=n.LiveConnect,i=n.StandardLiveConnect,s=n.MinimalLiveConnect;e.Lp=n.consts,e.Bt=n.eventBus,e.DQ=o,e.qO=s,e.iq=i},4669:(t,e,r)=>{var n=r(16221),o=r(3417);class i{url;timeout;calls;eventBus;retries;constructor(t){this.url=t.collectorUrl??"https://rp.liadm.com",this.timeout=t.ajaxTimeout??0,this.calls=t.callHandler,this.eventBus=t.eventBus,this.retries=t.ajaxRetries??3}callBakers(t){try{const e=JSON.parse(t).bakers;if(n.isArray(e))for(let t=0;t{const o=i=>{this.calls.ajaxGet(r,(t=>{e.onLoad&&n.isFunction(e.onLoad)&&e.onLoad(),this.callBakers(t)}),(r=>{i<=0?(this.sendPixel(t,e),this.eventBus.emitError("AjaxFailed",r)):o(i-1)}),this.timeout)};o(this.retries)}),e.onPreSend)}sendPixel(t,e={}){this.sendState(t,"p",(t=>this.calls.pixelGet(t,e.onLoad)),e.onPreSend)}}const s="__li__evt_bus",a=n.ERRORS_CHANNEL,c="lips",u="pre_lips",l="_li_duid",h="https://idx.liadm.com/idex",f=[];var d=Object.freeze({__proto__:null,DEFAULT_IDEX_AJAX_TIMEOUT:5e3,DEFAULT_IDEX_URL:h,DEFAULT_REQUESTED_ATTRIBUTES:f,ERRORS_PREFIX:a,EVENT_BUS_NAMESPACE:s,PEOPLE_VERIFIED_LS_ENTRY:l,PIXEL_SENT_PREFIX:c,PRELOAD_PIXEL:u});const p="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function g(t){const e=function(t){t=`${t}`;for(let e=0;e255)return null;let e="";for(let n=0;n>2,o[1]=(3&t.charCodeAt(n))<<4,t.length>n+2?(o[1]|=t.charCodeAt(n+1)>>4,o[2]=(15&t.charCodeAt(n+1))<<2,o[2]|=t.charCodeAt(n+2)>>6,o[3]=63&t.charCodeAt(n+2)):t.length>n+1&&(o[1]|=t.charCodeAt(n+1)>>4,o[2]=(15&t.charCodeAt(n+1))<<2);for(let t=0;t=0&&r<64?p[r]:void 0}}var r;return e}(t);return e||""}const m=/[+/]|=+$/g,v={"+":"-","/":"_"};function y(t){return v[t]||""}function w(t){let e=null;const r=encodeURIComponent(t).replace(/%([0-9A-F]{2})/g,((t,e)=>String.fromCharCode(parseInt("0x"+e,16))));try{e=window&&n.isFunction(window.btoa)?window.btoa:g}catch(t){e=g}return e(r).replace(m,y)}const b=()=>/(\s+)?[a-f0-9]{32,64}(\s+)?/gi,S=new Map([[32,"md5"],[40,"sha1"],[64,"sha256"]]);function x(t){const e=E(t);return!!e&&S.has(e.length)}function E(t){const e=t.match(b());return e&&e.map(n.trim)[0]}function C(t){const e=t.toLowerCase();return{md5:o.md5(e),sha1:o.sha1(e),sha256:o.sha256(e)}}const A=()=>/\S+(@|%40)\S+\.\S+/;function O(t){return A().test(t)}function _(t){const e=t.match(A());return e&&e.map(n.trim)[0]}function I(t){const e=function(t){const e=[],r=new RegExp("([\\w\\d.+-]+(@|%40)[\\w\\d-]+.[\\w\\d.-]+)","g");let o=r.exec(t);for(;o;)e.push(n.trim(o[1])),o=r.exec(t);return e}(t),r=[];let o=t;for(let t=0;tk(T(t)))):k(T(r))}}function j(t){let e,r,o;const i={};return t&&-1!==(e=t.indexOf("?"))&&(r=t.slice(e+1))&&(-1===(o=r.indexOf("#"))||(r=r.slice(0,o)))?(r.split("&").forEach((function(t){if(t){let e;const r=t.split("=");e=r[0];const o=2===r.length?r[1]:"true";if("[]"===e.slice(-2)&&(e=e.slice(0,-2)),e in i){const t=i[e];n.isArray(t)?t.push(o):i[e]=[t,o]}else i[e]=o}})),i):i}function T(t){return t.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)}class B{hash;host;hostname;pathname;port;protocol;search;constructor(t){const e=t.match(/^(https?\:\/\/)?(([^:\/?#]*)(?:\:([0-9]+))?)([\/]{0,1}[^?#]*)(\?[^#]*|)(#.*|)$/);if(null===e)throw new TypeError(`Failed to parse URL: ${t}`);this.protocol=e[1]||"",this.host=e[2]||"",this.hostname=e[3]||"",this.port=e[4]||"",this.pathname=e[5]||"",this.search=e[6]||"",this.hash=e[7]||""}toString(){return`${this.protocol}${this.host}${this.pathname}${this.search}${this.hash}`}}const N=["items","itemids"],M=["email","emailhash","hash","hashedemail"];const L=[function(t){const e=t.eventSource||{},r=Object.keys(e);for(const o of r){const r=o.toLowerCase();if(M.indexOf(r)>-1){const r=n.trim(n.safeToString(e[o])),i=_(r),s=E(r);if(i){const e=C(T(i));return F({hashedEmail:[e.md5,e.sha1,e.sha256]},t)}if(s&&x(s))return F({hashedEmail:[s.toLowerCase()]},t)}}return t},function(t){const e=t.eventSource||{};return Object.keys(e).forEach((t=>{const r=t.toLowerCase(),o=e[t];N.indexOf(r)>-1&&n.isArray(o)&&o.length>10&&(o.length=10)})),{}}];function F(t,e){const r={};function o(t){return n.isObject(t)?t:{}}function i(t){return Object.keys(t)}const s=o(t),a=o(e);return i(s).forEach((t=>{r[t]=s[t]})),i(a).forEach((t=>{r[t]=a[t]})),r}class P{tuples;constructor(t=[]){this.tuples=t}add(t,e,r={}){const{stripEmpty:n=!0,prepend:o=!1}=r;return""===t||n&&""===e?this:o?(this.tuples.unshift([t,e]),this):(this.tuples.push([t,e]),this)}addOptional(t,e,r={}){return n.nonNull(e)?this.add(t,e,r):this}addParamsMap(t){return Object.keys(t).forEach((e=>{const r=t[e];n.nonNull(r)&&(n.isArray(r)?r.forEach((t=>this.add(e,t))):this.add(e,r))})),this}copy(){return new P(this.tuples.slice())}filteredCopy(t){return new P(this.tuples.filter((([e,r])=>t(e,r))))}toQueryString(){let t="";return this.tuples.forEach((([e,r])=>{const n=0===t.length?"?":"&";t=`${t}${n}${encodeURIComponent(e)}=${encodeURIComponent(r)}`})),t}}function U(t){return null===t?"":t}const H={full:"full",noPath:"no_path"};function V(t){if(void 0===t.pageUrl||0===t.pageUrl.length)return["",!1,[]];if(function(t){return!(void 0!==t.urlCollectionMode&&t.urlCollectionMode!==H.full||void 0!==t.queryParametersFilter&&""!==t.queryParametersFilter)}(t))return[t.pageUrl,!1,[]];const e=new B(t.pageUrl),r=function(t){const e=j(t),r=[];return Object.keys(e).forEach((t=>{r.push([t,R(e,t)])})),r}(e.search),n=function(t,e){return e.urlCollectionMode===H.noPath&&t.pathname.length>1}(e,t),o=function(t,e){if(void 0===e.queryParametersFilter||""===e.queryParametersFilter)return[];const r=new RegExp(e.queryParametersFilter);return t.map((t=>t[0])).filter((t=>r.test(t)))}(r,t);return n&&(e.pathname="/"),o.length>0&&(e.search=function(t,e){const r=t.filter((t=>-1===e.indexOf(t[0]))).map((t=>`${t[0]}=${t[1]}`));return r.length>0?`?${r.join("&")}`:""}(r,o)),[e.toString(),n,o]}function $(t){if(0!==t.length){const e=new B(t);return e.pathname="",e.search="",e.toString()}}const z=["setemail","setemailhash","sethashedemail"];class q{data;eventBus;constructor(t,e){this.data=q.safeFiddle(t,e),this.eventBus=e}static safeFiddle(t,e){try{return r=JSON.parse(JSON.stringify(t)),n.isObject(r.eventSource)?L.reduce((function(t,e){return F(t,e(t))}),r):r}catch(t){return console.error(t),e.emitErrorWithMessage("StateCombineWith","Error while extracting event data",t),{}}var r}combineWith(t){return new q(F(this.data,t),this.eventBus)}sendsPixel(){const t=n.isObject(this.data.eventSource)?this.data.eventSource:{},e=Object.keys(t).filter((t=>"eventname"===t.toLowerCase()||"event"===t.toLowerCase())),r=e&&e.length>=1&&e[0],o=r&&n.trim(t[r]);return!o||-1===z.indexOf(o.toLowerCase())}asQuery(){const t=this.data,e=(new P).addOptional("aid",t.appId).addOptional("did",t.distributorId).addOptional("se",n.onNonNull(t.eventSource,(t=>w(JSON.stringify(t,D))))).addOptional("duid",t.liveConnectId).addOptional("tv",t.trackerVersion);if(n.nonNull(t.pageUrl)){const[r,n,o]=V(t);e.add("pu",r).addOptional("pu_rp",n?"1":void 0).add("pu_rqp",o.join(","))}return e.addOptional("ae",n.onNonNull(t.errorDetails,(t=>w(JSON.stringify(t))))),n.isArray(t.retrievedIdentifiers)&&t.retrievedIdentifiers.forEach((t=>e.add(`ext_${t.name}`,t.value))),n.isArray(t.hashesFromIdentifiers)&&t.hashesFromIdentifiers.forEach((t=>e.add("scre",`${t.md5},${t.sha1},${t.sha256}`))),e.addOptional("li_did",t.decisionIds?.join(",")).addOptional("e",t.hashedEmail?.join(",")).addOptional("us_privacy",t.usPrivacyString).addOptional("wpn",t.wrapperName).addOptional("gdpr",n.onNonNull(t.gdprApplies,(t=>t?"1":"0"))).addOptional("gdpr_consent",t.gdprConsent).addOptional("refr",t.referrer).addOptional("gpp_s",t.gppString).addOptional("gpp_as",t.gppApplicableSections?.join(",")).addOptional("cd",t.cookieDomain).addOptional("ic",U(t.resolvedIdCookie),{stripEmpty:!1}).addOptional("c",t.contextElements),e}}function W(t=window){return X((()=>t.top.document.referrer))}function Q(t=window){const e=X((()=>t.location.ancestorOrigins))||[],r=[];let n,o=t;for(;o!==top;)r.push(o),o=o.parent;r.push(o);for(let t=r.length-1;t>=0&&!n;t--)n=X((()=>r[t].location.href)),0!==t&&(n||(n=X((()=>r[t-1].document.referrer))),n||(n=e[t-1]));return n}function G(t,e,r){if(!t&&e&&""!==e&&r){const t=function(t,e){const r=window.document.querySelectorAll(t);let n="";for(let t=0;t({...t,pageUrl:Q(),referrer:W(),contextElements:G(t.privacyMode,t.contextSelectors,t.contextElementsLength)});function Y(t){let e=[];t&&(n.isArray(t)?e=t:n.isString(t)&&(e=t.split(",")));for(let t=0;t({...t,privacyMode:!!t.gdprApplies||(t.gppApplicableSections??[]).indexOf(2)>-1});function rt(t,e){if(t&&t.appId&&t.distributorId){const r=t.distributorId;delete t.distributorId,e.emitError("AppIdAndDistributorIdPresent",new Error(`Event contains both appId: ${t.appId} and distributorId: ${r}. Ignoring distributorId`))}return t}const nt="idCookie";class ot{eventBus;calls;idexConfig;externalIds;source;publisherId;url;timeout;requestedAttributes;query;privacyMode;resolvedIdCookie;generateIdCookie;peopleVerifiedId;pageUrl;constructor(t,e,r){const o=t||{identityResolutionConfig:{}};this.eventBus=r,this.calls=e,this.idexConfig=o.identityResolutionConfig||{},this.externalIds=o.retrievedIdentifiers||[],this.source=this.idexConfig.source||"unknown",this.publisherId=this.idexConfig.publisherId||"any",this.url=this.idexConfig.url||h,this.timeout=this.idexConfig.ajaxTimeout||o.ajaxTimeout||5e3,this.requestedAttributes=this.idexConfig.requestedAttributes||f,this.privacyMode=o.privacyMode??!1,this.resolvedIdCookie=o.resolvedIdCookie,this.generateIdCookie="generated"===this.idexConfig.idCookieMode,this.peopleVerifiedId=o.peopleVerifiedId,this.pageUrl=o.pageUrl,this.query=(new P).addOptional("duid",o.peopleVerifiedId).addOptional("us_privacy",o.usPrivacyString).addOptional("gdpr",n.onNonNull(o.gdprApplies,(t=>t?1:0))).addOptional("gdpr_consent",o.gdprConsent).addOptional("did",o.distributorId).addOptional("gpp_s",o.gppString).addOptional("gpp_as",o.gppApplicableSections?.join(",")).addOptional("cd",o.cookieDomain).addOptional("ic",U(o.resolvedIdCookie),{stripEmpty:!1}).addOptional("pu",n.onNonNull(o.pageUrl,$)),this.externalIds.forEach((t=>{this.query.add(t.name,t.value)})),this.requestedAttributes.forEach((t=>{this.query.add("resolve",t)}))}attributeResolutionAllowed(t){return"uid2"===t?!this.privacyMode:t!==nt}filterParams(t){return t.filteredCopy(((t,e)=>"resolve"!==t||!!n.isString(e)&&this.attributeResolutionAllowed(e)))}enrichExtraIdentifiers(t,e){const r=e.tuples.filter((([t])=>"resolve"===t)).map((([,t])=>t));const n={...t};var o;return o=nt,r.indexOf(o)>-1&&(this.generateIdCookie&&this.peopleVerifiedId?n[nt]=this.peopleVerifiedId:this.resolvedIdCookie&&(n[nt]=this.resolvedIdCookie)),n}responseReceived(t,e){return(r,o)=>{let i={};if(r)try{const t=JSON.parse(r);n.isObject(t)&&(i=t)}catch(t){console.error("Error parsing response",t),this.eventBus.emitError("IdentityResolverParser",t)}const s=function(t){if(n.isObject(t)&&"getResponseHeader"in t&&n.isFunction(t.getResponseHeader)){const e=t.getResponseHeader("expires");if(e)return new Date(e)}}(o);t(this.enrichExtraIdentifiers(i,e),{expiresAt:s})}}buildUrl(t){return`${this.url}/${this.source}/${this.publisherId}${this.filterParams(t).toQueryString()}`}getUrl(t){const e=this.query.copy().addParamsMap(t??{});return this.buildUrl(e)}resolve(t,e,r){try{const n=this.query.copy().addParamsMap(r??{});this.calls.ajaxGet(this.buildUrl(n),this.responseReceived(t,n),e,this.timeout)}catch(t){console.error("IdentityResolve",t),e&&n.isFunction(e)&&e(t),this.eventBus&&this.eventBus.emitError("IdentityResolve",t)}}}function it(t){return"number"==typeof t&&t>=0?new n.ReplayEmitter(t):new n.ReplayEmitter(5)}function st(t){n.isFunction(t.emitErrorWithMessage)&&n.isFunction(t.emitError)||(t.emitErrorWithMessage=function(e,r,o={}){const i=n.wrapError(e,r,o);return t.emit(n.ERRORS_CHANNEL,i)},t.emitError=function(e,r){return t.emitErrorWithMessage(e,r.message,r)})}function at(t=5){return it(t)}function ct(t){const e=window[t].eventBus||window[s];return st(e),e}var ut=Object.freeze({__proto__:null,GlobalEventBus:function(t,e,r){try{return window||r(new Error("Bus can only be attached to the window, which is not present")),window&&!window[t]&&(window[t]=it(e)),st(window[t]),window[t]}catch(t){console.error("events.bus.init",t),r(t)}},LocalEventBus:at,getAvailableBus:ct});const lt="_li_dcdm_c";function ht(t){const e=t.getCookie(lt);if(e)return e;const r=document.domain||document.location&&document.location.host||window&&window.location&&window.location.host||"localhost",n=r.split(".");for(let e=n.length;e>0;e--){const r=`.${n.slice(e-1,n.length).join(".")}`;if(t.setCookie(lt,r,void 0,"Lax",r),t.getCookie(lt))return r}return`.${r}`}const ft={cookie:"cookie",localStorage:"ls",none:"none",disabled:"disabled"},dt=t=>{const e=t.privacyMode?ft.disabled:t.storageStrategy||ft.cookie;return{...t,storageStrategy:e}},pt=n.expiresInDays(30),gt="li_did",mt="lidids.",vt=(t,e,r)=>r.indexOf(t)===e,yt=t=>t&&n.trim(t).length>0;function wt(t,e){return r=>{function o(t,r){try{return r()}catch(r){return e.emitErrorWithMessage("DecisionsResolve",t,r),[]}}const i=o("Error while extracting new decision ids",(()=>{var t,e;return[].concat(r.pageUrl&&(t=r.pageUrl,e=gt,R(j(t),e))||[]).map(n.trim).filter(yt).filter(n.isUUID).filter(vt)})),s=o("Error while retrieving stored decision ids",(()=>t.findSimilarCookies(mt).map(n.trim).filter(yt).filter(n.isUUID)));return i.forEach((n=>{try{(o=n)&&t.setCookie(`${mt}${o}`,o,pt,"Lax",r.cookieDomain)}catch(t){e.emitErrorWithMessage("DecisionsResolve","Error while storing new decision id",t)}var o})),{...r,decisionIds:i.concat(s).filter(vt)}}}const bt="0123456789ABCDEFGHJKMNPQRSTVWXYZ",St=bt.length,xt=Math.pow(2,48)-1,Et=10,Ct=16,At=function(){const t="undefined"!=typeof window?window:null,e=t&&(t.crypto||t.msCrypto);if(e)return()=>{const t=new Uint8Array(1);return e.getRandomValues(t),t[0]/255};return()=>Math.random()}();function Ot(t,e){if(t>xt)throw function(t){const e=new Error(t);return e.source="Ulid",e}("cannot encode time greater than "+xt);let r,n="";for(;e>0;e--)r=t%St,n=bt.charAt(r)+n,t=(t-r)/St;return n}function _t(){let t=Math.floor(At()*St);return t===St&&(t=St-1),bt.charAt(t)}function It(){return Ot(Date.now(),Et)+function(t){let e="";for(;t>0;t--)e=_t()+e;return e}(Ct)}const Dt="_lc2_fpi";function kt(t,e){return r=>{let n;const i=t.get(Dt);if(i)n=i.data;else{const i=e.getCookie(Dt);if(i)t.set(Dt,i),n=i;else{const e=`${function(t,e=12){return o.sha1(t.replace(/^\./,"")).substring(0,e)}(r.cookieDomain)}--${It()}`.toLocaleLowerCase();t.set(Dt,e),n=t.get(Dt)?.data}}return n&&e.setDataInLocalStorage(l,n),{...r,liveConnectId:n,peopleVerifiedId:n}}}const Rt=120,jt={errorDetails:{message:"Unknown message",name:"Unknown name"}};function Tt(t){try{const e=1*t;return isNaN(e)?void 0:e}catch{}}function Bt(t){try{return n.isString(t)&&t.length&&t.length>Rt?`${t.substr(0,Rt)}...`:`${t}`}catch{}}const Nt=()=>{};class Mt{obj;name;errors;eventBus;constructor(t,e,r){this.obj=t,this.name=e,this.errors=[],this.eventBus=r}wrap(t){if(n.isObject(this.obj)){const e=this.obj[t];if(n.isFunction(e))return(...r)=>{try{return e.call(this.obj,...r)}catch(e){this.eventBus.emitErrorWithMessage(this.name,`Failed calling ${t}`,e)}}}return this.errors.push(t),Nt}reportErrors(){this.errors.length>0&&this.eventBus.emitErrorWithMessage(this.name,`The functions '${JSON.stringify(this.errors)}' were not provided`)}}const Lt=()=>{};function Ft(t,e,r){return n.strEqualsIgnoreCase(e,ft.disabled)?Lt:t.wrap(r)}function Pt(t,e,r){return n.strEqualsIgnoreCase(e,ft.none)?Lt:Ft(t,e,r)}class Ut{minimalFunctions;constructor(t,e){this.minimalFunctions={getCookie:Ft(e,t,"getCookie"),getDataFromLocalStorage:Ft(e,t,"getDataFromLocalStorage"),localStorageIsEnabled:Pt(e,t,"localStorageIsEnabled")}}static make(t,e,r){const n=new Mt(e,"ReadOnlyStorageHandler",r),o=new Ut(t,n);return n.reportErrors(),o}localStorageIsEnabled(){return!!this.minimalFunctions.localStorageIsEnabled()}getCookie(t){return this.minimalFunctions.getCookie(t)||null}getDataFromLocalStorage(t){return this.minimalFunctions.getDataFromLocalStorage(t)||null}}class Ht extends Ut{storageStrategy;functions;constructor(t,e){super(t,e),this.storageStrategy=t,this.functions={setCookie:Pt(e,t,"setCookie"),removeDataFromLocalStorage:Pt(e,t,"removeDataFromLocalStorage"),setDataInLocalStorage:Pt(e,t,"setDataInLocalStorage"),findSimilarCookies:Ft(e,t,"findSimilarCookies")}}static make(t,e,r){const n=new Mt(e,"StorageHandler",r),o=new Ht(t,n);return n.reportErrors(),o}setCookie(t,e,r,n,o){this.functions.setCookie(t,e,r,n,o)}setDataInLocalStorage(t,e){this.functions.setDataInLocalStorage(t,e)}removeDataFromLocalStorage(t){this.functions.removeDataFromLocalStorage(t)}findSimilarCookies(t){return this.functions.findSimilarCookies(t)||[]}}class Vt extends Error{constructor(t){super(t),this.name="ParseError"}}class $t{handler;cookieDomain;eventBus;constructor(t){this.handler=t.storageHandler,this.cookieDomain=t.cookieDomain,this.eventBus=t.eventBus}deleteCookie(t){this.handler.setCookie(t,"",new Date(0),"Lax",this.cookieDomain)}parseMetaRecord(t){const e=JSON.parse(t);if(!n.isObject(e))throw new Vt("Meta record is not an object");let r;if("e"in e&&(r=new Date(e.e),isNaN(r.getTime())))throw new Vt("Invalid expiresAt");if(!("w"in e))throw new Vt("Missing writtenAt");const o=new Date(e.w);if(isNaN(o.getTime()))throw new Vt("Invalid writtenAt");return{expiresAt:r,writtenAt:o}}serializeMetaRecord(t){let e;return t.expiresAt&&(e=t.expiresAt.getTime()),JSON.stringify({w:t.writtenAt.getTime(),e})}getCookieRecord(t,e){const r=this.handler.getCookie(e);if(!r||0===r.length)return null;let n;try{n=this.parseMetaRecord(r)}catch(r){return this.eventBus.emitErrorWithMessage("Cache","Failed reading meta from cookies",r),this.deleteCookie(t),this.deleteCookie(e),null}const o=n.expiresAt;if(o&&o.getTime()<=Date.now())return null;const i=this.handler.getCookie(t);return i?{data:i,meta:n}:null}getLSRecord(t,e){const r=this.handler.getDataFromLocalStorage(e);if(!r||0===r.length)return null;let n;try{n=this.parseMetaRecord(r)}catch(r){return this.eventBus.emitErrorWithMessage("Cache","Failed reading meta from ls",r),this.handler.removeDataFromLocalStorage(t),this.handler.removeDataFromLocalStorage(e),null}const o=n.expiresAt;if(o&&o.getTime()<=Date.now())return this.handler.removeDataFromLocalStorage(t),this.handler.removeDataFromLocalStorage(e),null;const i=this.handler.getDataFromLocalStorage(t);return i?{data:i,meta:n}:null}get(t){const e=zt(t),r=this.getCookieRecord(t,e),n=this.getLSRecord(t,e);return r&&n?r.meta.writtenAt.getTime()===n.meta.writtenAt.getTime()?r:r.meta.writtenAt>n.meta.writtenAt?(this.handler.setDataInLocalStorage(t,r.data),this.handler.setDataInLocalStorage(e,this.serializeMetaRecord(r.meta)),r):(this.handler.setCookie(t,n.data,n.meta.expiresAt,"Lax",this.cookieDomain),this.handler.setCookie(e,this.serializeMetaRecord(n.meta),n.meta.expiresAt,"Lax",this.cookieDomain),n):r?(this.handler.setDataInLocalStorage(t,r.data),this.handler.setDataInLocalStorage(e,this.serializeMetaRecord(r.meta)),r):n?(this.handler.setCookie(t,n.data,n.meta.expiresAt,"Lax",this.cookieDomain),this.handler.setCookie(e,this.serializeMetaRecord(n.meta),n.meta.expiresAt,"Lax",this.cookieDomain),n):null}set(t,e,r){const o=zt(t),i=this.serializeMetaRecord({writtenAt:new Date,expiresAt:r});this.handler.setDataInLocalStorage(t,e),this.handler.setDataInLocalStorage(o,i);const s=r||n.expiresInDays(730);this.handler.setCookie(t,e,s,"Lax",this.cookieDomain),this.handler.setCookie(o,i,s,"Lax",this.cookieDomain)}}function zt(t){return`${t}_meta`}const qt=()=>{};function Wt(t,e,r){return e?qt:t.wrap(r)}class Qt{functions;constructor(t,e,r){const n=new Mt(t,"CallHandler",e);this.functions={ajaxGet:Wt(n,r,"ajaxGet"),pixelGet:Wt(n,r,"pixelGet")},n.reportErrors()}ajaxGet(t,e,r,n){this.functions.ajaxGet(t,e,r,n)}pixelGet(t,e){this.functions.pixelGet(t,e)}}function Gt(t){return e=>"cookie"===e.idCookie?.strategy&&"string"==typeof e.idCookie?.name?{...e,resolvedIdCookie:t.getCookie(e.idCookie.name)}:"localStorage"===e.idCookie?.strategy&&"string"==typeof e.idCookie?.name?{...e,resolvedIdCookie:t.getDataFromLocalStorage(e.idCookie.name)}:e}const Jt={};function Xt(t,e,r,o){if(t&&n.isObject(t))if("config"in t)o.emitErrorWithMessage("StrayConfig","Received a config after LC has already been initialised",new Error(JSON.stringify(t)));else{const n=new q(r,o),i=n.combineWith({eventSource:t});Jt.hashedEmail=Jt.hashedEmail||i.data.hashedEmail;const s=F({eventSource:t},Jt),a=()=>o.emit(u,"0"),l=()=>o.emit(c,r);e.sendAjax(n.combineWith(s),{onPreSend:a,onLoad:l})}else o.emitErrorWithMessage("EventNotAnObject","Received event was not an object",new Error(t))}function Zt(t,e,r,o){try{const s={...rt(t,o),identifiersToResolve:t.identifiersToResolve||[],contextSelectors:t.contextSelectors||"",contextElementsLength:t.contextElementsLength||0},a=Z(dt(et(s))),c=new Qt(r,o,a.privacyMode),u=Ht.make(a.storageStrategy,e,o),l=function(t){return e=>({...e,cookieDomain:ht(t)})}(u)(a),h=new $t({storageHandler:u,eventBus:o,cookieDomain:l.cookieDomain}),f=Gt(u)(kt(h,u)(wt(u,o)(function(t,e){return r=>{try{return{...r,...K(Y(r.identifiersToResolve),t)}}catch(t){return e.emitError("IdentifiersEnricher",t),{...r,retrievedIdentifiers:[],hashesFromIdentifiers:[]}}}}(u,o)(l)))),d=new i({collectorUrl:s.collectorUrl,ajaxTimeout:s.ajaxTimeout,eventBus:o,callHandler:c});!function(t,e,r){try{r.on(n.ERRORS_CHANNEL,(o=>{var i;e.sendPixel(new q({...t,...(i=o,n.isRecord(i)?{errorDetails:{message:Bt(i.message)||"",name:Bt(i.name)||"",stackTrace:Bt(i.stack),lineNumber:Tt(i.lineNumber),columnNumber:Tt(i.columnNumber),fileName:Bt(i.fileName)}}:jt)},r))}))}catch(t){console.error("handlers.error.register",t)}}(f,d,o);const p=new ot(f,c,o),g=(...t)=>function(t,e,r,o){try{t.forEach((t=>{const i=t;n.isArray(i)?i.forEach((t=>Xt(t,e,r,o))):Xt(i,e,r,o)}))}catch(t){console.error("Error sending events",t),o.emitErrorWithMessage("LCPush","Failed sending an event",t)}}(t,d,f,o);return{push:g,fire:()=>g({}),peopleVerifiedId:f.peopleVerifiedId,ready:!0,resolve:p.resolve.bind(p),resolutionCallUrl:p.getUrl.bind(p),config:s,eventBus:o,storageHandler:u,cache:h}}catch(t){console.error(t),o.emitErrorWithMessage("LCConstruction","Failed to build LC",t)}}function Yt(t,e,r,o){const i=window[t.globalVarName]||[],s=function(t){try{if(window&&window[t.globalVarName]&&window[t.globalVarName].ready){const e=window[t.globalVarName].config&&function(t,e){if(t.appId!==e.appId||t.wrapperName!==e.wrapperName||t.collectorUrl!==e.collectorUrl)return{appId:[t.appId,e.appId],wrapperName:[t.wrapperName,e.wrapperName],collectorUrl:[t.collectorUrl,e.collectorUrl]}}(window[t.globalVarName].config,t);if(e){const r=new Error;r.name="ConfigSent",r.message="Additional configuration received";const n=ct(t.globalVarName);window[t.globalVarName].eventBus=n,n.emitErrorWithMessage("LCDuplication",JSON.stringify(e),r)}return window[t.globalVarName]}}catch(t){console.error("Could not initialize error bus")}}(t)||Zt(t,e,r,o)||i;if(n.isArray(i))for(let t=0;tt.config.globalVarName===s.config.globalVarName)).length&&window.liQ_instances.push(s),s}function Kt(t,e,r,o){const i=n.isObject(t)&&t||{},s=o||at();let a;try{a=i.globalVarName?Yt(i,e,r,s):function(t,e,r,n){const o=Zt(t,e,r,n);return window.liQ_instances=window.liQ_instances||[],window.liQ_instances.push(o),o}(i,e,r,s)}catch(t){console.error(t),s.emitErrorWithMessage("LCConstruction","Failed to build LC",t)}return a}function te(t,e){const r=n.isArray(t)?t:n.safeToString(t).split(","),o=[];for(let t=0;t{try{return{...r,retrievedIdentifiers:te(r.identifiersToResolve,t)}}catch(t){return e.emitError("IdentifiersEnrich",t),{...r,retrievedIdentifiers:[]}}}}(a,n)(Gt(a)(function(t,e){return r=>{try{return{...r,peopleVerifiedId:r.peopleVerifiedId||t.getDataFromLocalStorage(l)||void 0}}catch(t){return e.emitError("PeopleVerifiedEnrich",t),r}}}(a,n)(s))),h=new ot(u,c,n);return{push:t=>o(t),fire:()=>o({}),peopleVerifiedId:u.peopleVerifiedId,ready:!0,resolve:h.resolve.bind(h),resolutionCallUrl:h.getUrl.bind(h),config:i,eventBus:n,storageHandler:a}}catch(t){console.error(t)}}function re(t,e,r,o){const i=n.isObject(t)&&t||{},s=o||at();try{return i.globalVarName?function(t,e,r,n){const o=window[t.globalVarName]=window[t.globalVarName]||[],i=ee(t,e,r,n,o.push.bind(o));return window.liQ_instances=window.liQ_instances||[],0===window.liQ_instances.filter((t=>t.config.globalVarName===i.config.globalVarName)).length&&window.liQ_instances.push(i),i}(i,e,r,s):function(t,e,r,n){const o=ee(t,e,r,n,(()=>{}));return window.liQ_instances=window.liQ_instances||[],window.liQ_instances.push(o),o}(i,e,r,s)}catch(t){console.error(t)}return{}}e.LiveConnect=function(t,e,r,o,i){const s="minimal"===o,a=i||at();return(s?re:Kt)(n.isObject(t)&&t||{},e,r,a)},e.MinimalLiveConnect=re,e.QueryBuilder=P,e.StandardLiveConnect=Kt,e.StorageHandlerBackedCache=$t,e.WrappedStorageHandler=Ht,e.consts=d,e.encodeIdCookie=U,e.eventBus=ut},64467:(t,e,r)=>{if(r.d(e,{A:()=>o}),39673==r.j)var n=r(49922);function o(t,e,r){return(e=(0,n.A)(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}},96045:(t,e,r)=>{if(r.d(e,{A:()=>o}),39673==r.j)var n=r(80966);function o(){return o="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,r){var o=(0,n.A)(t,e);if(o){var i=Object.getOwnPropertyDescriptor(o,e);return i.get?i.get.call(arguments.length<3?t:r):i.value}},o.apply(this,arguments)}},53954:(t,e,r)=>{function n(t){return n=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},n(t)}r.d(e,{A:()=>n})},80966:(t,e,r)=>{if(r.d(e,{A:()=>o}),39673==r.j)var n=r(53954);function o(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=(0,n.A)(t)););return t}},57528:(t,e,r)=>{function n(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}r.d(e,{A:()=>n})},92327:(t,e,r)=>{if(r.d(e,{A:()=>o}),39673==r.j)var n=r(82284);function o(t,e){if("object"!=(0,n.A)(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var o=r.call(t,e||"default");if("object"!=(0,n.A)(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}},49922:(t,e,r)=>{if(r.d(e,{A:()=>i}),39673==r.j)var n=r(82284);if(39673==r.j)var o=r(92327);function i(t){var e=(0,o.A)(t,"string");return"symbol"==(0,n.A)(e)?e:e+""}},82284:(t,e,r)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}r.d(e,{A:()=>n})},63172:(t,e,r)=>{function n(t,e,r){e.split&&(e=e.split("."));for(var n,o,i=0,s=e.length,a=t;in})},90927:(t,e,r)=>{r.d(e,{DQ:()=>o});var n=r(51227);const o=n.DQ;n.qO,n.iq,n.Lp,n.Bt},3417:(t,e,r)=>{r.r(e),r.d(e,{md5:()=>i,sha1:()=>s,sha256:()=>d});for(var n=[],o=0;o<64;)n[o]=0|4294967296*Math.sin(++o%Math.PI);function i(t){var e,r,i,s=[e=1732584193,r=4023233417,~e,~r],a=[],c=unescape(encodeURI(t))+"€",u=c.length;for(t=--u/4+2|15,a[--t]=8*u;~u;)a[u>>2]|=c.charCodeAt(u)<<8*u--;for(o=c=0;o>4]+n[c]+~~a[o|15&[c,5*c+1,3*c+5,7*c][u]])<<(u=[7,12,17,22,5,9,14,20,4,11,16,23,6,10,15,21][4*u+c++%4])|i>>>-u),e,r])e=0|u[1],r=u[2];for(c=4;c;)s[--c]+=u[c]}for(t="";c<32;)t+=(s[c>>3]>>4*(1^c++)&15).toString(16);return t}function s(t){var e,r,n,o,i,s=[],a=[r=1732584193,n=4023233417,~r,~n,3285377520],c=[],u=unescape(encodeURI(t))+"€",l=u.length;for(c[t=--l/4+2|15]=8*l;~l;)c[l>>2]|=u.charCodeAt(l)<<8*~l--;for(e=l=0;e>2]+((u=r[0])<<5|u>>>27),u,n<<30|n>>>2,o,i])u=s[l-3]^s[l-8]^s[l-14]^s[l-16],n=r[1],o=r[2],i=r[3];for(l=5;l;)a[--l]+=r[l]}for(u="";l<40;)u+=(a[l>>3]>>4*(7-l++)&15).toString(16);return u}for(var a,c=18,u=[],l=[];c>1;c--)for(a=c;a<320;)u[a+=c]=1;function h(t,e){return 4294967296*Math.pow(t,1/e)|0}for(a=0;a<64;)u[++c]||(l[a]=h(c,2),u[a++]=h(c,3));function f(t,e){return t>>>e|t<<-e}function d(t){var e=l.slice(c=a=0,8),r=[],n=unescape(encodeURI(t))+"€",o=n.length;for(r[t=--o/4+2|15]=8*o;~o;)r[o>>2]|=n.charCodeAt(o)<<8*~o--;for(o=[];c>>10)+o[a-7]+(f(n=o[a-15],7)^f(n,18)^n>>>3)+o[a-16])+h.pop()+(f(n=h[4],6)^f(n,11)^f(n,25))+(n&h[5]^~n&h[6])+u[a++];for(a=8;a;)e[--a]+=h[a]}for(n="";a<64;)n+=(e[a>>3]>>4*(7-a++)&15).toString(16);return n}}}]);(self.pbjsChunk=self.pbjsChunk||[]).push([[51085],{34595:(s,d,e)=>{e.d(d,{G:()=>n});const n='(()=>{"use strict";window.render=function({ad:d,adUrl:e,width:i,height:r},{mkFrame:n},o){if(!d&&!e)throw{reason:"noAd",message:"Missing ad markup or URL"};{const s=o.document,t={width:i,height:r};e&&!d?t.src=e:t.srcdoc=d,s.body.appendChild(n(s,t))}}})();'}}]);(self.pbjsChunk=self.pbjsChunk||[]).push([[2630],{88910:(e,t,n)=>{n.d(t,{Ay:()=>d});var l=n(43018),a=n(68044),s=n(91069),i=n(75023);const o={ajax:a.RD},r="endpoint",c="bundle",p=Object.values(l.EVENTS).filter((e=>e!==l.EVENTS.AUCTION_DEBUG));let u=100;function d(e){let{url:t,analyticsType:n,global:a,handler:d}=e;const f=[];let g,y,b=!1,h=!0;const v=(()=>{let e,t=!1;const n=()=>{if(!t){t=!0;try{let e=0,t=0;for(;f.length>0;){e++;const n=f.length;if(f.shift()(),f.length>=n?t++:t=0,t>=10)return(0,s.logError)("Detected probable infinite loop, discarding events",f),void(f.length=0)}(0,s.logMessage)("".concat(y," analytics: processed ").concat(e," events"))}finally{t=!1}}};return function(){null!=e&&(clearTimeout(e),e=null),0===u?n():e=setTimeout(n,u)}})();return Object.defineProperties({track:function(e){let{eventType:n,args:l}=e;this.getAdapterType()===c&&window[a](d,n,l);this.getAdapterType()===r&&function(e){let{eventType:n,args:l,callback:a}=e;o.ajax(t,a,JSON.stringify({eventType:n,args:l}))}(...arguments)},enqueue:T,enableAnalytics:E,disableAnalytics:function(){Object.entries(g||{}).forEach((e=>{let[t,n]=e;i.off(t,n)})),this.enableAnalytics=this._oldEnable?this._oldEnable:E,b=!1},getAdapterType:()=>n,getGlobal:()=>a,getHandler:()=>d,getUrl:()=>t},{enabled:{get:()=>b}});function T(e){let{eventType:t,args:n}=e;f.push((()=>{this.track({eventType:t,args:n})})),v()}function E(e){y=null==e?void 0:e.provider;var t=this;if(h="object"!=typeof e||"object"!=typeof e.options||(void 0===e.options.sampling||Math.random(){const{includeEvents:t=p,excludeEvents:n=[]}=e||{};return new Set(Object.values(l.EVENTS).filter((e=>t.includes(e))).filter((e=>!n.includes(e))))})();i.getEvents().forEach((e=>{if(!e||!n.has(e.eventType))return;const{eventType:l,args:a}=e;T.call(t,{eventType:l,args:a})})),g=Object.fromEntries(Array.from(n).map((e=>{const t=t=>this.enqueue({eventType:e,args:t});return i.on(e,t),[e,t]})))}else(0,s.logMessage)('Analytics adapter for "'.concat(a,'" disabled by sampling'));this._oldEnable=this.enableAnalytics,this.enableAnalytics=function(){return(0,s.logMessage)('Analytics adapter for "'.concat(a,'" already enabled, unnecessary call to `enableAnalytics`.'))},b=!0}}}}]);(self.pbjsChunk=self.pbjsChunk||[]).push([[33005],{51252:(t,n,e)=>{e.d(n,{mw:()=>u,n9:()=>s,p:()=>l});var o=e(15901),d=e(91069);function u(t){return n=>(0,d.compareCodeAndSlot)(n,t)}function s(t){let n;return(0,d.isGptPubadsDefined)()&&(n=(0,o.I6)(window.googletag.pubads().getSlots(),u(t))),n}function l(t){const n=s(t);return n?{gptSlot:n.getAdUnitPath(),divId:n.getSlotElementId()}:{}}}}]);(self.pbjsChunk=self.pbjsChunk||[]).push([[12764],{2339:(o,n,t)=>{function e(o,n){return function(){const t=document.domain.split("."),e="_gd".concat(Date.now(),"_").concat(n);for(let n,i,s=0;se})}}]);(self.pbjsChunk=self.pbjsChunk||[]).push([[97247],{28656:(r,a,e)=>{e.d(a,{D:()=>o});var n=e(73858),t=e(70433);const s=["user.keywords"].concat(n.Dy.flatMap((r=>["keywords","content.keywords"].map((a=>"".concat(r,".").concat(a))))));function o(r){for(var a=arguments.length,e=new Array(a>1?a-1:0),n=1;nr)).flatMap((r=>Array.isArray(r)?r:r.split(","))).map((r=>r.replace(/^\s*/,"").replace(/\s*$/,""))).filter((r=>r)).forEach((a=>r.add(a))),Array.from(r.keys())}(...s.map((a=>(0,t.A)(r,a))),...e)}}}]);(self.pbjsChunk=self.pbjsChunk||[]).push([[12126],{25761:(e,n,r)=>{r.d(n,{$:()=>t});var s=r(91069);function t(e,n){return Object.keys(e).forEach((r=>{var t,u;n[r]&&((0,s.isFn)(e[r])?n[r]=e[r](n[r]):n[r]=(t=e[r],u=n[r],"string"===t?u&&u.toString():"number"===t?Number(u):u),isNaN(n[r])&&delete n.key)})),n}}}]);(self.pbjsChunk=self.pbjsChunk||[]).push([[95444],{554:(e,r,t)=>{t.d(r,{QF:()=>d,T_:()=>h,gg:()=>f,yr:()=>l});var n=t(91069),s=t(70433),u=t(28656),o=t(73858);const i={526:"1plusX",527:"1plusX",541:"captify_segments",540:"perid"},a=["user.data"].concat(o.Dy.map((e=>"".concat(e,".content.data"))));function c(e,r,t){return null==r?t:(0,n.isStr)(r)?r:(0,n.isNumber)(r)?r.toString():void(0,n.logWarn)("Unsuported type for param: "+e+" required type: String")}function l(e){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"keywords";const t=[];return(0,n._each)(e,((e,s)=>{if((0,n.isArray)(e)){let t=[];(0,n._each)(e,(e=>{((e=c(r+"."+s,e))||""===e)&&t.push(e)})),e=t}else{if(e=c(r+"."+s,e),!(0,n.isStr)(e))return;e=[e]}e=e.filter((e=>""!==e));const u={key:s};e.length>0&&(u.value=e),t.push(u)})),t}function f(e){return(0,n.isStr)(e)&&""!==e?p(e.split(/\s*(?:,)\s*/)):{}}function p(e){const r={};return e.forEach((e=>{if(-1!==e.indexOf("=")){let t=e.split("="),n=t[0],s=t[1];r.hasOwnProperty(n)?r[n].push(s):r[n]=[s]}else r.hasOwnProperty(e)||(r[e]=[])})),r}function h(){for(var e=arguments.length,r=new Array(e),t=0;tObject.fromEntries(Object.entries(e||{}).map((e=>{let[r,t]=e;return[r,(0,n.isNumber)(t)||(0,n.isStr)(t)?[t]:t]})))))))}function d(e){for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n{((0,s.A)(e,t)||[]).forEach((e=>{const t=i[(0,s.A)(e,"ext.segtax")];t&&e.segment.forEach((e=>{r[t]?r[t].push(e.id):r[t]=[e.id]}))}))})),r}(e),...t)}},2349:(e,r,t)=>{t.d(r,{G:()=>u,v:()=>s});var n=t(91069);function s(e){return e.replace(/(?:^|\.?)([A-Z])/g,(function(e,r){return"_"+r.toLowerCase()})).replace(/^_/,"")}function u(e,r){let t=[];for(let s=0;s{function t(e,l){let s=[];for(let t=0;tt})}}]);(self.pbjsChunk=self.pbjsChunk||[]).push([[42698],{24673:(A,B,I)=>{I.d(B,{n:()=>s});const s={1:"IAB20-3",2:"IAB18-5",3:"IAB10-1",4:"IAB2-3",5:"IAB19-8",6:"IAB22-1",7:"IAB18-1",8:"IAB12-3",9:"IAB5-1",10:"IAB4-5",11:"IAB13-4",12:"IAB8-7",13:"IAB9-7",14:"IAB7-1",15:"IAB20-18",16:"IAB10-7",17:"IAB19-18",18:"IAB13-6",19:"IAB18-4",20:"IAB1-5",21:"IAB1-6",22:"IAB3-4",23:"IAB19-13",24:"IAB22-2",25:"IAB3-9",26:"IAB17-18",27:"IAB19-6",28:"IAB1-7",29:"IAB9-30",30:"IAB20-7",31:"IAB20-17",32:"IAB7-32",33:"IAB16-5",34:"IAB19-34",35:"IAB11-5",36:"IAB12-3",37:"IAB11-4",38:"IAB12-3",39:"IAB9-30",41:"IAB7-44",42:"IAB7-1",43:"IAB7-30",50:"IAB19-30",51:"IAB17-12",52:"IAB19-30",53:"IAB3-1",55:"IAB13-2",56:"IAB19-30",57:"IAB19-30",58:"IAB7-39",59:"IAB22-1",60:"IAB7-39",61:"IAB21-3",62:"IAB5-1",63:"IAB12-3",64:"IAB20-18",65:"IAB11-2",66:"IAB17-18",67:"IAB9-9",68:"IAB9-5",69:"IAB7-44",71:"IAB22-3",73:"IAB19-30",74:"IAB8-5",78:"IAB22-1",85:"IAB12-2",86:"IAB22-3",87:"IAB11-3",112:"IAB7-32",113:"IAB7-32",114:"IAB7-32",115:"IAB7-32",118:"IAB9-5",119:"IAB9-5",120:"IAB9-5",121:"IAB9-5",122:"IAB9-5",123:"IAB9-5",124:"IAB9-5",125:"IAB9-5",126:"IAB9-5",127:"IAB22-1",132:"IAB1-2",133:"IAB19-30",137:"IAB3-9",138:"IAB19-3",140:"IAB2-3",141:"IAB2-1",142:"IAB2-3",143:"IAB17-13",166:"IAB11-4",175:"IAB3-1",176:"IAB13-4",182:"IAB8-9",183:"IAB3-5"}}}]);(self.pbjsChunk=self.pbjsChunk||[]).push([[57109],{20965:(n,t,e)=>{e.d(t,{F4:()=>c,Q0:()=>l,c5:()=>o,q4:()=>r});var a=e(25555);const l=0,c=1,r=2;function o(n){let{apiName:t,apiVersion:e,apiArgs:o=["command","callback","parameter","version"],callbackArgs:i=["returnValue","success"],mode:s=l}=n,u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window;const d={},f="".concat(t,"Call"),p="".concat(t,"Return");function b(n){var t;const e="string"==typeof n.data&&n.data.includes(p)?JSON.parse(n.data):n.data;if(null!=e&&null!==(t=e[p])&&void 0!==t&&t.callId){const n=e[p];d.hasOwnProperty(n.callId)&&d[n.callId](...i.map((t=>n[t])))}}const[k,v]=function(){let n,e=u,a=!1;for(;null!=e;){try{if("function"==typeof e[t]){n=e,a=!0;break}}catch(n){}try{if(e.frames["".concat(t,"Locator")]){n=e;break}}catch(n){}if(e===u.top)break;e=e.parent}return[n,a]}();if(!k)return;function m(n){return n=Object.assign({version:e},n),o.map((t=>[t,n[t]]))}function g(n,t,e,a){const l="function"==typeof n;return function(r,o){if(a&&a(),s!==c){(null==o||o?t:e)(l?void 0:r)}l&&n.apply(this,arguments)}}let h;return v?h=function(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new a.k(((e,a)=>{const o=k[t](...m({...n,callback:n.callback||s===r?g(n.callback,e,a):void 0}).map((n=>{let[t,e]=n;return e})));(s===c||null==n.callback&&s===l)&&e(o)}))}:(u.addEventListener("message",b,!1),h=function(n){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return new a.k(((e,a)=>{const l=Math.random().toString(),r={[f]:{...Object.fromEntries(m(n).filter((n=>{let[t]=n;return"callback"!==t}))),callId:l}};d[l]=g(null==n?void 0:n.callback,e,a,(t||null==(null==n?void 0:n.callback))&&(()=>{delete d[l]})),k.postMessage(r,"*"),s===c&&e()}))}),Object.assign(h,{isDirect:v,close(){!v&&u.removeEventListener("message",b)}})}}}]);(self.pbjsChunk=self.pbjsChunk||[]).push([[41225],{76743:(n,t,e)=>{e.d(t,{hZ:()=>u,x4:()=>h});var l=e(7873),r=e(12713);function u(n,t,e){let r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];if(t===e)return n;let u=n;try{u=(0,l.m)().convertCurrency(n,t,e)}catch(n){if(!r)throw n}return u}function h(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n=>[n.cpm,n.currency],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:u;return function(l,r){return null==n&&(n=r),e(l,r,n,t)}}();return(0,r.NV)((e=>t.apply(null,n(e))))}}}]);(self.pbjsChunk=self.pbjsChunk||[]).push([[14178],{73294:(n,e,o)=>{var t=o(7873),i=o(43272),l=o(16833),d=o(91069),a=o(63172),r=o(1e3),u=o(75023),c=o(43018),s=o(76743),f=o(12713),g=o(67314);const p="PAAPI",v=[],b=new WeakSet;function h(){const n=new WeakMap;return function(e){let o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const t=g.n.index.getAuction({auctionId:e});if(null!=t)return n.has(t)||n.set(t,o),n.get(t)}}(0,l.xG)("paapi",(function(n){v.push(n),n.init&&n.init({getPAAPIConfig:E})}));const m=h(),C=h();let A={},I={};function E(){var n;let{auctionId:e,adUnitCode:o}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const i={},l=e&&C(e);return Object.keys(null!==(n=null!=e?l:A)&&void 0!==n?n:[]).forEach((n=>{const d=A[n],a=null!=l?l:d&&C(d);if((null!=o?o:n)===n){let o;null!=l&&l.hasOwnProperty(n)?o=l[n]:null==e&&null!=a&&a.hasOwnProperty(n)&&(o=a[n]),o&&!b.has(o)?(i[n]=o,b.add(o)):t&&(i[n]=null)}})),i}function x(){return"runAdAuction"in navigator&&"joinAdInterestGroup"in navigator}function y(){var n,e,o,t;const l=i.$W.getCurrentBidder(),d=I.enabled&&(null==l||!(null!==(n=I.bidders)&&void 0!==n&&n.length)||(null===(e=I.bidders)||void 0===e?void 0:e.includes(l)));return{enabled:null!==(o=i.$W.getConfig("fledgeEnabled"))&&void 0!==o?o:d,ae:null!==(t=i.$W.getConfig("defaultForSlots"))&&void 0!==t?t:d?I.defaultForSlots:void 0}}["paapi","fledgeForGpt"].forEach((n=>{i.$W.getConfig(n,(e=>{!function(n,e){"paapi"!==e&&(0,d.logWarn)("'".concat(e,"' configuration options will be renamed to 'paapi'; consider using setConfig({paapi: [...]}) instead"));n&&!0===n.enabled?(I=n,(0,d.logInfo)("".concat(p," enabled (browser ").concat(x()?"supports":"does NOT support"," runAdAuction)"),n)):(I={},(0,d.logInfo)("".concat(p," disabled"),n))}(e[n],n)}))})),(0,l.Yn)("addComponentAuction").before((function(n,e,o){if(y().enabled){const{adUnitCode:n,auctionId:l,ortb2:a,ortb2Imp:r}=e,u=m(l);null!=u?(i={ortb2:a,ortb2Imp:r},(t=o).auctionSignals=(0,d.mergeDeep)({},{prebid:i},t.auctionSignals),!u.hasOwnProperty(n)&&(u[n]=[]),u[n].push(o)):(0,d.logWarn)(p,"Received component auction config for auction that has closed (auction '".concat(l,"', adUnit '").concat(n,"')"),o)}var t,i;n(e,o)})),(0,l.Yn)("makeBidRequests").after((function(n,e){x()&&e.forEach((n=>{i.$W.runWithBidder(n.bidderCode,(()=>{const{enabled:e,ae:o}=y();Object.assign(n,{fledgeEnabled:e}),n.bids.forEach((n=>{var e,t;(0,a.J)(n,"ortb2Imp.ext.ae",null!==(e=null===(t=n.ortb2Imp)||void 0===t||null===(t=t.ext)||void 0===t?void 0:t.ae)&&void 0!==e?e:o)}))}))}));n(e)})),u.on(c.EVENTS.AUCTION_END,(function(n){let{auctionId:e,bidsReceived:o,bidderRequests:t,adUnitCodes:i}=n;const l=null==t?void 0:t.flatMap((n=>n.bids)),r={};(i||[]).forEach((n=>{r[n]=null,!A.hasOwnProperty(n)&&(A[n]=null)})),Object.entries(m(e)||{}).forEach((n=>{let[t,i]=n;const u=n=>n.adUnitCode===t,c=function(){let n,e,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if(o.length>0){const t=o.reduce((0,f.Ph)((0,s.x4)((n=>[n.cpm,n.currency]))));n=t.cpm,e=t.currency}else{const o=t.map((n=>"function"==typeof n.getFloor&&n.getFloor())).filter((n=>n)),i=o.length&&o.reduce((0,f.Bp)((0,s.x4)((n=>[n.floor,n.currency]))));n=null==i?void 0:i.floor,e=null==i?void 0:i.currency}const i={};n&&((0,a.J)(i,"auctionSignals.prebid.bidfloor",n),e&&(0,a.J)(i,"auctionSignals.prebid.bidfloorcur",e));return i}(null==o?void 0:o.filter(u),null==l?void 0:l.filter(u));r[t]={componentAuctions:i.map((n=>(0,d.mergeDeep)({},c,n)))},A[t]=e})),C(e,r),v.forEach((n=>{var o;return null===(o=n.onAuctionConfig)||void 0===o?void 0:o.call(n,e,r,(n=>null!=r[n]&&b.add(r[n])))}))})),(0,t.m)().getPAAPIConfig=n=>E(n),(0,r.pS)({type:r.Tb,name:"impExtAe",fn:function(n,e,o){var t,i;null!==(t=n.ext)&&void 0!==t&&t.ae&&!o.bidderRequest.fledgeEnabled&&(null===(i=n.ext)||void 0===i||delete i.ae)}}),(0,r.pS)({type:r.Cf,name:"extPrebidFledge",fn:function(n,e,o){var t;((null===(t=e.ext)||void 0===t||null===(t=t.prebid)||void 0===t||null===(t=t.fledge)||void 0===t?void 0:t.auctionconfigs)||[]).forEach((n=>{var e;const t=o.impContext[n.impid];null!=t&&null!==(e=t.imp)&&void 0!==e&&null!==(e=e.ext)&&void 0!==e&&e.ae?(t.fledgeConfigs=t.fledgeConfigs||[],t.fledgeConfigs.push(n)):(0,d.logWarn)("Received fledge auction configuration for an impression that was not in the request or did not ask for it",n,null==t?void 0:t.imp)}))},dialects:[r.e4]}),(0,r.pS)({type:r.Cf,name:"fledgeAuctionConfigs",priority:-1,fn:function(n,e,o){const t=Object.values(o.impContext).flatMap((n=>(n.fledgeConfigs||[]).map((e=>({bidId:n.bidRequest.bidId,config:e.config})))));t.length>0&&(n.fledgeAuctionConfigs=t)},dialects:[r.e4]}),(0,t.E)("paapi")}}]);(self.pbjsChunk=self.pbjsChunk||[]).push([[58498],{92114:(e,t,r)=>{r.d(t,{T:()=>v,A:()=>b});const n=new WeakMap;var i=r(91069),o=r(70433),s=r(71371);function a(e){return(e=(0,i.parseSizesInput)(e)).map((e=>{const[t,r]=e.split("x");return{w:parseInt(t,10),h:parseInt(r,10)}}))}const d=new Set(["pos","placement","plcmt","api","mimes","protocols","playbackmethod","minduration","maxduration","w","h","startdelay","placement","linearity","skip","skipmin","skipafter","minbitrate","maxbitrate","delivery","playbackend"]),p={instream:1};var l=r(75561);var c=r(1e3),u=r(73858);const m={[c.S3]:{fpd:{priority:99,fn(e,t){(0,i.mergeDeep)(e,t.ortb2)}},onlyOneClient:{priority:-99,fn:(0,u.i8)("ORTB request")},props:{fn(e,t){Object.assign(e,{id:e.id||(0,i.generateUUID)(),test:e.test||0});const r=parseInt(t.timeout,10);isNaN(r)||(e.tmax=r)}}},[c.Tb]:{fpd:{priority:99,fn(e,t){(0,i.mergeDeep)(e,t.ortb2Imp)}},id:{fn(e,t){e.id=t.bidId}},banner:{fn:function(e,t,r){if(r.mediaType&&r.mediaType!==s.D4)return;const n=(0,o.A)(t,"mediaTypes.banner");if(n){const t={topframe:!0===(0,i.inIframe)()?0:1};n.sizes&&(t.format=a(n.sizes)),n.hasOwnProperty("pos")&&(t.pos=n.pos),e.banner=(0,i.mergeDeep)(t,e.banner)}}},pbadslot:{fn(e){var t;const r=null===(t=e.ext)||void 0===t||null===(t=t.data)||void 0===t?void 0:t.pbadslot;var n;r&&"string"==typeof r||(null===(n=e.ext)||void 0===n||null===(n=n.data)||void 0===n||delete n.pbadslot)}}},[c.WR]:{mediaType:{priority:99,fn:l.K},banner:{fn:function(){let{createPixel:e=(e=>(0,i.createTrackPixelHtml)(decodeURIComponent(e)))}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(t,r){t.mediaType===s.D4&&(r.adm&&r.nurl?(t.ad=r.adm,t.ad+=e(r.nurl)):r.adm?t.ad=r.adm:r.nurl&&(t.adUrl=r.nurl))}}()},props:{fn(e,t,r){var n,i;Object.entries({requestId:null===(n=r.bidRequest)||void 0===n?void 0:n.bidId,seatBidId:t.id,cpm:t.price,currency:r.ortbResponse.cur||r.currency,width:t.w,height:t.h,dealId:t.dealid,creative_id:t.crid,creativeId:t.crid,burl:t.burl,ttl:t.exp||r.ttl,netRevenue:r.netRevenue}).filter((e=>{let[t,r]=e;return void 0!==r})).forEach((t=>{let[r,n]=t;return e[r]=n})),e.meta||(e.meta={}),t.adomain&&(e.meta.advertiserDomains=t.adomain),null!==(i=t.ext)&&void 0!==i&&i.dsa&&(e.meta.dsa=t.ext.dsa)}}}};m[c.Tb].native={fn:function(e,t,r){if(r.mediaType&&r.mediaType!==s.s6)return;let n=t.nativeOrtbRequest;var o;n&&(n=Object.assign({},r.nativeRequest,n),null!==(o=n.assets)&&void 0!==o&&o.length?e.native=(0,i.mergeDeep)({},{request:JSON.stringify(n),ver:n.ver},e.native):(0,i.logWarn)("mediaTypes.native is set, but no assets were specified. Native request skipped.",t))}},m[c.WR].native={fn:function(e,t){if(e.mediaType===s.s6){let r;if(r="string"==typeof t.adm?JSON.parse(t.adm):t.adm,!(0,i.isPlainObject)(r)||!Array.isArray(r.assets))throw new Error("ORTB native response contained no assets");e.native={ortb:r}}}},m[c.Tb].video={fn:function(e,t,r){if(r.mediaType&&r.mediaType!==s.G_)return;const n=(0,o.A)(t,"mediaTypes.video");if(!(0,i.isEmpty)(n)){const t=Object.fromEntries(Object.entries(n).filter((e=>{let[t]=e;return d.has(t)})));if(n.playerSize){const e=a(n.playerSize);e.length>1&&(0,i.logWarn)("video request specifies more than one playerSize; all but the first will be ignored"),Object.assign(t,e[0])}const r=p[n.context];null!=r&&(t.placement=r),e.video=(0,i.mergeDeep)(t,e.video)}}},m[c.WR].video={fn:function(e,t,r){e.mediaType===s.G_&&((0,o.A)(r.imp,"video.w")&&(0,o.A)(r.imp,"video.h")&&([e.playerWidth,e.playerHeight]=[r.imp.video.w,r.imp.video.h]),t.adm&&(e.vastXml=t.adm),t.nurl&&(e.vastUrl=t.nurl))}};var f=r(99466);function b(){let{context:e={},processors:t=v,overrides:r={},imp:o,request:s,bidResponse:a,response:d}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const p=new WeakMap;function l(e,i,o,s){let a;return function(){return null==a&&(a=function(){let a=o.bind(this,function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!n.has(e)){const t=Object.entries(e);t.sort(((e,t)=>(e=e[1].priority||0)===(t=t[1].priority||0)?0:e>t?-1:1)),n.set(e,t.map((e=>{let[t,r]=e;return[t,r.fn]})))}const r=n.get(e).filter((e=>{let[r]=e;return!t.hasOwnProperty(r)||t[r]})).map((function(e){let[r,n]=e;return t.hasOwnProperty(r)?t[r].bind(this,n):n}));return function(){const e=Array.from(arguments);r.forEach((t=>{t.apply(this,e)}))}}(t()[e]||{},r[e]||{}));return i&&(a=i.bind(this,a)),function(){try{return a.apply(this,arguments)}catch(e){s.call(this,e,...arguments)}}}()),a.apply(this,arguments)}}const u=l(c.Tb,o,(function(e,t,r){const n={};return e(n,t,r),n}),(function(e,t,r){(0,i.logError)("Error while converting bidRequest to ORTB imp; request skipped.",{error:e,bidRequest:t,context:r})})),m=l(c.S3,s,(function(e,t,r,n){const i={imp:t};return e(i,r,n),i}),(function(e,t,r,n){throw(0,i.logError)("Error while converting to ORTB request",{error:e,imps:t,bidderRequest:r,context:n}),e})),f=l(c.WR,a,(function(e,t,r){const n={};return e(n,t,r),n}),(function(e,t,r){(0,i.logError)("Error while converting ORTB seatbid.bid to bidResponse; bid skipped.",{error:e,bid:t,context:r})})),b=l(c.Cf,d,(function(e,t,r,n){const i={bids:t};return e(i,r,n),i}),(function(e,t,r,n){throw(0,i.logError)("Error while converting from ORTB response",{error:e,bidResponses:t,ortbResponse:r,context:n}),e}));return{toORTB(t){let{bidderRequest:r,bidRequests:n,context:o={}}=t;n=n||r.bids;const s={req:Object.assign({bidRequests:n},e,o),imp:{}};s.req.impContext=s.imp;const a=n.map((t=>{const n=Object.assign({bidderRequest:r,reqContext:s.req},e,o),a=u(t,n);if(null!=a){if(a.hasOwnProperty("id"))return Object.assign(n,{bidRequest:t,imp:a}),s.imp[a.id]=n,a;(0,i.logError)("Converted ORTB imp does not specify an id, ignoring bid request",t,a)}})).filter(Boolean),d=m(a,r,s.req);return s.req.bidderRequest=r,null!=d&&p.set(d,s),d},fromORTB(e){let{request:t,response:r}=e;const n=p.get(t);if(null==n)throw new Error("ortbRequest passed to `fromORTB` must be the same object returned by `toORTB`");function o(e){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.assign(e,{ortbRequest:t},r,e)}const s=Object.fromEntries((t.imp||[]).map((e=>[e.id,e]))),a=(r.seatbid||[]).flatMap((e=>(e.bid||[]).map((t=>{if(s.hasOwnProperty(t.impid)&&n.imp.hasOwnProperty(t.impid))return f(t,o(n.imp[t.impid],{imp:s[t.impid],seatbid:e,ortbResponse:r}));(0,i.logError)("ORTB response seatbid[].bid[].impid does not match any imp in request; ignoring bid",t)})))).filter(Boolean);return b(a,r,o(n.req))}}}const v=(0,i.memoize)((()=>(0,f.U)(m,(0,c.yB)(c.qN))))},99466:(e,t,r)=>{r.d(t,{U:()=>i});var n=r(1e3);function i(){for(var e=arguments.length,t=new Array(e),r=0;r1?i(...t):t[0];return Object.fromEntries(n.zt.map((e=>[e,Object.assign({},o[e],s[e])])))}},75561:(e,t,r)=>{r.d(t,{K:()=>o,X:()=>i});var n=r(71371);const i={1:n.D4,2:n.G_,4:n.s6};function o(e,t,r){if(e.mediaType)return;const n=r.mediaType;if(!n&&!i.hasOwnProperty(t.mtype))throw new Error("Cannot determine mediaType for response");e.mediaType=n||i[t.mtype]}}}]);(self.pbjsChunk=self.pbjsChunk||[]).push([[47618],{34610:(e,i,d)=>{d.d(i,{m:()=>g});var t=d(99466),r=d(1e3),n=d(70433),a=d(91069),s=d(25825),o=d(9684),b=d(63172);var c=d(43323);var p=d(43272),l=d(7873);var v=d(71371);const u={[r.S3]:{extPrebid:{fn:function(e,i){var d;(0,b.J)(e,"ext.prebid",(0,a.mergeDeep)({auctiontimestamp:i.auctionStart,targeting:{includewinners:!0,includebidderkeys:!1}},null===(d=e.ext)||void 0===d?void 0:d.prebid)),p.$W.getConfig("debug")&&(e.ext.prebid.debug=!0)}},extPrebidChannel:{fn:function(e){var i;(0,b.J)(e,"ext.prebid.channel",Object.assign({name:"pbjs",version:(0,l.m)().version},null===(i=e.ext)||void 0===i||null===(i=i.prebid)||void 0===i?void 0:i.channel))}},extPrebidAliases:{fn:function(e,i,d){let{am:t=o.Ay}=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(t.aliasRegistry[i.bidderCode]){const d=t.bidderRegistry[i.bidderCode];d&&d.getSpec().skipPbsAliasing||(0,b.J)(e,"ext.prebid.aliases.".concat(i.bidderCode),t.aliasRegistry[i.bidderCode])}}}},[r.Tb]:{params:{fn:c.W},adUnitCode:{fn:function(e,i){const d=i.adUnitCode;d&&(0,b.J)(e,"ext.prebid.adunitcode",d)}}},[r.WR]:{mediaType:{fn:s.o,priority:99},videoCache:{fn:function(e,i){if(e.mediaType===v.G_){let{cacheId:d,url:t}=(0,n.A)(i,"ext.prebid.cache.vastXml")||{};if(!d||!t){const{hb_uuid:e,hb_cache_host:r,hb_cache_path:a}=(0,n.A)(i,"ext.prebid.targeting")||{};e&&r&&a&&(d=e,t="https://".concat(r).concat(a,"?uuid=").concat(e))}d&&t&&Object.assign(e,{videoCacheKey:d,vastUrl:t})}},priority:-10},bidderCode:{fn(e,i,d){var t;e.bidderCode=d.seatbid.seat,e.adapterCode=(0,n.A)(i,"ext.prebid.meta.adaptercode")||(null===(t=d.bidRequest)||void 0===t?void 0:t.bidder)||e.bidderCode}},pbsBidId:{fn(e,i){const d=(0,n.A)(i,"ext.prebid.bidid");(0,a.isStr)(d)&&(e.pbsBidId=d)}},adserverTargeting:{fn(e,i){const d=(0,n.A)(i,"ext.prebid.targeting");(0,a.isPlainObject)(d)&&(e.adserverTargeting=d)}},extPrebidMeta:{fn(e,i){e.meta=(0,a.mergeDeep)({},(0,n.A)(i,"ext.prebid.meta"),e.meta)}},pbsWurl:{fn(e,i){const d=(0,n.A)(i,"ext.prebid.events.win");(0,a.isStr)(d)&&(e.pbsWurl=d)}}},[r.Cf]:{serverSideStats:{fn(e,i,d){Object.entries({errors:"serverErrors",responsetimemillis:"serverResponseTimeMs"}).forEach((e=>{let[t,r]=e;const a=(0,n.A)(i,"ext.".concat(t,".").concat(d.bidderRequest.bidderCode));a&&(d.bidderRequest[r]=a,d.bidRequests.forEach((e=>e[r]=a)))}))}}}};var f=d(92114);const g=(0,a.memoize)((()=>(0,t.U)((0,f.T)(),u,(0,r.yB)(r.e4))))},25825:(e,i,d)=>{d.d(i,{o:()=>a,s:()=>n});var t=d(71371),r=d(75561);const n={[t.D4]:"banner",[t.s6]:"native",[t.G_]:"video"};function a(e,i,d){let a=d.mediaType;var s;a||(a=r.X.hasOwnProperty(i.mtype)?r.X[i.mtype]:null===(s=i.ext)||void 0===s||null===(s=s.prebid)||void 0===s?void 0:s.type,n.hasOwnProperty(a)||(a=t.D4));e.mediaType=a}},43323:(e,i,d)=>{d.d(i,{W:()=>a});var t=d(67314),r=d(9684),n=d(63172);function a(e,i,d){let{adUnit:a,bidderRequests:s,index:o=t.n.index,bidderRegistry:b=r.Ay.bidderRegistry}=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},c=i.params;const p=b[i.bidder];p&&p.getSpec().transformBidParams&&(a=a||o.getAdUnit(i),s=s||[d.bidderRequest],c=p.getSpec().transformBidParams(c,!0,a,s)),c&&(0,n.J)(e,"ext.prebid.bidder.".concat(i.bidder),c)}}}]);(self.pbjsChunk=self.pbjsChunk||[]).push([[45881],{96318:(e,n,t)=>{t.d(n,{Qo:()=>a});var r=t(95139),o=t(76811),l=t(3066),c=t(91069),i=t(70433),u=t(63172);function s(e){return Object.assign({wp:!0,run(e,n,t,r,o){const s=t&&t.hasOwnProperty(r),f=s?t[r]:void 0,a=s&&null!=f&&"object"==typeof f?(0,c.deepClone)(f):f;return function(){const t=null==n?e:(0,i.A)(e,n),d=t&&(0,l.$V)(t[r]),h=d?t[r]:void 0;!s&&d&&o()?delete t[r]:s===d&&h===f&&(0,c.deepEqual)(h,a)||!o()||(0,u.J)(e,(null==n?[]:[n]).concat(r).join("."),a)}}},e)}const f=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r.io;return function(e){const n={},t=[];e.forEach((e=>{e.wp&&t.push(e),e.get&&e.paths.forEach((t=>{let r=n;t.split(".").forEach((e=>{r.children=r.children||{},r.children[e]=r.children[e]||{},r=r.children[e]})),r.rule=e}))}));const r=(0,l.nl)(t);function o(e,n,t){return new Proxy(e,{get(e,r,c){const i=Reflect.get(e,r,c);if(n.hasOwnProperty(r)){const{children:e,rule:c}=n[r];if(e&&null!=i&&"object"==typeof i)return o(i,e,t);if(c&&(0,l.$V)(i)&&t(c))return c.get(i)}return i}})}return function(e){const t={};for(var c=arguments.length,i=new Array(c>1?c-1:0),u=1;ue()))})};var s}}((0,l.ZP)(e).concat(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r.io;return[{name:o.yl,paths:l.Vx,applies:(0,l.p4)(o.yl,e)},{name:o.qX,paths:l.l7,applies:(0,l.p4)(o.qX,e)}].map(s)}(e)))}();const a=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f;return function(n,t){n.global=n.global||{},n.bidder=n.bidder||{};const r=new Set(Object.keys(n.bidder)),o=[];function l(n){const r=e(n,t);return o.push(r.verify),r.obj}const i={global:l(n.global),bidder:Object.fromEntries(Object.entries(n.bidder).map((e=>{let[n,t]=e;return[n,l(t)]})))};return{obj:i,verify(){Object.entries(i.bidder).filter((e=>{let[n]=e;return!r.has(n)})).forEach((r=>{let[o,l]=r;const i={},u=e(i,t);(0,c.mergeDeep)(u.obj,l),u.verify(),n.bidder[o]=i})),o.forEach((e=>e()))}}}}()}}]);(self.pbjsChunk=self.pbjsChunk||[]).push([[42809],{72285:(A,t,Q)=>{Q.d(t,{T:()=>G});let Z=null;const G=()=>!1!==Z;!function(){const A=document.createElement("video");A.src="data:video/mp4;base64,AAAAIGZ0eXBpc29tAAACAGlzb21pc28yYXZjMW1wNDEAAAAIZnJlZQAAADxtZGF0AAAAMGWIhAAV//73ye/Apuvb3rW/k89I/Cy3PsIqP39atohOSV14BYa1heKCYgALQC5K4QAAAwZtb292AAAAbG12aGQAAAAAAAAAAAAAAAAAAAPoAAAD6AABAAABAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAACMHRyYWsAAABcdGtoZAAAAAMAAAAAAAAAAAAAAAEAAAAAAAAD6AAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAEAAAAAAoAAAAFoAAAAAACRlZHRzAAAAHGVsc3QAAAAAAAAAAQAAA+gAAAAAAAEAAAAAAahtZGlhAAAAIG1kaGQAAAAAAAAAAAAAAAAAAEAAAABAAFXEAAAAAAAtaGRscgAAAAAAAAAAdmlkZQAAAAAAAAAAAAAAAFZpZGVvSGFuZGxlcgAAAAFTbWluZgAAABR2bWhkAAAAAQAAAAAAAAAAAAAAJGRpbmYAAAAcZHJlZgAAAAAAAAABAAAADHVybCAAAAABAAABE3N0YmwAAACvc3RzZAAAAAAAAAABAAAAn2F2YzEAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAoABaAEgAAABIAAAAAAAAAAEVTGF2YzYwLjMxLjEwMiBsaWJ4MjY0AAAAAAAAAAAAAAAY//8AAAA1YXZjQwFkAAr/4QAYZ2QACqzZQo35IQAAAwABAAADAAIPEiWWAQAGaOvjyyLA/fj4AAAAABRidHJ0AAAAAAAAAaAAAAGgAAAAGHN0dHMAAAAAAAAAAQAAAAEAAEAAAAAAHHN0c2MAAAAAAAAAAQAAAAEAAAABAAAAAQAAABRzdHN6AAAAAAAAADQAAAABAAAAFHN0Y28AAAAAAAAAAQAAADAAAABidWR0YQAAAFptZXRhAAAAAAAAACFoZGxyAAAAAAAAAABtZGlyYXBwbAAAAAAAAAAAAAAAAC1pbHN0AAAAJal0b28AAAAdZGF0YQAAAAEAAAAATGF2ZjYwLjE2LjEwMA==",A.setAttribute("playsinline","true"),A.muted=!0,A.play().then((()=>{Z=!0,A.pause()})).catch((()=>{Z=!1}))}()}}]);(self.pbjsChunk=self.pbjsChunk||[]).push([[14577],{76568:(n,e,s)=>{function u(n,e,s){return s?n+e+"="+encodeURIComponent(s)+"&":n}s.d(e,{v:()=>u})}}]);(self.pbjsChunk=self.pbjsChunk||[]).push([[44950],{50646:(e,t,u)=>{u.d(t,{x:()=>n});const n={uid2:{source:"uidapi.com",atype:3,getValue:function(e){return e.id},getUidExt:function(e){if(e.ext)return e.ext}}}}}]);(self.pbjsChunk=self.pbjsChunk||[]).push([[17045],{2660:(e,t,r)=>{r.d(t,{M:()=>n});const n={tdid:{source:"adserver.org",atype:1,getValue:function(e){return e.id?e.id:e},getUidExt:function(e){return{rtiPartner:"TDID",...e.ext}}}}}}]);(self.pbjsChunk=self.pbjsChunk||[]).push([[37077],{93577:(t,n,e)=>{var i=e(7873),o=e(88910),a=e(9684),c=e(43018),r=e(68044),d=e(71371),s=e(91069),u=e(70433);const l=Object.keys(c.EVENTS).map((t=>c.EVENTS[t])),A="https://c.4dex.io/pba.gif",p={auctions:{},getAuction:function(t,n){return this.auctions[t][n]},getBiddersFromAuction:function(t,n){return this.getAuction(t,n).bdrs.split(",")},getAllAdUnitCodes:function(t){return Object.keys(this.auctions[t])},updateAuction:function(t,n,e){this.auctions[t][n]={...this.auctions[t][n],...e}},auctionIdReferences:{},addPrebidAuctionIdRef(t,n){this.auctionIdReferences[t]=n},getAdagioAuctionId(t){return this.auctionIdReferences[t]}},g=window.encodeURIComponent;function f(){return b}let b;const y=t=>_(t),m=(t,n)=>(0,u.A)(p,"auctions.".concat(t,".").concat(n),!1),E=t=>(0,u.A)(p,"auctions.".concat(t),!1);function I(t,n){const e={};return t.filter((t=>{const i=n(t);return!e.hasOwnProperty(i)&&(e[i]=!0)}))}function h(t){return a.Ay.aliasRegistry[t]||t}function _(t){return!!t&&(t.toLowerCase().includes("adagio")||h(t).toLowerCase().includes("adagio"))}function v(t){return{banner:"ban",outstream:"vidout",instream:"vidin",adpod:"vidadpod",native:"nat"}[t]||t}function C(t,n){p.updateAuction(t,n,{v:(p.getAuction(t,n).v||0)+1}),function(t){t=Object.keys(t).reduce(((n,e)=>(null!==t[e]&&(n[e]=t[e]),n)),{});const n="".concat(A,"?").concat(Object.keys(t).map((n=>"".concat(n,"=").concat(g(t[n])))).join("&"));(0,r.RD)(n,null,null,{method:"GET"})}(p.getAuction(t,n))}function D(t){return(0,u.A)(t,"latestTargetedAuctionId")||(0,u.A)(t,"auctionId")}let O=Object.assign((0,o.Ay)({emptyUrl:"",analyticsType:"endpoint"}),{track:function(t){const{eventType:n,args:e}=t;try{switch(n){case c.EVENTS.AUCTION_INIT:!function(t){const n=f(),e=t.auctionId,i=I(t.adUnitCodes,(t=>t)),o=t.bidderRequests.find((t=>_(t.bidderCode)));o?(p.auctions[e]={},i.forEach((i=>{const a=t.adUnits.filter((t=>t.code===i)),c=I(a.map((t=>t.bids.map((t=>({bidder:t.bidder,params:t.params}))))).flat(),(t=>t.bidder));if(!c.find((t=>_(t.bidder))))return void(0,s.logInfo)("Adagio is not configured for ad unit '".concat(i,"'"));const r=a.map((t=>t.mediaTypes)),l=I(r.map((t=>Object.keys(t))).flat(),(t=>t)).map((t=>v(t))).sort(),A=I(r.filter((t=>t.hasOwnProperty(d.D4))).map((t=>t[d.D4].sizes.map((t=>t.join("x"))))).flat(),(t=>t)).sort(),g=o.bids.filter((t=>t.adUnitCode===i));if((0,u.A)(g,"length",0)<=0)return void(0,s.logInfo)("Adagio is not on the bid requests for ad unit '".concat(i,"' and auction '").concat(e,"'"));const f=g[0].params,b=f.adagioAuctionId;p.addPrebidAuctionIdRef(e,b);const y=I(g.map((t=>Object.keys(t.mediaTypes))).flat(),(t=>t)).flat().map((t=>v(t))).sort(),m={v:0,pbjsv:"8.43.0",org_id:f.organizationId,site:f.site,pv_id:f.pageviewId,auct_id:b,adu_code:i,url_dmn:n.location.hostname,pgtyp:f.pagetype,plcmt:f.placement,t_n:f.testName||null,t_v:f.testVersion||null,mts:l.join(","),ban_szs:A.join(","),bdrs:c.map((t=>h(t.bidder))).sort().join(","),adg_mts:y.join(",")};p.auctions[e][i]=m,C(e,i)}))):(0,s.logInfo)("Adagio is not on the bid requests for auction '".concat(e,"'"))}(e);break;case c.EVENTS.BID_RESPONSE:!function(t){var n,e;y(t.bidder)&&m(t.auctionId,t.adUnitCode)&&t.pba&&p.updateAuction(t.auctionId,t.adUnitCode,{...(n=t.pba,e="e_",Object.keys(n).reduce(((t,i)=>i.startsWith(e)?(t[i]=n[i],t):(t["".concat(e).concat(i)]=n[i],t)),{}))})}(e);break;case c.EVENTS.AUCTION_END:!function(t){const{auctionId:n}=t;if(!E(n))return;p.getAllAdUnitCodes(n).forEach((e=>{p.updateAuction(n,e,{bdrs_bid:p.getBiddersFromAuction(n,e).map((n=>t.bidsReceived.find((t=>t.adUnitCode===e&&t.bidder===n))?"1":"0")).join(",")}),C(n,e)}))}(e);break;case c.EVENTS.BID_WON:!function(t){let n=D(t);if(!m(n,t.adUnitCode))return;let e="USD"===t.currency?1:null,o="USD"===t.originalCurrency?1:null;try{"function"==typeof(0,i.m)().convertCurrency&&(o=(0,i.m)().convertCurrency(1,t.originalCurrency,"USD"),e=(0,i.m)().convertCurrency(1,t.currency,"USD"))}catch(t){(0,s.logError)("Error on Adagio Analytics Adapter - handlerBidWon",t)}const a=t.latestTargetedAuctionId&&t.latestTargetedAuctionId!==t.auctionId?p.getAdagioAuctionId(t.auctionId):null;p.updateAuction(n,t.adUnitCode,{win_bdr:h(t.bidder),win_mt:v(t.mediaType),win_ban_sz:t.mediaType===d.D4?"".concat(t.width,"x").concat(t.height):null,win_cpm:t.cpm,cur:t.currency,cur_rate:e,og_cpm:t.originalCpm,og_cur:t.originalCurrency,og_cur_rate:o,auct_id_c:a}),C(n,t.adUnitCode)}(e);break;case c.EVENTS.AD_RENDER_FAILED:!function(t,n){const{adUnitCode:e}=t.bid;let i=D(t.bid);m(i,e)&&(p.updateAuction(i,e,{rndr:n?1:0}),C(i,e))}(e,n===c.EVENTS.AD_RENDER_SUCCEEDED)}}catch(t){(0,s.logError)("Error on Adagio Analytics Adapter",t)}try{void 0!==e&&-1!==l.indexOf(n)&&(o="pb-analytics-event",a={eventName:n,args:e},f().ADAGIO.queue.push({action:o,data:a,ts:Date.now()}))}catch(t){(0,s.logError)("Error on Adagio Analytics Adapter - adagio.js",t)}var o,a}});O.originEnableAnalytics=O.enableAnalytics,O.enableAnalytics=t=>{const n=function(){try{if((0,s.getWindowTop)().location.href)return!0}catch(t){return!1}}()?(0,s.getWindowTop)():(0,s.getWindowSelf)();b=n,n.ADAGIO=n.ADAGIO||{},n.ADAGIO.queue=n.ADAGIO.queue||[],n.ADAGIO.versions=n.ADAGIO.versions||{},n.ADAGIO.versions.adagioAnalyticsAdapter="3.0.0",O.originEnableAnalytics(t)},a.Ay.registerAnalyticsAdapter({adapter:O,code:"adagio",gvlid:617});(0,i.E)("adagioAnalyticsAdapter")}},t=>{t.O(0,[2630,60802,39281,51085],(()=>{return n=93577,t(t.s=n);var n}));t.O()}]);(self.pbjsChunk=self.pbjsChunk||[]).push([[97966],{93800:(e,t,r)=>{var a=r(7873),n=r(15901),i=r(91069),o=r(70433),s=r(43272),d=r(57377),c=r(41580),p=r(28507),l=r(12938),m=r(27934),u=r(71371),g=r(95789),f=r(63895),y=r(12449),A=r(38230),h=r(51252);const v="adagio",b="Adagio:",I=[u.D4,u.s6,u.G_],w="https://script.4dex.io/localstore.js",S="adagioScript",T=(0,l.vM)({bidderCode:v}),D="adagio",O="https://".concat(D,".bbvms.com/r/$RENDERER.js"),U={mimes:e=>Array.isArray(e)&&e.length>0&&e.every((e=>"string"==typeof e)),minduration:e=>(0,i.isInteger)(e),maxduration:e=>(0,i.isInteger)(e),protocols:e=>(0,i.isArrayOfNums)(e),w:e=>(0,i.isInteger)(e),h:e=>(0,i.isInteger)(e),startdelay:e=>(0,i.isInteger)(e),placement:e=>(0,i.isInteger)(e),linearity:e=>(0,i.isInteger)(e),skip:e=>[1,0].includes(e),skipmin:e=>(0,i.isInteger)(e),skipafter:e=>(0,i.isInteger)(e),sequence:e=>(0,i.isInteger)(e),battr:e=>(0,i.isArrayOfNums)(e),maxextended:e=>(0,i.isInteger)(e),minbitrate:e=>(0,i.isInteger)(e),maxbitrate:e=>(0,i.isInteger)(e),boxingallowed:e=>(0,i.isInteger)(e),playbackmethod:e=>(0,i.isArrayOfNums)(e),playbackend:e=>(0,i.isInteger)(e),delivery:e=>(0,i.isArrayOfNums)(e),pos:e=>(0,i.isInteger)(e),api:e=>(0,i.isArrayOfNums)(e)};let k;const C=function(){let e,t={};return{clearFeatures:function(){e=void 0},clearExchangeData:function(){t={}},getOrSetGlobalFeatures:function(){return e||(e={page_dimensions:L().toString(),viewport_dimensions:P().toString(),user_timestamp:(Math.floor((new Date).getTime()/1e3)-60*(new Date).getTimezoneOffset()).toString(),dom_loading:M().toString()}),e},prepareExchangeData(e){const r=JSON.parse(e,(function(e,t){if("_"!==e.charAt(0)||""===e)return t}));let a=(0,o.A)(r,"session.rnd"),n=!1;N.isNewSession(r)&&(n=!0,a=Math.random());const s={session:{new:n,rnd:a}};(0,i.mergeDeep)(t,r,s),N.enqueue({action:"session",ts:Date.now(),data:t})},getExchangeData:()=>t}}();function E(){try{if((0,i.getWindowTop)().location.href)return!0}catch(e){return!1}}function W(){return k||(0,i.getWindowSelf)()}function x(){const e=(0,i.getWindowSelf)();return!(!e.$sf||!e.$sf.ext)}const N={enqueue:function(e){const t=N.getCurrentWindow();t.ADAGIO=t.ADAGIO||{},t.ADAGIO.queue=t.ADAGIO.queue||[],t.ADAGIO.queue.push(e)},getPageviewId:function(){const e=N.getCurrentWindow();return e.ADAGIO=e.ADAGIO||{},e.ADAGIO.pageviewId=e.ADAGIO.pageviewId||(0,i.generateUUID)(),e.ADAGIO.pageviewId},getDevice:function(){const e=navigator.language?"language":"userLanguage";return{userAgent:navigator.userAgent,language:navigator[e],dnt:(0,i.getDNT)()?1:0,geo:{},js:1}},getSite:function(e){const{refererInfo:t}=e;return{domain:(0,m.gR)(t.topmostLocation)||"",page:t.topmostLocation||"",referrer:t.ref||(0,i.getWindowSelf)().document.referrer||"",top:t.reachedTop}},getElementFromTopWindow:function e(t,r){try{if((0,i.getWindowTop)()===r)return t.getAttribute("id")||t.setAttribute("id","adg-".concat((0,i.getUniqueIdentifierStr)())),t;{const a=r.frameElement,n=a.getBoundingClientRect(),i=t.getBoundingClientRect();return n.width===i.width&&n.height===i.height&&e(a,r.parent)}}catch(e){return(0,i.logWarn)("".concat(b),e),!1}},getRefererInfo:m.EN,adagioScriptFromLocalStorageCb:function(e){try{if(!e)return void(0,i.logWarn)("".concat(b," script not found."));const t=/^(\/\/ hash: (.+)\n)(.+\n)$/;if(t.test(e)){const r=e.match(t),a=r[2],n=r[3];(0,p.M)(n,a,"AL16XT44Sfp+8SHVF1UdC7hydPSMVLMhsYknKDdwqq+0ToDSJrP0+Qh0ki9JJI2uYm/6VEYo8TJED9WfMkiJ4vf02CW3RvSWwc35bif2SK1L8Nn/GfFYr/2/GG/Rm0vUsv+vBHky6nuuYls20Og0HDhMgaOlXoQ/cxMuiy5QSktp",65537)?((0,i.logInfo)("".concat(b," start script.")),Function(e)()):((0,i.logWarn)("".concat(b," invalid script found.")),T.removeDataFromLocalStorage(S))}else(0,i.logWarn)("".concat(b," no hash found.")),T.removeDataFromLocalStorage(S)}catch(e){(0,i.logError)(b,e)}},getCurrentWindow:W,canAccessTopWindow:E,isRendererPreferredFromPublisher:function(e){const t=(0,o.A)(e,"renderer"),r=!!(t&&t.url&&t.render),a=(0,o.A)(e,"mediaTypes.video.renderer"),n=!!(a&&a.url&&a.render);return!!(r&&!0!==t.backupOnly||n&&!0!==a.backupOnly)},isNewSession:function(e){const t=Date.now(),{lastActivityTime:r,vwSmplg:a}=(0,o.A)(e,"session",{});return!(0,i.isNumber)(r)||!(0,i.isNumber)(a)||t-r>18e5}};function G(e){const t=(0,o.A)(e,"mediaTypes.video",{}),r=(0,o.A)(e,"params.video",{}),a={};if(Array.isArray(t.playerSize)){const e=Array.isArray(t.playerSize[0])?t.playerSize[0]:t.playerSize;a.w=e[0],a.h=e[1]}const n={...a,...t,...r};n.context&&n.context===f.H6&&(e.mediaTypes.video.playerName=function(e){const t=N.isRendererPreferredFromPublisher(e)?"other":"adagio";return"other"===t&&(0,i.logWarn)("".concat(b," renderer.backupOnly has not been set. Adagio recommends to use its own player to get expected behavior.")),t}(e)),Object.keys(U).forEach((t=>{n.hasOwnProperty(t)&&(U[t](n[t])?e.mediaTypes.video[t]=n[t]:(delete e.mediaTypes.video[t],(0,i.logWarn)("".concat(b," The OpenRTB video param ").concat(t," has been skipped due to misformating. Please refer to OpenRTB 2.5 spec."))))}))}function R(e){if(!e.admNative||!Array.isArray(e.admNative.assets))return void(0,i.logError)("".concat(b," Invalid native response"));const t={};e.admNative.assets.forEach((e=>{if(e.title)t.title=e.title.text;else if(e.data)!function(e){const r={1:"sponsoredBy",2:"body",3:"rating",4:"likes",5:"downloads",6:"price",7:"salePrice",8:"phone",9:"address",10:"body2",11:"displayUrl",12:"cta"};r.hasOwnProperty(e.type)&&"string"==typeof e.value&&(t[r[e.type]]=e.value)}(e.data);else if(e.img)if(1===e.img.type)t.icon={url:e.img.url,width:e.img.w,height:e.img.h};else t.image={url:e.img.url,width:e.img.w,height:e.img.h}})),e.admNative.link&&(e.admNative.link.url&&(t.clickUrl=e.admNative.link.url),Array.isArray(e.admNative.link.clicktrackers)&&(t.clickTrackers=e.admNative.link.clicktrackers)),Array.isArray(e.admNative.eventtrackers)?(t.impressionTrackers=[],e.admNative.eventtrackers.forEach((e=>{if(1===e.event)switch(e.method){case 1:t.impressionTrackers.push(e.url);break;case 2:const r='
How Bartenders At Most All-Inclusive Resorts Prepare Your Drinks (2024)

References

Top Articles
Latest Posts
Article information

Author: Dr. Pierre Goyette

Last Updated:

Views: 6340

Rating: 5 / 5 (50 voted)

Reviews: 81% of readers found this page helpful

Author information

Name: Dr. Pierre Goyette

Birthday: 1998-01-29

Address: Apt. 611 3357 Yong Plain, West Audra, IL 70053

Phone: +5819954278378

Job: Construction Director

Hobby: Embroidery, Creative writing, Shopping, Driving, Stand-up comedy, Coffee roasting, Scrapbooking

Introduction: My name is Dr. Pierre Goyette, I am a enchanting, powerful, jolly, rich, graceful, colorful, zany person who loves writing and wants to share my knowledge and understanding with you.