1import{C as Du,Jr as yu,St as Rw,br as up,d as Bi,jr as vu,kt as TN,mt as Pu,qt as Y5,r as $c,ut as O,wn as gp,xn as g}from"./chunk-rWOw5BPY.js";import{Y as c,m as V}from"./main-RHYBMXCR.js";var r=class t{platformId=g(Bi);toast=g(c);copyLink(i,e=`slide`){if(!Y5(this.platformId))return;let o=window.location.href.split(`#`)[0];navigator.clipboard.writeText(`${o}#${i}`).then(()=>{this.toast.success(`A shareable link to this ${e} has been copied to your clipboard`)})}static ɵfac=function(e){return new(e||t)};static ɵprov=O({token:t,factory:t.ɵfac,providedIn:`root`})};var y=class t{shareLinkService=g(r);fragment=Pu.required();subject=Pu(`slide`);share(){this.shareLinkService.copyLink(this.fragment(),this.subject())}static ɵfac=function(e){return new(e||t)};static ɵcmp=up({type:t,selectors:[[`app-share-link-button`]],inputs:{fragment:[1,`fragment`],subject:[1,`subject`]},decls:2,vars:2,consts:[[`type`,`button`,1,`copy-link-btn`,3,`click`],[`name`,`share`,`width`,`1.25rem`,`height`,`1.25rem`,3,`ariaHidden`]],template:function(e,o){e&1&&($c(0,`button`,0),Du(`click`,function(){return o.share()}),yu(1,`app-icon`,1),gp()),e&2&&(vu(`aria-label`,`Copy a link to this `+o.subject()),TN(),Rw(`ariaHidden`,!0))},dependencies:[V],styles:[`[_nghost-%COMP%]{display:inline-flex;align-items:center}.copy-link-btn[_ngcontent-%COMP%]{display:inline-flex;align-items:center;padding:.125rem;background:none;border:none;cursor:pointer;color:var(--%NS%text-primary);transition:color var(--%NS%transition-fast)}.copy-link-btn[_ngcontent-%COMP%]:hover, .copy-link-btn[_ngcontent-%COMP%]:focus-visible{color:var(--%NS%color-link)}`],changeDetection:1})};export{y as t};
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.