April 25, 2024

The best sales to shop today: Anker, Aurate, Dick’s Sporting Goods and more | CNN Underscored

Today, you’ll find a deal on our pick for best budget earbuds, a discounted gear from Dick’s Sporting Goods and savings on the viral Amazon coat. All that and more below.

Orolay Women's Thickened Down JacketOrolay Women's Thickened Down Jacket

The Orolay Women’s Thickened Down Jacket rose to viral fame a couple years ago, eventually coming to be known simply as “the Amazon coat.” This season, the coat — just one of many cult-favorite products found on Amazon — is still popular as ever (not to mention, a common sight on city streets), and right now, you can warm up with one of your very own at a discount, available for one day only.

The rarely on-sale coat is currently under $90 in five different colors, including neutral army green and black. The jacket hits at mid-thigh, and it features six pockets and a cozy down fill, perfect for staying warm on blustery winter days. Plus, be sure to check out other Orolay outerwear, also on sale for only one day at Amazon.

AnkerAnker

Anker is a name you should know when it comes to affordable charging accessories, and for one day only at Amazon, a slew of them are significantly marked down. Pick up a new portable charger, power strip, cables and more, all for deeply discount prices.

EarFun AirEarFun Air

If you’re looking to spend less than $100 on earbuds, go with the EarFun Air. We named these buds our top pick for best budget earbuds after five months of testing, and they snagged the title of “best earbuds for working from home” too. Best of all, right now the black EarFun Air colorway is even cheaper than usual, thanks to an extra 5% off when you clip the on-page coupon at Amazon. Sounds like a pretty great deal to us.

Get your game on with Dick’s Sporting Goods’ Winter Clearance Event. This end-of-season sale includes up to 20% off already marked-down clothing and footwear, plus savings on all the gear you need for golf, team sports, hunting, fishing, running and outdoor adventures. And for those who prefer to sit on the sidelines, be sure to browse the fan shop for savings on items that support your favorite professional team.

AurateAurate

Look no further than Aurate for all your Valentine’s Day gifting needs. The elegant-yet-trendy jewelry brand has a wide range of gorgeous pieces that are sure to delight a loved one, and right now, you can save on all of it with 20% sitewide using code CNNVDAY. This exclusive, early-access sale is available to Underscored readers a week before everyone else, so you can beat the rush and pick out the bling of your choice while it’s still in stock.

• Save up to 40% on Samsung Buds Live, a.k.a. some top-rated, great-sounding earbuds.

Eddie Bauer’s End of Season Sale is the perfect time to round off the gaps in your winter outerwear and wardrobe.

LifeStraw’s elegant pitcher filters your water and looks great on the table — and it’s just $47.96 on the brand’s website.

• Banish the winter blues with up to 31% off light therapy lamps on Amazon, today only.

• Champion’s 4250-watt, remote-start power generator lets you start and stop it from up to 80 feet away, and it’s half as loud as traditional ones. Save 42% on it at Woot! today.

Birkenstock sandals are a classic, whether you wear them with jeans or socks for that normcore vibe. Right now, a ton are on sale for up to 30% off at Woot!.

• Looking to upgrade your tablet or find the perfect first one? This sleek and powerful Surface Pro X is $200 off right now at Best Buy.

• Keep your tush clean with up to $300 off bidets at The Home Depot.

• Easily dim the lights and take light from cool to warm via a handy app with this Philips Hue Starter Kit that’s down to just $59.99.

• There’s no such thing as too many bobby pins, and right now they’re just 99 cents for 48 brown ones from Goody on Amazon.

Moon PodMoon Pod

Take your lounging out of this world with the Moon Pod, a zero-gravity, futuristic beanbag chair that feels akin to what we imagine floating on a cloud is like. Right now Moon Pod is taking 25% off its revolutionary seating sitewide. When we tried the Moon Pod for ourselves, we found the sitting experience to be utterly relaxing and, indeed, stress-reducing. It conforms to your body to provide maximum support, whether you’re upright or lying back — unlike a typical beanbag that just leaves you sunken into the floor. Not to mention, the Moon Pod’s bean-like shape and sleek, stretchy outer shell looks aesthetically pleasing in any space.

Steelcase Series 1Steelcase Series 1

If you’re working from home, a good office chair is a must-have item, so take advantage of some savings on the Steelcase Series 1, our favorite office chair (read more about that here); we gave the Steelcase Series 1 a perfect score in terms of build, ease of assembly and quality of materials, not to mention its lifetime warranty. And right now it’s down to $378.18 — more than $100 off its usual price tag and the lowest price we’ve seen in months — in select colors, including neutral Licorice.

Skin Care at TargetSkin Care at Target

If dry winter air is messing with your usual skin care routine, pick up some new products from Target right now. When you spend at least $25 on select skin care products, you’ll receive a $5 Target gift card to spend on a future purchase. With medicine cabinet staples like Vaseline, makeup removing wipes, Aveeno and Cerave lotions, sunscreen cleanser and more included in the promo, it’s easy for your purchase to meet that $25 minimum.

iRobot Roomba 675 Wi-Fi Connected Robot VacuumiRobot Roomba 675 Wi-Fi Connected Robot Vacuum

If you’re curious about robot vacuums but not ready to put a ton of money down — or you have a living situation that doesn’t require a ton of maintenance — the 675 model is a great starting point at $75 off. It has a three-stage cleaning system that helps grab dirt from carpets and hard floors, and a brush that takes care of corners. Plus, it has special sensors that signal to the robot to clean high-traffic areas more thoroughly, meaning you get the deepest clean where it’s needed most.

Bed Bath & Beyond

Bed Bath & BeyondBed Bath & Beyond

If your New Year’s resolution is to get organized, Bed Bath & Beyond’s latest sale is for you. The Big Storage & Org Event features up to 25% off on storage solutions for every room in the house, from the kitchen to the closet. Prices start at just $2.25, so even the smallest organization projects are within reach.

iRobot Roomba j7+ Robot VacuumiRobot Roomba j7+ Robot Vacuum

One of Roomba’s newest models, the iRobot Roomba j7+, is down to the lowest price we’ve seen at Amazon. For $599, you’ll get one of the most sophisticated robot vacuums out there, with the ability to avoid obstacles and empty itself. Setup is also incredibly easy, and when you finally do get it going, the j7+ comes equipped with smart mapping so it can get a sense of your home and clean it with precision.

Jacob Krol/CNN

Our pick for best luxury TV is seeing a rare discount on Amazon today. About $500 off, the Sony A90J 65-inch TV delivers vibrant colors and a superbly detailed picture, thanks to its OLED capabilities and 4K resolution. Read more about why it’s our favorite here.

Apple Watch Series 7 GPS + Cellular, 41mm Green Aluminum Case With Clover Sport Band ($439, originally $499; bestbuy.com)

Apple Watch Series 7Apple Watch Series 7

If you’ve had your eye on the new Apple Watch Series 7, you can save on the 41mm GPS + Cellular version right now on Amazon. This model is down to $439 — that’s $60 off the list price of $499. But don’t take your time here; this item is part of Best Buy’s four-day flash sale, and there’s no telling when it will sell out.

Razer Kiyo ProRazer Kiyo Pro

Our pick for best high-end webcam, the Razer Kiyo Pro captures video at 1080p resolution and 60 frames per second. But what makes this camera really stand out is its advanced light sensor, which makes you look your best even when the lighting is less than optimal. You can get it now for $129.99, down from $199.99, on Amazon.

YetiYeti

Drink in some deals on several items from Yeti, the maker of our pick for best water bottle. Past Rambler styles are 25% off in certain styles (including the wine tumbler, mug and stackable cup) and various colors — it’s the sale for you if your goal is to stay hydrated in the new year. The drinkware is already selling out though, so shop soon.

AdidasAdidas

Save on sneakers, apparel and more during Adidas’ latest promo. The brand is currently offering up to 40% off sale items during its newly extended New Year’s promo. Sneakers, activewear, loungewear, masks and more are all on offer as part of the sale. Just be sure to stock up now before your faves sell out — and before this deal is over.

Wild One Harness Walk KitWild One Harness Walk Kit

