PageSourceSearch

https://www.nssmag.com/_nuxt/BuR2ypEL.js

js nssmag.com collected 2026-10-02 03:14:56 UTC 2,136 bytes, 1 lines download raw bytes

1import{_ as P,p as B,ah as a}from"./CM_jYEz6.js";import{F as N,R as t,E as o,u as p,a3 as d,a2 as c,M as n,a1 as S,a0 as i,P as E,d as O}from"./BQ9QYOY_.js";const F={key:1,class:"post-sharer-desktop"},M={key:0},A={key:1},j={__name:"Sharer.client",props:{post:{type:Object,default:null},showFacebook:{type:Boolean,default:!0},showX:{type:Boolean,default:!0},showPinterest:{type:Boolean,default:!0},showWhatsapp:{type:Boolean,default:!0},showCopyLink:{type:Boolean,default:!0},useMobileNative:{type:Boolean,default:!0}},setup(l){var h;const e=l,f=e.useMobileNative&&!0&&typeof navigator.share<"u",k=e.showFacebook&&B().get("SocialFacebookAppId"),y=e.showPinterest&&((h=e.post.coverObject)==null?void 0:h.type)=="IMAGE",v=()=>a().shareFacebook(e.post.slug),w=()=>a().shareX(e.post.title+(e.post.subtitle?" - "+e.post.subtitle:"")),C=()=>a().sharePinterest(e.post.slug,e.post.coverObject.url,e.post.coverObject.width,e.post.coverObject.height,e.post.title+(e.post.subtitle?" - "+e.post.subtitle:"")),m=()=>a().shareWhatsapp(e.post.title,e.post.slug),u=O(null),g=()=>{a().shareCopy(e.post.slug),u.value=!0,setTimeout(()=>{u.value=!1},2e3)},_=()=>a().shareMobileNative(e.post.title,e.post.subtitle,e.post.slug);return(r,b)=>{const s=N("font-awesome-icon");return t(),o("div",E({class:"post-sharer"},r.$attrs),[p(f)?(t(),o("button",{key:0,onClick:_,class:"post-sharer-native"},[d(c(r.$t("SHARE"))+" ",1),n(s,{icon:"share-nodes"})])):(t(),o("div",F,[S("strong",null,c(r.$t("SHARE")),1),p(k)?(t(),o("button",{key:0,onClick:v},[n(s,{icon:"fab fa-facebook-square"})])):i("",!0),l.showX?(t(),o("button",{key:1,onClick:w},[n(s,{icon:"fab fa-x-twitter"})])):i("",!0),p(y)?(t(),o("button",{key:2,onClick:C},[n(s,{icon:"fab fa-pinterest"})])):i("",!0),l.showWhatsapp?(t(),o("button",{key:3,onClick:m,class:"post-sharer-mobile-only"},[n(s,{icon:"fab fa-whatsapp"})])):i("",!0),l.showCopyLink?(t(),o("button",{key:4,onClick:g},[n(s,{icon:"copy"}),b[0]||(b[0]=d("  ",-1)),p(u)?(t(),o("span",M,c(r.$t("SHARE_COPY_COPIED")),1)):(t(),o("span",A,c(r.$t("SHARE_COPY")),1))])):i("",!0)]))],16)}}},H=P(j,[["__scopeId","data-v-b9d5755d"]]);export{H as default};

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.