April 25, 2024

The best sales to shop this weekend: Fitbit, Columbia, Instant Pot and more | CNN Underscored

This weekend, you’ll find a deal on our pick for best mesh Wi-Fi,discounted Columbia winter gear and savings on cookware from Sur La Table. All that and more below.

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 Mesh Wi-Fi System, plus two extenders. The highly rated bundle is back down to $195 (its lowest price ever) and 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.

Sur La TableSur La Table

Spending time inside this winter means plenty of time to refine your culinary skill set and perfect your favorite recipes, so if you’re looking for the necessary cooking implements, head over to Sur La Table. The retailer’s Things We Love Sale is on through Monday, so you can upgrade your pots, pans and more for up to 50% off.

Shop a variety of items on sale, and you’ll find discounts on everything from individual Dutch ovens, sauce pans and skillets to entire cookware sets. Top brands like Le Creuset, All-Clad, Staub, Nespresso and Scanpan are included in the promotion, so you can be sure that your new cookware is of excellent quality. Plus, super-cute Valentine’s Day wares are 20% off through Monday.

ColumbiaColumbia

Winter (and for some in the Northeast, a bomb cyclone) is officially here, but there’s still time to upgrade your outerwear — and other layers — at Columbia, where cold weather styles are up to 50% off at the Winter Sale. Hundreds of jackets, boots, base layers and more are among the deals, so you can take on any adventure this season.

Fitbit Charge 5Fitbit Charge 5

Those looking to get fit this year should pick up the Fitbit Charge 5 today since it’s down to $119.95 at Amazon — that’s $60 off its usual price and the biggest price drop yet. The newest Fitbit boasts seven full days of battery life and is built to track your steps, distance, sleep, hourly activity and calories burned, in addition to monitoring your heart rate. And thanks to a Daily Readiness Score, it even tells you whether your body is ready to work out or if you should take a recovery day. Read more about the device here.

Instant Pot Duo CrispInstant Pot Duo Crisp

One of the most feature-filled Instant Pot models is the famous Instant Pot Duo Crisp, which gets even better with the addition of an air fryer to its long list of programs. Speaking of, there are 11 one-touch cooking settings that include air frying with EvenCrisp technology, thanks to the included air fryer lid, plus slow cooking, roasting, steaming and dehydrating. Now the 6-quart model is on sale at Target for almost 50% off the original price. Shop soon before this deal gets eaten up.

• Save 25% off your Valentine’s Day flowers from 1800Flowers with the promo code CUPID25 at checkout — shop all the eligible arrangements and gifts here.

• Woot! is having a great sale on The North Face gear, including up to 46% off jackets, T-shirts, fleece and more.

• Bissell’s aptly named Little Green Spot Cleaner gets spots and stains out of rugs, couches, carpets and car interiors, and now it’s on sale at Walmart for just $89.

Kasa Smart Plugs compatible with Alexa and Google Home are on sale on Amazon for $10.79 per two-pack when you apply the promo code 40KASAPLUGS at checkout.

Hedley & Bennett’s stylish yet utilitarian aprons are buy one, get one free through Feb. 5 with code BOGO50.

• Save 10% on your $50-or-more purchase of Crocs at the store’s site, where you can shop the full range of styles and colors.

• K-beauty retailer Soko Glam’s Lunar New Year sale is seriously good shopping — refresh your skin care for the rest of the winter before the deals end.

Ban.do’s colorful accessories and home goods are all 20% off right now — or spend $50 and receive $25 off. Either way, it’s a great time to shop this poppy, fun collection.

• Score Under Armour fleece for just $25 with the code FLEECEFOR25 at checkout — and you can score accessories for $15 too with the code COLDFOR15.

• This frankly adorable Smoko dumpling light is just $7.88 at Walmart right now.

Roam The Jaunt Carry-On Bag Roam The Jaunt Carry-On Bag

Before you head out on your next trip, stock up on discounted luggage from Roam’s End-of-Season Sale. All hardside luggage from the brand, including expandables, is up to 40% off. When we tested out Roam’s hardside carry-on, we found the bag to be lightweight, roomy and, ultimately, expertly designed. Read more of our thoughts on the totally customizable brand here.

1Password

In this day and age of apps and online services galore, a password manager is a must-have, especially because reusing a password makes you more vulnerable in case of a data breach. That’s where 1Password, our pick for best password manager, comes in — and right now it’s half off for the first year for families when you use code CNN22, bringing the yearly cost down to $29.94. 1Password securely stores your information and even generates complex passwords for you when you create new accounts, plus it offers handy features like integration across platforms and a browser extension. Read more about why we love it here.

Amazon

Whether you’re looking to nama-stay in shape or just Zen out, a good yoga mat is an essential part of a great yoga practice. And right now our pick for best thick yoga mat is 25% off at Amazon — savings like that are particularly soothing for both mind and wallet. This PVC mat boasts 6 millimeters of cushion and features a deep texture that ensures a nonslip surface, all at a very affordable price. Read more here.

Martha Stewart Collection Enameled Cast Iron CookwareMartha Stewart Collection Enameled Cast Iron Cookware

