import{c as r}from"./chunk-YOBA4FXN.js";import{f as e}from"./chunk-4IDNTCH7.js";var t=class extends r{canShare(){return e(this,null,function*(){return typeof navigator>"u"||!navigator.share?{value:!1}:{value:!0}})}share(a){return e(this,null,function*(){if(typeof navigator>"u"||!navigator.share)throw this.unavailable("Share API not available in this browser");return yield navigator.share({title:a.title,text:a.text,url:a.url}),{}})}};export{t as ShareWeb};
