(globalThis["TURBOPACK_remote_chunk_loading_global_wx-next-web"]||(globalThis["TURBOPACK_remote_chunk_loading_global_wx-next-web"]=[])).push(["object"==typeof document?document.currentScript:void 0,688070,e=>{"use strict";let t=(0,e.i(144683).g)(!1);e.s(["f",0,t])},128541,e=>{"use strict";var t=e.i(74492);let r=(0,t.j)(()=>sessionStorage),i=(0,t.N)("wx-purchase-source-attribution",null,r);e.s(["f",0,i])},320209,e=>{"use strict";e.i(199690);var t=e.i(538167),r=e.i(935251),i=e.i(282446),n=e.i(201542),o=e.i(682142),a=e.i(782937),l=e.i(695881),u=e.i(333350),c=e.i(64412),s=e.i(950771),d=e.i(537989),f=e.i(695203),p=e.i(158662),w=e.i(358273),g=e.i(122124),m=e.i(727365),y=e.i(896363),x=e.i(777638),v=e.i(924776),E=e.i(24638),_=e.i(409628),k=e.i(605781),h=e.i(963722),I=e.i(313983);let S=(0,l.createLogger)("useTrackAssetViewed"),C=[],b=null;function T(e){try{(0,k.o)(e),S.info(`Hightouch: Event "asset-viewed" tracked - ${e.contentId}`)}catch(e){S.error('Hightouch: Event "asset-viewed" failed',e)}}e.s(["c",0,function(e){try{b?.(e)}catch(e){S.error('Hightouch: Event "asset-viewed" failed',e)}},"f",0,()=>{let e=(()=>{let e=(0,r.usePathname)(),l=(0,i.y)(d.f),k=(0,i.y)(s.f),S=(0,i.y)(f.f),b=(0,i.y)(p.f),{location:A}=(0,c.f)(),D=(0,E.f)(),P=(0,v.f)()&&void 0!==D,N=(0,t.useCallback)(({moduleId:t,contentId:r,assetMediaType:i,title:u,pos:c,tagsKeyword:s})=>{let d=(0,o.f)(),f=d?.["TWC-GeoIP-Country"]??(0,n.getCookie)("twc-location-country"),p=d?.["TWC-GeoIP-Region"]??(0,n.getCookie)("twc-location-region"),v=d?.["TWC-Privacy"]??(0,n.getCookie)("twc-privacy"),E=window.DprSdk?.getGdprConsentOptInsString()??"",C=window.DprSdk?.getCcpaSaleOptInString()??"",T=window.navigator?.globalPrivacyControl??!1,P=(0,h.u)(I.d.FUNCTIONAL_TECHNOLOGY),N=(0,h.u)(I.d.GEOGRAPHICALLY_RELEVANT_ADVERTISING),O=(0,h.u)(I.d.SALE_OF_DATA),R=(0,h.u)(I.d.SENSITIVE_DATA),$=navigator?.cookieEnabled??!1,L=(0,n.getCookie)("partner")||"",V=(0,a.i)(L)??L,H=(0,w.N)(),G=H?.sessionId||"",F=new Date(H?.sessionStartTime||0).toISOString(),j=new Date,J=j.getHours(),M=_.f[j.getDay()]??"",W="article"===l||"video"===l?(0,g.Z)(e??""):(0,g.N)(e??"");return{moduleId:t,contentId:r,assetMediaType:i,title:u,pos:String(c),tagsKeyword:s??null,pageId:l??"",schemaVersion:"nextgen",url:W,referrer:document.referrer,locale:k,deviceClass:S,partner:V,sessionId:G,sessionStartTime:F,siteMode:"normal",dayOfWeek:M,hourOfDay:J,regime:v??"",cookiesEnabled:$,gpcSignalOptOut:T,functionalTechnologies:P,geographicallyRelevantAds:N,interestBasedAds:D?.[I.d.INTEREST_BASED_ADS]??null,priv:E,privProducts:C,saleOfDataAuthorization:O,sensitiveDataAuthorization:R,campaign:(0,x.s)(),experimentJoinList:b,weatherMode:"normal",physicalCountry:f??"",physicalState:p??"",wlocCity:A?.city??null,wlocCountry:A?.countryCode??null,wlocState:A?.adminDistrictCode??null,wlocDMA:A?.dmaCd??null,wlocId:A?.placeId??null,wlocFeatureId:A?.featureId??null,wlocTags:A?.tags?.length?(0,y.f)(A.tags):null,wlocType:(0,m.f)(A?.type),samsungVersion:(0,x.L)(),appVersion:"9869d9ead0c4bc1d6d329c72c94b705ee29b8da6".slice(0,10)}},[e,l,k,S,b,A,D]);return(0,t.useEffect)(()=>{if(!P||0===C.length)return;let e=C;C=[],e.forEach(T)},[P]),(0,t.useCallback)(e=>{if(!u.default)return;let t=N(e);P?T(t):C.push(t)},[P,N])})();(0,t.useEffect)(()=>(b=e,()=>{b===e&&(b=null)}),[e])}])},328343,680810,562209,e=>{"use strict";var t=e.i(538167),r=e.i(282446),i=e.i(737801),n=e.i(688070);e.s(["f",0,()=>{let e=(0,i.f)(),o=(0,r.y)(n.f);return(0,t.useCallback)((t,r={})=>{if(o)return void console.debug("Skipping enrolled-in-experiment in webview mode");if(!window.mParticle?.isInitialized?.())return void console.warn("MParticle is not initialized");if(!t)return void console.warn("No exposure data provided to trackEnrolledInExperiment");if(!t.experiment_key)return void console.debug(`[Experiment] Skipping exposure tracking for ${t.flag_key} - no experiment_key (feature flag only)`);try{let i={...e,newVariant:t.variant||"",newExperiment:t.flag_key,newExperimentKey:t.experiment_key,newExperimentReceivedAt:Date.now()};window.mParticle?.logEvent?.("enrolled-in-experiment",window.mParticle?.EventType?.Other,i,r),console.debug(`MParticle: Event tracked - enrolled-in-experiment for ${t.flag_key||"unknown"}:${t.variant}`)}catch(e){console.error("MParticle: Failed to track event",e)}},[e,o])}],328343);var o=e.i(199690),a=e.i(201542),l=e.i(682142),u=e.i(782937),c=e.i(695881),s=e.i(333350),d=e.i(64412),f=e.i(950771),p=e.i(537989),w=e.i(695203),g=e.i(358273),m=e.i(777638),y=e.i(924776),x=e.i(24638),v=e.i(963722),E=e.i(313983),_=e.i(409628),k=e.i(605781);let h=(0,c.createLogger)("useTrackEnrolledInExperiment"),I=[];function S(e){try{(0,k.P)(e),h.info(`Hightouch: Event "enrolled-in-experiment" tracked - ${e.newExperiment}:${e.newVariant}`)}catch(e){h.error("Hightouch: Failed to track enrolled-in-experiment",e)}}e.s(["f",0,()=>{let e=(0,r.y)(p.f),i=(0,r.y)(f.f),o=(0,r.y)(w.f),c=(0,r.y)(n.f),{location:k}=(0,d.f)(),h=(0,x.f)(),C=(0,y.f)()&&void 0!==h,b=(0,t.useCallback)((t,r)=>{let n=(0,l.f)(),c=n?.["TWC-GeoIP-Country"]??(0,a.getCookie)("twc-location-country"),s=n?.["TWC-GeoIP-Region"]??(0,a.getCookie)("twc-location-region"),d=n?.["TWC-Privacy"]??(0,a.getCookie)("twc-privacy"),f=window.DprSdk?.getGdprConsentOptInsString()??"",p=window.DprSdk?.getCcpaSaleOptInString()??"",w=window.navigator?.globalPrivacyControl??!1,y=(0,v.u)(E.d.FUNCTIONAL_TECHNOLOGY),x=(0,v.u)(E.d.GEOGRAPHICALLY_RELEVANT_ADVERTISING),h=navigator?.cookieEnabled??!1,I=(0,a.getCookie)("partner")||"",S=(0,u.i)(I)??I,C=(0,g.N)(),b=C?.sessionId||"",T=C?.sessionStartTime||0,A=new Date,D=A.getHours(),P=_.f[A.getDay()]??"",N=-A.getTimezoneOffset()/60;return{newExperiment:t.flag_key,newVariant:t.variant||"",newExperimentReceivedAt:Date.now(),experimentJoinList:r,pageId:e??"",referrer:document.referrer,locale:i,deviceClass:o,partner:S,sessionId:b,sessionStartTime:T,dayOfWeek:P,hourOfDay:D,deviceTimeZone:N,regime:d??"",cookiesEnabled:h,gpcSignalOptOut:w,functionalTechnologies:y,geographicallyRelevantAds:x,priv:f,privProducts:p,campaign:(0,m.s)()??void 0,weatherMode:"normal",physicalCountry:c??"",physicalState:s??"",wlocCity:k?.city??null,wlocCountry:k?.countryCode??null,wlocState:k?.adminDistrictCode??null,wlocDMA:k?.dmaCd??null,samsungVersion:(0,m.L)(),appVersion:"9869d9ead0c4bc1d6d329c72c94b705ee29b8da6".slice(0,10)}},[e,i,o,k]);return(0,t.useEffect)(()=>{if(!C||0===I.length)return;let e=I;I=[],e.forEach(S)},[C]),(0,t.useCallback)((e,t)=>{if(!s.default||c||!e.experiment_key)return;let r=b(e,t);C?S(r):I.push(r)},[C,c,b])}],680810);var C=e.i(553329);let b="production"!==o.default.env.VERCEL_TARGET_ENV,T=new Set;e.s(["y",0,function(){T.clear()},"B",0,function({exposure:e,userId:t,deviceId:r}){if(!e.experiment_key){b&&console.debug(`[Experiment] Skipping Amplitude HTTP exposure for ${e.flag_key} — no experiment_key (feature flag only)`);return}if(!t&&!r){b&&console.debug("[Experiment] Skipping Amplitude HTTP exposure — no user identity");return}let i=`${e.flag_key}::${e.variant??""}`;if(T.has(i)){b&&console.debug(`[Experiment] Skipping duplicate Amplitude HTTP exposure: ${i}`);return}T.add(i);let n={api_key:"bb1117981ed2a95dc4fa64b75661d681",events:[{event_type:"$exposure",user_id:t,device_id:r,ip:"$remote",time:Date.now(),event_properties:{flag_key:e.flag_key,variant:e.variant,experiment_key:e.experiment_key,platform:"web",app_name:"wx-next-web",environment:b?"dev":"prod",experimentation_platform:"amplitude_experiment"}}]};(async()=>{let{data:t,error:r}=await (0,C.f)(fetch("https://api2.amplitude.com/2/httpapi",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(n),keepalive:!0}));r?console.error("[Experiment] Failed to send exposure to Amplitude HTTP API:",r):t&&!t.ok?console.error(`[Experiment] Amplitude HTTP API returned ${t.status}`):b&&console.debug("[Experiment] Amplitude HTTP exposure sent:",{flag_key:e.flag_key,variant:e.variant})})()}],562209)},514285,e=>{"use strict";let t=new Set;e.s(["T",0,()=>t.clear(),"g",0,e=>t.has(e),"U",0,e=>{e&&t.add(new URL(e,window.location.href).pathname)}])},742436,569014,e=>{"use strict";e.s(["ExperimentContext",()=>E,"ExperimentProvider",()=>_,"useExperimentContext",()=>k],742436);var t=e.i(199690),r=e.i(458201),i=e.i(538167),n=e.i(333350),o=e.i(282446),a=e.i(328343),l=e.i(680810),u=e.i(158662),c=e.i(528600),s=e.i(562209),d=e.i(283366),f=e.i(219750),p=e.i(441535),w=e.i(830460);e.i(617163);let g={next:[{experimentName:"cw15000",variantName:"control"}],htmx:[{experimentName:"cw15000",variantName:"a"}]},m="wx.siteExperiment",y=e=>e.metadata?.[m]===!0,x=e=>y(e)?`${e.flag_key}:${e.variant??""}`:e.flag_key;e.s(["c",0,y,"o",0,function(e){return(Object.hasOwn(g,e)?g[e]:[]).map(e=>({...e})).map(({experimentName:e,variantName:t})=>({flag_key:e,variant:t,experiment_key:e,metadata:{[m]:!0}}))},"C",0,x],569014);let v="production"!==t.default.env.VERCEL_TARGET_ENV,E=(0,i.createContext)(null),_=({children:e})=>{let t=(0,a.f)(),g=(0,l.f)(),m=(0,o.F)(u.f),{user:_}=(0,c.f)(),[k,h]=(0,i.useState)(!1),[,I]=(0,i.useState)(0),S=(0,i.useRef)(void 0),C=(0,i.useRef)(void 0);S.current=_.userID||void 0;let b=n.default?window.__wxExperimentDeviceId:void 0;C.current=b||_.anonId||void 0,v&&b&&_.anonId&&b!==_.anonId&&console.warn("[Experiment] Device ID divergence — bucketing on the early ID.",{earlyDeviceId:b,useUserAnonId:_.anonId});let T=(0,i.useRef)(new Set),A=(0,i.useRef)({}),D=(0,i.useCallback)(e=>{if(void 0===e.variant&&e.metadata?.default===!0){v&&console.debug(`[Experiment] Skipping unassigned exposure for ${e.flag_key}`);return}let r=(0,d.p)(e.flag_key),i=void 0!==r?{...e,variant:r}:e,n=`${i.flag_key}::${i.variant??""}`;if(T.current.has(n))return;let o=()=>{if(T.current.has(n))return;T.current.add(n);let[e]=JSON.parse((0,p.f)({[i.flag_key]:{key:i.variant}}));if(e){let t=x(i);A.current={...A.current,[t]:e},m(JSON.stringify(Object.values(A.current))),(0,d.W)(t,e)}try{let e=f.f[i.flag_key];t(e?{...i,flag_key:e}:i),y(i)||(0,s.B)({exposure:i,userId:S.current,deviceId:C.current});let r=Object.values(A.current);g(i,r.length>0?JSON.stringify(r):null)}catch(e){console.error("[Experiment] Failed to track exposure:",e)}};window.mParticle?.isInitialized?.()?o():window.mParticle?.ready?.(o)},[t,g,m]),P=function(){let[e,t]=(0,i.useState)(()=>n.default?window.__wxExperimentClient??null:null);return(0,i.useEffect)(()=>{if(e||!n.default)return;let r=(0,w.F)(!0)??null;r?t(r):v&&console.debug("[Experiment] No client available (no API key?) — variants will use fallbacks")},[e]),e}();return(0,i.useEffect)(()=>{if(!n.default)return;window.__wxExposureSink=D;let e=window.__wxExposureQueue;if(e?.length)for(let t of(window.__wxExposureQueue=[],e))D(t);return()=>{window.__wxExposureSink===D&&(window.__wxExposureQueue??=[],window.__wxExposureSink=e=>{window.__wxExposureQueue?.push(e)})}},[D]),(0,i.useEffect)(()=>{let e=!n.default||!1!==window.__wxNeedsRemoteExperiments;(async()=>{if(!P)return;if(!e){v&&console.debug("[Experiment] All flags are local-mode — skipping remote fetch"),h(!0);return}let t=C.current;if(!t&&!_.userID){v&&console.debug("[Experiment] No user identifier available"),h(!0);return}let r={device_id:t,..._.userID?{user_id:_.userID}:{},user_properties:{}};v&&console.debug("[Experiment] Fetching experiments from API for user:",r);try{await P.fetch(r)}catch(e){console.error("[Experiment] Failed to fetch experiments:",e)}finally{h(!0)}})()},[P,_.anonId,_.userID]),(0,i.useEffect)(()=>{if(!P)return;let e=C.current;(e||_.userID)&&P.setUser({device_id:e,..._.userID?{user_id:_.userID}:{}})},[P,_.anonId,_.userID]),(0,i.useEffect)(()=>{T.current.clear(),(0,s.y)(),(0,d.z)(),A.current={},m(null),I(e=>e+1);let e=(0,d.f)();Object.keys(e).length>0&&(A.current=e,m(JSON.stringify(Object.values(e))))},[_.userID,m]),(0,r.jsx)(E.Provider,{value:{client:P,variant:(e,t)=>{if(!P)return t;let r=P.variant(e,t);return v&&console.debug("[Experiment] Current Variant:",r),r},fetch:e=>{if(!P)return Promise.resolve();if(!e){let e=C.current;if(e||_.userID){let t={device_id:e,..._.userID?{user_id:_.userID}:{},user_properties:{}};return P.fetch(t)}}return P.fetch(e)},isFetchComplete:k},children:e})},k=()=>{let e=(0,i.useContext)(E);if(!e)throw Error("useExperimentContext must be used within an AmplitudeExperimentProvider");return e}},219750,441535,e=>{"use strict";e.s(["f",0,{"homepage-video-player-desktop-web":"cw13124",cw14363:"cw14363",cw14385:"cw14385",cw15118:"cw15118","tenday-upsell-gate":"cw14461","ad-label-upsell":"cw15141"}],219750),e.s(["f",0,function(e){return JSON.stringify(Object.entries(e).filter(([,e])=>!!e?.key).map(([e,t])=>{let r=t.key??"",i=Math.floor(Date.now()/1e3);return`${e},${r},${i}`}))}],441535)},283366,e=>{"use strict";e.s(["p",()=>v,"f",()=>w,"z",()=>E,"I",()=>_,"W",()=>g]);var t=e.i(538167),r=e.i(695881),i=e.i(333350),n=e.i(358273),o=e.i(742436);let a=(0,r.createLogger)("useExposure"),l="wxu-exp-exposed:",u=new Set,c=()=>{try{return(0,n.N)()?.sessionId||null}catch{return null}},s=(e,t)=>{for(let r=localStorage.length-1;r>=0;r--){let i=localStorage.key(r);i?.startsWith(e)&&i!==e+t&&localStorage.removeItem(i)}},d=e=>{try{let t=localStorage.getItem(l+e);return new Set(t?JSON.parse(t):[])}catch{return new Set}},f=(e,t)=>{try{s(l,e),localStorage.setItem(l+e,JSON.stringify([...t]))}catch{}},p="wxu-exp-joinlist:",w=()=>{let e=c();if(!e)return{};try{let t=localStorage.getItem(p+e);return t?JSON.parse(t):{}}catch{return{}}},g=(e,t)=>{let r=c();if(r)try{s(p,r);let i=w();localStorage.setItem(p+r,JSON.stringify({...i,[e]:t}))}catch{}},m=e=>{if(0===u.size)return;let t=d(e);for(let e of u)t.add(e);f(e,t),u.clear()},y=e=>{let t=c();return t?(m(t),d(t).has(e)):u.has(e)},x=new Map;function v(e){return x.get(e)}function E(){u.clear(),x.clear();let e=c();if(e)try{localStorage.removeItem(l+e)}catch{}}function _(e,r){let n=void 0!==r,l=r?.variant,s=(0,t.useContext)(o.ExperimentContext);(0,t.useEffect)(()=>{if(!i.default||!s||y(e)||n&&void 0===l)return;let{client:t,isFetchComplete:r}=s;if(!t||!r)return;let o=()=>{if(!y(e)){(e=>{let t=c();if(!t)return u.add(e);m(t);let r=d(t);r.add(e),f(t,r)})(e),void 0!==l&&x.set(e,l);try{t.exposure(e)}catch(t){(e=>{let t=c();if(!t)return u.delete(e);let r=d(t);r.delete(e)&&f(t,r)})(e),void 0!==l&&x.delete(e),a.error("Failed to track exposure:",t)}}};window.mParticle?.isInitialized?.()?o():window.mParticle?.ready?.(o)},[s,e,n,l])}},617163,e=>{"use strict";e.i(199690),e.s([])}]);