//tealium universal tag - utag.1352 ut4.0.202512032103, Copyright 2025 Tealium.com Inc. All Rights Reserved. var braze=braze||{};var brazeQueue=brazeQueue||[];+function(a,p,P,b,y){a.braze={};a.brazeQueue=[];for(var s="BrazeSdkMetadata DeviceProperties Card Card.prototype.dismissCard Card.prototype.removeAllSubscriptions Card.prototype.removeSubscription Card.prototype.subscribeToClickedEvent Card.prototype.subscribeToDismissedEvent Card.fromContentCardsJson ImageOnly CaptionedImage ClassicCard ControlCard ContentCards ContentCards.prototype.getUnviewedCardCount Feed Feed.prototype.getUnreadCardCount ControlMessage InAppMessage InAppMessage.SlideFrom InAppMessage.ClickAction InAppMessage.DismissType InAppMessage.OpenTarget InAppMessage.ImageStyle InAppMessage.Orientation InAppMessage.TextAlignment InAppMessage.CropType InAppMessage.prototype.closeMessage InAppMessage.prototype.removeAllSubscriptions InAppMessage.prototype.removeSubscription InAppMessage.prototype.subscribeToClickedEvent InAppMessage.prototype.subscribeToDismissedEvent InAppMessage.fromJson FullScreenMessage ModalMessage HtmlMessage SlideUpMessage User User.Genders User.NotificationSubscriptionTypes User.prototype.addAlias User.prototype.addToCustomAttributeArray User.prototype.addToSubscriptionGroup User.prototype.getUserId User.prototype.getUserId User.prototype.incrementCustomUserAttribute User.prototype.removeFromCustomAttributeArray User.prototype.removeFromSubscriptionGroup User.prototype.setCountry User.prototype.setCustomLocationAttribute User.prototype.setCustomUserAttribute User.prototype.setDateOfBirth User.prototype.setEmail User.prototype.setEmailNotificationSubscriptionType User.prototype.setFirstName User.prototype.setGender User.prototype.setHomeCity User.prototype.setLanguage User.prototype.setLastKnownLocation User.prototype.setLastName User.prototype.setPhoneNumber User.prototype.setPushNotificationSubscriptionType InAppMessageButton InAppMessageButton.prototype.removeAllSubscriptions InAppMessageButton.prototype.removeSubscription InAppMessageButton.prototype.subscribeToClickedEvent FeatureFlag FeatureFlag.prototype.getStringProperty FeatureFlag.prototype.getNumberProperty FeatureFlag.prototype.getBooleanProperty FeatureFlag.prototype.getImageProperty FeatureFlag.prototype.getJsonProperty FeatureFlag.prototype.getTimestampProperty automaticallyShowInAppMessages destroyFeed hideContentCards showContentCards showFeed showInAppMessage deferInAppMessage toggleContentCards toggleFeed changeUser destroy getDeviceId getDeviceId initialize isPushBlocked isPushPermissionGranted isPushSupported logCardClick logCardDismissal logCardImpressions logContentCardImpressions logContentCardClick logCustomEvent logFeedDisplayed logInAppMessageButtonClick logInAppMessageClick logInAppMessageHtmlClick logInAppMessageImpression logPurchase openSession requestPushPermission removeAllSubscriptions removeSubscription requestContentCardsRefresh requestFeedRefresh refreshFeatureFlags requestImmediateDataFlush enableSDK isDisabled setLogger setSdkAuthenticationSignature addSdkMetadata disableSDK subscribeToContentCardsUpdates subscribeToFeedUpdates subscribeToInAppMessage subscribeToSdkAuthenticationFailures toggleLogging unregisterPush wipeData handleBrazeAction subscribeToFeatureFlagsUpdates getAllFeatureFlags logFeatureFlagImpression isInitialized".split(" "),i=0;i0){u.mapFunc(arr,obj[i],item);}else{obj[i]=item;}};u.hasOwn=function(o,a){return o!=null&&Object.prototype.hasOwnProperty.call(o,a);};u.isEmptyObject=function(o,a){for(a in o){if(u.hasOwn(o,a)){return false;}}return true;};u.toBoolean=function(val){val=val||"";return val===true||val.toLowerCase()==="true"||val.toLowerCase()==="on";};u.callBack=function(){var data={};while(data=u.queue.shift()){u.loader_cb();}};u.loader_cb=function(){utag.DB("send:1352:CALLBACK");u.initialized=true;var g={},i,_event,p;if(!u.isEmptyObject(u.data.initOpt)){var config={};if(u.data.initOpt.allow_crawler){config.allowCrawlerActivity=u.toBoolean(u.data.initOpt.allow_crawler);} if(u.data.initOpt.allow_user_supplied_javascript){config.allowUserSuppliedJavascript=u.toBoolean(u.data.initOpt.allow_user_supplied_javascript);} if(u.data.initOpt.app_ver){config.appVersion=u.data.initOpt.app_ver;} if(u.data.initOpt.base_url){config.baseUrl=u.data.initOpt.base_url;} if(u.data.initOpt.no_cookies){config.noCookies=u.toBoolean(u.data.initOpt.no_cookies);} if(u.data.initOpt.no_fntawsm){config.doNotLoadFontAwesome=u.toBoolean(u.data.initOpt.no_fntawsm);} if(u.data.initOpt.enable_logging){config.enableLogging=u.toBoolean(u.data.initOpt.enable_logging);} if(u.data.initOpt.localization){config.localization=u.data.initOpt.localization;} if(u.data.initOpt.min_trggrinterval){config.minimumIntervalBetweenTriggerActionsInSeconds=u.data.initOpt.min_trggrinterval;} if(u.data.initOpt.msg_innewtab){config.openInAppMessagesInNewTab=u.toBoolean(u.data.initOpt.msg_innewtab);} if(u.data.initOpt.card_innewtab){config.openCardsInNewTab=u.toBoolean(u.data.initOpt.card_innewtab);} if(u.data.initOpt.explicit_dissmisal){config.requireExplicitInAppMessageDismissal=u.toBoolean(u.data.initOpt.explicit_dissmisal);} if(u.data.initOpt.safari_pushid){config.safariWebsitePushId=u.data.initOpt.safari_pushid;} if(u.data.initOpt.srvcewrkr_location){config.serviceWorkerLocation=u.data.initOpt.srvcewrkr_location;} if(u.data.initOpt.session_timeout){config.sessionTimeoutInSeconds=u.data.initOpt.session_timeout;} if(u.data.initOpt.devicePropertyAllowlist){config.devicePropertyAllowlist=u.data.initOpt.devicePropertyAllowlist;} if(u.data.initOpt.enableSdkAuthentication){config.enableSdkAuthentication=u.toBoolean(u.data.initOpt.enableSdkAuthentication);} if(u.data.initOpt.content_security_nonce){config.contentSecurityNonce=u.data.initOpt.content_security_nonce;} if(u.data.initOpt.disable_push_token_maintenance){config.disablePushTokenMaintenance=u.toBoolean(u.data.initOpt.disable_push_token_maintenance);} if(u.data.initOpt.in_app_message_zindex){config.inAppMessageZIndex=u.data.initOpt.in_app_message_zindex;} if(u.data.initOpt.manage_service_worker_externally){config.manageServiceWorkerExternally=u.toBoolean(u.data.initOpt.manage_service_worker_externally);} if(u.data.initOpt.open_cards_in_new_tab){config.openCardsInNewTab=u.toBoolean(u.data.initOpt.open_cards_in_new_tab);} if(u.data.initOpt.app_ver_num){config.appVersionNumber=u.data.initOpt.app_ver_num;} if(u.data.initOpt.device_id){config.deviceId=u.data.initOpt.device_id;} if(u.data.initOpt.srvcewrkr_scope){config.serviceWorkerScope=u.data.initOpt.srvcewrkr_scope;} if(u.data.initOpt.custom){Object.keys(u.data.initOpt.custom).map(function(param){config[param]=u.data.initOpt.custom[param];});} braze.initialize(u.data.api_key,config);}else{braze.initialize(u.data.api_key);} braze.addSdkMetadata([braze.BrazeSdkMetadata.TEALIUM]);if(utag_data.disable_braze_ibm===undefined||utag_data.disable_braze_ibm===null){braze.automaticallyShowInAppMessages();}else{} const brazeuuidParams=new URLSearchParams(window.location.search);if(brazeuuidParams.has('braze_uuid')){braze.changeUser(brazeuuidParams.get('braze_uuid'));}else if(u.data.customer_id){braze.changeUser(u.data.customer_id);} braze.openSession();if(Array.isArray(tealiumConsentRegister?.currentDecision)&&tealiumConsentRegister.currentDecision.includes('4')){for(i=0;i-1)){b['braze_ecom_action']='liveperson'}}catch(e){utag.DB(e);}},function(a,b){try{if((typeof b['event_name']!='undefined'&&b['event_name'].toString().toLowerCase()=='bambuser'.toLowerCase())){b['braze_ecom_action']='livestream';b['vendor']='bambuser'}}catch(e){utag.DB(e);}},function(a,b){try{if((typeof b['event_name']!='undefined'&&b['event_name'].toString().toLowerCase()=='read_write_review'.toLowerCase()&&typeof b['event_action']!='undefined'&&/(Review - Write - End|review_write_submit)/g.test(b['event_action']))){b['braze_ecom_action']='submit_product_review';b['braze_product_reviewed']=b['event_label']}}catch(e){utag.DB(e);}},function(a,b){try{if((typeof b['event_name']!='undefined'&&b['event_name'].toString().toLowerCase()=='remove_from_bag'.toLowerCase())){b['braze_product_id']=b['product_id'];b['braze_product_price']=b['product_price'];b['braze_product_size']=b['product_size'];b['braze_product_name']=b['product_name'];b['braze_product_shade']=b['product_shade'];b['braze_product_product_code']=b['product_product_code'];b['braze_product_category']=b['product_category'];b['braze_ecom_action']='remove_from_bag'}}catch(e){utag.DB(e);}},function(a,b){try{if((typeof b['page_type']!='undefined'&&b['page_type'].toString().toLowerCase()=='product'.toLowerCase()&&typeof b['product_id']!='undefined'&&typeof b['product_id']!='undefined'&&b['product_id']!=''&&b['ut.event'].toString().toLowerCase()=='view'.toLowerCase())||(typeof b['event_name']!='undefined'&&/(product_detail|mpp_qv|quickview)/.test(b['event_name']))){b['braze_product_id']=b['product_id'];b['braze_product_price']=b['product_price'];b['braze_product_size']=b['product_size'];b['braze_product_name']=b['product_name'];b['braze_product_shade']=b['product_shade'];b['braze_product_product_code']=b['product_product_code'];b['braze_product_category']=b['product_category'];b['braze_ecom_action']='view_item'}}catch(e){utag.DB(e);}},function(a,b){try{if((typeof b['page_type']!='undefined'&&/(home|category|mpp)/.test(b['page_type'])&&b['ut.event'].toString().toLowerCase()=='view'.toLowerCase())){b['braze_ecom_action']='viewed_category_page'}}catch(e){utag.DB(e);}},function(a,b){try{if((typeof b['event_name']!='undefined'&&b['event_name'].toString().toLowerCase()=='add_to_bag'.toLowerCase())){b['braze_product_id']=b['product_id'];b['braze_product_price']=b['product_price'];b['braze_product_size']=b['product_size'];b['braze_product_name']=b['product_name'];b['braze_product_shade']=b['product_shade'];b['braze_product_product_code']=b['product_product_code'];b['braze_product_category']=b['product_category'];b['braze_ecom_action']='add_to_bag'}}catch(e){utag.DB(e);}},function(a,b){try{if((typeof b['event_name']!='undefined'&&b['event_name'].toString().toLowerCase()=='signin'.toLowerCase())||(typeof b['platform']!='undefined'&&b['platform'].toString().toLowerCase()=='modernized/bifrost'.toLowerCase()&&b['ut.event'].toString().toLowerCase()=='view'.toLowerCase()&&b['dom.pathname'].toString().indexOf('/checkout/shipping-address')>-1&&typeof b['page_type']!='undefined'&&b['page_type'].toString().toLowerCase()=='checkout'.toLowerCase())){b['braze_ecom_action']='signin'}}catch(e){utag.DB(e);}},function(a,b,c,d,e,f,g){if(1){d=b['country_code'];if(typeof d=='undefined')return;c=[{'at':'https://sdk.fra-01.braze.eu/api/v3'},{'au':'https://sdk.fra-01.braze.eu/api/v3'},{'be':'https://sdk.fra-01.braze.eu/api/v3'},{'ca':'https://sdk.iad-06.braze.com/api/v3'},{'ch':'https://sdk.fra-01.braze.eu/api/v3'},{'de':'https://sdk.fra-01.braze.eu/api/v3'},{'es':'https://sdk.fra-01.braze.eu/api/v3'},{'fr':'https://sdk.fra-01.braze.eu/api/v3'},{'gr':'https://sdk.fra-01.braze.eu/api/v3'},{'it':'https://sdk.fra-01.braze.eu/api/v3'},{'jp':'https://sdk.fra-01.braze.eu/api/v3'},{'kr':'https://sdk.fra-01.braze.eu/api/v3'},{'mx':'https://sdk.iad-06.braze.com/api/v3'},{'nl':'https://sdk.fra-01.braze.eu/api/v3'},{'tr':'https://sdk.fra-01.braze.eu/api/v3'},{'uk':'https://sdk.fra-01.braze.eu/api/v3'},{'us':'https://sdk.iad-06.braze.com/api/v3'},{'cn':'https://sdk.fra-01.braze.eu/api/v3'},{'hk':'https://sdk.fra-01.braze.eu/api/v3'},{'il':'https://sdk.fra-01.braze.eu/api/v3'},{'in':'https://sdk.fra-01.braze.eu/api/v3'},{'ru':'https://sdk.fra-01.braze.eu/api/v3'},{'th':'https://sdk.fra-01.braze.eu/api/v3'},{'tw':'https://sdk.fra-01.braze.eu/api/v3'},{'za':'https://sdk.fra-01.braze.eu/api/v3'},{'br':'https://sdk.iad-06.braze.com/api/v3'},{'cl':'https://sdk.iad-06.braze.com/api/v3'},{'cz':'https://sdk.fra-01.braze.eu/api/v3'},{'dk':'https://sdk.fra-01.braze.eu/api/v3'},{'fi':'https://sdk.fra-01.braze.eu/api/v3'},{'hu':'https://sdk.fra-01.braze.eu/api/v3'},{'my':'https://sdk.fra-01.braze.eu/api/v3'},{'no':'https://sdk.fra-01.braze.eu/api/v3'},{'nz':'https://sdk.fra-01.braze.eu/api/v3'},{'pl':'https://sdk.fra-01.braze.eu/api/v3'},{'ro':'https://sdk.fra-01.braze.eu/api/v3'},{'se':'https://sdk.fra-01.braze.eu/api/v3'},{'eu':'https://sdk.fra-01.braze.eu/api/v3'},{'ksa':'https://sdk.fra-01.braze.eu/api/v3'},{'kw':'https://sdk.fra-01.braze.eu/api/v3'},{'me':'https://sdk.fra-01.braze.eu/api/v3'},{'pt':'https://sdk.fra-01.braze.eu/api/v3'},{'qa':'https://sdk.fra-01.braze.eu/api/v3'},{'uae':'https://sdk.fra-01.braze.eu/api/v3'},{'sa':'https://sdk.fra-01.braze.eu/api/v3'},{'ae':'https://sdk.fra-01.braze.eu/api/v3'}];var m=false;for(e=0;e