1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[60950],{2163:(t,e,a)=>{a.d(e,{e2:()=>h,$u:()=>v,Rd:()=>y});var o=a(1873),n=a(53520),i=a(24175),r=a(13579),s=a(54434),l=a(2273),c=a(44588),u=a(9954);let d=["className","orientation"];function p(t){let{className:e,orientation:a="horizontal"}=t,i=(0,n.A)(t,d);return(0,u.Y)(c.w,(0,o.A)({"data-slot":"separator",orientation:a,className:(0,l.cn)("shrink-0 bg-border data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:w-px data-[orientation=vertical]:self-stretch",e)},i))}let m=["className","orientation"],b=["className","render"],g=["className","orientation"],f=(0,s.F)("flex w-fit items-stretch *:focus-visible:relative *:focus-visible:z-10 has-[>[data-slot=button-group]]:gap-2 has-[select[aria-hidden=true]:last-child]:[&>[data-slot=select-trigger]:last-of-type]:rounded-r-lg [&>[data-slot=select-trigger]:not([class*='w-'])]:w-fit [&>input]:flex-1",{variants:{orientation:{horizontal:"*:data-slot:rounded-r-none [&>[data-slot]:not(:has(~[data-slot]))]:rounded-r-lg! [&>[data-slot]~[data-slot]]:rounded-l-none [&>[data-slot]~[data-slot]]:border-l-0",vertical:"flex-col *:data-slot:rounded-b-none [&>[data-slot]:not(:has(~[data-slot]))]:rounded-b-lg! [&>[data-slot]~[data-slot]]:rounded-t-none [&>[data-slot]~[data-slot]]:border-t-0"}},defaultVariants:{orientation:"horizontal"}});function h(t){let{className:e,orientation:a}=t,i=(0,n.A)(t,m);return(0,u.Y)("div",(0,o.A)({role:"group","data-slot":"button-group","data-orientation":a,className:(0,l.cn)(f({orientation:a}),e)},i))}function y(t){let{className:e,render:a}=t,o=(0,n.A)(t,b);return(0,r.C)({defaultTagName:"div",props:(0,i.v6)({className:(0,l.cn)("flex items-center gap-2 rounded-lg border bg-muted px-2.5 text-sm font-medium [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4",e)},o),render:a,state:{slot:"button-group-text"}})}function v(t){let{className:e,orientation:a="vertical"}=t,i=(0,n.A)(t,g);return(0,u.Y)(p,(0,o.A)({"data-slot":"button-group-separator",orientation:a,className:(0,l.cn)("relative self-stretch bg-input data-[orientation=horizontal]:mx-px data-[orientation=horizontal]:w-auto data-[orientation=vertical]:my-px data-[orientation=vertical]:h-auto",e)},i))}},2273:(t,e,a)=>{a.d(e,{cn:()=>i});var o=a(92944),n=a(49804);function i(...t){return(0,n.QP)((0,o.$)(t))}},60950:(t,e,a)=>{a.r(e),a.d(e,{default:()=>tV});var o=a(71055),n=a(60227),i=a(96314),r=a(37241),s=a(38201),l=a(800),c=a(2050),u=a(51883),d=a(1873),p=a(47382),m=a(38536),b=a(28270),g=a(61546),f=a(64781),h=a(9954);let y=(0,m.A)(function(t){return(0,h.Y)(f.default,(0,d.A)({type:g.PV.Stylized,relativeUrl:"static/icons/share-fat-regular.svg",alt:"bookmarks",width:24,height:24},t))},{target:"e16v9bxh0"})((0,b.Ay)("action-toolbar-share-button-icon",{primary:"black",width:{_:"{iconSize.s}","<xxs":"{iconSize.xxs}"},height:{_:"{iconSize.s}","<xxs":"{iconSize.xxs}"}}),"");var v=a(24323);let x=new p.default("article-share");function k(t){v.A.trigger("app.share",{eventName:t,primaryUx:"Action Bar"})}function w({shareData:t,contrastedCtaStyle:e}){let a=async()=>{k("tool");try{await navigator.share(t),k("tool_success")}catch(t){x.info("Error sharing:",t)}},o=e??void 0;return(0,h.Y)("button",(0,d.A)({onClick:a,"aria-label":"Options to share",style:o},o?{"data-contrasted-save-print-cta":""}:void 0),(0,h.Y)(y,null))}var A=a(87369),O=a(98756),S=a(94570),z=a(73366),_=a(48138),j=a(93682),P=a(90277),Y=a(16764),C=a(174),B=a(60986);function T(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),a.push.apply(a,o)}return a}let L=(t,e={})=>{(0,C.A)("textToSpeech",t,function(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?T(Object(a),!0).forEach(function(e){(0,j.A)(t,e,a[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):T(Object(a)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))})}return t}({primaryUx:"Action Bar"},e))},V=async(t=!1,e)=>{let a=e?.target?.href,o=(0,B.qn)(a,"cds_tracking_code");try{await (0,S.A)(),L("signup"),o&&t&&(0,B.i3)(a)}catch(t){p.default.error("Error handling sign up click:",t)}},D=async()=>{try{await (0,S.A)(),L("signin")}catch(t){p.default.error("Error handling sign in click:",t)}};var E=a(94263),N=a(53225),R=a(6184),I=a(44523);let $=(0,m.A)(function(t){return(0,h.Y)(f.default,(0,d.A)({type:g.PV.Stylized,relativeUrl:"static/icons/headphones-regular.svg",alt:"bookmarks"},t))},{target:"e1h4jmve5"})((0,b.Ay)("action-toolbar-listen-play-icon",{primary:"black",width:{_:"{iconSize.s}","<xxs":"{iconSize.xxs}"},height:{_:"{iconSize.s}","<xxs":"{iconSize.xxs}"}}),""),F=(0,m.A)(R.A,{target:"e1h4jmve4"})((0,b.Ay)("action-toolbar-listening-pause-icon",{primary:"black",width:"{iconSize.xxs}",height:"{iconSize.xs}"}),""),U=(0,m.A)("span",{target:"e1h4jmve3"})((0,b.Ay)("action-toolbar-listening-text",{display:{"<md":"none","md>":"block"}}),""),q=(0,m.A)("span",{target:"e1h4jmve2"})((0,b.Ay)("action-toolbar-listening-text-mobile",{display:{"md>":"none"}}),""),G=(0,m.A)("span",{target:"e1h4jmve1"})((0,b.Ay)("action-toolbar-listening-duration",{}),""),K=(0,m.A)(I.A,{target:"e1h4jmve0"})((0,b.Ay)("action-toolbar-tts-tooltip",{}),"");var M=a(71055);function W(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),a.push.apply(a,o)}return a}function J(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};
1e%2?W(Object(a),!0).forEach(function(e){(0,j.A)(t,e,a[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):W(Object(a)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))})}return t}let H={25:!1,50:!1,75:!1},Q=new p.default("TtsButton");function Z({pageUrl:t,handleListenClick:e,isPlaying:a,setIsPlaying:n,jamBlocked:i}){let r=(0,o.useRef)(null),{speech_file_url:s,duration:c}=(0,l.BV)("data.content.0.spoken_text"),{0:u,1:d}=(0,o.useState)(H),p=(0,N._P)("fre.content.article-action-toolbar-text-to-speech-paywall"),m=(0,E.useUserAuthorizedStatus)(),{subscriptions:b}=(0,E.useUserData)()||{},g=(0,o.useId)(),f=`${Y.Z2.TTS}-${g}`;Q.info("TTS Button Subscription Data Analysis",{subscriptions:b,subscriptionsType:typeof b,subscriptionsLength:b?.length,subscriptionsIsArray:Array.isArray(b),individualSubscriptions:b?.map((t,e)=>({index:e,subscription:t,subscriptionType:typeof t,subscriptionKeys:t?Object.keys(t):null,name:t?.name,nameType:typeof t?.name,status:t?.status,statusType:typeof t?.status,hasName:Object.prototype.hasOwnProperty.call(t,"name"),hasStatus:Object.prototype.hasOwnProperty.call(t,"status")}))||[]});let y=b?.some(t=>{if(Q.info("TTS Button Subscription Check",{subscription:t,subscriptionType:typeof t,hasSubscription:!!t,name:t?.name,nameType:typeof t?.name,hasName:Object.prototype.hasOwnProperty.call(t,"name"),willPassDefensiveCheck:!!(t&&t.name&&"string"==typeof t.name),matchesTargetNames:!!t?.name&&["activeSubscriber","premium"].includes(t.name)}),!t||!t.name||"string"!=typeof t.name)return Q.info("TTS Button Subscription Rejected",{reason:t?t.name?"subscription.name is not a string":"no subscription.name":"no subscription object",subscription:t,name:t?.name,nameType:typeof t?.name}),!1;let e=["activeSubscriber","premium"].includes(t.name);return Q.info("TTS Button Subscription Accepted",{subscription:t,name:t.name,matches:e,targetNames:["activeSubscriber","premium"]}),e})??!1;Q.info("TTS Button Final Subscription Status",{isSubscribedUser:y,subscriptionsCount:b?.length||0,authorized:m,isAuthorized:!!m,canAccessTts:!!m&&y});let v=!!m,x=v&&y,k=!v&&!y&&i;(0,o.useEffect)(()=>{let t=r.current;if(t)return P.A.register({prefix:Y.Z2.TTS,id:f,element:t,config:{muteOthersOnPlay:!0,unmuteOnPlay:!0},onStateChange:(t,e)=>{t===Y.s.PLAYING&&n(e)}}),()=>{P.A.unregister(f,t)}},[f,n]),(0,o.useEffect)(()=>{let t=r.current;t&&(a&&t.paused?t.play():a||t.paused||t.pause())},[a]);let w=c?c<60?"1 min":`${Math.ceil(c/60).toFixed(0)} min`:null,A=k?"Subscribe to listen to this article":a?"Pause audio":`Listen to article${w?`, ${w} long`:""}`;return(0,h.Y)(M.Fragment,null,(0,h.Y)("button",{id:g,onClick:()=>{if(!k){if(p&&!v)return void e("not-authorized");if(p&&v&&!y)return void e("not-subscriber");L(a?"Pause":"Play",{url:t}),n(!a)}},"aria-label":A},a?(0,h.Y)(F,null):(0,h.Y)($,null),(0,h.Y)(U,null,a?"Listening":"Listen"," ",w?(0,h.Y)(G,null,"(",w,")"):null),(0,h.Y)(q,null,w?(0,h.Y)(G,null,w):null)),k?(0,h.Y)(K,{sx:{backgroundColor:"neutral-500",color:"white",border:"none",borderRadius:"8px",padding:"12px 16px",fontFamily:"var(--type-font-family-default, system-ui, sans-serif)",fontSize:"font-size-12",fontWeight:"400",lineHeight:"1.4",filter:"none",".tooltip-arrow":{border:"none"},elevation:"subnav","&.react-tooltip__place-bottom .react-tooltip-arrow":{marginTop:"-2px"}},anchorSelector:`#${g}`,placement:"bottom-start","data-theme-key":"action-toolbar-tts-tooltip",isHoverable:!0},"Subscribe below to listen to this article."):null,(0,h.Y)("audio",{controls:!0,ref:r,src:p&&!x||k?null:s,"data-media-manager-id":f,style:{display:"none"},onTimeUpdate:()=>{let e=r.current;if(!e?.duration)return;let a=e.currentTime/e.duration*100;Object.keys(u).forEach(e=>{a>=e&&!u[e]&&(L(e,{url:t}),d(t=>J(J({},t),{},{[e]:!0})))})},onEnded:()=>{L("100",{url:t}),n(!1),d(H)}},(0,h.Y)("track",{kind:"captions"})))}var X=a(56636),tt=a(8486),te=a(71055);let ta=function({audioUrl:t,pageUrl:e,isPlaying:a,setIsPlaying:n,jamBlockedStatus:i,jamBlocked:r}){let s=new p.default("ACTION BAR BOOKMARKS CONFIG (content-save)"),c=(0,z.cA)(),u=(0,_.I)(),d=(0,_.A)("saved",u),{signInButton:m,audioSubscribeLink:b,subscriptionModalListenCta:g,subscriptionModalListenSignIn:f,subscriptionModalListenDek:y,subscriptionModalListenHed:v}=(0,l.zn)("bookmarksConfig",{});s.info("subscriptionModalListenCta",g),s.info("subscriptionModalListenSignIn",f),s.info("subscriptionModalListenDek",y);let{0:x,1:k}=(0,o.useState)(!1),{0:w,1:A}=(0,o.useState)(null),j=async()=>{await (0,S.A)(),k(!1),A(null)},P=async t=>{await (0,S.A)(),A(t),k(!0)};return(0,h.Y)(te.Fragment,null,(0,h.Y)(Z,{handleListenClick:P,audioUrl:t,pageUrl:e,isPlaying:a,setIsPlaying:n,jamBlockedStatus:i,jamBlocked:r}),(0,h.Y)(O.default,{isOpen:x,onOpenChange:j,withClickDismissal:!1},(0,h.Y)(O.ModalContent,{as:tt.FQ},"not-authorized"===w?(0,h.Y)(X.A,{buttons:[{href:`${b}`,onClick:t=>V(d,t),text:g?`${g} `:"Listen",themeKey:"saved-link-contained"},{href:c,onClick:D,text:f?`${f} ${m}`:`Already a member? ${m}`,themeKey:"saved-link-text"}],dek:y||"Become a member to listen to this story!",hed:v||"Subscribe to Listen",hasVerticalButtons:!0,onClose:j}):null,"not-subscriber"===w?(0,h.Y)(X.A,{buttons:[{href:`${b}`,onClick:t=>V(d,t),text:g?`${g} `:"Listen",themeKey:"saved-link-contained"}],dek:y||"Become a member to listen to this story!",hed:v||"Subscribe to Listen",hasVerticalButtons:!0,onClose:j}):null)))};var to=a(700),tn=a(3497),ti=a(53217);let tr=(0,m.A)(function(t){return(0,h.Y)(f.default,(0,d.A)({type:g.PV.Stylized,relativeUrl:"static/icons/chat-text-regular.svg",alt:"bookmarks",width:24,height:24},t))},{target:"euuzn3t1"})((0,b.Ay)("action-toolbar-comment-button-icon",{primary:"black",mr:"xs",width:{_:"{iconSize.s}","<xxs":"{iconSize.xxs}"},height:{_:"{iconSize.s}","<xxs":"{iconSize.xxs}"}}),""),ts=(0,m.A)("span",{target:"euuzn3t0"})((0,b.Ay)("action-toolbar-comments-count",{display:{"<sm":"none"}}),"");function tl(){let t=(0,l.jV)("toolbarCommentCount",0),e=(0,o.useCallback)(ti.lu,[]);return 0===t?null:(0,h.Y)("button",{"data-vars-ga-name":"comment-button",onClick:t=>{(0,C.A)("jumpToComments","jump-to-comments"),t.currentTarget.dataset.anchorButtonTo||(t.currentTarget.dataset.anchorButtonTo=(0,tn._W)(to.pt)),e(t)},"aria-label":`Jump to ${t} comments`},(0,h.Y)(tr,null),(0,h.Y)(ts,null,t))}function tc(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),a.push.apply(a,o)}return a}function tu(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};
1e%2?tc(Object(a),!0).forEach(function(e){(0,j.A)(t,e,a[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):tc(Object(a)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))})}return t}let td=(0,m.A)("div",{target:"e1fy5ocq6"})((0,b.Ay)("action-toolbar-wrapper",{'[data-theme-key="popover-trigger"]':{border:"none",paddingLeft:"{*sizes.primitive-12}",paddingRight:"{*sizes.primitive-12}"},'[data-toolbar-bookmark="legacy"] [data-theme-key="save-button-icon"]':{primary:"black",width:{_:"{iconSize.s}","<xxs":"{iconSize.xxs}"},height:{_:"{iconSize.s}","<xxs":"{iconSize.xxs}"}},'[data-toolbar-bookmark="legacy"] [data-theme-key="unsave-button-icon"]':{primary:"black",width:{_:"{iconSize.s}","<xxs":"{iconSize.xxs}"},height:{_:"{iconSize.s}","<xxs":"{iconSize.xxs}"}},"[data-theme-key='unsave-button-icon']":{primary:"black"},"[data-theme-key='save-button-icon']":{primary:"black"},'[data-theme-key="save-button-label"]':{display:{_:"none","md>":"inline"}},mt:"space-sm",mb:"space-xl",display:"inline-flex",alignItems:"center",justifyContent:"center",width:"auto",overflow:"hidden",whiteSpace:"nowrap",borderRadius:"{*sizes.primitive-32}",border:"border-xxs-greyXdark","& button":{bg:"transparent",display:"flex",alignItems:"center",position:"relative",cursor:"pointer",gap:"{*sizes.primitive-4}",border:"border-none-transparent",height:{_:"{*sizes.primitive-36}","<xxs":"{*sizes.primitive-32}"},"&:focus-visible":{outline:"0.125rem solid {*colors.blue-700}",outlineOffset:"-0.0625rem",transition:"unset"},"& img":{mr:"0"}},"& > div:first-of-type button":{marginRight:"{*sizes.primitive-4}",borderTopLeftRadius:"{*sizes.primitive-32}",borderBottomLeftRadius:"{*sizes.primitive-32}"},"& > div:last-child button":{marginLeft:"{*sizes.primitive-4}",borderTopRightRadius:"{*sizes.primitive-32}",borderBottomRightRadius:"{*sizes.primitive-32}"},"& > div:not(:first-of-type):not(:last-of-type) button":{marginLeft:"{*sizes.primitive-4}",marginRight:"{*sizes.primitive-4}"},"button:last-of-type":{paddingRight:"space-md"},"button:first-of-type":{paddingLeft:"space-md"}}),""),tp=(0,m.A)("div",{target:"e1fy5ocq5"})((0,b.Ay)("action-toolbar-divider",{backgroundColor:"greyXdark",width:"{*sizes.primitive-1}",height:{_:"{*sizes.primitive-24}","<xxs":"{*sizes.primitive-18}"}}),""),tm=(0,m.A)("div",{target:"e1fy5ocq4"})((0,b.Ay)("action-toolbar-buttons",{"&:focus":{outline:"none"},"&:hover":{backgroundColor:"neutral-100",border:"border-none-transparent"},".disabled":{"&:hover":{backgroundColor:"orange",border:"border-none-transparent"}}}),""),tb=(0,m.A)("div",{target:"e1fy5ocq3"})((0,b.Ay)("action-toolbar-desktop-share-wrapper",{display:{_:"none",lg:"contents"}}),""),tg=(0,m.A)("div",{target:"e1fy5ocq2"})(({isShareAvailable:t})=>(0,b.Ay)("action-toolbar-native-share-wrapper",{display:t?{_:"contents",lg:"none"}:"none"}),""),tf=(0,m.A)("div",{target:"e1fy5ocq1"})(({isHalfWidth:t,isListicleArticle:e,isListicleTabletLayout:a})=>{let o={halfWidth:{margin:"0 -{xs}",padding:"0 {xs}"},listicle:{margin:"0 calc(-50vw + 50%)",padding:"0 calc(50vw - 50%)"},default:{margin:"0 -{l}",padding:"0 {l}"}}[t?"halfWidth":e?"listicle":"default"];return(0,b.Ay)("action-bar-wrapper",tu(tu({},a?{position:"relative",zIndex:1}:null),{},{width:tu(tu({_:"100vw"},a?{"xs:sm":"100%"}:{}),{},{"md>":t?"50vw":"100vw","lg>":t?"50vw":"100%"}),overflow:{_:"auto","lg>":t?"clip":"visible"},margin:tu(tu({_:"0 -{mobileOuterGutter}"},a?{"xs:sm":0}:{"sm>":"0 -{tabletOuterGutter}"}),{},{"md>":o.margin,"lg>":0}),padding:tu(tu({_:"0 {mobileOuterGutter}"},a?{"xs:sm":0}:{"sm>":"0 {tabletOuterGutter}"}),{},{"md>":o.padding,"lg>":"0"})}))},""),th=(0,m.A)("div",{target:"e1fy5ocq0"})(({isHalfWidth:t,isListicleTabletLayout:e})=>(0,b.Ay)("action-bar-wrapper",tu(tu({},e?{position:"relative",zIndex:1}:null),{},{width:tu(tu({_:"100vw"},e?{"xs:sm":"100%"}:{}),{},{"md>":t?"50vw":"100vw"}),overflow:{_:"auto","smd>":"clip"},margin:tu({_:"0 -{mobileOuterGutter}","md>":t?"0 -{xs}":"0 calc(-50vw + 50%)","smd>":0},e?{"xs:sm":0}:{}),padding:tu({_:"0 {mobileOuterGutter}","md>":t?"0 {xs}":"0 calc(50vw - 50%)","smd>":"0"},e?{"xs:sm":0}:{})})),"");var ty=a(2163),tv=a(93312),tx=a(52134),tk=a(42478),tw=a(29168),tA=a(4093),tO=a(22433),tS=a(12625),tz=a(53520);let t_=["isCompareProducts"],tj=(0,m.A)(function(t){let{isCompareProducts:e=!1}=t,a=(0,tz.A)(t,t_);return(0,h.Y)(f.default,(0,d.A)({type:g.PV.Stylized,relativeUrl:e?"static/icons/list-checks-bold.svg":"static/icons/arrow-circle-down-regular.svg",alt:e?"Compare Our Picks":"View Products",width:24,height:24},a))},{target:"e1n3gy810"})((0,b.Ay)("action-toolbar-jump-to-products-icon",{primary:"black",width:{_:"{iconSize.s}","<xxs":"{iconSize.xxs}"},height:{_:"{iconSize.s}","<xxs":"{iconSize.xxs}"}}),""),tP=function({isProductComparisonGridEnabled:t=!1}){let e=(0,l.BV)("data.content.0.id"),{id:a}=((0,tw.q)((0,l.BV)("products",{}))||[])[0]||{},[n]=(0,tS.fp)(tO.TP),[,i]=(0,tS.fp)(tO.PL),{0:r,1:s}=(0,o.useState)(""),c=n[e]?.selected||[],u=c.length>0,d=c.join("|"),p=u?d:"__all-products__",m=t&&r!==p,b=!m,g=m?"Compare Our Picks":"View Products",f=b?a:c[0]||a;return(0,h.Y)("button",{type:"button",onClick:t=>{if(t.preventDefault(),!b){s(p),i(!0);return}(0,C.A)("jumpToProducts","jump-to-product");let e=document.getElementById((0,tA.Cv)(f));e&&(e.scrollIntoView({behavior:"smooth",block:"start"}),e.focus?.())},"aria-label":g},(0,h.Y)(tj,{isCompareProducts:!b}),g)};
1var tY=a(99738),tC=a(53647),tB=a(22352),tT=a(1988),tL=a(33911);function tV({layout:t}){let e=new p.default("ACTION BAR JAM"),a=(0,tx.Z)(),d=(0,l.BV)("data.content.0.spoken_text.speech_file_url");(0,n.RH)([[tk.s,!0]]);let m=(0,l.BV)("layoutContextProps.canonicalUrl"),b=(0,l.BV)("data.content.0.metadata.index_title"),g=(0,l.BV)("data.content.0.metadata.text_to_speech"),f=(0,l.BV)("data.content.0.metadata.disable_content_save"),y=(0,N._P)("fre.enable-my-stuff"),v=(0,l.BV)("data.content.0.metadata.show_share_button"),x=(0,l.BV)("data.content.0.metadata.commerce.jump_to_product"),k=(0,l.jV)("toolbarCommentCount",0),O=(0,N._P)("fre.content.article-action-toolbar"),S=(0,tT.A)(),z=(0,N._P)("fre.content.article-toolbar-new-save-label"),{0:_,1:j}=(0,o.useState)(!1),{0:P,1:Y}=(0,o.useState)(null),{0:C,1:B}=(0,o.useState)(!1),{0:T,1:L}=(0,o.useState)(!0),{id:V}=(0,tw.q)((0,l.BV)("products",{}))[0]||{},D=(0,l.BV)("data.content.0.display_type"),E=(0,l.BV)("data.content.0.metadata.defaults.user_experience"),R=(0,tY.isStandardArticle)(D?.slug),I=(0,tY.isListicleArticle)(D?.slug),$=E===i.Wi.embeddedListicle,F=I||$,{contrastedCtaStyle:U}=(0,tB.W)(),{isAboveTheFoldFeatureOn:q}=(0,tL.a)();(0,tC.iv)((0,l.zn)("bookmarksConfig",{}),{skipFallback:r.A});let G=V&&(x||S),K=(0,u.YT)(),M=(0,c.u)(),W=d?.length>0&&g,J={title:b,url:m};e.info("isJamBlocked",_),e.info("jamBlockedStatus",P),(0,o.useEffect)(()=>{L("function"==typeof navigator?.canShare&&navigator.canShare(J))},[]),(0,o.useEffect)(()=>{let t=()=>{let t=!!window.JOURNEY_INFO?.blocked,e=window.JOURNEY_INFO?.blocked;j(t),Y(e)};return window.addEventListener("journey-info",t),t(),()=>window.removeEventListener("journey-info",t)},[]);let H=(0,h.Y)(w,{shareData:J,contrastedCtaStyle:U}),Q=O?(0,h.Y)(o.default.Fragment,null,(0,h.Y)(tb,null,(0,h.Y)(A.A,{isArticleActionBar:!0,jamBlockedStatus:P})),(0,h.Y)(tg,{isShareAvailable:T},H)):T&&H,Z=(v||void 0===v)&&!!Q,X=[];G&&X.push({isDisabled:!1,name:"jump-to-products",element:(0,h.Y)(tP,{isProductComparisonGridEnabled:S})}),!f&&y&&X.push({isDisabled:!1,name:"save",element:(0,h.Y)(s.default,{tooltipId:"article-header-save",saveLabelKey:z?"actionBarSaveButtonLabel":void 0,hdsButtonProps:{size:"lg"}})}),Z&&X.push({isDisabled:!1,name:"share",element:Q}),M&&!K&&0!==k&&X.push({isDisabled:!1,name:"comment",element:(0,h.Y)(tl,null)}),W&&X.push({isDisabled:_,name:C?"listening-pause":"listen-play",element:(0,h.Y)(ta,{jamBlockedStatus:P,jamBlocked:_,audioUrl:d,pageUrl:m,isPlaying:C,setIsPlaying:B})});let{TITLE_LAYOUT_TEXT_ONLY:tt,TITLE_LAYOUT_IMAGE_LEFT:te,TITLE_LAYOUT_IMAGE_RIGHT:to}=i.B,tn=R&&t===tt,ti=[te,to].includes(t);return 0===X.length?null:a?(0,h.Y)(tv.ActionToolbarOuter,{elevate:F,"data-contrasted-save-print-cta":U?"":void 0,"data-above-the-fold":q?"true":void 0},(0,h.Y)(tv.ActionToolbarBleed,null,(0,h.Y)(ty.e2,{"aria-label":"Quick actions",role:"toolbar"},X.map(({name:t,element:e},a)=>(0,h.Y)(o.default.Fragment,{key:t},(0,h.Y)("div",{"data-slot":"button","data-toolbar-action":t},e),a<X.length-1?(0,h.Y)(ty.$u,null):null))))):(0,h.Y)("div",null,(0,h.Y)(tn?th:tf,{isHalfWidth:ti,isListicleArticle:I,isListicleTabletLayout:F},(0,h.Y)(td,{layout:t,"aria-label":"Quick actions",role:"toolbar",style:U?{backgroundColor:U.backgroundColor,borderColor:U.borderColor}:void 0,"data-contrasted-save-print-cta":U?"":void 0,"data-above-the-fold":q?"true":void 0},X.map(({_:t,name:e,element:a},n)=>(0,h.Y)(o.default.Fragment,{key:e},(0,h.Y)(tm,{__themeKey:`action-toolbar-${e}-button`,sx:U?{"&:hover":{backgroundColor:"rgba(0,0,0,0.08)"}}:{"&:hover":{backgroundColor:"neutral-100"}}},a),n<X.length-1?(0,h.Y)(tp,{style:U?{backgroundColor:"rgba(255,255,255,0.3)"}:void 0}):null)))))}}}]);
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.