PluginProbe
Jetpack – WP Security, Backup, Speed, & Growth / 16.3-beta
Jetpack – WP Security, Backup, Speed, & Growth v16.3-beta
16.3-beta 16.3-a.5 16.3-a.7 16.3-a.3 16.3-a.1 16.2 16.2-beta 12.0.3 12.1.3 12.2.3 12.3.2 12.4.2 12.5.2 12.6.4 12.7.3 12.8.3 12.9.5 13.0.2 13.1.5 13.2.4 13.3.3 13.4.5 13.5.2 13.6.2 13.7.2 All 507 releases
← All changes | _inc/blocks/sharing-buttons/view.js +1 -1 13.1.5 → 16.3-beta View file →
@@ -1 +1 @@
1 -(()=>{var t={80425:(t,e,r)=>{"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&(r.p=window.Jetpack_Block_Assets_Base_Url)},47701:t=>{"use strict";t.exports=window.wp.domReady}},e={};function r(o){var n=e[o];if(void 0!==n)return n.exports;var s=e[o]={exports:{}};return t[o](s,s.exports,r),s.exports}r.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return r.d(e,{a:e}),e},r.d=(t,e)=>{for(var o in e)r.o(e,o)&&!r.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),(()=>{var t;r.g.importScripts&&(t=r.g.location+"");var e=r.g.document;if(!t&&e&&(e.currentScript&&(t=e.currentScript.src),!t)){var o=e.getElementsByTagName("script");o.length&&(t=o[o.length-1].src)}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),r.p=t+"../"})(),(()=>{"use strict";r(80425)})(),(()=>{"use strict";var t=r(47701);let e;"undefined"!=typeof window&&r.n(t)()((()=>{const t=document.getElementsByClassName("wp-block-jetpack-sharing-buttons");for(const r of t)r.addEventListener("click",(t=>{const r=t.target.closest("a"),o=r?.dataset?.service;r&&r.classList.contains(`share-${o}`)&&"mail"!==o&&(t.preventDefault(),t.stopPropagation(),"print"!==o?(e&&e.close(),e=window.open(r.getAttribute("href"),`wpcom${o}`,"menubar=1,resizable=1,width=600,height=400"),e&&e.focus()):window.print())}))}))})()})();
1 +(()=>{var e={5971(){},79366(e,t,o){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&(o.p=window.Jetpack_Block_Assets_Base_Url)},98490(e){"use strict";e.exports=window.wp.domReady}};const t={};function o(n){const s=t[n];if(void 0!==s)return s.exports;const r=t[n]={exports:{}};return e[n](r,r.exports,o),r.exports}o.n=e=>{const t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.o=(e,t)=>Object.hasOwn(e,t),(()=>{"use strict";o(79366)})(),(()=>{"use strict";var e=o(98490),t=o.n(e);o(5971);let n;const s={};function r(e){return"string"!=typeof s[e]&&(s[e]=`wpcom${e}-${Math.random().toString(36).slice(2)}`),s[e]}"undefined"!=typeof window&&t()(()=>{const e=document.getElementsByClassName("wp-block-jetpack-sharing-buttons");for(const t of e)t.addEventListener("click",e=>{const t=e.target.closest("a"),o=t?.dataset?.service;var s;if(t&&t.classList.contains(`share-${o}`)&&"mail"!==o)if(e.preventDefault(),e.stopPropagation(),"share"!==o)"print"!==o?(n&&n.close(),n=window.open(t.getAttribute("href"),r(o),"menubar=1,resizable=1,width=600,height=400"),n&&n.focus()):window.print();else if(t?.href&&(s={url:t.href},navigator&&"function"==typeof navigator.share&&"function"==typeof navigator.canShare&&navigator.canShare(s)))navigator.share({url:t.href});else{const[e]=t.getElementsByClassName("tooltiptext");e&&e.style&&(e.style.display="initial",setTimeout(()=>{e.style.display="none"},2e3)),navigator?.clipboard?.writeText(t.href)}})})})()})();