PageSourceSearch

https://www.citiesocial.com/cdn/shop/t/18/assets/tracking.bundle.js?v=79043891496028990121788229861

js citiesocial.com collected 2026-09-24 17:39:30 UTC 24,119 bytes, 1 lines download raw bytes

1(self.webpackChunkcitiesocial_theme=self.webpackChunkcitiesocial_theme||[]).push([[60],{20974:()=>{window.rtbHouseTracking={homePage(){(rtbhEvents=window.rtbhEvents||[]).push({eventType:"home"},{eventType:"uid",id:Citiesocial.userManager.getCustomer()?.id.toString()||"unknown"})},categoryPage(t){(rtbhEvents=window.rtbhEvents||[]).push({eventType:"category",categoryId:`${t}`},{eventType:"uid",id:Citiesocial.userManager.getCustomer()?.id.toString()||"unknown"})},productPage(t){(rtbhEvents=window.rtbhEvents||[]).push({eventType:"offer",offerId:`${t}`},{eventType:"uid",id:Citiesocial.userManager.getCustomer()?.id.toString()||"unknown"})},addToFavorite(t){(rtbhEvents=window.rtbhEvents||[]).push({eventType:"wishlist",offerId:`${t}`},{eventType:"uid",id:Citiesocial.userManager.getCustomer()?.id.toString()||"unknown"})},addToCart(t){(rtbhEvents=window.rtbhEvents||[]).push({eventType:"basketadd",offerId:`${t}`},{eventType:"uid",id:Citiesocial.userManager.getCustomer()?.id.toString()||"unknown"})},cartStatus(t){(rtbhEvents=window.rtbhEvents||[]).push({eventType:"basketstatus",offerIds:t},{eventType:"uid",id:Citiesocial.userManager.getCustomer()?.id.toString()||"unknown"})},searchResults(t){(rtbhEvents=window.rtbhEvents||[]).push({eventType:"listing",offerIds:t},{eventType:"uid",id:Citiesocial.userManager.getCustomer()?.id.toString()||"unknown"})},orderStart(){(rtbhEvents=window.rtbhEvents||[]).push({eventType:"startorder"},{eventType:"uid",id:Citiesocial.userManager.getCustomer()?.id.toString()||"unknown"})}}},47986:()=>{window.dataLayer=window.dataLayer||[],window.gtmTrackingUtil={itemClick(t,e){dataLayer.push({event:t,"cs-tracking-title":e})},sendIfVerify(){const t=Citiesocial.utils.getCookie("__randomForVerification"),e=Citiesocial.utils.getCookie("__isVerified");t&&(dataLayer.push({event:"send_verification",isVerified:e}),Citiesocial.utils.setCookie("__randomForVerification","",-1))}}},63539:(t,e,i)=>{"use strict";i(47986),i(82196),i(98162),i(76853),i(20974),i(88416)},76853:()=>{window.personalizationAnalysis={getProductType(){const t=window.liquidObjectDataForTracking.ProductView?.type;return t?{早鳥:"early_bird",閃購:"flash_sale",長銷:"regular"}[t]:""},async postInteractionData(t,e=null){if(!Citiesocial.authManager.getAccessToken())return!1;const i=Citiesocial.utils.parseJwt(Citiesocial.authManager.getIdToken()),o={ProductID:await this.getProductId(e||window.meta.product.id),UserID:i.id,ProductType:this.getProductType(),ActionType:t,DeviceType:Citiesocial.getDeviceType(),OS:Citiesocial.getOS(),Platform:"web",GroupID:0,Campaign:"",Timestamp:(new Date).toISOString()};return $.ajax({type:"POST",url:"https://cs-recommendations-system.citiesocial.com/api/Preference/PostInteractionData/",headers:{"Content-Type":"application/json"},data:JSON.stringify(o)}),!0},async getProductId(t){const e=await fetch(`${PY3_API_BASE_URL}/api/v1.1/product/by-shopify-id/${t}/?fields=id`);return(await e.json()).id||{}}},document.addEventListener("DOMContentLoaded",()=>{window.location.pathname.includes("/products/")&&window.personalizationAnalysis.postInteractionData("browse")})},82196:()=>{!function(){function t(t){return new URLSearchParams(window.location.search).get(t)}const e=({payload:t,next:e})=>{try{const e=function(){try{const t=Citiesocial.utils.getCookie(FIRST_TOUCH_UTM_COOKIE_NAME);return t?Citiesocial.utils.safeJsonParse(t):null}catch(t){return console.error("[FirstTouchUTM] Error parsing first touch data:",t),null}}();e&&(t.obj.properties=t.obj.properties||{},Object.keys(e).forEach(i=>{i in t.obj.properties||(t.obj.properties[i]=e[i])}))}catch(t){console.error("[FirstTouchUTM] Error in middleware:",t)}e(t)};window.FirstTouchUTM={init:function(){(function(){if(t("utm_source")||t("utm_medium")||t("utm_campaign")||t("utm_term")||t("utm_content")){const e=function(){const e={utm_source:t("utm_source"),utm_medium:t("utm_medium"),utm_campaign:t("utm_campaign"),utm_term:t("utm_term"),utm_content:t("utm_content")};return Object.keys(e).forEach(t=>{null!==e[t]&&void 0!==e[t]||delete e[t]}),e}(),i=new Date,o=new Date(i.getTime()+864e5);
1Citiesocial.utils.setCookie(FIRST_TOUCH_UTM_COOKIE_NAME,Citiesocial.utils.safeJsonStringify(e),o)}})(),window.analytics&&window.analytics.addSourceMiddleware&&window.analytics.addSourceMiddleware(e)}}}()},88416:()=>{function t(){return(new Date).toISOString().slice(0,10).replace(/-/g,"")}function e(){return window.location.pathname.split("/").pop()}!function(){const i=function(){const i=window.document.referrer&&new URL(window.document.referrer).hostname,o=e();return!["www.citiesocial.com","citiesocial.com"].includes(i)&&o.startsWith("landing-")?{landing_handle:o,landing_type:window.shop.template,landing_cohort:t()}:{}}(),o=function(){const i=t(),o=e();return window.localStorage.getItem("initialVisitCohort")!==i?(n=i,window.localStorage.setItem("initialVisitCohort",n),{initial_visit_handle:o,initial_visit_type:window.shop.template,initial_visit_cohort:i}):{};var n}(),n=function(){const t=window.location.href,e=new URL(t),i=new URLSearchParams(e.search).get("register_from");return i?{register_from:i}:{}}();window.analytics.identify({...i,...o,...n})}()},98162:()=>{window.segmentTracking={commonInfo:{device:Citiesocial.getDeviceType(),os:Citiesocial.getOS(),shopify_user_id:Citiesocial.getUserId(),user_id:sessionStorage.getItem("cs_userId"),platform:Citiesocial.utils.isApp()?"app":"web",url:window.location.href,path:window.location.pathname,login_status:Citiesocial.userManager.getLoginStatus(),is_in_webview:Citiesocial.utils.isWebview(),browser:Citiesocial.utils.detectInAppBrowser(),referrer_path:Citiesocial.utils.getReferrerPath(),path_decode:decodeURIComponent(window.location.pathname),referrer_path_decode:decodeURIComponent(Citiesocial.utils.getReferrerPath()),url_decode:decodeURIComponent(window.location.href),group:Citiesocial.testManager.getABTestGroup(),group_a3_b7:Citiesocial.testManager.getABTestGroupA3B7(),group_abcd:Citiesocial.testManager.getABCDTestGroup(),group_cart_add_on:Citiesocial.testManager.getCartAddOnABTestGroup(),group_ai_assistant:Citiesocial.testManager.getAiAssistantTestGroup()},transformProductType(t){switch(t){case"add_on_product":return"add_on";case"exclusive_product":return"exclusive";default:return"standard"}},async productViewed(t){const e=await Citiesocial.productManager.getCsProduct(t.product_id),{availableShippingMethodTitles:i,availableShippingMethodTypes:o,hasConvenienceStorePickupMethod:n}=Citiesocial.productManager.getAvailableShippingMethods(e.variants),a=Citiesocial.utils.getUrlVars().ref_type||sessionStorage.getItem("refer_type");window.analytics.track("Product Viewed",{product_id:e.id,shopify_product_id:t.product_id,category:e.category?.menu_collection.title,sku:t.sku,name:e.title,type:e.campaign_type,brand:e.brand_internal,price:t.price,quantity:1,currency:t.currency,refer_title:Citiesocial.utils.getUrlVars().ref,refer_type:a,level_one_category_name:e.category?.primary_group.title,level_two_category_name:e.category?.collection_group.title,level_three_category_name:e.category?.menu_collection.title,product_type:this.transformProductType(e.product_type),has_convenience_store_pickup_method:n,shipping_method_title:i,shipping_method_type:o,...this.commonInfo}),sessionStorage.removeItem("refer_type")},productClick(t){window.analytics.track("Product Clicked",{shopify_product_id:t.product_id,name:t.title,refer:t.refer,type:t.type,...this.commonInfo})},productModalViewed(t){window.analytics.track("Product Modal Viewed",{...this.commonInfo,...t})},productModalClicked(t){window.analytics.track("Product Modal Clicked",{...this.commonInfo,...t})},exclusiveProductSubscribeClicked(t){window.analytics.track("Exclusive Product Subscribe Clicked",{...this.commonInfo,...t})},async productAdded(t){const e=await Citiesocial.productManager.getCsVariants([t.variant_id]),i=t?.properties?._shipping_method_title,o=t?.properties?._shipping_method_type,n=void 0!==o?"convenience_store_pickup"===o:void 0,a=$(".cs-productItem-quickAddWrapper-button").length?"modal_page":"normal_page";window.analytics.track("Product Added",{shopify_variant_id:t.variant_id,shopify_product_id:t.product_id,category:e[t.variant_id].product.category?.menu_collection.title,variant_id:e[t.variant_id].id,product_id:e[t.variant_id].product.id,sku:t.sku,name:e[t.variant_id].product.title,variant:e[t.variant_id].title,name_variant:`${e[t.variant_id].product.title} ${e[t.variant_id].title}`.trimEnd(),brand:t.vendor,price:t.final_price/100,quantity:t.quantity,type:e[t.variant_id].product.campaign_type,currency:t.currency,button_type:"add_to_cart",level_one_category_name:e[t.variant_id].product.category?.primary_group.title,level_two_category_name:e[t.variant_id].product.category?.collection_group.title,level_three_category_name:e[t.variant_id].product.category?.menu_collection.title,product_page_type:a,product_type:this.transformProductType(t?.product_type),has_convenience_store_pickup_method:n,shipping_method_title:i,shipping_method_type:o,...this.commonInfo}),"/account"===window.location.pathname&&this.wishlistProductAddedToCart(t)},async productAddedWithOneClickCheckout({variantId:t,hasDefaultAddress:e,quantity:i,properties:o}){const n=window.cs_products||await Citiesocial.productManager.getCsVariants([t]),a=o?._shipping_method_title,c=o?._shipping_method_type,r=void 0!==c?"convenience_store_pickup"===c:void 0,d=$(".cs-productItem-quickAddWrapper-button").length?"modal_page":"normal_page";window.analytics.track("Product Added",{shopify_variant_id:n[t].shopify_variant_id,shopify_product_id:n[t].product.shopify_product_id,category:n[t].product.category?.menu_collection.title,variant_id:n[t].id,product_id:n[t].product.id,sku:n[t].sku,name:n[t].product.title,variant:n[t].title,name_variant:`${n[t].product.title} ${n[t].title}`.trimEnd(),brand:n[t].product.brand.name_internal,price:n[t].price,quantity:i,type:n[t].product.campaign_type,button_type:"one_click_checkout",has_default_address:e,product_page_type:d,has_convenience_store_pickup_method:r,shipping_method_title:a,shipping_method_type:c,...this.commonInfo}),"/account"===window.location.pathname&&this.wishlistProductAddedToCart(n)},async cartViewed(t){const e=t.map(t=>t.shopify_variant_id);if(0===e.length)return void window.analytics.track("Cart Viewed",{...this.commonInfo});const i=await Citiesocial.productManager.getCsVariants(e),o=t.map(t=>{const e=i[t.shopify_variant_id];return{name:e.product.title,variant:e.title,name_variant:`${e.product.title} ${e.title}`.trimEnd(),variant_id:e.id.toString(),product_id:e.product.id.toString(),category:e.product.category?.menu_collection.title,type:e.product.campaign_type}});window.analytics.track("Cart Viewed",{updatedProducts:o,...this.commonInfo})},async productAddedToWishlist(t){const e=await Citiesocial.productManager.getCsProduct(t.product_id);window.analytics.track("Product Added to Wishlist",{shopify_product_id:t.product_id,name:e.title,type:e.campaign_type,product_id:e.id,...this.commonInfo})},async productRemovedFromWishlist(t){const e=await Citiesocial.productManager.getCsProduct(t.product_id);window.analytics.track("Product Removed from Wishlist",{shopify_product_id:t.product_id,name:e.title,type:e.campaign_type,product_id:e.id,...this.commonInfo})},async wishlistProductAddedToCart(t){const e=await Citiesocial.productManager.getCsProduct(t.product_id);window.analytics.track("Wishlist Product Added To Cart",{shopify_product_id:t.product_id,sku:t.sku,name:t.title,type:e.campaign_type,brand:t.vendor,price:t.final_price/100,quantity:t.quantity,currency:t.currency,...this.commonInfo})},accountView(t){window.analytics.track("Account View",{page:t,...this.commonInfo})},accountButtonClicked(t){window.analytics.track("Account Button Clicked",{type:t,...this.commonInfo}),sessionStorage.setItem("account_button_clicked",t)},accountSuccess(t){const e=localStorage.getItem("welfare-committee")||void 0,i=localStorage.getItem("is-from-asian-games-2023")||void 0,o=localStorage.getItem("is-from-chinese-new-year-lottery-2024")||void 0;if(t.includes("_登入")){const n=t.replace("_登入","");window.analytics.track("Login Success",{type:n,...this.commonInfo,welfare_committee:e,is_from_asian_games_2023:i,is_from_chinese_new_year_lottery_2024:o})}else if(t.includes("_註冊")){const n=t.replace("_註冊","");window.analytics.track("Register Success",{type:n,...this.commonInfo,welfare_committee:e,is_from_asian_games_2023:i,is_from_chinese_new_year_lottery_2024:o}
1),window._lt("send","cv",{type:"CompleteRegistration"},["e8f31b4a-196f-47ea-b140-0c4954426c79"]),window.fbq("track","Lead"),window.gtag("event","conversion",{send_to:"AW-805914877/yOIQCIX38IwZEP2RpYAD"})}sessionStorage.removeItem("account_button_clicked"),localStorage.removeItem("welfare-committee")},accountNavTabClicked(t){window.analytics.track("Account Nav Tab Clicked",{...this.commonInfo,...t})},accountCompanyVerificationSubmitted(){window.analytics.track("Account Company Verification Submitted",{...this.commonInfo})},productsSearched(t,e,i,o,n,a=null){n&&!/[\u3105-\u3129\u02CA\u02C7\u02CB\u02D9]/.test(n)&&window.analytics.track("Products Searched",{event:t,action:e,search_type:i,query:n,orderby:o,results_length:a,...this.commonInfo})},searchBarKeywordViewed(t){window.analytics.track("Search Bar Keyword Viewed",{...this.commonInfo,...t})},searchBarKeywordClicked(t){window.analytics.track("Search Bar Keyword Clicked",{...this.commonInfo,...t})},frequentlyBoughtTogether(t){window.analytics.track("Frequently Bought Together",{event:t,...this.commonInfo})},discoverMoreGoodStuffViewed(t){window.analytics.track("Discover More Good Stuff Viewed",{...this.commonInfo,...t})},discoverMoreGoodStuffClicked(t){window.analytics.track("Discover More Good Stuff Clicked",{...this.commonInfo,...t})},earlyBirdProjectClicked(t){window.analytics.track("Early Bird Project Clicked",{project_id:t,...this.commonInfo})},carouselView(t,e,i){let o="";"cayenne-ranking"===t&&(o=$(".carousel__header-sub-category.selected").text()),window.analytics.track("Carousel View",{collection:t,title:e,section_id:i,level_one_category_name:o,...this.commonInfo})},carouselClicked(t,e,i,o){let n="";"cayenne-ranking"===t&&(n=$(".carousel__header-sub-category.selected").text()),window.analytics.track("Carousel Clicked",{collection:t,title:e,section_id:i,clicked_type:o,level_one_category_name:n,...this.commonInfo})},addOnProductsViewed(t){window.analytics.track("Add-On Products Viewed",{...this.commonInfo,...t})},async addOnProductButtonClicked({title:t,product:e}){const i=await Citiesocial.productManager.getCsProduct(e.id);window.analytics.track("Add-On Product Button Clicked",{...this.commonInfo,title:t,product_id:i.id,shopify_product_id:e.id,category:i.category?.menu_collection.title,sku:e.sku,name:e.title,type:i.campaign_type,brand:i.brand,price:e.price,compare_at_price:e.compare_at_price,discount:e.discount,currency:e.currency,level_one_category_name:i.category?.primary_group.title,level_two_category_name:i.category?.collection_group.title,level_three_category_name:i.category?.menu_collection.title,product_type:this.transformProductType(i.product_type)})},navigationClicked(t){window.analytics.track("Header Bar Clicked",{type:t,...this.commonInfo})},navbarClicked(t){window.analytics.track("Navbar Clicked",{...this.commonInfo,...t})},sideMenuClicked(t){window.analytics.track("Header Bar Clicked",{type:t,...this.commonInfo})},menuBarClick(t){window.analytics.track("Menu Bar Click",{...this.commonInfo,...t})},customerCheckIn(t){window.analytics.track("Customer Check In",{count:t,...this.commonInfo})},customerJoinLottery(t){window.analytics.track("Customer Join Lottery",{count:t,...this.commonInfo})},topBannerClicked(t){window.analytics.track("Top Banner Clicked",{...t,...this.commonInfo})},topBannerViewed(t){window.analytics.track("Top Banner Viewed",{...t,...this.commonInfo})},topBarClicked(t){window.analytics.track("Top Bar Clicked",{...this.commonInfo,...t})},homepageTopicViewed(t){window.analytics.track("Homepage Topic Viewed",{...this.commonInfo,...t})},homepageTopicClicked(t){window.analytics.track("Homepage Topic Clicked",{...this.commonInfo,...t})},homepageCampaignBannerViewed(t){window.analytics.track("Homepage Campaign Banner Viewed",{...this.commonInfo,...t})},homepageCampaignBannerClicked(t){window.analytics.track("Homepage Campaign Banner Clicked",{...this.commonInfo,...t})},homepageViewsViewed(t){window.analytics.track("Homepage Views Viewed",{...this.commonInfo,...t})},homepageViewsClicked(t){window.analytics.track("Homepage Views Clicked",{...this.commonInfo,...t})},homepageVideoViewed(t){window.analytics.track("Homepage Video Viewed",{...this.commonInfo,...t})},homepageVideoClicked(t){window.analytics.track("Homepage Video Clicked",{...this.commonInfo,...t})},homepageVideoPaused(t){window.analytics.track("Homepage Video Paused",{...this.commonInfo,...t})},homepageVideoWatched(t){window.analytics.track("Homepage Video Watched",{...this.commonInfo,...t})},homepageVideoCTAButtonClicked(t){window.analytics.track("Homepage Video CTA Button Clicked",{...this.commonInfo,...t})},slideshowViewed(t){window.analytics.track("Slideshow Viewed",{...this.commonInfo,...t})},slideshowSwiped(t){window.analytics.track("Slideshow Swiped",{...this.commonInfo,...t})},videoViewed(t){window.analytics.track("Video Viewed",{...this.commonInfo,...t})},videoPlayed(t){window.analytics.track("Video Played",{...this.commonInfo,...t})},galleryViewed(t){window.analytics.track("Gallery Viewed",{...this.commonInfo,...t})},gallerySwiped(t){window.analytics.track("Gallery Swiped",{...this.commonInfo,...t})},csVIEWSViewed(t){window.analytics.track("CS-VIEWS Viewed",{...this.commonInfo,...t})},csVIEWSClicked(t){window.analytics.track("CS-VIEWS Clicked",{...this.commonInfo,...t})},seeMoreViewed(t){window.analytics.track("See More Viewed",{...this.commonInfo,...t})},seeMoreClicked(t){window.analytics.track("See More Clicked",{...this.commonInfo,...t})},exitIntentViewed(t){window.analytics.track("Exit Intent Viewed",{...t,...this.commonInfo})},exitIntentSubmitted(t){t.reason.length>0&&window.analytics.track("Exit Intent Submitted",{...t,...this.commonInfo})},levelOneCategoryTabChanged(t){window.analytics.track("Level One C
1ategory Tab Changed",{...t,...this.commonInfo})},productRemovedFromCart(t){window.analytics.track("Product Removed From Cart",{name:t.title,shopify_product_id:t.id,type:t.type,...this.commonInfo})},checkoutFailed(t){window.analytics.track("Checkout Failed",{...this.commonInfo,...t})},cartCreateUserErrors(t){window.analytics.track("Cart Create User Errors",{...this.commonInfo,...t})},checkoutStarted(t){window.analytics.track("Checkout Started",{has_default_address:t,...window.segmentTracking.commonInfo})},quickBuyButtonClicked(t){window.analytics.track("Quick Buy Button Clicked",{...this.commonInfo,...t})},quickBuyViewed(t){window.analytics.track("Quick Buy Viewed",{...this.commonInfo,...t})},couponViewButtonClicked(t){window.analytics.track("Coupon View Button Clicked",{...this.commonInfo,...t})},couponUsed(t){window.analytics.track("Coupon Used",{...this.commonInfo,...t})},couponUsedSuccess(t){window.analytics.track("Coupon Used Success",{...this.commonInfo,...t})},couponUsedFailed(t){window.analytics.track("Coupon Used Failed",{...this.commonInfo,...t})},shareProductClicked(t){window.analytics.track("Share Product Clicked",{...this.commonInfo,...t})},productDiscountInfoClicked(t){window.analytics.track("Product Discount Info Clicked",{...this.commonInfo,...t})},productDiscountInfoButtonClicked(t){window.analytics.track("Product Discount Info Button Clicked",{...this.commonInfo,...t})},productGuaranteeInfoClicked(t){window.analytics.track("Product Guarantee Info Clicked",{...this.commonInfo,...t})},productGuaranteeInfoButtonClicked(t){window.analytics.track("Product Guarantee Info Button Clicked",{...this.commonInfo,...t})},productNavigationClicked(t){window.analytics.track("Product Navigation Clicked",{...this.commonInfo,...t})},shippingInfoModalViewed(t){window.analytics.track("Shipping Info Modal Viewed",{...this.commonInfo,...t})},shippingInfoModalButtonClicked(t){window.analytics.track("Shipping Info Modal Button Clicked",{...this.commonInfo,...t})},checkoutShippingInfo(t){window.analytics.track("Checkout Shipping Info",{...this.commonInfo,...t})},phoneVerificationFailed(t){window.analytics.track("Phone Verification Failed",{...this.commonInfo,...t})},refreshTokenFailed(t){window.analytics.track("Refresh Token Failed",{...this.commonInfo,...t})},verifyTokenFailed(t){window.analytics.track("Verify Token Failed",{...this.commonInfo,...t})},eCardChooseCategory(t){window.analytics.track("ECard Choose Category",{...this.commonInfo,...t})},eCardChooseCardType(t){window.analytics.track("ECard Choose Card Type",{...this.commonInfo,...t})},eCardCompleted(t){window.analytics.track("ECard Completed",{...this.commonInfo,...t})},eCardButtonClicked(t){window.analytics.track("ECard Button Clicked",{...this.commonInfo,...t})},floatingCampaignBannerClicked(t){window.analytics.track("Floating Campaign Banner Clicked",{...this.commonInfo,...t})},cartDeliveryMethodSelectorOpened(t){window.analytics.track("Cart Delivery Method Selector Opened",{...this.commonInfo,...t})},cartDeliveryMethodChangeSubmitted(t){window.analytics.track("Cart Delivery Method Change Submitted",{...this.commonInfo,...t})},cartDeliveryValidationFailed(t){window.analytics.track("Cart Delivery Validation Failed",{...this.commonInfo,...t})}},document.addEventListener("DOMContentLoaded",()=>{window.FirstTouchUTM&&"function"==typeof window.FirstTouchUTM.init&&window.FirstTouchUTM.init(),window.analytics.page(window.segmentTracking.commonInfo);const t=sessionStorage.getItem("cs_userId");if(Citiesocial.userManager.isLogin()){if(!t||"/"===window.location.pathname||"/account"===window.location.pathname){const t=Citiesocial.userManager.getCustomer();Citiesocial.identifyUser(t)}}else sessionStorage.removeItem("cs_userId");Citiesocial.userManager.trackAccountSuccess(),IS_PRODUCT_PAGES&&(window.segmentTracking.productViewed(window.segmentProduct),IS_EARLY_BIRD_PAGE?Citiesocial.productManager.getCsVariants([window.segmentProducts_variants[0]]).then(t=>{window.cs_products=t}):Citiesocial.productManager.getCsVariants(window.segmentProducts_variants).then(t=>{window.cs_products=t})),window.location.href.includes("/cart")&&window.segmentTracking.cartViewed(window.segmentCartProducts),$(document).on("click",".product-card",function(t){const e=window.location.pathname.includes("/collections/");if(e){const e=$(this).closest("section").find("h2.carousel__header-title").text(),i={product_id:$(this).attr("data-product-id"),title:$(this).find(".product-card__title").text(),refer:e},o=t.currentTarget.querySelector(".product-card__image"),n=t.currentTarget.querySelector(".product-card__content"),a=t.currentTarget.querySelector(".cs-productItem-quickAddWrapper");o.contains(t.target)?i.type="image":n.contains(t.target)?i.type="content":a.contains(t.target)&&(i.type="button"),window.segmentTracking.productClick(i)}let i="";"/"===window.location.pathname||"/cart"===window.location.pathname||IS_PRODUCT_PAGES?i="carousel":e?i="collection":"/pages/in-house-search-results-page"===window.location.pathname&&(i=`search_${Citiesocial.utils.getUrlVars().type}`),sessionStorage.setItem("refer_type",i)}),Citiesocial.userManager.isLogin()&&IS_ACCOUNT_PAGES&&Citiesocial.cartManager.asyncIterableCart(),window.addEventListener("load",()=>{document.querySelectorAll("a.navigation__item").forEach(t=>{t.addEventListener("click",()=>{window.segmentTracking.navigationClicked("navigation")})})}),window.addEventListener("load",()=>{document.querySelectorAll("div.item__list a").forEach(t=>{t.addEventListener("click",()=>{window.segmentTracking.sideMenuClicked("side_menu")})})}),window.addEventListener("load",()=>{document.querySelectorAll("a.cart-item__remove-context").forEach(t=>{t.addEventListener("click",()=>{const{dataset:e}=t,{productId:i,productTitle:o}=e;window.segmentTracking.productRemovedFromCart({id:i,title:o,type:"cart_page"})})})})})}},t=>{t(t.s=63539)}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.