(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,556441,e=>{"use strict";var t=e.i(458201),i=e.i(935251),l=e.i(240058),a=e.i(877957),r=e.i(368847),s=e.i(132084),n=e.i(528600),o=e.i(837879),d=e.i(498076),c=e.i(37429),x=e.i(683199);e.s(["default",0,()=>{let e=(0,i.useSearchParams)(),u=e.get("par")||e.get("partner"),f=(0,d.f)(),g=(0,o.f)(),{user:p}=(0,n.f)(),{isUserPremium:m}=p,v=(0,x.f)();return u===s.p.TIKTOK&&f&&g&&!m?(0,t.jsxs)("div",{className:"relative mb-4 overflow-hidden bg-[#590462]",children:[(0,t.jsx)(c.U,{src:"https://s.w-x.co/tt-banner.jpg",alt:"",fill:!0,priority:!0,isFetchPriority:!0,rounded:!1,objectFit:"cover",className:"object-center",wrapperClassName:"absolute inset-0","aria-hidden":"true"}),(0,t.jsxs)("div",{className:"relative z-10 p-6 text-center",children:[(0,t.jsx)(r.U,{variant:"Title.S",className:"mb-2.5 text-white",children:"Your TikTok Exclusive"}),(0,t.jsx)(r.U,{variant:"Body.S.Bold",className:"mb-2.5 text-white",children:"Get The Weather Channel Premium FREE for 1 month — turn ads off now, plus much more!"}),(0,t.jsx)(a.f,{className:"rounded-lg px-8 py-2 text-sm font-bold",variant:"secondary",asChild:!0,children:(0,t.jsx)(l.default,{href:"/subscribe/checkout?products=e251f39b-afd7-4ad9-9c87-5e2a8ed63fbb&promoCode=t934k258j742&tpcc=mktg-today-tiktok-banner",onClick:()=>v({sourceModule:"tiktok-banner",sourceElement:"claim-now"}),children:"Claim Now"})})]})]}):null}])},971571,function(e){e.n(e.i(556441))},95927,e=>{"use strict";var t=e.i(538167);function i(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function l(e){let l=t.forwardRef((l,a)=>{var n;let u,f,{children:g,...p}=l,m=null,v=!1,h=[];o(g)&&"function"==typeof x&&(g=x(g._payload)),t.Children.forEach(g,e=>{var i;if(i=e,t.isValidElement(i)&&"function"==typeof i.type&&"__radixId"in i.type&&i.type.__radixId===r){v=!0;let t="child"in e.props?e.props.child:e.props.children;o(t)&&"function"==typeof x&&(t=x(t._payload)),m=s(e,t),h.push(m?.props?.children)}else h.push(e)}),m?m=t.cloneElement(m,void 0,h):!v&&1===t.Children.count(g)&&t.isValidElement(g)&&(m=g);let b=m?(n=m,(f=(u=Object.getOwnPropertyDescriptor(n.props,"ref")?.get)&&"isReactWarning"in u&&u.isReactWarning)?n.ref:(f=(u=Object.getOwnPropertyDescriptor(n,"ref")?.get)&&"isReactWarning"in u&&u.isReactWarning)?n.props.ref:n.props.ref||n.ref):void 0,y=function(...e){return t.useCallback(function(...e){return t=>{let l=!1,a=e.map(e=>{let a=i(e,t);return l||"function"!=typeof a||(l=!0),a});if(l)return()=>{for(let t=0;t{let t=r(...e);return a(...e),t}:a&&(i[l]=a):"style"===l?i[l]={...a,...r}:"className"===l&&(i[l]=[a,r].filter(Boolean).join(" "))}return{...e,...i}}(p,m.props??{});return m.type!==t.Fragment&&(w.ref=a?y:b),t.cloneElement(m,w)});return l.displayName=`${e}.Slot`,l}var a=l("Slot"),r=Symbol.for("radix.slottable"),s=(e,i)=>{if("child"in e.props){let i=e.props.child;return t.isValidElement(i)?t.cloneElement(i,void 0,e.props.children(i.props.children)):null}return t.isValidElement(i)?i:null},n=Symbol.for("react.lazy");function o(e){var t;return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===n&&"_payload"in e&&"object"==typeof(t=e._payload)&&null!==t&&"then"in t}var d=e=>`${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,c=e=>`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,x=t[" use ".trim().toString()];e.s(["M",0,a,"B",0,l,"S",0,function(e){let t=e=>"child"in e?e.children(e.child):e.children;return t.displayName=`${e}.Slottable`,t.__radixId=r,t}],95927)},683199,e=>{"use strict";var t=e.i(538167),i=e.i(282446),l=e.i(128541),a=e.i(537989);e.s(["f",0,()=>{let e=(0,i.F)(l.f),r=(0,i.y)(a.f);return(0,t.useCallback)(({sourceModule:t,sourceElement:i,sourceUpsellPlacement:l})=>{e({sourcePage:r||null,sourceModule:t,sourceElement:i,sourceUpsellPlacement:l??null})},[e,r])}])},663333,e=>{"use strict";let t=(0,e.i(144683).g)("");e.s(["f",0,t])},498076,e=>{"use strict";var t=e.i(282446),i=e.i(663333);e.s(["f",0,function(){return"mobile"===(0,t.y)(i.f)}])},747961,e=>{"use strict";var t=e.i(458201),i=e.i(538167),l=e.i(294237),a=e.i(789876);let r=(0,l.f)("inline-block",{variants:{size:{sm:"w-4 h-4",md:"w-6 h-6",lg:"w-8 h-8",xl:"w-16 h-16",xxl:"w-32 h-32"},color:{primary:"text-gray-900",brandDark:"text-brand-dark",brandLight:"text-brand-light",inverse:"text-white"}},defaultVariants:{size:"md",color:"primary"}}),s=i.default.forwardRef(({icon:e,size:i,color:l,title:s,desc:n,className:o,ariaHidden:d,...c},x)=>(0,t.jsx)(e,{ref:x,className:(0,a.f)(r({size:i,color:l}),o),title:s,desc:n,...d&&{"aria-hidden":d},...c}));s.displayName="BaseIcon",e.s(["f",0,s])},789876,e=>{"use strict";var t=e.i(7284);let i=(0,e.i(923191).f)({extend:{classGroups:{"font-size":[{text:["xxs"]}]},theme:{color:[{brand:["100","200","300","400","dark","light"]}]}}});e.s(["f",0,function(...e){return i((0,t.f)(e))}])},763886,e=>{"use strict";let t=(0,e.i(144683).g)();e.s(["f",0,t])},394481,e=>{"use strict";let t=(0,e.i(144683).g)();e.s(["f",0,t])},877957,564993,e=>{"use strict";var t=e.i(458201),i=e.i(538167),l=e.i(95927),a=e.i(294237),r=e.i(632137),s=e.i(747961);let n=(0,i.forwardRef)(({title:e,titleId:i,desc:l,descId:a,...r},s)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:s,"aria-labelledby":i,"aria-describedby":a,...r,children:[l?(0,t.jsx)("desc",{id:a,children:l}):null,void 0===e?(0,t.jsx)("title",{id:i,children:"Loader Circle"}):e?(0,t.jsx)("title",{id:i,children:e}):null,(0,t.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M9.65 2.926A5.335 5.335 0 1 0 13.335 8a.665.665 0 0 1 1.33 0 6.665 6.665 0 1 1-4.606-6.34.665.665 0 1 1-.41 1.266",clipRule:"evenodd"})]})),o=i.default.forwardRef((e,i)=>(0,t.jsx)(s.f,{ref:i,icon:n,...e}));o.displayName="LoaderCircle",e.s(["f",0,o],564993);let d=(0,a.f)("rounded-lg cursor-pointer",{variants:{variant:{default:"bg-brand-400 text-primary-foreground hover:bg-[#252C3F] active:bg-[#0C1226] focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-offset-0",secondary:"bg-white text-gray-900 active:bg-[#E6E6E6] focus:outline-none focus:ring-1 focus:ring-blue-500 focus:ring-offset-0",destructive:"bg-alert-severe hover:bg-[#C1251A] active:bg-[#A70C00] text-white focus:outline-none focus:ring-1 focus:ring-blue-500 focus:ring-offset-0",outline:"border-1 border-gray-500 hover:bg-white active:bg-[#E6E6E6] bg-transparent focus:outline-none focus:ring-1 focus:ring-blue-500 focus:ring-offset-0",ghost:"hover:bg-white active:bg-[#E6E6E6] bg-transparent focus:outline-none focus:ring-1 focus:ring-blue-500 focus:ring-offset-0",link:"text-primary underline-offset-3 underline focus:outline-none focus:ring-1 focus:ring-blue-500 focus:ring-offset-0",avatarAccountLink:"text-primary text-[14px]",avatarGoPremium:"bg-gray-900 text-white text-[14px]",avatarSignOut:"text-primary text-[16px]",ghostUI:""},size:{default:"h-10 px-4 py-3",lg:"h-10 px-8 py-3",sm:"h-8 px-3 py-2",xsm:"h-6 px-2",icon:"h-10 w-10",text:""},loading:{true:"pointer-events-none cursor-not-allowed opacity-50",false:""},disabled:{true:"pointer-events-none cursor-not-allowed opacity-30",false:""},theme:{standard:"",samsung:"rounded-[18px] h-auto bg-[#252422] px-2.5 py-2 text-[15px] font-medium text-white hover:bg-[#252422] active:bg-[#252422]"}},defaultVariants:{variant:"default",size:"default",loading:!1,disabled:!1,theme:"standard"}}),c=i.forwardRef(({className:e,variant:i="default",size:a,theme:s="standard",asChild:n=!1,disabled:c=!1,loading:x=!1,children:u,...f},g)=>{let p=n?l.M:"button";return(0,t.jsx)(p,{...f,className:(0,r.f)(d({variant:i,size:a,loading:x,disabled:c,theme:s}),"inline-flex items-center justify-center",e),ref:g,disabled:c||x,children:n?u:(0,t.jsxs)(t.Fragment,{children:[x&&(0,t.jsx)(o,{size:"sm",className:"mr-2 animate-spin",color:"default"===i||"destructive"===i?"inverse":"primary"}),u]})})});c.displayName="Button",e.s(["f",0,c],877957)},37429,e=>{"use strict";var t=e.i(458201),i=e.i(538167),l=e.i(168518),l=l,a=e.i(632137);let r={square:"Square (1:1)",video:"Video (16:9)",goldenPortrait:"Golden Portrait (1:1.618)",goldenLandscape:"Golden Landscape (1.618:1)","16/9":"16:9","8/5":"8:5","4/3":"4:3","3/2":"3:2","2/3":"2/3","1/1":"1:1",auto:"Auto"};["square","video","goldenPortrait","goldenLandscape","16/9","8/5","4/3","3/2","2/3","1/1","auto"].map(e=>({label:r[e],value:e}));let s={square:"aspect-square",video:"aspect-video",goldenPortrait:"aspect-[1/1.618]",goldenLandscape:"aspect-[1.618/1]","16/9":"aspect-[16/9]","8/5":"aspect-[8/5]","4/3":"aspect-[4/3]","3/2":"aspect-[3/2]","2/3":"aspect-[2/3]","1/1":"aspect-[1/1]",auto:"h-full w-full"},n=(0,i.forwardRef)(({src:e,alt:i,shadow:r,rounded:n=!0,className:o,wrapperClassName:d,width:c,height:x,quality:u,priority:f=!1,loading:g,isFetchPriority:p=!1,objectFit:m,fill:v=!1,sizes:h,aspectRatio:b,isAnimated:y=!1,unoptimized:w,...k},B)=>{if(!e)return null;let j=y||e.toLowerCase().endsWith(".gif"),S=v||!!b,L=m??(b?"cover":"contain"),C=b?s[b]:"",E=(0,t.jsx)(l.Image,{ref:B,src:e,alt:i,width:S?void 0:c??320,height:S?void 0:x??180,quality:u,priority:f,loading:g,fetchPriority:p?"high":void 0,fill:S,sizes:h,unoptimized:w??j,className:(0,a.f)({"shadow-md":r,"rounded-lg":n,"object-contain":"contain"===L,"object-cover":"cover"===L,"object-fill":"fill"===L,"object-none":"none"===L,"object-scale-down":"scale-down"===L,"h-auto w-full":!S},o),...k});return S?(0,t.jsx)("div",{className:(0,a.f)("relative overflow-hidden",C,!b&&"h-full w-full",d),children:E}):E});n.displayName="Image",e.s(["s",0,s,"n",0,n,"U",0,n],37429)},368847,341669,e=>{"use strict";var t=e.i(458201),i=e.i(538167),l=e.i(294237),a=e.i(632137);let r=({skeletonClassName:e,elementType:i="span"})=>(0,t.jsx)(i,{className:(0,a.f)("square inline-block animate-pulse rounded bg-gray-200",e)});e.s(["f",0,r],341669);let s={0:"No Clamp",1:"1 Line",2:"2 Lines",3:"3 Lines",4:"4 Lines",5:"5 Lines"};[0,1,2,3,4,5].map(e=>({label:s[e],value:String(e)}));let n=i.default.forwardRef(({className:e,isLoading:i,skeletonClassName:l,variant:s,elementType:n,lineClamp:d,color:c,responsive:x,children:u,...f},g)=>{if(i)return(0,t.jsx)(r,{skeletonClassName:l||""});let p=n||function({variant:e}){switch(e){case"Display.XL":case"Display.L":case"Title.XL":case"Display.M":case"Display.S":case"Title.L":case"Title.M":case"Title.S":return"h2";default:return"p"}}({variant:s}),m=(0,t.jsx)(p,{className:(0,a.f)(o({variant:s,color:c,lineClamp:d,responsive:x}),e),ref:g,...f,children:u});return x?(0,t.jsx)("div",{className:"@container/text",children:m}):m});n.displayName="Text";let o=(0,l.f)("",{variants:{variant:{"Display.XL":["text-6xl","leading-relaxed","tracking-tighter"],"Display.L":["text-5xl","leading-normal","tracking-tighter","font-medium"],"Display.M":["text-4xl","leading-tight","tracking-tight","font-medium"],"Display.S":["text-xl","leading-relaxed","tracking-tight","font-medium"],"Title.XL":["text-4xl","leading-snug","tracking-tight","font-extrabold"],"Title.L":["text-3xl","leading-normal","tracking-tight","font-extrabold"],"Title.M":["text-2xl","leading-normal","tracking-tight","font-extrabold"],"Title.S":["text-xl","leading-normal","tracking-tight","font-bold"],"Title.XS":["text-base","leading-relaxed","tracking-tight","font-bold"],"Body.L":["text-lg","leading-loose","tracking-normal","font-medium"],"Body.L.Bold":["text-lg","leading-loose","tracking-normal","font-bold"],"Body.L.ExtraBold":["text-lg","leading-loose","tracking-normal","font-extrabold"],"Body.M":["text-base","leading-loose","tracking-tight","font-medium"],"Body.M.Bold":["text-base","leading-loose","tracking-tight","font-bold"],"Body.M.ExtraBold":["text-base","leading-loose","tracking-tight","font-extrabold"],"Body.S":["text-sm","leading-loose","tracking-tight","font-medium"],"Body.S.Bold":["text-sm","leading-loose","tracking-normal","font-bold"],"Caption.M":["text-xs","leading-normal","tracking-normal","font-medium"],"Caption.M.Bold":["text-xs","leading-normal","tracking-normal","font-bold"],"Caption.S":["text-xxs","leading-loose","tracking-tight","font-medium"],"Caption.S.Bold":["text-xxs","leading-loose","tracking-normal","font-bold"]},responsive:{true:"",false:""},color:{primary:"text-gray-900",secondary:"text-gray-500",default:"text-gray-900",disabled:"text-gray-400",placeholder:"text-gray-600",brandDark:"text-brand-dark",brandLight:"text-brand-light",inverse:"text-white",error:"text-[var(--color-alert-severe)]"},lineClamp:{0:"",1:"line-clamp-1 pb-0.5",2:"line-clamp-2 pb-0.5",3:"line-clamp-3 pb-0.5",4:"line-clamp-4 pb-0.5",5:"line-clamp-5 pb-0.5"}},compoundVariants:[{variant:"Display.XL",responsive:!0,class:"text-4xl @sm/text:text-5xl @lg/text:text-6xl"},{variant:"Display.L",responsive:!0,class:"text-2xl @sm/text:text-4xl @lg/text:text-5xl"},{variant:"Display.M",responsive:!0,class:"text-xl @sm/text:text-2xl @lg/text:text-4xl"},{variant:"Display.S",responsive:!0,class:"text-lg @sm/text:text-xl @lg/text:text-2xl"},{variant:"Title.XL",responsive:!0,class:"text-2xl @sm/text:text-3xl @lg/text:text-4xl"},{variant:"Title.L",responsive:!0,class:"text-xl @sm/text:text-2xl @lg/text:text-3xl"},{variant:"Title.M",responsive:!0,class:"text-lg @sm/text:text-xl @lg/text:text-2xl"},{variant:"Title.S",responsive:!0,class:"text-base @sm/text:text-lg @lg/text:text-xl"},{variant:"Title.XS",responsive:!0,class:"text-sm @sm/text:text-base"},{variant:"Body.L",responsive:!0,class:"text-base @sm/text:text-lg @lg/text:text-xl"},{variant:"Body.L.Bold",responsive:!0,class:"text-base @sm/text:text-lg @lg/text:text-xl"},{variant:"Body.L.ExtraBold",responsive:!0,class:"text-base @sm/text:text-lg @lg/text:text-xl"},{variant:"Body.M",responsive:!0,class:"text-sm @sm/text:text-base @lg/text:text-lg"},{variant:"Body.M.Bold",responsive:!0,class:"text-sm @sm/text:text-base @lg/text:text-lg"},{variant:"Body.M.ExtraBold",responsive:!0,class:"text-sm @sm/text:text-base @lg/text:text-lg"},{variant:"Body.S",responsive:!0,class:"text-xs @sm/text:text-sm @lg/text:text-base"},{variant:"Body.S.Bold",responsive:!0,class:"text-xs @sm/text:text-sm @lg/text:text-base"},{variant:"Caption.M",responsive:!0,class:"text-xxs @sm/text:text-xs @lg/text:text-sm"},{variant:"Caption.M.Bold",responsive:!0,class:"text-xxs @sm/text:text-xs @lg/text:text-sm"},{variant:"Caption.S",responsive:!0,class:"text-xxs @sm/text:text-xxs @lg/text:text-xs"},{variant:"Caption.S.Bold",responsive:!0,class:"text-xxs @sm/text:text-xxs @lg/text:text-xs"}],defaultVariants:{variant:"Body.M",color:"default",responsive:!1}});e.s(["p",0,n,"U",0,n,"E",0,o],368847)},739971,e=>{"use strict";let t=(0,e.i(144683).g)(null);e.s(["f",0,t])},837879,e=>{"use strict";var t=e.i(538167),i=e.i(282446),l=e.i(935251),a=e.i(485737),r=e.i(739971);e.i(87809);var s=e.i(358233),n=e.i(394481),o=e.i(763886),d=e.i(132084);e.s(["f",0,()=>{let e=(0,i.y)(r.f),c=(0,i.y)(a.i),x=(0,l.useParams)()?.locale,u=(0,i.y)(n.f)??s.Q.EXEMPT,f=(0,i.y)(o.f);return(0,t.useMemo)(()=>null!==e?e:"US"===c&&"en-US"===x&&s.D.includes(u)&&f!==d.p.OPPO,[e,c,x,u,f])}])}]);