(function(){try{var g=typeof window!=="undefined"?window:typeof global!=="undefined"?global:typeof self!=="undefined"?self:{};g["__faroBundleId_Speechify Chrome Extension"]="13.4.1"}catch(l){}})();
import{a as g}from"./chunk-6XO4FK4F.js";import{$ as s,Cc as f,_ as p,aa as a,gc as e,lc as t,rc as c,y as n,yc as d}from"./chunk-XMRXO6YU.js";import{n as u}from"./chunk-ODCFEFOB.js";import{s as l}from"./chunk-24ZZP5UQ.js";import{b as m,f as P}from"./chunk-GQY3J744.js";import{g as i,i as o,n as r}from"./chunk-CLPINNGF.js";r();i();P();var j=({removeNotification:y})=>(m(()=>{let C=async()=>{let T=await u();T.onended=async()=>{let{voice:U,...h}=await n("/user-settings/get"),_={voice:await s(U),...h},E=a();p.emit("update",{...E,..._}),e.play()}},A=setTimeout(()=>{e.pause(),C()},300);return()=>clearTimeout(A)},[]),o(d,{width:280,onClose:()=>{t("extension_audio_visual_cta_closed"),y()},title:"No Premium Words Left"},o(l,{font:"body-5",style:{marginTop:"8px"}},"You have reached your premium words limit. ",o("br",null),"To continue your premium listening experience, please upgrade to premium."),o(c,{size:"small",onClick:()=>{t("extension_audio_visual_cta_upgrade_pressed"),f("on_page_player_pill")},style:{width:"100%",marginTop:"12px"}},o(g,null),"Upgrade to Premium")));export{j as a};
//# sourceMappingURL=chunk-FFEYPAP2.js.map