Wild One makes some of the cutest pet toys and accessories around, and now you can show your pup (and your wallet) a little love with a discount on a range of the brand’s ultra-cute yet functional pet gear. The Sample Sale features up to 40% off some of Wild One’s bestsellers, including the Harness, Leash, Collar and loads of toys and treats. Just be sure to fetch your favorites soon, as inventory is limited.

Eero Pro 6 Tri-Band Mesh Wi-Fi System ($479, originally $599; amazon.com)

Eero Mesh Wi-Fi SystemEero Mesh Wi-Fi System

If you’re working from home (or just streaming and gaming at home), reliable Wi-Fi is a must-have. Ensure your network connection is as strong as ever with a discounted Eero 6 Tri-Band Mesh Wi-Fi System. The highly rated system is down to $479, and it’s ideal for large spaces and big households, as it supports 75-plus devices over 6,000 square feet. Not to mention, Eero happens to be our pick for best mesh Wi-Fi router. Plus, it’s easy to install, so you can get online and stay online for as long as you like.

(function(){
function addScript({ async, defer, name, src, ucStates, id, data }) {
try {
if (src && typeof src === ‘string’) {
if (ucStates && ucStates.length) {
WM.UserConsent.addScript({ src, async, defer }, ucStates);
} else {
const script = document.createElement(‘script’);
script.src = src;
script.dataset.uid = name;
script.async = async;
script.defer = defer;
script.onload = () => {window.dispatchEvent(new CustomEvent(name+’.loaded’));};
if (id) {
script.id = id;
}
if (data && typeof data === ‘object’) {
Object.keys(data).forEach(key => script.dataset[key] = data[key]);
}
document.head.appendChild(script);
}
}
} catch(e) {
console.error(‘ExternalScripts: error adding script “‘ + name + ‘”‘, e);
}
};
//snippet: user-consent
window.WM=window.WM||{},function(e,o){“use strict”;var n;”function”!=typeof e.CustomEvent&&((n=function(e,n){var t;return n=n||{bubbles:!1,cancelable:!1,detail:void 0},(t=o.createEvent(“CustomEvent”)).initCustomEvent(e,n.bubbles,n.cancelable,n.detail),t}).prototype=e.Event.prototype,e.CustomEvent=n,”function”!==e.Event&&(e.Event=n))}(window,document),window.WM.UserConsent=window.WM.UserConsent||function(y,C){“use strict”;var f,k=””,v={},I=!1,m=[],b=0,h=null,E=null,S=””,T={},A=””,D=””,O=””,x=!1,P=!1,w=!1,n=!1,L=””,t=”3.1.15″,M=null,G=!1,R=!1,U=!1,_=null,W=””,B={addtlConsentCookie:”OTAdditionalConsentString”,brand:””,categories:{req:”required”,ven:”vendor”,p1:”data-store”,p2:”ads-contextual”,p3:”ads-person-prof”,p4:”ads-person”,p5:”content-person-prof”,p6:”content-person”,p7:”measure-ads”,p8:”measure-content”,p9:”measure-market”,p10:”product-develop”,sp1:”product-security”,sp2:”deliver-content”,f1:”combine-data”,f2:”link-devices”,f3:”id-devices”,sf1:”geolocate”,sf2:”scan-devices”},ccCookie:”countryCode”,compatCategories:{“ads-general”:[“ads-contextual”,”ads-person”,”measure-ads”],”ads-vendor”:[“vendor”,”ads-contextual”,”ads-person”,”measure-ads”],”behavior-general”:[“content-person”],”behavior-vendor”:[“vendor”,”content-person”],functional:[“vendor”,”data-store”,”content-person-prof”,”content-person”],performance:[“measure-content”,”measure-market”,”product-develop”],”perf-general”:[“measure-content”,”measure-market”,”product-develop”],”perf-vendor”:[“vendor”,”measure-content”,”measure-market”,”product-develop”],”person-general”:[“ads-person-prof”,”content-person-prof”],”person-vendor”:[“vendor”,”ads-person-prof”,”content-person-prof”],”social-vendor”:[“vendor”],”storage-general”:[“data-store”],”storage-vendor”:[“vendor”,”data-store”],targeting:[“vendor”,”ads-contextual”,”ads-person-prof”,”ads-person”,”measure-ads”]},confirmCookie:”OptanonAlertBoxClosed”,consentChangeAction:null,consentChangeActionDelay:1e3,consentCookie:”OptanonConsent”,consentDefaults:{required:!0,vendor:!0,”data-store”:!0,”ads-contextual”:!0,”ads-person”:!0,”ads-person-prof”:!0,”content-person”:!0,”content-person-prof”:!0,”measure-ads”:!0,”measure-content”:!0,”measure-market”:!0,”product-develop”:!0,”product-security”:!0,”deliver-content”:!0,”combine-data”:!0,”link-devices”:!0,”id-devices”:!0,geolocate:!0,”scan-devices”:!0},consentExpireIn:1,consentLinkTitle:””,controlCookie:”OptanonControl”,cookieSameSite:”Lax”,cookieSecure:!1,enableDebug:!1,enableGPC:!0,enableTransitionCheck:!0,enableWebViewCheck:!0,gdprApplies:!1,gdprIabCookie:”eupubconsent-v2″,gdprIabIsGlobal:!1,gdprIabMaxPurposes:10,gdprIabMaxSpecialFeats:2,gdprIabPolicy:2,geoUsedByOneTrust:!0,languageFromBrowser:!0,privacyCenterLinkTitle:””,psmAppId:””,psmEnv:”prod”,regionChangeAction:null,regions:[{id:”ccpa”,compatCodes:{adv:[“ven”],bbv:[“ven”],fc:[“ven”],pfv:[“ven”],pzv:[“ven”],sav:[“ven”],smv:[“ven”],tc:[“ven”]},compatTransition:{cond:!1,new:”ven”,old:”pzv”},consentExpireIn:3,consentGpcDefaults:{vendor:!1},consentImpliedDefaults:{required:!0,”data-store”:!0,”ads-contextual”:!0,”ads-person”:!0,”ads-person-prof”:!0,”content-person”:!0,”content-person-prof”:!0,”measure-ads”:!0,”measure-content”:!0,”measure-market”:!0,”product-develop”:!0,”product-security”:!0,”deliver-content”:!0,”combine-data”:!0,”link-devices”:!0,”id-devices”:!0,geolocate:!0,”scan-devices”:!0},consentLinkTitle:”Do Not Sell My Personal Information”,geoMatch:[“US”,”PR”,”VI”,”UM”,””]},{id:”gdpr”,compatCodes:{ad:[“p2″,”p4″,”p7”],adv:[“p2″,”p4″,”p7”],bb:[“p6”],bbv:[“p6”],fc:[“p1″,”p5″,”p6”],pf:[“p8″,”p9″,”p10”],pfv:[“p8″,”p9″,”p10”],pz:[“p3″,”p5”],pzv:[“p3″,”p5”],sa:[“p1”],sav:[“p1”],tc:[“p2″,”p3″,”p4″,”p7″]},consentDefaults:{required:!0,vendor:!0,”data-store”:!1,”ads-contextual”:!1,”ads-person-prof”:!1,”ads-person”:!1,”content-person-prof”:!1,”content-person”:!1,”measure-ads”:!1,”measure-content”:!1,”measure-market”:!1,”product-develop”:!1,”product-security”:!0,”deliver-content”:!0,”combine-data”:!1,”link-devices”:!1,”id-devices”:!1,geolocate:!1,”scan-devices”:!1},consentImpliedDefaults:{required:!0,vendor:!0,”product-security”:!0,”deliver-content”:!0,”combine-data”:!0,”link-devices”:!0,”id-devices”:!0},consentLinkTitle:”Manage Cookies+”,gdprApplies:!0,geoMatch:[“GB”,”DE”,”FR”,”IT”,”ES”,”PL”,”RO”,”NL”,”BE”,”GR”,”CZ”,”PT”,”SE”,”HU”,”AT”,”BG”,”DK”,”FI”,”SK”,”IE”,”HR”,”LT”,”SI”,”LV”,”EE”,”CY”,”LU”,”MT”,”NO”,”IS”,”LI”]},{id:”global”,geoMatch:[“*”]}],reloadOnConsentChange:!0,reloadOnConsentReduction:!1,scCookie:”stateCode”,setPageClass:!0,useIAB:!0,uspApiCookieName:”usprivacy”,uspApiExplicitNotice:!0,uspApiIsLspa:!1};function N(e){var n=Array.prototype.slice.call(arguments);n[0]=”[WMUC]”+(0===A.length?””:” (“+A+”)”)+”:”,(“error”===e?console.error:console.log).apply(console,n)}function d(e){return!!Number(e)}function p(e){return parseInt(e,2)||0}function l(e){return 100*p(e)}function g(e){for(var n=”A”.charCodeAt(),t=e.match(/.{6}/g),o=””,r=0;r<t.length;r++)o+=String.fromCharCode(p(t[r])+n);return o}function z(e){for(var n=e.split(""),t={},o=0;o<n.length;o++)d(n[o])&&(t[o+1]=!0);return t}function V(e){var n,t,o,r,s,i,a=[];if("string"!=typeof e)return N("error","Invalid TC string specified"),a;for(o=e.split("."),r=0;r<o.length;r++){for(n=function(e){if("function"==typeof y.atob)try{return atob(e.replace(/_/g,"/").replace(/-/g,"+"))}catch(e){N("error","Failed to decode TC string")}return""}(o[r]),s=0,i="";s<n.length;s++)t=n.charCodeAt(s).toString(2),i+="00000000".slice(0,8-t.length)+t;a.push(i)}return 2!==p(a[0].slice(0,6))?(N("error","Unsupported TC string version"),[]):a}function F(e){for(var t=0,i=function(n,e,t,o){function r(){if(o.pubRestrictionEntry&&o.rangeEntry)for(var e in o.rangeEntry)Object.prototype.hasOwnProperty.call(o.rangeEntry,e)&&(o.pubRestrictionEntry[e]=(o.pubRestrictionEntry[e]||[]).concat(o.rangeEntry[e]));o.numPubRestrictions&&(o.numPubRestrictions–,n.push({key:"purposeId",size:6},{key:"restrictionType",size:2},{key:"numEntries",size:12}))}function s(){o.numEntries?(o.numEntries–,n.push({key:"isRange",size:1,decoder:d},{key:"startVendorId",size:16})):r()}function i(){return!o.purposeId||[{purpose:o.purposeId,isAllowed:0!==o.restrictionType,isConsentRequired:1===o.restrictionType,isLegitimateInterestRequired:2===o.restrictionType}]}if("isRangeEncoding"===e.key)n.push(t?{key:"numEntries",size:12}:{key:"bitField",size:o.maxVendorId,decoder:z});else if("numEntries"===e.key)o.rangeEntry={},s();else if("isRange"===e.key)t&&n.push({key:"endVendorId",size:16});else if("startVendorId"===e.key)o.isRange||(o.rangeEntry[t]=i(),s());else if("endVendorId"===e.key){for(var a=o.startVendorId;a<=o.endVendorId;a+=1)o.rangeEntry[a]=i();s()}else"numCustomPurposes"===e.key?n.push({key:"customPurposeConsents",size:o.numCustomPurposes,decoder:z},{key:"customPurposeLegitimateInterests",size:o.numCustomPurposes,decoder:z}):"numPubRestrictions"===e.key&&(o.pubRestrictionEntry={},r())},a=function(e){return e.pubRestrictionEntry||e.rangeEntry||e.bitField||e},c=function(e,n){n=n.slice(t,t+e.size);return t+=e.size,(e.decoder||p)(n)},n=function(e,n){for(var t,o,r={},s=0;s<e.queue.length;s++)o=function(e,n){var t,o,r,s={};if(!e.queue)return c(e,n);for(t=0;t<e.queue.length;t+=1)o=e.queue[t],r=c(o,n),s[o.key]=r,i(e.queue,o,r,s);return a(s)}(t=e.queue[s],n),r[t.key]=o,i(e.queue,t,o,r);return a(r)},o=V(e),r=function(e){for(var n=[{key:"purposeConsents",size:24,decoder:z},{key:"purposeLegitimateInterests",size:24,decoder:z}],t=[{key:"version",size:6},{key:"created",size:36,decoder:l},{key:"lastUpdated",size:36,decoder:l},{key:"cmpId",size:12},{key:"cmpVersion",size:12},{key:"consentScreen",size:6},{key:"consentLanguage",size:12,decoder:g},{key:"vendorListVersion",size:12},{key:"policyVersion",size:6},{key:"isServiceSpecified",size:1,decoder:d},{key:"useNonStandardStacks",size:1,decoder:d},{key:"specialFeatureOptins",size:12,decoder:z}].concat(n).concat({key:"purposeOneTreatment",size:1,decoder:d},{key:"publisherCountryCode",size:12,decoder:g}),o=[].concat([{size:3}]).concat(n).concat({key:"numCustomPurposes",size:6}),r=[{key:"core",queue:t}],s=1;s<e.length;s++)3===p(e[s].slice(0,3))&&r.push({key:"publisherTC",queue:o});return r}(o),s={},u=0;u<r.length;u++)s[r[u].key]=n(r[u],o[u]),t=0;return s}function q(e){e=new RegExp("(^|;) *"+e+" *= *([^;]+)"),e=C.cookie.match(e);return e?e.pop():null}function o(e,n,t){e&&(C.cookie=e+"="+("string"==typeof n?n:"")+"; Domain="+((t=t||{}).domain||v.cookieDomain)+"; Path="+(t.path||"/")+(t.maxage?"; Max-Age="+t.maxage:t.expires?"; Expires="+t.expires:"")+(t.secure?"; Secure":"")+(t.samesite?"; SameSite="+t.samesite:""))}function j(e){for(var n=0,t={},n=0;n<f.length;n++)t[f[n]]=e[f[n]];return t}function J(e,n){var t=0;if(n)for(e=e||{},t=0;t<f.length;t++)"boolean"==typeof n[f[t]]&&(e[f[t]]=n[f[t]]);return e}function H(){var e,n,t,o,r,s,i,a,c,u,d,p,l=[],g=[],C=q(v.consentCookie),f=!1,m=!1,b=!1;if(C&&-1!==C.indexOf("&groups=")||!0===v.useExternalConsent||(I=!1,E=null),!0===v.useExternalConsent&&(C="groups="+encodeURIComponent(y.OTExternalConsent.groups)),(R=!1)===I?(d=j(v.consentDefaults),(m=!0)===v.enableGPC&&v.consentGpcDefaults&&navigator.globalPrivacyControl&&(d=J(d,v.consentGpcDefaults),R=!0)):!0!==v.useExternalConsent&&v.gdprApplies&&v.useIAB&&v.gdprIabCookie&&(d=function(e,n){var t,o,r,s,i,a=null;if("string"==typeof e&&0!==e.length)if(!0===v.useExternalConsent&&y.OTExternalConsent.tcString?(L=y.OTExternalConsent.tcString,s=r="external consent",k=y.OTExternalConsent.addtlConsent||""):(L=q(e),r="""+e+'" cookie',s="""+n+'" cookie',null===(k="string"==typeof n&&0!==n.length?q(n):"")&&(k="")),L)if((i=F(L))&&i.core&&i.core.policyVersion===v.gdprIabPolicy&&i.core.purposeConsents){for(v.debug&&N("debug","Processed TC string from "+r+": ",i),a=j(v.consentImpliedDefaults),i.core.purposeLegitimateInterests=i.core.purposeLegitimateInterests||{},i.core.specialFeatureOptins=i.core.specialFeatureOptins||{},t=1;t<=v.gdprIabMaxPurposes;t++)a[o=v.categories["p"+t.toString(10)]]="boolean"==typeof i.core.purposeConsents[t]?i.core.purposeConsents[t]:"boolean"==typeof i.core.purposeLegitimateInterests[t]?i.core.purposeLegitimateInterests[t]:"boolean"==typeof v.consentImpliedDefaults[o]&&v.consentImpliedDefaults[o];for(t=1;t<=v.gdprIabMaxSpecialFeats;t++)a[o=v.categories["sf"+t.toString(10)]]="boolean"==typeof i.core.specialFeatureOptins[t]?i.core.specialFeatureOptins[t]:"boolean"==typeof v.consentImpliedDefaults[o]&&v.consentImpliedDefaults[o];0!==k.length&&-1===k.search(/^d+~[d.]*$/)&&(N("error","Error: Invalid AC string in "+s+"."),k="")}else N("error","Error: Invalid TC string in "+r+"."),k=L="";else k=L="";return a}(v.gdprIabCookie,v.addtlConsentCookie))?m=!0:d=J(j(v.consentDefaults),v.consentImpliedDefaults),C)for(s=C.split("&"),r=0;r<s.length;r++)if(u=s[r])if(u=(p=u.split("="))[0],p=p[1],!1===m&&"groups"===u&&p){for(a=decodeURIComponent(p).split(","),c=0;c<a.length;c++)o=(i=a[c].split(":"))[0].toLowerCase(),i="1"===i[1],o&&(v.categories[o]?(d[v.categories[o]]=i,"req"!==o&&(f=!0)):(v.compatTransition&&v.compatTransition.old===o&&v.compatTransition.cond===i&&(b=!0),v.compatCodes[o]&&(l.push(o),g.push(i))));if(!1===f&&0<l.length)for(G=!0,c=0;c<l.length;c++)for(t=v.compatCodes[l[c]],n=0;n<t.length;n++)(e=v.categories[t[n]])&&(d[e]=g[c]);else!0===b&&d[v.categories[v.compatTransition.new]]!==v.compatTransition.cond&&(d[v.categories[v.compatTransition.new]]=v.compatTransition.cond)}else"version"===u&&p?S=p:"isIABGlobal"===u&&(x="true"===p);return d}function e(){return j(h)}function r(){return P}function Y(){return!1===P}function s(){return"ccpa"===v.regId}function u(){return null!==h}function i(e,n){var t,o,r,s,i=!0,a="iab-"+v.regId,c="not ready";if(u()&&e)for(e=Array.isArray(e)?e:[e],s=0;s<e.length&&!0===i;s++)if((c=e[s])&&"required"!==c)if("iab"===c||c===a){if(v.useIAB&&(!n||!n.ignoreIAB))break}else if("boolean"==typeof h[c]&&!1===h[c])i=!1;else if(v.compatCategories[c])for(r=v.compatCategories[c],t=0;t<r.length;t++)if(o=r[t],"boolean"==typeof h[o]&&!1===h[o]){i=!1;break}return v.debug&&((n=n||{}).name=n.name||n.id||"unnamed",m.push({ts:new Date,act:n.cact||"CHK",desc:n.name,res:i,note:!i&&c||""}),N("debug",!0===i?"Check for consent ["+(e&&e.join(",")||"empty")+'] ALLOWS "'+n.name+'"'+("ADD"===n.cact?", script added":""):"Check for consent ["+(e&&e.join(",")||"empty")+'] REJECTS "'+n.name+'"'+("ADD"===n.cact?", script NOT added":""))),i}function Z(){var e=s()?!0===U?(h.vendor?y.WM.CDP.ccpaShareData():y.WM.CDP.ccpaDoNotShare(),y.WM.CDP.getUSPString()):"1"+(v.uspApiExplicitNotice?"Y":"N")+(h.vendor?"N":"Y")+(v.uspApiIsLspa?"Y":"N"):"1—";return Y()&&e!==W&&(W=e,!1===U&&null===_&&o(v.uspApiCookieName,e,{domain:v.cookieDomain,path:"/",samesite:v.cookieSameSite,secure:v.cookieSecure}),v.debug&&N("debug","USP string updated: ",e)),W}function K(){y.location.reload()}function $(e){var n;return!y.frames[e]&&(C.body?((n=C.createElement("iframe")).style.cssText="display:none",n.name=e,C.body.appendChild(n)):setTimeout($.bind(y,e),5),!0)}function Q(e){for(var n=null,t=y;t;t=t.parent){try{if(t.frames&&t.frames[e]){n=t;break}}catch(e){}if(t===y.top)break}return n}function X(e){y.addEventListener?y.addEventListener("message",e,!1):y.attachEvent("onmessage",e)}function ee(e){var n;T=e||{ccpaTCS:W,consentInteractions:b,consentTime:E,consentVersion:S,countryCode:D,region:v.regId,stateCode:O,userConsentVersion:t},Y()&&o(v.controlCookie,"ccc="+T.countryCode+"&csc="+T.stateCode+"&cic="+T.consentInteractions+"&otvers="+T.consentVersion+"&pctm="+(T.consentTime&&encodeURIComponent(T.consentTime.toISOString())||"0")+"&reg="+T.region+"&ustcs="+encodeURIComponent(T.ccpaTCS)+"&vers="+T.userConsentVersion,{domain:v.cookieDomain,expires:(e=v.consentExpireIn,(n=n?new Date(n):new Date).setUTCFullYear(n.getUTCFullYear()+e),n.toUTCString()),path:"/",samesite:v.cookieSameSite,secure:v.cookieSecure})}function ne(){var e=null,n=q(v.confirmCookie);return"string"==typeof n&&0!==n.length&&(e=new Date(n),!1===y.isNaN(e.valueOf()))?e:null}function a(){var e,n,t=ne(),o=!1,r=0<y.WM.UserConsent_wrapproc?new Date(y.WM.UserConsent_wrapproc):null,s=I,i=E,a=!1;for(y.WM.UserConsent_wrapproc=0,t&&(null===E||E<t)&&(I=!0,E=t),n=H(),e=0;eE.getTime()+v.consentChangeActionDelay+1e3)&&(E=r),r=h,h=n,Z(),ee(),!0===o){if(!0===v.debug)try{m.push({ts:new Date,act:”CHG”,desc:JSON.stringify(n),res:v.reloadOnConsentChange||v.reloadOnConsentReduction&&a,note:”function”==typeof v.consentChangeAction?”change function”:””})}catch(e){N(“error”,”Failed to track consent change: “,e)}if(“function”==typeof v.consentChangeAction&&v.consentChangeAction(j(h),v.regId,S,r),C.dispatchEvent(new CustomEvent(“userConsentChanged”,{bubbles:!1,cancelable:!1,detail:{region:v.regId,time:E,old:r,new:j(h),usp:W,tcf:L,acf:k}})),!0===v.reloadOnConsentChange||!0===a&&!0===v.reloadOnConsentReduction)setTimeout(K,100);else if(Y())try{y.sessionStorage.setItem(“_ucWMCons”,JSON.stringify({consentState:h,consentTime:E,consentVersion:S,iabIsGlobal:x})),y.postMessage(“_ucWMConsReset”,”*”)}catch(e){N(“error”,”Failed to update session storage and notify children of consent change: “,e)}}}else E=i,(!T.region||!T.consentVersion&&S||!T.userConsentVersion||T.userConsentVersion<"3.1.1")&&ee()}function c(e){var n,t,o,r,s,i,a,c,u,d,p=C.getElementsByTagName("head")[0],l=C.createElement("script"),g=null;if(null===h){if(null!==(s=Q("_usrConWM"))){A=y.name||"child";try{r=JSON.parse(y.sessionStorage.getItem("_ucWMConf"))}catch(e){r=null,N("error","Failed to parse parent frame consent settings.")}if("object"==typeof r&&null!==r){e.countryCode=r.countryCode,e.cookieDomain=r.cookieDomain,e.cookieSameSite=r.cookieSameSite,e.cookieSecure=r.cookieSecure,e.domId=r.domId,e.languageFromBrowser=!!r.langFromBrowser,e.enableDebug=!!r.enableDebug,e.enableGPC=!!r.enableGPC,e.regId=r.regId,e.stateCode=r.stateCode,e.src=r.src;try{i=JSON.parse(y.sessionStorage.getItem("_ucWMCons"))}catch(e){i=null,N("error","Failed to parse parent frame consent state.")}"object"==typeof i&&null!==i&&(h=i.consentState,E=i.consentTime,S=i.consentVersion,e.gdprIabIsGlobal=!!i.iabIsGlobal,P=!0),!1===r.parentReload&&X(function(e){var n;if("_ucWMConsReset"===e.data){try{n=y.sessionStorage.getItem("_ucWMCons")}catch(e){n=null}"object"==typeof n&&null!==n&&(e=function(e,n){var t=0;if(e&&n)for(t=0;t<f.length;t++)if(!0===e[f[t]]&&!0!==n[f[t]])return!0;return!1}(h,n.consentState),h=n.consentState,E=n.consentTime,S=n.consentVersion,Z(),(!0===v.reloadOnConsentChange||!0===e&&!0===v.reloadOnConsentReduction)&&setTimeout(K,100))}})}}if(!(e&&e.src&&e.domId&&e.cookieDomain))throw new Error("Invalid config passed to user-consent!");if(v.cookieDomain=e.cookieDomain,v.cookieSameSite=e.cookieSameSite||B.cookieSameSite,v.cookieSecure=("boolean"==typeof e.cookieSecure?e:B).cookieSecure,v.debug=!(!console||!e.enableDebug&&-1===y.location.search.search(/[?&]wmuc_debug=[1t]/)),v.enableGPC=("boolean"==typeof e.enableGPC?e:B).enableGPC,"object"==typeof y.GetExternalConsent&&null!==y.GetExternalConsent&&"function"==typeof y.GetExternalConsent.oneTrustCookie){try{t=JSON.parse(y.GetExternalConsent.oneTrustCookie())}catch(e){t=null}"object"==typeof t&&null!==t&&t.consentedDate&&(t.tcString||t.groups)&&(y.OTExternalConsent=t),"function"==typeof y.GetExternalConsent.countryCode&&y.GetExternalConsent.countryCode()&&(y.ExternalConsentGeo={countryCode:y.GetExternalConsent.countryCode(),stateCode:y.GetExternalConsent.stateCode()||""})}for(("boolean"==typeof e.enableWebViewCheck?e:B).enableWebViewCheck&&"object"==typeof y.OTExternalConsent&&null!==y.OTExternalConsent&&y.OTExternalConsent.consentedDate?(v.useExternalConsent=!0,v.debug&&N("debug","Reading consent from external consent data: ",y.OTExternalConsent)):v.useExternalConsent=!1,v.geoUsedByOneTrust=("boolean"==typeof e.geoUsedByOneTrust?e:B).geoUsedByOneTrust,!0===Y()&&!0===v.debug&&-1!==y.location.search.search(/[?&]wmuc_cc=[A-Za-z]{2}/)?N("debug","Set debug CC to: ",D=y.location.search.match(/[?&]wmuc_cc=([A-Za-z]{2})/)[1].toUpperCase()):D=v.useExternalConsent&&"object"==typeof y.ExternalConsentGeo&&"string"==typeof y.ExternalConsentGeo.countryCode&&2===y.ExternalConsentGeo.countryCode.length?y.ExternalConsentGeo.countryCode.toUpperCase():"string"==typeof e.countryCode&&2===e.countryCode.length?e.countryCode.toUpperCase():(i=q(e.ccCookie||"countryCode"))&&2===i.length?i.toUpperCase():(N("error","User-Consent unable to determine country, missing or invalid cookies!"),"US"),v.debug&&-1!==y.location.search.search(/[?&]wmuc_sc=[A-Za-z]{2}/)?N("debug","Set debug SC to: ",O=y.location.search.match(/[?&]wmuc_sc=([A-Za-z]{2})/)[1].toUpperCase()):v.useExternalConsent&&"object"==typeof y.ExternalConsentGeo&&"string"==typeof y.ExternalConsentGeo.stateCode&&2===y.ExternalConsentGeo.stateCode.length?O=y.ExternalConsentGeo.stateCode.toUpperCase():"string"==typeof e.stateCode&&2===e.stateCode.length?O=e.stateCode.toUpperCase():(i=q(e.scCookie||"stateCode"))&&2===i.length?O=i.toUpperCase():v.debug&&N("debug","User-Consent unable to determine state, leaving unset."),!0===Y()&&!0===v.geoUsedByOneTrust&&!1===w&&(y.OneTrust=y.OneTrust||{},y.OneTrust.geolocationResponse={countryCode:D,stateCode:O},i=function(e){!1===w?(w=!0,y.OneTrust=y.OneTrust||{},y.OneTrust.geolocationResponse={countryCode:D,stateCode:O},y.OneTrustStub&&"function"==typeof y.OneTrustStub.setGeoLocation&&y.OneTrustStub.setGeoLocation(D,O),v.debug&&N("debug","Set OneTrust geo-location.")):"function"==typeof y.OptanonWrapper&&y.OptanonWrapper()},y.addEventListener?y.addEventListener("consent.onetrust",i,!1):y.attachEvent("consent.onetrust",i)),v.categories=e.categories||B.categories,v.regions=e.regions||B.regions,v.consentChangeAction=e.consentChangeAction||B.consentChangeAction,v.consentChangeActionDelay=e.consentChangeActionDelay||B.consentChangeActionDelay,v.controlCookie=e.controlCookie||B.controlCookie,v.brand=e.brand||B.brand||"",v.psmAppId=e.psmAppId||B.psmAppId||"",v.psmEnv=e.psmEnv||B.psmEnv||"prod",v.languageFromBrowser=("boolean"==typeof e.languageFromBrowser?e:B).languageFromBrowser,v.regionChangeAction=e.regionChangeAction||B.regionChangeAction,v.reloadOnConsentChange=("boolean"==typeof e.reloadOnConsentChange?e:B).reloadOnConsentChange,v.reloadOnConsentReduction=("boolean"==typeof e.reloadOnConsentReduction?e:B).reloadOnConsentReduction,n=Object.keys(v.categories),f=[],o=0;o<n.length;o++)f.push(v.categories[n[o]]);for(o=0;o<v.regions.length;o++)if(!0===Y()&&function(e){for(var n=0;n<e.length;n++)if(D===e[n].toUpperCase()||"*"===e[n])return 1}(v.regions[o].geoMatch)||!0===P&&v.regions[o].id===e.regId){g=v.regions[o];break}if(!g){if(P)throw new Error("No matching user-consent region, parent and iframe configs do not match!");throw new Error("No matching user-consent region!")}if(v.regId=g.id,v.compatTransition=(e.enableTransitionCheck||B.enableTransitionCheck)&&g.compatTransition?g.compatTransition:null,v.compatCategories=g.compatCategories||e.compatCategories||B.compatCategories||{},v.compatCodes=g.compatCodes||e.compatCodes||B.compatCodes||{},v.consentExpireIn=g.consentExpireIn||e.consentExpireIn||B.consentExpireIn||1,v.consentLinkAction=g.consentLinkAction||e.consentLinkAction||null,v.consentLinkTitle=g.consentLinkTitle||e.consentLinkTitle||B.consentLinkTitle,v.confirmCookie=g.confirmCookie||e.confirmCookie||B.confirmCookie,v.consentCookie=g.consentCookie||e.consentCookie||B.consentCookie,v.addtlConsentCookie=g.addtlConsentCookie||e.addtlConsentCookie||B.addtlConsentCookie,v.consentDefaults=g.consentDefaults||e.consentDefaults||B.consentDefaults,v.consentGpcDefaults=g.consentGpcDefaults||e.consentGpcDefaults||B.consentGpcDefaults||null,v.consentImpliedDefaults=g.consentImpliedDefaults||B.consentImpliedDefaults||v.consentDefaults,v.domId=g.domId||e.domId,v.gdprIabCookie=g.gdprIabCookie||e.gdprIabCookie||B.gdprIabCookie,v.gdprIabMaxPurposes=g.gdprIabMaxPurposes||e.gdprIabMaxPurposes||B.gdprIabMaxPurposes,v.gdprIabMaxSpecialFeats=g.gdprIabMaxSpecialFeats||e.gdprIabMaxSpecialFeats||B.gdprIabMaxSpecialFeats,v.gdprIabPolicy=g.gdprIabPolicy||e.gdprIabPolicy||B.gdprIabPolicy,v.privacyCenterLinkAction=g.privacyCenterLinkAction||e.privacyCenterLinkAction||null,v.privacyCenterLinkTitle=g.privacyCenterLinkTitle||e.privacyCenterLinkTitle||B.privacyCenterLinkTitle,v.src=g.src||e.src,v.useIAB=("boolean"==typeof e.useIAB?e:B).useIAB,v.uspApiExplicitNotice=e.uspApiExplicitNotice||B.uspApiExplicitNotice,v.uspApiIsLspa=e.uspApiIsLspa||B.uspApiIsLspa,v.uspApiCookieName=e.uspApiCookieName||B.uspApiCookieName,v.gdprApplies=("boolean"==typeof g.gdprApplies?g:"boolean"==typeof e.gdprApplies?e:B).gdprApplies,x=e.gdprIabIsGlobal||B.gdprIabIsGlobal||!1,(!0===e.setPageClass||"boolean"!=typeof e.setPageClass&&!0===B.setPageClass)&&C.documentElement&&(C.documentElement.className=(C.documentElement.className&&" "!==C.documentElement.className?C.documentElement.className+" userconsent-cntry-":"userconsent-cntry-")+D.toLowerCase()+" userconsent-reg-"+v.regId.toLowerCase()),v.debug&&(N("debug","GeoIP Country Code: "+D+", using consent region: "+v.regId),N("debug","IAB "+(v.useIAB?"enabled":"disabled"))),!0===Y()){if(v.psmAppId&&y.WM.CDP&&"function"==typeof y.WM.CDP.initPsm&&"function"==typeof y.WM.CDP.isPrivacyEnabled&&!v.useExternalConsent){try{y.WM.CDP.initPsm(v.psmAppId,v.brand,v.psmEnv,v.cookieDomain,D),U=y.WM.CDP.isPrivacyEnabled(),v.debug&&N("debug","PSM found and initialized. Privacy is "+(U?"enabled.":"disabled."))}catch(e){U=!1,N("error","PSM found but failed to initialize: ",e)}U&&("string"!=typeof(u=y.WM.CDP.getUSPString())||0===u.length?U=!1:W=u,v.debug&&N("debug","PSM privacy enabled "+(U?"so using.":"but not working so ignoring it.")))}else v.debug&&N("debug","PSM not found.");if(T=function(){var n,e,t,o,r={consentInteractions:b,consentTime:null,consentVersion:"",countryCode:"",region:"",stateCode:"",userConsentVersion:""},s=q(v.controlCookie);if("string"==typeof s&&0!==s.length)for(t=s.split("&"),e=0;e<t.length;e++)if("string"==typeof(o=t[e].split("="))[0]&&0!==o[0].length&&"string"==typeof o[1])switch(o[0]){case"ccc":r.countryCode=o[1].toLowerCase();break;case"csc":r.stateCode=o[1].toLowerCase();break;case"cic":r.consentInteractions=parseInt(o[1],10),(isNaN(r.consentInteractions)||r.consentInteractionsE)?(E=T.consentTime,v.debug&&N(“debug”,’Consent time read from “‘+v.controlCookie+'”: ‘,E)):null!==E&&v.debug&&N(“debug”,’Consent time read from “‘+v.confirmCookie+'”: ‘,E);if(null!==E?(I=!0,h=H(),!0===I?(l.async=!0,null!==T.consentTime&&T.consentTime<E&&(T.region=""),v.debug&&(N("debug",'Consent state read from "'+(v.useExternalConsent?"external consent":v.consentCookie)+'" ('+S+"): ",h),G&&N("debug","Consent state using compatibility config."))):(E=null,T.region="",v.debug&&N("debug","Consent state expired or removed, reset from defaults: ",h))):(h=j(v.consentDefaults),!0===v.enableGPC&&v.consentGpcDefaults&&navigator.globalPrivacyControl?(h=J(h,v.consentGpcDefaults),R=!0,v.debug&&N("debug","Consent state from defaults (GPC set): ",h)):v.debug&&N("debug","Consent state from defaults: ",h)),v.debug)try{m.push({ts:new Date,act:"SET",desc:JSON.stringify(h),res:null!==E,note:v.regId})}catch(e){N("error","Failed to track setting initial consent: ",e)}}if(y.WM.UserConsent_initted)N("error","ERROR: Second instance of UserConsent initialized!");else{if(y.WM.UserConsent_initted=!0,v.useIAB&&(d=function(o,r){var s,n,i="string"==typeof r.data,e=o+"Call";try{n=i?JSON.parse(r.data):r.data}catch(e){n={}}"object"==typeof n&&null!==n&&n[e]&&(s=n[e],y[o](s.command,s.version,function(e,n){var t={};t[o+"Return"]={returnValue:e,success:n,callId:s.callId};try{r.source.postMessage(i?JSON.stringify(t):t,"*")}catch(e){N("error","Failed to post reply: ",e)}},s.parameter))},U||(null===(_=Q("__uspapiLocator"))?($("__uspapiLocator"),y.__uspapi=function(e,n,t){if("function"==typeof t){if(n=0===n?1:n,"getUSPData"===e&&1===n)return t({version:1,uspString:y.WM.UserConsent.getUspAPIstring()},!0),!0;if("ping"===e)return t({version:1,uspapiLoaded:!0},!0),!0;t(null,!1)}return!1},y.__uspapi.msgHandler=d.bind(y,"__uspapi"),X(y.__uspapi.msgHandler),v.debug&&N("debug","IAB for CCPA ready.")):v.debug&&N("debug","IAB for CCPA ready (via frame).")),(x||v.gdprApplies)&&(c=G?"1.1":"2.0",null===(M=Q((a=G?"__cmp":"__tcfapi")+"Locator"))&&"function"!=typeof y[a]?($(a+"Locator"),y[a]=function(){var e=arguments,n=0;return y[a].a=y[a].a||[],0<e.length&&(n=0===(n=1<e.length&&parseInt(e[1],10)||0)?2:n,"ping"===e[0]?e[2]({apiVersion:c,gdprApplies:v.gdprApplies,gdprAppliesGlobally:x,cmpLoaded:!1,cmpStatus:"stub",displayStatus:v.gdprApplies?"hidden":"disabled"},!0):"setGdprApplies"===e[0]&&3<e.length&&"boolean"==typeof e[3]?v.gdprApplies=e[3]:y[a].a.push([].slice.apply(e))),y[a].a},y[a].msgHandler=d.bind(y,a),X(y[a].msgHandler),v.debug&&N("debug","IAB (v"+c+") for GDPR ready."),y[a]("getTCData",0,y.OptanonWrapper)):M&&v.debug&&N("debug","IAB (v"+c+") for GDPR ready (via frame)."))),Z(),!0===Y()){if(v.useExternalConsent?ee():T.region&&T.region!==v.regId&&(u=T.region,d=v.regId,v.debug&&N("debug",'User-Consent detected region change from "'+u+'" to "'+d+'".'),"function"==typeof v.regionChangeAction&&v.regionChangeAction(u,d,v.consentLinkAction)),null===s&&$("_usrConWM"))try{y.sessionStorage.setItem("_ucWMConf",JSON.stringify({cookieDomain:v.cookieDomain,cookieSameSite:v.cookieSameSite,cookieSecure:v.cookieSecure,countryCode:D,domId:v.domId,enableDebug:v.debug,langFromBrowser:v.languageFromBrowser,parentReload:v.reloadOnConsentChange,regId:v.regId,src:v.src,stateCode:O})),y.sessionStorage.setItem("_ucWMCons",JSON.stringify({consentState:h,consentTime:E,consentVersion:S,iabIsGlobal:x}))}catch(e){N("error","Failed to set UserConsent frame data!")}!(l.charset="utf-8")===v.languageFromBrowser&&(l.dataset.documentLanguage="true"),l.dataset.domainScript=v.domId,l.src=v.src,p.appendChild(l)}v.debug&&N("debug","Dispatching UserConsentReady event."),C.dispatchEvent(new CustomEvent("userConsentReady",{bubbles:!1,cancelable:!1,detail:{region:v.regId,time:new Date,consentConfirmed:I}}))}}}return!0===y.WM.UserConsent_loaded?N("error","ERROR: Second instance of UserConsent loaded!"):(y.WM.UserConsent_loaded=!0,y.WM.UserConsent_wrapproc=0,y.OptanonWrapper=function(){var e;n||(n=!0,v.geoUsedByOneTrust&&y.Optanon&&"function"==typeof y.Optanon.getGeolocationData&&(e=y.Optanon.getGeolocationData())&&e.country!==D&&"function"==typeof y.Optanon.setGeoLocation&&(y.Optanon.setGeoLocation(D,O),v.debug&&N("debug","Reset OneTrust geo-location to match site.")),v.debug&&N("debug","Dispatching OptanonLoaded event."),C.dispatchEvent(new CustomEvent("optanonLoaded",{bubbles:!1,cancelable:!1,detail:{region:v.regId,time:new Date,consentConfirmed:I}})),!0===v.useExternalConsent&&!0!==y.Optanon.IsAlertBoxClosed()&&y.Optanon.Close()),null!==h&&0===y.WM.UserConsent_wrapproc&&(y.WM.UserConsent_wrapproc=(new Date).getTime(),setTimeout(a,("number"==typeof v.consentChangeActionDelay?v:B).consentChangeActionDelay))},"object"==typeof y.WM.UserConsentConfig&&null!==y.WM.UserConsentConfig&&c(y.WM.UserConsentConfig)),{addScript:function(e,n,t){var o,r,s,t=t||C.head;if(e&&(e.src||e.text)){if(!0===i(n,{cact:"ADD",name:e.name||e.src||e.id||"unnamed inline"})){for(o=C.createElement("script"),s=Object.keys(e),r=0;r<s.length;r++)o[s[r]]=e[s[r]];return t.appendChild(o),!0}}else N("error","Invalid or missing options to addScript.");return!1},addScriptElement:function(e,n,t){if(t=t||C.head,e){if(i(n,{cact:"ADD",name:e.name||e.src||e.id||"unnamed inline"}))return t.appendChild(e),!0}else N("error","Invalid or missing options to addScriptElement.");return!1},forceReconsent:function(){Y()&&(C.cookie=v.consentCookie+"=; Domain="+v.cookieDomain+"; Path=/; Expires=Thu, 01 Jan 2000 00:00:01 GMT;",C.cookie=v.confirmCookie+"=; Domain="+v.cookieDomain+"; Path=/; Expires=Thu, 01 Jan 2000 00:00:01 GMT;",ee({ccpaTCS:"",consentInteractions:b,consentTime:null,consentVersion:S,countryCode:D,region:v.regId,stateCode:O,userConsentVersion:t}),setTimeout(K,100))},getCmpString:function(e,n){var t,o,r;if("function"==typeof e)if(n=n||this.getRegion(),!1===v.useIAB&&(v.debug&&N("debug","getCmpString called with IAB disabled"),e(n,0,"","",new Error("IAB disabled"))),v.gdprApplies||x&&"ccpa"!==n){if(!1===G){if("string"==typeof L&&0!==L.length)return v.debug&&N("debug","getCmpString returning GDPR v2 CMP string"),void e(n,2,L,k,null);t=window.__tcfapi,o="getTCData",r=2}else t=window.__cmp,o="getConsentData",r=1;t(o,r,function(e,n,t,o,r){r?(v.debug&&N("debug","getCmpString returning GDPR v"+t+" CMP string"),e(n,t,1===t?o.consentData:o.tcString,1 {
if (
window.CNN.Zion.apiKey &&
window.CNN.Zion.environmentType &&
window.CNN.Zion.sourceId &&
window.ZION_SDK
) {
const environment = window.ZION_SDK.EnvironmentType[window.CNN.Zion.environmentType];
const enableLogging = environment !== window.ZION_SDK.EnvironmentType.Prod;

window.zion_analytics.configure({
bridgeEnabled: true,
bufferSize: 20,
enableLogging,
customFeatureManagerPath: ‘https://z.cdp-dev.cnn.com/zfm/zfh-3.js’,
environment: window.CNN.Zion.environmentType,
isSecure: true,
telemetryEndpoint: window.env.ZION_TELEMETRY_ENDPOINT,
trackAdvertising: false,
trackBluetooth: false,
trackDeeplink: false,
trackLifecycle: false,
trackLocation: false,
trackNotifications: false,
trackPurchases: false,
trackScreens: false,
trackUxMetrics: true,
uxMetricsPercentage: 100,
});

if (window.zion_analytics) {
window.zion_analytics.track(new window.ZION_SDK.Pageview({
canonicalUrl: window.CNN.contentModel.canonicalUrl,
traits: {
event_source: window.CNN.contentModel.techStack || ‘stellar’,
page_variant: window.CNN.contentModel.templateType || ”,
raw_url: window.location.href,
cms_id: CNN.contentModel.cmsId || ”,
page_type: CNN.contentModel.pageType || ”,
edition: CNN.contentModel.edition,
section: CNN.contentModel.section || ”,
subsection: CNN.contentModel.subsection || ”,
experience_type: window.location.href.includes(‘plus’) ? ‘cnn_plus’ : ‘cnn_core’
},
sourceId: window.CNN.contentModel.sourceId || ”
}));
}
} else {
throw new Error(‘zion: missing either “apiKey”, “environmentType” or “sourceId”‘);
}
});
})()

}

//script: fave
addScript({ async: false, defer: true, name: ‘fave’, src: ‘https://registry.api.cnn.io/bundles/fave/latest-4.x/js’ });

//snippet: airship
!function(n,r,e,t,c){var i,o=”Promise”in n,u={then:function(){return u},catch:function(n){ return n(new Error(“Airship SDK Error: Unsupported browser”)),u}},s=o?new Promise((function(n,r){i=function(e,t){e?r(e):n(t)}})):u ;s._async_setup=function(n){if(o)try{i(null,n(c))}catch(n){i(n)}},n[t]=s;var a=r.createElement(“script”);a.src=e,a.async=!0,a.id=”_uasdk”, a.rel=t,r.head.appendChild(a)}(window,document, window.env.AIRSHIP_SRC, ‘UA’, { vapidPublicKey: window.env.AIRSHIP_VAPID_PUBLIC_KEY, websitePushId: window.env.AIRSHIP_WEB_SITE_PUSH_ID, appKey: window.env.AIRSHIP_APP_KEY, token: window.env.AIRSHIP_TOKEN, workerUrl:window.env.AIRSHIP_WORKER }); (function(){const c = { auto: true, position: ‘top’, appearDelay: 5000, stylesheet: ‘https://z.cdn.cnn.com/cnn/tmpl_asset/static/css/vendor/airship.css’, askAgainDelay: 2592000, disappearDelay: 1000, type: ‘alert’, logo: ‘https://z.cdn.cnn.com/cnn/tmpl_asset/static/images/cnn_underscored_stacked_256.png’, i18n: { en: { title: ‘Subscribe to CNN Underscored notifications’, message: ‘Never miss out on a product worth buying or a sale worth shopping by subscribing to our push notifications.’, bubble: ‘Unlock permission to allow notifications’, button: ‘Allow’, accept: ‘Yes, Subscribe me!’, deny: ‘No thanks’}}}; window.UA.then((sdk) => { sdk.plugins.load(‘html-prompt’, ‘https://aswpsdkus.com/notify/v1/ua-html-prompt.min.js’, c).then((plugin) => plugin.prompt(c)); sdk.addEventListener(‘channel’, ev => { sdk.channel.tags.add(‘underscored’); }, { once: true }); }); })();

//snippet: krux-id
if (window.WM.UserConsent.inUserConsentState([‘vendor’,’data-store’,’ads-person-prof’,’ads-person’,’measure-ads’,’measure-content’,’measure-market’])) {
const MODULE_NAME=”Krux Module”,MODULE_VERSION=”v4.1.4″,config={DOM_CONTROLTAG:window.env.KRUX_DOM_CONTROLTAG,INTL_CONTROLTAG:window.env.KRUX_INTL_CONTROLTAG,SEND_VALUES_TO_ZION:window.env.KRUX_SEND_VALUES_TO_ZION};let zionBus,setControlTag,sendValuesToZion,hostname,messageSent=!1,subscribersSet=!1;const readCookie=e=>{let n=!1,t=null;var o;return void 0!==window.localStorage&&(n=!0),”https://www.cnn.com/2022/01/20/cnn-underscored/best-online-sales-right-now/undefined”==typeof value&&(n&&(t=window.localStorage.getItem(e)),n&&null!==t||(o=e,t=”https://www.cnn.com/2022/01/20/cnn-underscored/best-online-sales-right-now/undefined”!=typeof document&&document.cookie&&document.cookie.match(RegExp(`${o}=.*?;`))?document.cookie.match(RegExp(`${o}=.*?;`))[0].replace(RegExp(`${o}=|;`,”g”),””):null)),t},setHostAndPathNames=()=>{const e=”https://www.cnn.com/2022/01/20/cnn-underscored/best-online-sales-right-now/undefined”!=typeof document?document.createElement(“a”):{href:””,hostname:””,pathname:””};e.href=”https://www.cnn.com/2022/01/20/cnn-underscored/best-online-sales-right-now/undefined”!=typeof document?document.location.href:””,hostname=e.hostname},countryCode=readCookie(“countryCode”)||(readCookie(“CG”)?readCookie(“CG”).substr(0,2):””),getURLParam=e=>{if(“https://www.cnn.com/2022/01/20/cnn-underscored/best-online-sales-right-now/undefined”==typeof document)return””;const n=e.replace(/[[]/,”\[“).replace(/[]]/,”\]”),t=new RegExp(`[\?&]${n}=([^&#]*)`);if(document&&document.location&&document.location.search){const e=t.exec(document.location.search);return e?e[1]:””}return””},isIntl=()=>{let e=!1;return setHostAndPathNames(),e=”true”===getURLParam(“isIntl”)||(hostname.search(/^.*(edition|edition-m|arabic|cnnespanol|cnne-test)./)>=0||””!==countryCode&&null!==countryCode&&(“US”!==countryCode&&”CA”!==countryCode)),e},piiRE=/(([^()[].,;:s@”]+(.[^()[].,;:s@”]+)*)|(“.+”))@(([^()[].,;:s@”]+.)+[^()[].,;:s@”]{2,})/i,piiIsPresentInQueryString=()=>{if(document.location.search){const e=document.location.search.search(piiRE)+1;let n;try{n=decodeURIComponent(document.location.search).search(piiRE)+1}catch(t){n=e}return 1===e||1===n}return!1},piiIsPresentInHash=()=>{if(document.location.hash){const e=document.location.hash.search(piiRE)+1;let n;try{n=decodeURIComponent(document.location.hash).search(piiRE)+1}catch(t){n=e}return e||n}return!1},piiIsPresentInReferrer=()=>{if(document.referrer){const e=document.referrer.search(piiRE)+1;let n;try{n=decodeURIComponent(document.referrer).search(piiRE)+1}catch(t){n=e}return e||n}return!1},piiFilter={qs:piiIsPresentInQueryString,hash:piiIsPresentInHash,ref:piiIsPresentInReferrer},retrieve=e=>{const n=`kx${e}`,t=(()=>{try{return window.localStorage}catch(e){return null}})();if(t)return t[n]||””;if(navigator.cookieEnabled){const e=document.cookie.match(`${n}=([^;]*)`);return e&&unescape(e[1])||””}return””},init=e=>{const n=new Promise((n=>{window.Krux||((window.Krux=function(){window.Krux.q.push([arguments])}).q=[]),window.krux_getFWKeyValues=(e,n)=>{window.Krux.segments=retrieve(“segs”)?retrieve(“segs”).split(“,”):[];const t=e||”_fwu:386123:”,o=n||35,r={};for(let e=0;e<window.Krux.segments.length;e++)e{let e=”&kxid=”;return window.Krux.user&&(e+=window.Krux.user),e+=`&kxseg=${window.kvs.join(“,”)}`,e},window.krux_getFWSegments=()=>(window.Krux.segments=retrieve(“segs”)?retrieve(“segs”).split(“,”):[],`kxseg=${window.Krux.segments.join(“,kxseg=”)}`),window.krux_getUser=()=>(window.Krux.user=retrieve(“user”),window.Krux.user),window.krux_getKuid=()=>(window.Krux.kuid=retrieve(“kuid”),window.Krux.kuid),setControlTag=e=>{const n=document,t=n.createElement(“script”),o=n.getElementsByTagName(“head”)[0];t.type=”text/javascript”,t.async=!0,t.src=`https://cdn.krxd.net/controltag?confid=${e}`,piiFilter.hash()||piiFilter.qs()||piiFilter.ref()||o.appendChild(t)},sendValuesToZion=()=>{window.Krux.user=retrieve(“user”),window.Krux.segments=retrieve(“segs”)?retrieve(“segs”).split(“,”):[],window.Krux.kuid=retrieve(“kuid”);const n=window.Krux.user,t=window.Krux.segments.filter((function(e,n){return n{if(e){const n=e.CONTROLTAGS?e.CONTROLTAGS:{DOM:e.DOM_CONTROLTAG,INTL:e.INTL_CONTROLTAG},t=isIntl()?n.INTL:n.DOM;setControlTag(t),e.SEND_VALUES_TO_ZION&&!subscribersSet&&(subscribersSet=!0,window.ZION_SDK?(zionBus=window.ZION_SDK.ZionMessageBus.getInstance(),sendValuesToZion()):window.addEventListener(“zion.loaded”,(()=>{zionBus=window.ZION_SDK.ZionMessageBus.getInstance(),sendValuesToZion()})))}n()})()}));return n.id=”Krux Module v4.1.4″,n};init(config);

}

//snippet: hyphensocial
(function () {
window.addEventListener(“load”, (event) => {
if (document.location.href.includes(“facebook-paid”)) {
function getURLParameter(e, t) {
return (RegExp(t + “=(.+?)(&|$)”).exec(e) || [, null])[1];
}
function parse_query_string(e) {
for (var t = e.split(“&”), n = {}, a = 0; a -1 || e.indexOf(“FBAV”) > -1;
}
function os_system() {
var e = navigator.userAgent || navigator.vendor || window.opera;
return /windows phone/i.test(e)
? “Windows Phone”
: /android/i.test(e)
? “Android”
: /iPad|iPhone|iPod/.test(e) && !window.MSStream
? “iOS”
: “unknown”;
}
function affSwap() {
(window.aff_params = {}),
(window.base_tag = null),
(window.tag_count = 0);
let e = document
.querySelector(‘[data-editable=”content”]’)
.querySelectorAll(‘a:not([swapped=”true”])’);
if (e.length >= 5) {
for (const t of e) {
let e = [
getURLParameter(t.href.replace(“-20”, “”), “tag”),
getURLParameter(t.href.replace(“|”, “&”), “subId1”),
getURLParameter(t.href.replace(“|”, “&”), “u1”),
getURLParameter(t.href.replace(“|”, “&”), “afftrack”),
].join(“”);
(e in aff_params) & (“” != e)
? ((window.aff_params[e] += 1),
window.aff_params[e] > window.tag_count &&
((tag_count = window.aff_params[e]), (window.base_tag = e)))
: (aff_params[e] = 1);
}
for (const t of e) {
(t.onclick = function () {
fbq(“trackSingleCustom”, “404409197807416”, “affClick”, {
href: t.href,
});
}),
t.setAttribute(“swapped”, !0);
let e = params().utm_term;
if (e && “https://www.cnn.com/2022/01/20/cnn-underscored/best-online-sales-right-now/undefined” !== e) {
let n = t.href.replace(base_tag, e);
t.setAttribute(“href”, n);
}
if (
t.href.includes(“amazon”) &
browser() &
(“Android” == os_system())
) {
t.setAttribute(“target”, “_blank”);
let e =
“intent://#Intent;scheme=com.amazon.mobile.shopping.web://amazon.com/o/ASIN/” +
i
.getAttribute(“href”)
.match(“(?:[/dp/]|$)([A-Z0-9]{10})”)[0]
.replace(“/”, “”) +
“/” +
i.getAttribute(“href”).split(“?”)[1].split(“tag=”)[1] +
“/ref=nosim//;end”;
t.setAttribute(“href”, e);
}
}
}
}
!(function (e, t, n, a, r, o, i) {
e.fbq ||
((r = e.fbq =
function () {
r.callMethod
? r.callMethod.apply(r, arguments)
: r.queue.push(arguments);
}),
e._fbq || (e._fbq = r),
(r.push = r),
(r.loaded = !0),
(r.version = “2.0”),
(r.queue = []),
((o = t.createElement(n)).async = !0),
(o.src = “https://connect.facebook.net/en_US/fbevents.js”),
(i = t.getElementsByTagName(n)[0]).parentNode.insertBefore(o, i));
})(window, document, “script”),
fbq(“init”, “404409197807416”),
fbq(“track”, “PageView”),
affSwap(),
setInterval(affSwap, 5e3);
}
});
})();

}())

Source link