File "view.js"

Full Path: /home/warrior1/public_html/plugins/jetpack/_inc/blocks/dialogue/view.js
File size: 1.97 KB
MIME-type: text/plain
Charset: utf-8

!function(){var t={80425:function(t,e,r){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&window.Jetpack_Block_Assets_Base_Url.url&&(r.p=window.Jetpack_Block_Assets_Base_Url.url)},9818:function(t){"use strict";t.exports=window.wp.data},47701:function(t){"use strict";t.exports=window.wp.domReady}},e={};function r(n){var o=e[n];if(void 0!==o)return o.exports;var i=e[n]={exports:{}};return t[n](i,i.exports,r),i.exports}r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,{a:e}),e},r.d=function(t,e){for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},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=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},function(){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 n=e.getElementsByTagName("script");n.length&&(t=n[n.length-1].src)}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),r.p=t+"../"}(),function(){"use strict";r(80425)}(),function(){"use strict";var t=r(9818),e=r(47701);const n="jetpack/media-source";r.n(e)()((function(){var e;const r=null===(e=(0,t.select)(n))||void 0===e?void 0:e.getDefaultMediaSource();var o;r||(null===(o=document)||void 0===o||o.body.classList.add("no-media-source"));document.body.addEventListener("click",(e=>{var o,i,c,u,s;if(null==e||null===(o=e.target)||void 0===o||null===(i=o.classList)||void 0===i||!i.contains("wp-block-jetpack-dialogue__timestamp_link"))return;const a=null===(c=e.target)||void 0===c||null===(u=c.href)||void 0===u||null===(s=u.split("#"))||void 0===s?void 0:s[1];a&&r&&(e.preventDefault(),(0,t.dispatch)(n).setMediaSourceCurrentTime(r.id,a),(0,t.dispatch)(n).playMediaSource(r.id,a))}))}))}()}();