Macy’s is marking down nearly 50,000 items (yes, you read that right) for the home at The Big Home Sale — from kitchen appliances and mattresses to towels, sheets and more — by up to 65%. There’s no code necessary to get the lower prices on top brands like Martha Stewart Collection, Ralph Lauren, Cuisinart and more. Browse through all the deals by Feb. 1 to score the savings, though you have until Feb. 14 to snag a deal on furniture and mattresses.

Gift Cards at Best BuyGift Cards at Best Buy

Savings on gift cards is almost like free money, and right now Best Buy is marking down a variety of $100 and $50 gift cards by $10 and $5, respectively. Scoop up savings on gift cards for Uber (which can be used for Uber Eats), Lyft, Chipotle, Southwest Airlines and more. Check out all the gift card deals here.

Blue Bottle

Fans of a bold cup of joe, look no further than this deal on a subscription from Blue Bottle Coffee, our pick for best coffee subscription service following a jittery two months of comprehensive sampling. Now through Sunday, new subscribers get $5 off on their first subscription bag for all espresso coffees automatically applied at checkout. Every week, you’ll receive a bag of whole beans to grind up and sip on — when we tried Blue Bottle’s offerings, we loved nearly every single variety we tried. And freshness isn’t an issue either; each bag is sent from the brand’s roastery to your door no more than 48 hours after roasting. (Not to mention, shipping is free.)

Amazon

Thanks to this Amazon deal, you can get the last notebook you’ll ever need at an ultra-low price. Rocketbook is the pinnacle of reusable notebooks, and you can snag a legal pad version for its lowest price ever.

With Rocketbook, you can ensure your ideas live on forever in the cloud. Save your handwritten notes to Google Drive, Dropbox, Evernote, OneNote, Slack, iCloud, email and more using the free Rocketbook app. Plus, AI technology allows you to use Rocketbook’s smart titles, smart search and email transcription to organize your notes more easily. As you write, be sure to allow 15 seconds for the ink from any pen, marker or highlighter to bond to Rocketbook’s pages. Then, when all the pages are filled, simply wipe clean with a damp cloth and start from scratch.

Reebok Nano X and X1

Reebok NanoReebok Nano

Kick up your heels for this deal on Reebok’s beloved Nano sneakers. The Nano X is 50% off, while the Nano X1 is 40% off when you use code NANOSTEAL at checkout for a limited time. These top training shoes for both men and women offer lightweight, responsive cushioning, stability and durable stretch to handle even your toughest days at the gym, so snag them in the colorway of your choosing for less while they’re on sale.

Tushy

Now’s the perfect time to take the plunge if you’ve been feeling bidet-curious. Tushy, the Instagram-famous bidet company, is currently offering its Classic 2.0 model (the previous version of our pick for best bidet) for $52.06 at Amazon right now. The bidet itself is easy to install and fits snugly under your toilet seat. We found the adjustable nozzle and sleek aesthetic to be a bathroom game changer, and you can read our full review here.

Apple

Apple’s famed true wireless earbuds are back down to a great price on Amazon. Right now you can score your very own pair of AirPods Pro — complete with wireless charging case, active noise cancellation, Transparency mode, Adaptive EQ and all the other features you know and love — for just $179.99. In addition, Apple’s second-generation AirPods are down to $99.99 and still a great option for many.

Jall Wooden Digital Alarm Clock Jall Wooden Digital Alarm Clock

Wake up and save on our pick for best alarm clock, the Jall Wooden Digital Alarm Clock, back down to its all-time low price. We loved this clock for its simplicity; it doesn’t have any superfluous bells and whistles to get in the way of your seamless wake-up call in the form of a loud (but not too loud) beep.

Thousand Fell

Up the sustainability factor of your footwear with Thousand Fell. The brand makes chic sneakers from entirely recyclable and biodegradable materials — and now you can snag a pair of your own for even less. Use the exclusive code CNN25 to take 25% off sneakers sitewide. Best of all, once you’ve worn out your new kicks, you can return them to Thousand Fell to be recycled and receive a discount on your next pair.

Listen up: Our pick for best on-ear headphones, the Beats Solo 3, is on sale in a range of colors at Amazon. In our comprehensive test, we found their sound quality to be just as impressive as their looks, not to mention these cans are light and comfortable to wear. Pick up a pair in matte black, rose gold or citrus red before the price goes back up tomorrow.

Chamberlain

Up the intelligence of your garage with the myQ Chamberlain Smart Garage Control, now under $20 on Amazon. Our pick for best smart garage door controller, myQ can manage up to two garage doors, and the wireless hub makes it super easy to install. Not to mention, you’ll never be left wondering if you accidentally left the garage door open again.

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 15% off when you clip the on-page coupon at Amazon. Sounds like a pretty great deal to us.

Steelcase

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 $362.98 — more than $100 off its usual price tag and the lowest price we’ve seen in months — in select colors, including neutral Licorice.

(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/28/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/28/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/28/cnn-underscored/best-online-sales-right-now/undefined”!=typeof document?document.createElement(“a”):{href:””,hostname:””,pathname:””};e.href=”https://www.cnn.com/2022/01/28/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/28/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/28/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