PageSourceSearch

https://uniacco.com/blog/wp-content/plugins/text-to-audio/admin/js…/text-to-audio-button.min.js?ver=%201.9.25

js uniacco.com collected 2026-10-02 05:48:55 UTC 95,897 bytes, 2 lines download raw bytes

1/*! For license information please see text-to-audio-button.min.js.LICENSE.txt */
2(()=>{"use strict";var t={111:(t,e,n)=>{n.d(e,{$$:()=>c,PC:()=>o,cs:()=>a,ho:()=>s,qy:()=>r});var i=function(t){return function(t){return"string"==typeof t||t instanceof String}(t)?t.trim():""},o=function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").replace(/\.+/g,".|").replace(/\?/g,"?|").replace(/\!/g,"!|").split("|").map((function(t){return i(t)})).filter(Boolean)},r=function(t,e,n){var i,o,r,a,s,c=null!==(i=null===(o=window)||void 0===o||null===(o=o.ttsObj)||void 0===o||null===(o=o.buttonTextArr)||void 0===o?void 0:o.listen_text)&&void 0!==i?i:"Listen",l=null!==(r=window)&&void 0!==r&&null!==(r=r.ttsObj)&&void 0!==r&&null!==(r=r.buttonTextArr)&&void 0!==r&&r.listen_hover_title?"Text To Audio : "+(null===(a=window)||void 0===a||null===(a=a.ttsObj)||void 0===a||null===(a=a.buttonTextArr)||void 0===a?void 0:a.listen_hover_title):"Text To Audio: Click to listen post.";if(null!==(s=window)&&void 0!==s&&null!==(s=s.ttsObj)&&void 0!==s&&null!==(s=s.player_customizations)&&void 0!==s&&null!==(s=s[1])&&void 0!==s&&s.play){var u,d=(new DOMParser).parseFromString(null===(u=ttsObj)||void 0===u||null===(u=u.player_customizations)||void 0===u||null===(u=u[1])||void 0===u?void 0:u.play,"image/svg+xml");return'<button id="tts__listent_content_'.concat(t,'" class="tts__listent_content  ').concat(e,'" type="button" title="').concat(l,'"><div className="tts_button">').concat(d.documentElement.outerHTML,"</div> <span>")+" "+c+"<span></span></span></div>"}return'<button id="tts__listent_content_'.concat(t,'" class="tts__listent_content  ').concat(e,'" type="button" title="').concat(l,'"><div class="tts_button"><span class="dashicons dashicons-controls-play"></span><span>').concat(c,"<span></div> </button>")},a=function(){var t,e="#ffffff",n=ttsObj.settings;return null!=n&&null!==(t=n.customize)&&void 0!==t&&t.color&&(e=n.customize.color),window.wp?wp.hooks.applyFilters("ttsPlayerCustomizations",{1:{play:"<svg width='15px' height='15px' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 7 8'><polygon fill='".concat(e,"' points='0 0 0 8 7 4'/> </svg>"),pause:"<svg width='20' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'><g id='SVGRepo_bgCarrier' stroke-width='1.5'></g><g id='SVGRepo_tracerCarrier' stroke-linecap='round' stroke-linejoin='round'></g><g id='SVGRepo_iconCarrier'><path opacity='0.1' d='M3 12C3 4.5885 4.5885 3 12 3C19.4115 3 21 4.5885 21 12C21 19.4115 19.4115 21 12 21C4.5885 21 3 19.4115 3 12Z' fill='none'></path><path d='M14 9L14 15' stroke='".concat(e,"' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'></path><path d='M10 9L10 15' stroke='").concat(e,"' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'></path><path d='M3 12C3 4.5885 4.5885 3 12 3C19.4115 3 21 4.5885 21 12C21 19.4115 19.4115 21 12 21C4.5885 21 3 19.4115 3 12Z' stroke='").concat(e,"' stroke-width='2'></path></g></svg>"),replay:"<svg width='20px' height='20px' viewBox='0 0 24.00 24.00' fill='none' xmlns='http://www.w3.org/2000/svg' stroke='".concat(e,"' stroke-width='1'><g id='SVGRepo_bgCarrier' stroke-width='0'></g><g id='SVGRepo_tracerCarrier' stroke-linecap='round' stroke-linejoin='round'></g><g id='SVGRepo_iconCarrier'> <path d='M12 20.75C10.078 20.7474 8.23546 19.9827 6.8764 18.6236C5.51733 17.2645 4.75265 15.422 4.75 13.5C4.75 13.3011 4.82902 13.1103 4.96967 12.9697C5.11032 12.829 5.30109 12.75 5.5 12.75C5.69891 12.75 5.88968 12.829 6.03033 12.9697C6.17098 13.1103 6.25 13.3011 6.25 13.5C6.25 14.6372 6.58723 15.7489 7.21905 16.6945C7.85087 17.6401 8.74889 18.3771 9.79957 18.8123C10.8502 19.2475 12.0064 19.3614 13.1218 19.1395C14.2372 18.9177 15.2617 18.37 16.0659 17.5659C16.87 16.7617 17.4177 15.7372 17.6395 14.6218C17.8614 13.5064 17.7475 12.3502 17.3123 11.2996C16.8771 10.2489 16.1401 9.35087 15.1945 8.71905C14.2489 8.08723 13.1372 7.75 12 7.75H9.5C9.30109 7.75 9.11032 7.67098 8.96967 7.53033C8.82902 7.38968 8.75 7.19891 8.75 7C8.75 6.80109 8.82902 6.61032 8.96967 6.46967C9.11032 6.32902 9.30109 6.25 9.5 6.25H12C13.9228 6.25 15.7669 7.01384 17.1265 8.37348C18.4862 9.73311 19.25 11.5772 19.25 13.5C19.25 15.4228 18.4862 17.2669 17.1265 18.6265C15.7669 19.9862 13.9228 20.75 12 20.75Z' fill='").concat(e,"'></path> <path d='M12 10.75C11.9015 10.7505 11.8038 10.7313 11.7128 10.6935C11.6218 10.6557 11.5392 10.6001 11.47 10.53L8.47 7.53003C8.32955 7.38941 8.25066 7.19878 8.25066 7.00003C8.25066 6.80128 8.32955 6.61066 8.47 6.47003L11.47 3.47003C11.5387 3.39634 
211.6215 3.33724 11.7135 3.29625C11.8055 3.25526 11.9048 3.23322 12.0055 3.23144C12.1062 3.22966 12.2062 3.24819 12.2996 3.28591C12.393 3.32363 12.4778 3.37977 12.549 3.45099C12.6203 3.52221 12.6764 3.60705 12.7141 3.70043C12.7518 3.79382 12.7704 3.89385 12.7686 3.99455C12.7668 4.09526 12.7448 4.19457 12.7038 4.28657C12.6628 4.37857 12.6037 4.46137 12.53 4.53003L10.06 7.00003L12.53 9.47003C12.6704 9.61066 12.7493 9.80128 12.7493 10C12.7493 10.1988 12.6704 10.3894 12.53 10.53C12.4608 10.6001 12.3782 10.6557 12.2872 10.6935C12.1962 10.7313 12.0985 10.7505 12 10.75Z' fill='").concat(e,"'></path> </g></svg>"),resume:"<svg width='20px' height='20px' viewBox='0 0 24.00 24.00' fill='none' xmlns='http://www.w3.org/2000/svg' stroke='".concat(e,"' stroke-width='1'><g id='SVGRepo_bgCarrier' stroke-width='0'></g><g id='SVGRepo_tracerCarrier' stroke-linecap='round' stroke-linejoin='round'></g><g id='SVGRepo_iconCarrier'> <path d='M12 20.75C10.078 20.7474 8.23546 19.9827 6.8764 18.6236C5.51733 17.2645 4.75265 15.422 4.75 13.5C4.75 13.3011 4.82902 13.1103 4.96967 12.9697C5.11032 12.829 5.30109 12.75 5.5 12.75C5.69891 12.75 5.88968 12.829 6.03033 12.9697C6.17098 13.1103 6.25 13.3011 6.25 13.5C6.25 14.6372 6.58723 15.7489 7.21905 16.6945C7.85087 17.6401 8.74889 18.3771 9.79957 18.8123C10.8502 19.2475 12.0064 19.3614 13.1218 19.1395C14.2372 18.9177 15.2617 18.37 16.0659 17.5659C16.87 16.7617 17.4177 15.7372 17.6395 14.6218C17.8614 13.5064 17.7475 12.3502 17.3123 11.2996C16.8771 10.2489 16.1401 9.35087 15.1945 8.71905C14.2489 8.08723 13.1372 7.75 12 7.75H9.5C9.30109 7.75 9.11032 7.67098 8.96967 7.53033C8.82902 7.38968 8.75 7.19891 8.75 7C8.75 6.80109 8.82902 6.61032 8.96967 6.46967C9.11032 6.32902 9.30109 6.25 9.5 6.25H12C13.9228 6.25 15.7669 7.01384 17.1265 8.37348C18.4862 9.73311 19.25 11.5772 19.25 13.5C19.25 15.4228 18.4862 17.2669 17.1265 18.6265C15.7669 19.9862 13.9228 20.75 12 20.75Z' fill='").concat(e,"'></path> <path d='M12 10.75C11.9015 10.7505 11.8038 10.7313 11.7128 10.6935C11.6218 10.6557 11.5392 10.6001 11.47 10.53L8.47 7.53003C8.32955 7.38941 8.25066 7.19878 8.25066 7.00003C8.25066 6.80128 8.32955 6.61066 8.47 6.47003L11.47 3.47003C11.5387 3.39634 11.6215 3.33724 11.7135 3.29625C11.8055 3.25526 11.9048 3.23322 12.0055 3.23144C12.1062 3.22966 12.2062 3.24819 12.2996 3.28591C12.393 3.32363 12.4778 3.37977 12.549 3.45099C12.6203 3.52221 12.6764 3.60705 12.7141 3.70043C12.7518 3.79382 12.7704 3.89385 12.7686 3.99455C12.7668 4.09526 12.7448 4.19457 12.7038 4.28657C12.6628 4.37857 12.6037 4.46137 12.53 4.53003L10.06 7.00003L12.53 9.47003C12.6704 9.61066 12.7493 9.80128 12.7493 10C12.7493 10.1988 12.6704 10.3894 12.53 10.53C12.4608 10.6001 12.3782 10.6557 12.2872 10.6935C12.1962 10.7313 12.0985 10.7505 12 10.75Z' fill='").concat(e,"'></path> </g></svg>")}}):{1:{play:"<svg width='15px' height='15px' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 7 8'><polygon fill='".concat(e,"' points='0 0 0 8 7 4'/> </svg>"),pause:"<svg width='20' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'><g id='SVGRepo_bgCarrier' stroke-width='1.5'></g><g id='SVGRepo_tracerCarrier' stroke-linecap='round' stroke-linejoin='round'></g><g id='SVGRepo_iconCarrier'><path opacity='0.1' d='M3 12C3 4.5885 4.5885 3 12 3C19.4115 3 21 4.5885 21 12C21 19.4115 19.4115 21 12 21C4.5885 21 3 19.4115 3 12Z' fill='none'></path><path d='M14 9L14 15' stroke='".concat(e,"' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'></path><path d='M10 9L10 15' stroke='").concat(e,"' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'></path><path d='M3 12C3 4.5885 4.5885 3 12 3C19.4115 3 21 4.5885 21 12C21 19.4115 19.4115 21 12 21C4.5885 21 3 19.4115 3 12Z' stroke='").concat(e,"' stroke-width='2'></path></g></svg>"),replay:"<svg width='20px' height='20px' viewBox='0 0 24.00 24.00' fill='none' xmlns='http://www.w3.org/2000/svg' stroke='".concat(e,"' stroke-width='1'><g id='SVGRepo_bgCarrier' stroke-width='0'></g><g id='SVGRepo_tracerCarrier' stroke-linecap='round' stroke-linejoin='round'></g><g id='SVGRepo_iconCarrier'> <path d='M12 20.75C10.078 20.7474 8.23546 19.9827 6.8764 18.6236C5.51733 17.2645 4.75265 15.422 4.7
25 13.5C4.75 13.3011 4.82902 13.1103 4.96967 12.9697C5.11032 12.829 5.30109 12.75 5.5 12.75C5.69891 12.75 5.88968 12.829 6.03033 12.9697C6.17098 13.1103 6.25 13.3011 6.25 13.5C6.25 14.6372 6.58723 15.7489 7.21905 16.6945C7.85087 17.6401 8.74889 18.3771 9.79957 18.8123C10.8502 19.2475 12.0064 19.3614 13.1218 19.1395C14.2372 18.9177 15.2617 18.37 16.0659 17.5659C16.87 16.7617 17.4177 15.7372 17.6395 14.6218C17.8614 13.5064 17.7475 12.3502 17.3123 11.2996C16.8771 10.2489 16.1401 9.35087 15.1945 8.71905C14.2489 8.08723 13.1372 7.75 12 7.75H9.5C9.30109 7.75 9.11032 7.67098 8.96967 7.53033C8.82902 7.38968 8.75 7.19891 8.75 7C8.75 6.80109 8.82902 6.61032 8.96967 6.46967C9.11032 6.32902 9.30109 6.25 9.5 6.25H12C13.9228 6.25 15.7669 7.01384 17.1265 8.37348C18.4862 9.73311 19.25 11.5772 19.25 13.5C19.25 15.4228 18.4862 17.2669 17.1265 18.6265C15.7669 19.9862 13.9228 20.75 12 20.75Z' fill='").concat(e,"'></path> <path d='M12 10.75C11.9015 10.7505 11.8038 10.7313 11.7128 10.6935C11.6218 10.6557 11.5392 10.6001 11.47 10.53L8.47 7.53003C8.32955 7.38941 8.25066 7.19878 8.25066 7.00003C8.25066 6.80128 8.32955 6.61066 8.47 6.47003L11.47 3.47003C11.5387 3.39634 11.6215 3.33724 11.7135 3.29625C11.8055 3.25526 11.9048 3.23322 12.0055 3.23144C12.1062 3.22966 12.2062 3.24819 12.2996 3.28591C12.393 3.32363 12.4778 3.37977 12.549 3.45099C12.6203 3.52221 12.6764 3.60705 12.7141 3.70043C12.7518 3.79382 12.7704 3.89385 12.7686 3.99455C12.7668 4.09526 12.7448 4.19457 12.7038 4.28657C12.6628 4.37857 12.6037 4.46137 12.53 4.53003L10.06 7.00003L12.53 9.47003C12.6704 9.61066 12.7493 9.80128 12.7493 10C12.7493 10.1988 12.6704 10.3894 12.53 10.53C12.4608 10.6001 12.3782 10.6557 12.2872 10.6935C12.1962 10.7313 12.0985 10.7505 12 10.75Z' fill='").concat(e,"'></path> </g></svg>"),resume:"<svg width='20px' height='20px' viewBox='0 0 24.00 24.00' fill='none' xmlns='http://www.w3.org/2000/svg' stroke='".concat(e,"' stroke-width='1'><g id='SVGRepo_bgCarrier' stroke-width='0'></g><g id='SVGRepo_tracerCarrier' stroke-linecap='round' stroke-linejoin='round'></g><g id='SVGRepo_iconCarrier'> <path d='M12 20.75C10.078 20.7474 8.23546 19.9827 6.8764 18.6236C5.51733 17.2645 4.75265 15.422 4.75 13.5C4.75 13.3011 4.82902 13.1103 4.96967 12.9697C5.11032 12.829 5.30109 12.75 5.5 12.75C5.69891 12.75 5.88968 12.829 6.03033 12.9697C6.17098 13.1103 6.25 13.3011 6.25 13.5C6.25 14.6372 6.58723 15.7489 7.21905 16.6945C7.85087 17.6401 8.74889 18.3771 9.79957 18.8123C10.8502 19.2475 12.0064 19.3614 13.1218 19.1395C14.2372 18.9177 15.2617 18.37 16.0659 17.5659C16.87 16.7617 17.4177 15.7372 17.6395 14.6218C17.8614 13.5064 17.7475 12.3502 17.3123 11.2996C16.8771 10.2489 16.1401 9.35087 15.1945 8.71905C14.2489 8.08723 13.1372 7.75 12 7.75H9.5C9.30109 7.75 9.11032 7.67098 8.96967 7.53033C8.82902 7.38968 8.75 7.19891 8.75 7C8.75 6.80109 8.82902 6.61032 8.96967 6.46967C9.11032 6.32902 9.30109 6.25 9.5 6.25H12C13.9228 6.25 15.7669 7.01384 17.1265 8.37348C18.4862 9.73311 19.25 11.5772 19.25 13.5C19.25 15.4228 18.4862 17.2669 17.1265 18.6265C15.7669 19.9862 13.9228 20.75 12 20.75Z' fill='").concat(e,"'></path> <path d='M12 10.75C11.9015 10.7505 11.8038 10.7313 11.7128 10.6935C11.6218 10.6557 11.5392 10.6001 11.47 10.53L8.47 7.53003C8.32955 7.38941 8.25066 7.19878 8.25066 7.00003C8.25066 6.80128 8.32955 6.61066 8.47 6.47003L11.47 3.47003C11.5387 3.39634 11.6215 3.33724 11.7135 3.29625C11.8055 3.25526 11.9048 3.23322 12.0055 3.23144C12.1062 3.22966 12.2062 3.24819 12.2996 3.28591C12.393 3.32363 12.4778 3.37977 12.549 3.45099C12.6203 3.52221 12.6764 3.60705 12.7141 3.70043C12.7518 3.79382 12.7704 3.89385 12.7686 3.99455C12.7668 4.09526 12.7448 4.19457 12.7038 4.28657C12.6628 4.37857 12.6037 4.46137 12.53 4.53003L10.06 7.00003L12.53 9.47003C12.6704 9.61066 12.7493 9.80128 12.7493 10C12.7493 10.1988 12.6704 10.3894 12.53 10.53C12.4608 10.6001 12.3782 10.6557 12.2872 10.6935C12.1962 10.7313 12.0985 10.7505 12 10.75Z' fill='").concat(e,"'></path> </g></svg>")}}},s=function(t){var e,n,i="#000000",o="#000000",r=ttsObj.settings;null!=r&&null!==(e=r.customize)&&void 0!==e&&e.color&&(o=r.customize.color),i=null!=r&&null!==(n=r.customize)&&void 0!==n&&n.hoverTextColor?r.customize.hoverTextColor:o;var a=t.querySelector("svg");a&&(a.querySelectorAll("[fill]").forEach((function(t){"none"!==t.getAttribute("fill")&&t.setAttribute("fill",i)})),a.hasAttribute("stroke")&&a.setAttribute("stroke",i),a.querySelectorAll("[stroke]").forEach((function(t){"none"!==t.getAttribute("stroke")&&t.setAttribute("stroke",i)})))},c=function(t){t.addEventListener("mouseenter",(function(){s(t)})),t.addEventListener("mouseleave",(function(){!function(t){var e,n="#000000",i=ttsObj.settings;null!=i&&null!==(e=i.customize)&&void 0!==e&&e.color&&(n=i.customize.color);var o=t.querySelector("svg");o&&(o.querySelectorAll("[fill]").forEach((function(t){"none"!==t.getAttribute("fill")&&t.setAttribute("fill",n)})),o.hasAttribute("stroke")&&o.setAttribute("stroke",n),o.querySelectorAll("[stroke]").forEach((function(t){"none"!==t.getAttribute("stroke")&&t.setAttribute("stroke",n)})))}(t)}))}},379:(t,e,n)=>{n.d(e,{A:()=>Rt});n(522);function i(t){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(t)}var o=function(){return o=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},o.apply(this,arguments)};
2function r(t,e,n,i){return new(n||(n=Promise))((function(o,r){function a(t){try{c(i.next(t))}catch(t){r(t)}}function s(t){try{c(i.throw(t))}catch(t){r(t)}}function c(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,s)}c((i=i.apply(t,e||[])).next())}))}function a(t,e){var n,i,o,r,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function s(s){return function(c){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;r&&(r=0,s[0]&&(a=0)),a;)try{if(n=1,i&&(o=2&s[0]?i.return:s[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,s[1])).done)return o;switch(i=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,i=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=e.call(t,a)}catch(t){s=[6,t],i=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,c])}}}function s(t,e,n){if(n||2===arguments.length)for(var i,o=0,r=e.length;o<r;o++)!i&&o in e||(i||(i=Array.prototype.slice.call(e,0,o)),i[o]=e[o]);return t.concat(i||Array.prototype.slice.call(e))}function c(t,e){return new Promise((function(n){return setTimeout(n,t,e)}))}function l(t){return!!t&&"function"==typeof t.then}function u(t,e){try{var n=t();l(n)?n.then((function(t){return e(!0,t)}),(function(t){return e(!1,t)})):e(!0,n)}catch(t){e(!1,t)}}function d(t,e,n){return void 0===n&&(n=16),r(this,void 0,void 0,(function(){var i,o,r,s;return a(this,(function(a){switch(a.label){case 0:i=Array(t.length),o=Date.now(),r=0,a.label=1;case 1:return r<t.length?(i[r]=e(t[r],r),(s=Date.now())>=o+n?(o=s,[4,new Promise((function(t){var e=new MessageChannel;e.port1.onmessage=function(){return t()},e.port2.postMessage(null)}))]):[3,3]):[3,4];case 2:a.sent(),a.label=3;case 3:return++r,[3,1];case 4:return[2,i]}}))}))}function h(t){t.then(void 0,(function(){}))}function v(t){return parseInt(t)}function f(t){return parseFloat(t)}function p(t,e){return"number"==typeof t&&isNaN(t)?e:t}function m(t){return t.reduce((function(t,e){return t+(e?1:0)}),0)}function g(t,e){if(void 0===e&&(e=1),Math.abs(e)>=1)return Math.round(t/e)*e;var n=1/e;return Math.round(t*n)/n}function y(t,e){var n=t[0]>>>16,i=65535&t[0],o=t[1]>>>16,r=65535&t[1],a=e[0]>>>16,s=65535&e[0],c=e[1]>>>16,l=0,u=0,d=0,h=0;d+=(h+=r+(65535&e[1]))>>>16,h&=65535,u+=(d+=o+c)>>>16,d&=65535,l+=(u+=i+s)>>>16,u&=65535,l+=n+a,l&=65535,t[0]=l<<16|u,t[1]=d<<16|h}function b(t,e){var n=t[0]>>>16,i=65535&t[0],o=t[1]>>>16,r=65535&t[1],a=e[0]>>>16,s=65535&e[0],c=e[1]>>>16,l=65535&e[1],u=0,d=0,h=0,v=0;h+=(v+=r*l)>
2>>16,v&=65535,d+=(h+=o*l)>>>16,h&=65535,d+=(h+=r*c)>>>16,h&=65535,u+=(d+=i*l)>>>16,d&=65535,u+=(d+=o*c)>>>16,d&=65535,u+=(d+=r*s)>>>16,d&=65535,u+=n*l+i*c+o*s+r*a,u&=65535,t[0]=u<<16|d,t[1]=h<<16|v}function w(t,e){var n=t[0];32==(e%=64)?(t[0]=t[1],t[1]=n):e<32?(t[0]=n<<e|t[1]>>>32-e,t[1]=t[1]<<e|n>>>32-e):(e-=32,t[0]=t[1]<<e|n>>>32-e,t[1]=n<<e|t[1]>>>32-e)}function k(t,e){0!=(e%=64)&&(e<32?(t[0]=t[1]>>>32-e,t[1]=t[1]<<e):(t[0]=t[1]<<e-32,t[1]=0))}function S(t,e){t[0]^=e[0],t[1]^=e[1]}var _=[4283543511,3981806797],C=[3301882366,444984403];function x(t){var e=[0,t[0]>>>1];S(t,e),b(t,_),e[1]=t[0]>>>1,S(t,e),b(t,C),e[1]=t[0]>>>1,S(t,e)}var L=[2277735313,289559509],T=[1291169091,658871167],j=[0,5],E=[0,1390208809],V=[0,944331445];function O(t,e){var n=function(t){for(var e=new Uint8Array(t.length),n=0;n<t.length;n++){var i=t.charCodeAt(n);if(i>127)return(new TextEncoder).encode(t);e[n]=i}return e}(t);e=e||0;var i,o=[0,n.length],r=o[1]%16,a=o[1]-r,s=[0,e],c=[0,e],l=[0,0],u=[0,0];for(i=0;i<a;i+=16)l[0]=n[i+4]|n[i+5]<<8|n[i+6]<<16|n[i+7]<<24,l[1]=n[i]|n[i+1]<<8|n[i+2]<<16|n[i+3]<<24,u[0]=n[i+12]|n[i+13]<<8|n[i+14]<<16|n[i+15]<<24,u[1]=n[i+8]|n[i+9]<<8|n[i+10]<<16|n[i+11]<<24,b(l,L),w(l,31),b(l,T),S(s,l),w(s,27),y(s,c),b(s,j),y(s,E),b(u,T),w(u,33),b(u,L),S(c,u),w(c,31),y(c,s),b(c,j),y(c,V);l[0]=0,l[1]=0,u[0]=0,u[1]=0;var d=[0,0];switch(r){case 15:d[1]=n[i+14],k(d,48),S(u,d);case 14:d[1]=n[i+13],k(d,40),S(u,d);case 13:d[1]=n[i+12],k(d,32),S(u,d);case 12:d[1]=n[i+11],k(d,24),S(u,d);case 11:d[1]=n[i+10],k(d,16),S(u,d);case 10:d[1]=n[i+9],k(d,8),S(u,d);case 9:d[1]=n[i+8],S(u,d),b(u,T),w(u,33),b(u,L),S(c,u);case 8:d[1]=n[i+7],k(d,56),S(l,d);case 7:d[1]=n[i+6],k(d,48),S(l,d);case 6:d[1]=n[i+5],k(d,40),S(l,d);case 5:d[1]=n[i+4],k(d,32),S(l,d);case 4:d[1]=n[i+3],k(d,24),S(l,d);case 3:d[1]=n[i+2],k(d,16),S(l,d);case 2:d[1]=n[i+1],k(d,8),S(l,d);case 1:d[1]=n[i],S(l,d),b(l,L),w(l,31),b(l,T),S(s,l)}return S(s,o),S(c,o),y(s,c),y(c,s),x(s),x(c),y(s,c),y(c,s),("00000000"+(s[0]>>>0).toString(16)).slice(-8)+("00000000"+(s[1]>>>0).toString(16)).slice(-8)+("00000000"+(c[0]>>>0).toString(16)).slice(-8)+("00000000"+(c[1]>>>0).toString(16)).slice(-8)}function A(t){return"function"!=typeof t}function P(t,e,n,i){var o=Object.keys(t).filter((function(t){return!function(t,e){for(var n=0,i=t.length;n<i;++n)if(t[n]===e)return!0;return!1}(n,t)})),s=d(o,(function(n){return function(t,e){var n=new Promise((function(n){var i=Date.now();u(t.bind(null,e),(function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var o=Date.now()-i;if(!t[0])return n((function(){return{error:t[1],duration:o}}));var r=t[1];if(A(r))return n((function(){return{value:r,duration:o}}));n((function(){return new Promise((function(t){var e=Date.now();u(r,(function(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];var r=o+Date.now()-e;if(!n[0])return t({error:n[1],duration:r});t({value:n[1],duration:r})}))}))}))}))}));return h(n),function(){return n.then((function(t){return t()}))}}(t[n],e)}),i);return h(s),function(){return r(this,void 0,void 0,(function(){var t,e,n,r;return a(this,(function(a){switch(a.label){case 0:return[4,s];case 1:return[4,d(a.sent(),(function(t){var e=t();return h(e),e}),i)];case 2:return t=a.sent(),[4,Promise.all(t)];case 3:for(e=a.sent(),n={},r=0;r<o.length;++r)n[o[r]]=e[r];return[2,n]}}))}))}}function I(){var t=window,e=navigator;return m(["MSCSSMatrix"in t,"msSetImmediate"in t,"msIndexedDB"in t,"msMaxTouchPoints"in e,"msPointerEnabled"in e])>=4}function M(){var t=window,e=navigator;return m(["webkitPersistentStorage"in e,"webkitTemporaryStorage"in e,0===e.vendor.indexOf("Google"),"webkitResolveLocalFileSystemURL"in t,"BatteryManager"in t,"webkitMediaStream"in t,"webkitSpeechGrammar"in t])>=5}function B(){var t=window,e=navigator;return m(["ApplePayError"in t,"CSSPrimitiveValue"in t,"Counter"in t,0===e.vendor.indexOf("Apple"),"getStorageUpdates"in e,"WebKitMediaKeys"in t])>=4}function R(){var t=window,e=t.HTMLElement,n=t.Document;return m(["safari"in t,!("ongestureend"in t),!("TouchEvent"in t),!("orientation"in t),e&&!("autocapitalize"in e.prototype),n&&"pointerLockElement"in n.prototype])>=4}function G(){var t,e=window;return t=e.print,!!/^function\s.*?\{\s*\[native code]\s*}$/.test(String(t))&&m(["[object WebPageNamespace]"===String(e.browser),"MicrodataExtractor"in e])>=1}function W(){var t,e,n=window;return m(["buildID"in navigator,"MozAppearance"in(null!==(e=null===(t=document.documentElement)||void 0===t?void 0:t.style)&&void 0!==e?e:{}),"onmozfullscreenchange"in n,"mozInnerScreenX"in n,"CSSMozDocumentRule"in n,"CanvasCaptureMediaStream"in n])>=4}function Z(){var t=window,e=navigator,n=t.CSS,i=t.HTMLButtonElement;return m([!("getStorageUpdates"in e),i&&"popover"in i.prototype,"CSSCounterStyleRule"in t,n.supports("font-size-adjust: ex-height 0.5"),n.supports("text-transform: full-width")])>=4}function F(){var t=M(),e=W(),n=window,i=navigator,o="connection";return t?m([!("SharedWorker"in n),i[o]&&"ontypechange"in i[o],!("sinkId"in new window.Audio)])>=2:!!e&&m(["onorientationchange"in n,"orientation"in n,/android/i.test(navigator.appVersion)])>=2}function N(t){var e=new Error(t);return e.name=t,e}function D(t,e,n){var i,o,s;return void 0===n&&(n=50),r(this,void 0,void 0,(function(){var r,l;return a(this,(function(a){switch(a.label){case 0:r=document,a.label=1;case 1:return r.body?[3,3]:[4,c(n)];case 2:return a.sent(),[3,1];case 3:l=r.createElement("iframe"),a.label=4;case 4:return a.trys.push([4,,10,11]),[4,new Promise((function(t,n){var i=!1,o=function(){i=!0,t()};l.onload=o,l.onerror=function(t){i=!0,n(t)};var a=l.style;a.setProperty("display","block","important"),a.position="absolute",a.top="0",a.left="0",a.visibility="hidden",e&&"srcdoc"in l?l.srcdoc=e
2:l.src="about:blank",r.body.appendChild(l);var s=function(){var t,e;i||("complete"===(null===(e=null===(t=l.contentWindow)||void 0===t?void 0:t.document)||void 0===e?void 0:e.readyState)?o():setTimeout(s,10))};s()}))];case 5:a.sent(),a.label=6;case 6:return(null===(o=null===(i=l.contentWindow)||void 0===i?void 0:i.document)||void 0===o?void 0:o.body)?[3,8]:[4,c(n)];case 7:return a.sent(),[3,6];case 8:return[4,t(l,l.contentWindow)];case 9:return[2,a.sent()];case 10:return null===(s=l.parentNode)||void 0===s||s.removeChild(l),[7];case 11:return[2]}}))}))}function H(t){for(var e=function(t){for(var e,n,i="Unexpected syntax '".concat(t,"'"),o=/^\s*([a-z-]*)(.*)$/i.exec(t),r=o[1]||void 0,a={},s=/([.:#][\w-]+|\[.+?\])/gi,c=function(t,e){a[t]=a[t]||[],a[t].push(e)};;){var l=s.exec(o[2]);if(!l)break;var u=l[0];switch(u[0]){case".":c("class",u.slice(1));break;case"#":c("id",u.slice(1));break;case"[":var d=/^\[([\w-]+)([~|^$*]?=("(.*?)"|([\w-]+)))?(\s+[is])?\]$/.exec(u);if(!d)throw new Error(i);c(d[1],null!==(n=null!==(e=d[4])&&void 0!==e?e:d[5])&&void 0!==n?n:"");break;default:throw new Error(i)}}return[r,a]}(t),n=e[0],i=e[1],o=document.createElement(null!=n?n:"div"),r=0,a=Object.keys(i);r<a.length;r++){var s=a[r],c=i[s].join(" ");"style"===s?z(o.style,c):o.setAttribute(s,c)}return o}function z(t,e){for(var n=0,i=e.split(";");n<i.length;n++){var o=i[n],r=/^\s*([\w-]+)\s*:\s*(.+?)(\s*!([\w-]+))?\s*$/.exec(o);if(r){var a=r[1],s=r[2],c=r[4];t.setProperty(a,s,c||"")}}}var Y,X,J=["monospace","sans-serif","serif"],U=["sans-serif-thin","ARNO PRO","Agency FB","Arabic Typesetting","Arial Unicode MS","AvantGarde Bk BT","BankGothic Md BT","Batang","Bitstream Vera Sans Mono","Calibri","Century","Century Gothic","Clarendon","EUROSTILE","Franklin Gothic","Futura Bk BT","Futura Md BT","GOTHAM","Gill Sans","HELV","Haettenschweiler","Helvetica Neue","Humanst521 BT","Leelawadee","Letter Gothic","Levenim MT","Lucida Bright","Lucida Sans","Menlo","MS Mincho","MS Outlook","MS Reference Specialty","MS UI Gothic","MT Extra","MYRIAD PRO","Marlett","Meiryo UI","Microsoft Uighur","Minion Pro","Monotype Corsiva","PMingLiU","Pristina","SCRIPTINA","Segoe UI Light","Serifa","SimHei","Small Fonts","Staccato222 BT","TRAJAN PRO","Univers CE 55 Medium","Vrinda","ZWAdobeF"];function Q(t){return t.toDataURL()}function K(){var t=this;return function(){if(void 0===X){var t=function(){var e=q();$(e)?X=setTimeout(t,2500):(Y=e,X=void 0)};t()}}(),function(){return r(t,void 0,void 0,(function(){var t;return a(this,(function(e){switch(e.label){case 0:return $(t=q())?Y?[2,s([],Y,!0)]:function(){var t=document;return t.fullscreenElement||t.msFullscreenElement||t.mozFullScreenElement||t.webkitFullscreenElement||null}()?[4,(n=document,(n.exitFullscreen||n.msExitFullscreen||n.mozCancelFullScreen||n.webkitExitFullscreen).call(n))]:[3,2]:[3,2];case 1:e.sent(),t=q(),e.label=2;case 2:return $(t)||(Y=t),[2,t]}var n}))}))}}function q(){var t=screen;return[p(f(t.availTop),null),p(f(t.width)-f(t.availWidth)-p(f(t.availLeft),0),null),p(f(t.height)-f(t.availHeight)-p(f(t.availTop),0),null),p(f(t.availLeft),null)]}function $(t){for(var e=0;e<4;++e)if(t[e])return!1;return!0}function tt(t){var e;return r(this,void 0,void 0,(function(){var n,i,o,r,s,l,u;return a(this,(function(a){switch(a.label){case 0:for(n=document,i=n.createElement("div"),o=new Array(t.length),r={},et(i),u=0;u<t.length;++u)"DIALOG"===(s=H(t[u])).tagName&&s.show(),et(l=n.createElement("div")),l.appendChild(s),i.appendChild(l),o[u]=s;a.label=1;case 1:return n.body?[3,3]:[4,c(50)];case 2:return a.sent(),[3,1];case 3:n.body.appendChild(i);try{for(u=0;u<t.length;++u)o[u].offsetParent||(r[t[u]]=!0)}finally{null===(e=i.parentNode)||void 0===e||e.removeChild(i)}return[2,r]}}))}))}function et(t){t.style.setProperty("visibility","hidden","important"),t.style.setProperty("display","block","important")}function nt(t){return matchMedia("(inverted-colors: ".concat(t,")")).matches}function it(t){return matchMedia("(forced-colors: ".concat(t,")")).matches}function ot(t){return matchMedia("(prefers-contrast: ".concat(t,")")).matches}function rt(t){return matchMedia("(prefers-reduced-motion: ".concat(t,")")).matches}function at(t){return matchMedia("(prefers-reduced-transparency: ".concat(t,")")).matches}function st(t){return matchMedia("(dynamic-range: ".concat(t,")")).matches}var ct=Math,lt=function(){return 0},ut={default:[],apple:[{font:"-apple-system-body"}],serif:[{fontFamily:"serif"}],sans:[{fontFamily:"sans-serif"}],mono:[{fontFamily:"monospace"}],min:[{fontSize:"1px"}],system:[{fontFamily:"system-ui"}]},dt=new Set([10752,2849,2884,2885,2886,2928,2929,2930,2931,2932,2960,2961,2962,2963,2964,2965,2966,2967,2968,2978,3024,3042,3088,3089,3106,3107,32773,32777,32777,32823,32824,32936,32937,32938,32939,32968,32969,32970,32971,3317,33170,3333,3379,3386,33901,33902,34016,34024,34076,3408,3410,3411,3412,3413,3414,3415,34467,34816,34817,34818,34819,34877,34921,34930,35660,35661,35724,35738,35739,36003,36004,36005,36347,36348,36349,37440,37441,37443,7936,7937,7938]),ht=new Set([34047,35723,36063,34852,34853,34854,34229,36392,36795,38449]),vt=["FRAGMENT_SHADER","VERTEX_SHADER"],ft=["LOW_FLOAT","MEDIUM_FLOAT","HIGH_FLOAT","LOW_INT","MEDIUM_INT","HIGH_INT"];function pt(t){if(t.webgl)return t.webgl.context;var e,n=document.createElement("canvas");n.addEventListener("webglCreateContextError",(function(){return e=void 0}));for(var i=0,o=["webgl","experimental-webgl"];i<o.length;i++){var r=o[i];try{e=n.getContext(r)}catch(t){}if(e)break}return t.webgl={context:e},e}function mt(t,e,n){var i=t.getShaderPrecisionFormat(t[e],t[n]);return i?[i.rangeMin,i.rangeMax,i.precision]:[]}function gt(t){return Object.keys(t.__proto__).filter(yt)}function yt(t){return"string"==typeof t&&!t.match(/[^A-Z0-9_x]/)}function bt(){return W()}function wt(t){return"function"==typeof t.getParameter}var kt={fonts:function(){var t=this;return D((function(e,n){var i=n.document;return r(t,void 0,void 0,(function(){var t,e,n,o,r,s,c,l,u,d,h;return a(this,(function(a){for((t=i.body).style.fontSize="48px",(e=i.createElement("div")).style.setProperty("visibility","hidden","important"),n={},o={},r=function(t){var n=i.createElement("span"),o=n.style;return o.position="absolute",o.top="0",o.left="0",o.fontFamily=t,n.textContent="mmMwWLliI0O&1",e.appendChild(n),n},s=function(t,e){return r("'".concat(t,"',").concat(e))},c=function(){for(var t={},e=function(e){t[e]=J.map((function(t){return s(e,t)}))},n=0,i=U;n<i.length;n++)e(i[n]);return t},l=function(t){return J.some((function(e,i){return t[i].offsetWidth!==n[e]||t[i].offsetHeight!==o[e]}))},u=J.map(r),d=c(),t.appendChild(e),h=0;h<J.length;h++)n[J[h]]=u[h].offsetWidth,o[J[h]]=u[h].offsetHeight;return[2,U.filter((function(t){return l(d[t])}))]}))}))}))},domBlockers:function(t){var e=(void 0===t?{}:t).debug;return r(this,void 0,void 0,(function(){var t,n,i,o,r;return a(this,(function(a){switch(a.label){case 0:return B()||F()?(s=atob,t={abpIndo:["#Iklan-Melayang","#Kolom-Iklan-728","#SidebarIklan-wrapper",'[title="ALIENBOLA" i]',s("I0JveC1CYW5uZXItYWRz")],abpvn:[".quangcao","#mobileCatfish",s("LmNsb3NlLWFkcw=="),'[id^="bn_bottom_fixed_"]',"#pmadv"],adBlockFinland:[".mainostila",s("LnNwb25zb3JpdA=="),".ylamainos",s("YVtocmVmKj0iL2NsaWNrdGhyZ2guYXNwPyJd"),s("YVtocmVmXj0iaHR0cHM6Ly9hcHAucmVhZH
2BlYWsuY29tL2FkcyJd")],adBlockPersian:["#navbar_notice_50",".kadr",'TABLE[width="140px"]',"#divAgahi",s("YVtocmVmXj0iaHR0cDovL2cxLnYuZndtcm0ubmV0L2FkLyJd")],adBlockWarningRemoval:["#adblock-honeypot",".adblocker-root",".wp_adblock_detect",s("LmhlYWRlci1ibG9ja2VkLWFk"),s("I2FkX2Jsb2NrZXI=")],adGuardAnnoyances:[".hs-sosyal","#cookieconsentdiv",'div[class^="app_gdpr"]',".as-oil",'[data-cypress="soft-push-notification-modal"]'],adGuardBase:[".BetterJsPopOverlay",s("I2FkXzMwMFgyNTA="),s("I2Jhbm5lcmZsb2F0MjI="),s("I2NhbXBhaWduLWJhbm5lcg=="),s("I0FkLUNvbnRlbnQ=")],adGuardChinese:[s("LlppX2FkX2FfSA=="),s("YVtocmVmKj0iLmh0aGJldDM0LmNvbSJd"),"#widget-quan",s("YVtocmVmKj0iLzg0OTkyMDIwLnh5eiJd"),s("YVtocmVmKj0iLjE5NTZobC5jb20vIl0=")],adGuardFrench:["#pavePub",s("LmFkLWRlc2t0b3AtcmVjdGFuZ2xl"),".mobile_adhesion",".widgetadv",s("LmFkc19iYW4=")],adGuardGerman:['aside[data-portal-id="leaderboard"]'],adGuardJapanese:["#kauli_yad_1",s("YVtocmVmXj0iaHR0cDovL2FkMi50cmFmZmljZ2F0ZS5uZXQvIl0="),s("Ll9wb3BJbl9pbmZpbml0ZV9hZA=="),s("LmFkZ29vZ2xl"),s("Ll9faXNib29zdFJldHVybkFk")],adGuardMobile:[s("YW1wLWF1dG8tYWRz"),s("LmFtcF9hZA=="),'amp-embed[type="24smi"]',"#mgid_iframe1",s("I2FkX2ludmlld19hcmVh")],adGuardRussian:[s("YVtocmVmXj0iaHR0cHM6Ly9hZC5sZXRtZWFkcy5jb20vIl0="),s("LnJlY2xhbWE="),'div[id^="smi2adblock"]',s("ZGl2W2lkXj0iQWRGb3hfYmFubmVyXyJd"),"#psyduckpockeball"],adGuardSocial:[s("YVtocmVmXj0iLy93d3cuc3R1bWJsZXVwb24uY29tL3N1Ym1pdD91cmw9Il0="),s("YVtocmVmXj0iLy90ZWxlZ3JhbS5tZS9zaGFyZS91cmw/Il0="),".etsy-tweet","#inlineShare",".popup-social"],adGuardSpanishPortuguese:["#barraPublicidade","#Publicidade","#publiEspecial","#queTooltip",".cnt-publi"],adGuardTrackingProtection:["#qoo-counter",s("YVtocmVmXj0iaHR0cDovL2NsaWNrLmhvdGxvZy5ydS8iXQ=="),s("YVtocmVmXj0iaHR0cDovL2hpdGNvdW50ZXIucnUvdG9wL3N0YXQucGhwIl0="),s("YVtocmVmXj0iaHR0cDovL3RvcC5tYWlsLnJ1L2p1bXAiXQ=="),"#top100counter"],adGuardTurkish:["#backkapat",s("I3Jla2xhbWk="),s("YVtocmVmXj0iaHR0cDovL2Fkc2Vydi5vbnRlay5jb20udHIvIl0="),s("YVtocmVmXj0iaHR0cDovL2l6bGVuemkuY29tL2NhbXBhaWduLyJd"),s("YVtocmVmXj0iaHR0cDovL3d3dy5pbnN0YWxsYWRzLm5ldC8iXQ==")],bulgarian:[s("dGQjZnJlZW5ldF90YWJsZV9hZHM="),"#ea_intext_div",".lapni-pop-over","#xenium_hot_offers"],easyList:[".yb-floorad",s("LndpZGdldF9wb19hZHNfd2lkZ2V0"),s("LnRyYWZmaWNqdW5reS1hZA=="),".textad_headline",s("LnNwb25zb3JlZC10ZXh0LWxpbmtz")],easyListChina:[s("LmFwcGd1aWRlLXdyYXBbb25jbGljayo9ImJjZWJvcy5jb20iXQ=="),s("LmZyb250cGFnZUFkdk0="),"#taotaole","#aafoot.top_box",".cfa_popup"],easyListCookie:[".ezmob-footer",".cc-CookieWarning","[data-cookie-number]",s("LmF3LWNvb2tpZS1iYW5uZXI="),".sygnal24-gdpr-modal-wrap"],easyListCzechSlovak:["#onlajny-stickers",s("I3Jla2xhbW5pLWJveA=="),s("LnJla2xhbWEtbWVnYWJvYXJk"),".sklik",s("W2lkXj0ic2tsaWtSZWtsYW1hIl0=")],easyListDutch:[s("I2FkdmVydGVudGll"),s("I3ZpcEFkbWFya3RCYW5uZXJCbG9jaw=="),".adstekst",s("YVtocmVmXj0iaHR0cHM6Ly94bHR1YmUubmwvY2xpY2svIl0="),"#semilo-lrectangle"],easyListGermany:["#SSpotIMPopSlider",s("LnNwb25zb3JsaW5rZ3J1ZW4="),s("I3dlcmJ1bmdza3k="),s("I3Jla2xhbWUtcmVjaHRzLW1pdHRl"),s("YVtocmVmXj0iaHR0cHM6Ly9iZDc0Mi5jb20vIl0=")],easyListItaly:[s("LmJveF9hZHZfYW5udW5jaQ=="),".sb-box-pubbliredazionale",s("YVtocmVmXj0iaHR0cDovL2FmZmlsaWF6aW9uaWFkcy5zbmFpLml0LyJd"),s("YVtocmVmXj0iaHR0cHM6Ly9hZHNlcnZlci5odG1sLml0LyJd"),s("YVtocmVmXj0iaHR0cHM6Ly9hZmZpbGlhemlvbmlhZHMuc25haS5pdC8iXQ==")],easyListLithuania:[s("LnJla2xhbW9zX3RhcnBhcw=="),s("LnJla2xhbW9zX251b3JvZG9z"),s("aW1nW2FsdD0iUmVrbGFtaW5pcyBza3lkZWxpcyJd"),s("aW1nW2FsdD0iRGVkaWt1b3RpLmx0IHNlcnZlcmlhaSJd"),s("aW1nW2FsdD0iSG9zdGluZ2FzIFNlcnZlcmlhaS5sdCJd")],estonian:[s("QVtocmVmKj0iaHR0cDovL3BheTRyZXN1bHRzMjQuZXUiXQ==")],fanboyAnnoyances:["#ac-lre-player",".navigate-to-top","#subscribe_popup",".newsletter_holder","#back-top"],fanboyAntiFacebook:[".util-bar-module-firefly-visible"],fanboyEnhancedTrackers:[".open.pushModal","#issuem-leaky-paywall-articles-zero-remaining-nag","#sovrn_container",'div[class$="-hide"][zoompage-fontsize][style="display: block;"]',".BlockNag__Card"],fanboySocial:["#FollowUs","#meteored_share","#social_follow",".article-sharer",".community__social-desc"],frellwitSwedish:[s("YVtocmVmKj0iY2FzaW5vcHJvLnNlIl1bdGFyZ2V0PSJfYmxhbmsiXQ=="),s("YVtocmVmKj0iZG9rdG9yLXNlLm9uZWxpbmsubWUiX
2Q=="),"article.category-samarbete",s("ZGl2LmhvbGlkQWRz"),"ul.adsmodern"],greekAdBlock:[s("QVtocmVmKj0iYWRtYW4ub3RlbmV0LmdyL2NsaWNrPyJd"),s("QVtocmVmKj0iaHR0cDovL2F4aWFiYW5uZXJzLmV4b2R1cy5nci8iXQ=="),s("QVtocmVmKj0iaHR0cDovL2ludGVyYWN0aXZlLmZvcnRobmV0LmdyL2NsaWNrPyJd"),"DIV.agores300","TABLE.advright"],hungarian:["#cemp_doboz",".optimonk-iframe-container",s("LmFkX19tYWlu"),s("W2NsYXNzKj0iR29vZ2xlQWRzIl0="),"#hirdetesek_box"],iDontCareAboutCookies:['.alert-info[data-block-track*="CookieNotice"]',".ModuleTemplateCookieIndicator",".o--cookies--container","#cookies-policy-sticky","#stickyCookieBar"],icelandicAbp:[s("QVtocmVmXj0iL2ZyYW1ld29yay9yZXNvdXJjZXMvZm9ybXMvYWRzLmFzcHgiXQ==")],latvian:[s("YVtocmVmPSJodHRwOi8vd3d3LnNhbGlkemluaS5sdi8iXVtzdHlsZT0iZGlzcGxheTogYmxvY2s7IHdpZHRoOiAxMjBweDsgaGVpZ2h0OiA0MHB4OyBvdmVyZmxvdzogaGlkZGVuOyBwb3NpdGlvbjogcmVsYXRpdmU7Il0="),s("YVtocmVmPSJodHRwOi8vd3d3LnNhbGlkemluaS5sdi8iXVtzdHlsZT0iZGlzcGxheTogYmxvY2s7IHdpZHRoOiA4OHB4OyBoZWlnaHQ6IDMxcHg7IG92ZXJmbG93OiBoaWRkZW47IHBvc2l0aW9uOiByZWxhdGl2ZTsiXQ==")],listKr:[s("YVtocmVmKj0iLy9hZC5wbGFuYnBsdXMuY28ua3IvIl0="),s("I2xpdmVyZUFkV3JhcHBlcg=="),s("YVtocmVmKj0iLy9hZHYuaW1hZHJlcC5jby5rci8iXQ=="),s("aW5zLmZhc3R2aWV3LWFk"),".revenue_unit_item.dable"],listeAr:[s("LmdlbWluaUxCMUFk"),".right-and-left-sponsers",s("YVtocmVmKj0iLmFmbGFtLmluZm8iXQ=="),s("YVtocmVmKj0iYm9vcmFxLm9yZyJd"),s("YVtocmVmKj0iZHViaXp6bGUuY29tL2FyLz91dG1fc291cmNlPSJd")],listeFr:[s("YVtocmVmXj0iaHR0cDovL3Byb21vLnZhZG9yLmNvbS8iXQ=="),s("I2FkY29udGFpbmVyX3JlY2hlcmNoZQ=="),s("YVtocmVmKj0id2Vib3JhbWEuZnIvZmNnaS1iaW4vIl0="),".site-pub-interstitiel",'div[id^="crt-"][data-criteo-id]'],officialPolish:["#ceneo-placeholder-ceneo-12",s("W2hyZWZePSJodHRwczovL2FmZi5zZW5kaHViLnBsLyJd"),s("YVtocmVmXj0iaHR0cDovL2Fkdm1hbmFnZXIudGVjaGZ1bi5wbC9yZWRpcmVjdC8iXQ=="),s("YVtocmVmXj0iaHR0cDovL3d3dy50cml6ZXIucGwvP3V0bV9zb3VyY2UiX
2Q=="),s("ZGl2I3NrYXBpZWNfYWQ=")],ro:[s("YVtocmVmXj0iLy9hZmZ0cmsuYWx0ZXgucm8vQ291bnRlci9DbGljayJd"),s("YVtocmVmXj0iaHR0cHM6Ly9ibGFja2ZyaWRheXNhbGVzLnJvL3Ryay9zaG9wLyJd"),s("YVtocmVmXj0iaHR0cHM6Ly9ldmVudC4ycGVyZm9ybWFudC5jb20vZXZlbnRzL2NsaWNrIl0="),s("YVtocmVmXj0iaHR0cHM6Ly9sLnByb2ZpdHNoYXJlLnJvLyJd"),'a[href^="/url/"]'],ruAd:[s("YVtocmVmKj0iLy9mZWJyYXJlLnJ1LyJd"),s("YVtocmVmKj0iLy91dGltZy5ydS8iXQ=="),s("YVtocmVmKj0iOi8vY2hpa2lkaWtpLnJ1Il0="),"#pgeldiz",".yandex-rtb-block"],thaiAds:["a[href*=macau-uta-popup]",s("I2Fkcy1nb29nbGUtbWlkZGxlX3JlY3RhbmdsZS1ncm91cA=="),s("LmFkczMwMHM="),".bumq",".img-kosana"],webAnnoyancesUltralist:["#mod-social-share-2","#social-tools",s("LmN0cGwtZnVsbGJhbm5lcg=="),".zergnet-recommend",".yt.btn-link.btn-md.btn"]},n=Object.keys(t),[4,tt((r=[]).concat.apply(r,n.map((function(e){return t[e]}))))]):[2,void 0];case 1:return i=a.sent(),e&&function(t,e){for(var n="DOM blockers debug:\n```",i=0,o=Object.keys(t);i<o.length;i++){var r=o[i];n+="\n".concat(r,":");for(var a=0,s=t[r];a<s.length;a++){var c=s[a];n+="\n  ".concat(e[c]?"🚫":"➡️"," ").concat(c)}}console.log("".concat(n,"\n```"))}(t,i),(o=n.filter((function(e){var n=t[e];return m(n.map((function(t){return i[t]})))>.6*n.length}))).sort(),[2,o]}var s}))}))},fontPreferences:function(){return function(t,e){return void 0===e&&(e=4e3),D((function(t,n){var i=n.document,o=i.body,r=o.style;r.width="".concat(e,"px"),r.webkitTextSizeAdjust=r.textSizeAdjust="none",M()?o.style.zoom="".concat(1/n.devicePixelRatio):B()&&(o.style.zoom="reset");var a=i.createElement("div");return a.textContent=s([],Array(e/20|0),!0).map((function(){return"word"})).join(" "),o.appendChild(a),function(t,e){for(var n={},i={},o=0,r=Object.keys(ut);o<r.length;o++){var a=r[o],s=ut[a],c=s[0],l=void 0===c?{}:c,u=s[1],d=void 0===u?"mmMwWLliI0fiflO&1":u,h=t.createElement("span");h.textContent=d,h.style.whiteSpace="nowrap";for(var v=0,f=Object.keys(l);v<f.length;v++){var p=f[v],m=l[p];void 0!==m&&(h.style[p]=m)}n[a]=h,e.append(t.createElement("br"),h)}for(var g=0,y=Object.keys(ut);g<y.length;g++)i[a=y[g]]=n[a].getBoundingClientRect().width;return i}(i,o)}),'<!doctype html><html><head><meta name="viewport" content="width=device-width, initial-scale=1">')}()},audio:function(){return B()&&Z()&&G()?-4:function(){var t=window,e=t.OfflineAudioContext||t.webkitOfflineAudioContext;if(!e)return-2;if(B()&&!R()&&!function(){var t=window;return m(["DOMRectList"in t,"RTCPeerConnectionIceEvent"in t,"SVGGeometryElement"in t,"ontransitioncancel"in t])>=3}())return-1;var n=new e(1,5e3,44100),i=n.createOscillator();i.type="triangle",i.frequency.value=1e4;var o=n.createDynamicsCompressor();o.threshold.value=-50,o.knee.value=40,o.ratio.value=12,o.attack.value=0,o.release.value=.25,i.connect(o),o.connect(n.destination),i.start(0);var r=function(t){var e=function(){};return[new Promise((function(n,i){var o=!1,r=0,a=0;t.oncomplete=function(t){return n(t.renderedBuffer)};var s=function(){setTimeout((function(){return i(N("timeout"))}),Math.min(500,a+5e3-Date.now()))},c=function(){try{var e=t.startRendering();switch(l(e)&&h(e),t.state){case"running":a=Date.now(),o&&s();break;case"suspended":document.hidden||r++,o&&r>=3?i(N("suspended")):setTimeout(c,500)}}catch(t){i(t)}};c(),e=function(){o||(o=!0,a>0&&s())}})),e]}(n),a=r[0],s=r[1],c=a.then((function(t){return function(t){for(var e=0,n=0;n<t.length;++n)e+=Math.abs(t[n]);return e}(t.getChannelData(0).subarray(4500))}),(function(t){if("timeout"===t.name||"suspended"===t.name)return-3;throw t}));return h(c),function(){return s(),c}}()},screenFrame:function(){var t=this;if(B()&&Z()&&G())return function(){return Promise.resolve(void 0)};var e=K();return function(){return r(t,void 0,void 0,(function(){var t,n;return a(this,(function(i){switch(i.label){case 0:return[4,e()];case 1:return t=i.sent(),[2,[(n=function(t){return null===t?null:g(t,10)})(t[0]),n(t[1]),n(t[2]),n(t[3])]]}}))}))}},canvas:function(){return function(t){var e,n,i,o=!1,r=function(){var t=document.createElement("canvas");return t.width=1,t.height=1,[t,t.getContext("2d")]}(),a=r[0],s=r[1];return function(t,e){return!(!e||!t.toDataURL)}(a,s)?(o=function(t){return t.rect(0,0,10,10),t.rect(2,2,6,6),!t.isPointInPath(
25,5,"evenodd")}(s),t?n=i="skipped":(e=function(t,e){!function(t,e){t.width=240,t.height=60,e.textBaseline="alphabetic",e.fillStyle="#f60",e.fillRect(100,1,62,20),e.fillStyle="#069",e.font='11pt "Times New Roman"';var n="Cwm fjordbank gly ".concat(String.fromCharCode(55357,56835));e.fillText(n,2,15),e.fillStyle="rgba(102, 204, 0, 0.2)",e.font="18pt Arial",e.fillText(n,4,45)}(t,e);var n=Q(t);return n!==Q(t)?["unstable","unstable"]:(function(t,e){t.width=122,t.height=110,e.globalCompositeOperation="multiply";for(var n=0,i=[["#f2f",40,40],["#2ff",80,40],["#ff2",60,80]];n<i.length;n++){var o=i[n],r=o[0],a=o[1],s=o[2];e.fillStyle=r,e.beginPath(),e.arc(a,s,40,0,2*Math.PI,!0),e.closePath(),e.fill()}e.fillStyle="#f9c",e.arc(60,60,60,0,2*Math.PI,!0),e.arc(60,60,20,0,2*Math.PI,!0),e.fill("evenodd")}(t,e),[Q(t),n])}(a,s),n=e[0],i=e[1])):n=i="unsupported",{winding:o,geometry:n,text:i}}(B()&&Z()&&G())},osCpu:function(){return navigator.oscpu},languages:function(){var t,e=navigator,n=[],i=e.language||e.userLanguage||e.browserLanguage||e.systemLanguage;if(void 0!==i&&n.push([i]),Array.isArray(e.languages))M()&&m([!("MediaSettingsRange"in(t=window)),"RTCEncodedAudioFrame"in t,""+t.Intl=="[object Intl]",""+t.Reflect=="[object Reflect]"])>=3||n.push(e.languages);else if("string"==typeof e.languages){var o=e.languages;o&&n.push(o.split(","))}return n},colorDepth:function(){return window.screen.colorDepth},deviceMemory:function(){return p(f(navigator.deviceMemory),void 0)},screenResolution:function(){if(!(B()&&Z()&&G()))return function(){var t=screen,e=function(t){return p(v(t),null)},n=[e(t.width),e(t.height)];return n.sort().reverse(),n}()},hardwareConcurrency:function(){return p(v(navigator.hardwareConcurrency),void 0)},timezone:function(){var t,e=null===(t=window.Intl)||void 0===t?void 0:t.DateTimeFormat;if(e){var n=(new e).resolvedOptions().timeZone;if(n)return n}var i,o=(i=(new Date).getFullYear(),-Math.max(f(new Date(i,0,1).getTimezoneOffset()),f(new Date(i,6,1).getTimezoneOffset())));return"UTC".concat(o>=0?"+":"").concat(o)},sessionStorage:function(){try{return!!window.sessionStorage}catch(t){return!0}},localStorage:function(){try{return!!window.localStorage}catch(t){return!0}},indexedDB:function(){if(!I()&&!function(){var t=window,e=navigator;return m(["msWriteProfilerMark"in t,"MSStream"in t,"msLaunchUri"in e,"msSaveBlob"in e])>=3&&!I()}())try{return!!window.indexedDB}catch(t){return!0}},openDatabase:function(){return!!window.openDatabase},cpuClass:function(){return navigator.cpuClass},platform:function(){var t=navigator.platform;return"MacIntel"===t&&B()&&!R()?function(){if("iPad"===navigator.platform)return!0;var t=screen,e=t.width/t.height;return m(["MediaSource"in window,!!Element.prototype.webkitRequestFullscreen,e>.65&&e<1.53])>=2}()?"iPad":"iPhone":t},plugins:function(){var t=navigator.plugins;if(t){for(var e=[],n=0;n<t.length;++n){var i=t[n];if(i){for(var o=[],r=0;r<i.length;++r){var a=i[r];o.push({type:a.type,suffixes:a.suffixes})}e.push({name:i.name,description:i.description,mimeTypes:o})}}return e}},touchSupport:function(){var t,e=navigator,n=0;void 0!==e.maxTouchPoints?n=v(e.maxTouchPoints):void 0!==e.msMaxTouchPoints&&(n=e.msMaxTouchPoints);try{document.createEvent("TouchEvent"),t=!0}catch(e){t=!1}return{maxTouchPoints:n,touchEvent:t,touchStart:"ontouchstart"in window}},vendor:function(){return navigator.vendor||""},vendorFlavors:function(){for(var t=[],e=0,n=["chrome","safari","__crWeb","__gCrWeb","yandex","__yb","__ybro","__firefox__","__edgeTrackingPreventionStatistics","webkit","oprt","samsungAr","ucweb","UCShellJava","puffinDevice"];e<n.length;e++){var o=n[e],r=window[o];r&&"object"==i(r)&&t.push(o)}return t.sort()},cookiesEnabled:function(){var t=document;try{t.cookie="cookietest=1; SameSite=Strict;";var e=-1!==t.cookie.indexOf("cookietest=");return t.cookie="cookietest=1; SameSite=Strict; expires=Thu, 01-Jan-1970 00:00:01 GMT",e}catch(t){return!1}},colorGamut:function(){for(var t=0,e=["rec2020","p3","srgb"];t<e.length;t++){var n=e[t];if(matchMedia("(color-gamut: ".concat(n,")")).matches)return n}},invertedColors:function(){return!!nt("inverted")||!nt("none")&&void 0},forcedColors:function(){return!!it("active")||!it("none")&&void 0},monochrome:function(){if(matchMedia("(min-monochrome: 0)").matches){for(var t=0;t<=100;++t)if(matchMedia("(max-monochrome: ".concat(t,")")).matches)return t;throw new Error("Too high value")}},contrast:function(){return ot("no-preference")?0:ot("high")||ot("more")?1:ot("low")||ot("less")?-1:ot("forced")?10:void 0},reducedMotion:function(){return!!rt("reduce")||!rt("no-preference")&&void 0},reducedTransparency:function(){return!!at("reduce")||!at("no-preference")&&void 0},hdr:function(){return!!st("high")||!st("standard")&&void 0},math:function(){var t,e=ct.acos||lt,n=ct.acosh||lt,i=ct.asin||lt,o=ct.asinh||lt,r=ct.atanh||lt,a=ct.atan||lt,s=ct.sin||lt,c=ct.sinh||lt,l=ct.cos||lt,u=ct.cosh||lt,d=ct.tan||lt,h=ct.tanh||lt,v=ct.exp||lt,f=ct.expm1||lt,p=ct.log1p||lt;return{acos:e(.12312423423423424),acosh:n(1e308),acoshPf:(t=1e154,ct.log(t+ct.sqrt(t*t-1))),asin:i(.12312423423423424),asinh:o(1),asinhPf:ct.log(1+ct.sqrt(2)),atanh:r(.5),atanhPf:ct.log(3)/2,atan:a(.5),sin:s(-1e300),sinh:c(1),sinhPf:ct.exp(1)-1/ct.exp(1)/2,cos:l(10.000000000123),cosh:u(1),coshPf:(ct.exp(1)+1/ct.exp(1))/2,tan:d(-1e300),tanh:h(1),tanhPf:(ct.exp(2)-1)/(ct.exp(2)+1),exp:v(1),expm1:f(1),expm1Pf:ct.exp(1)-1,log1p:p(10),log1pPf:ct.log(11),powPI:ct.pow(ct.PI,-100)}},pdfViewerEnabled:function(){return navigator.pdfViewerEnabled},architecture:function(){var t=new Float32Array(1),e=new Uint8Array(t.buffer);return t[0]=1/0,t[0]=t[0]-t[0],e[3]},applePay:function(){var t=window.ApplePaySession;if("function"!=typeof(null==t?void 0:t.canMakePayments))return-1;try{return t.canMakePayments()?1:0}catch(t){return function(t){if(t instanceof Error){if("InvalidAccessError"===t.name){if(/\bfrom\b.*\binsecure\b/i.test(t.message))return-2;if(/\bdifferent\b.*\borigin\b.*top.level\b.*\bframe\b/i.test(t.message))return-3}if("SecurityError"===t.name&&/\bthird.party iframes?.*\bnot.allowed\b/i.test(t.message))return-3}throw t}(t)}},privateClickMeasurement:function(){var t,e=document.createElement("a"),n=null!==(t=e.attributionSourceId)&&void 0!==t?t:e.attributionsourceid;return void 0===n?void 0:String(n)},audioBaseLatency:function(){var t;return F()||B()?window.AudioContext&&null!==(t=(new AudioContext).baseLatency)&&void 0!==t?t:-1:-2},webGlBasics:function(t){var e,n,i,o,r,a,s=pt(t.cache);
2if(!s)return-1;if(!wt(s))return-2;var c=bt()?null:s.getExtension("WEBGL_debug_renderer_info");return{version:(null===(e=s.getParameter(s.VERSION))||void 0===e?void 0:e.toString())||"",vendor:(null===(n=s.getParameter(s.VENDOR))||void 0===n?void 0:n.toString())||"",vendorUnmasked:c?null===(i=s.getParameter(c.UNMASKED_VENDOR_WEBGL))||void 0===i?void 0:i.toString():"",renderer:(null===(o=s.getParameter(s.RENDERER))||void 0===o?void 0:o.toString())||"",rendererUnmasked:c?null===(r=s.getParameter(c.UNMASKED_RENDERER_WEBGL))||void 0===r?void 0:r.toString():"",shadingLanguageVersion:(null===(a=s.getParameter(s.SHADING_LANGUAGE_VERSION))||void 0===a?void 0:a.toString())||""}},webGlExtensions:function(t){var e=pt(t.cache);if(!e)return-1;if(!wt(e))return-2;var n=e.getSupportedExtensions(),i=e.getContextAttributes(),o=[],r=[],a=[],s=[];if(i)for(var c=0,l=Object.keys(i);c<l.length;c++){var u=l[c];o.push("".concat(u,"=").concat(i[u]))}for(var d=0,h=gt(e);d<h.length;d++){var v=e[w=h[d]];r.push("".concat(w,"=").concat(v).concat(dt.has(v)?"=".concat(e.getParameter(v)):""))}if(n)for(var f=0,p=n;f<p.length;f++){var m=p[f];if(!("WEBGL_debug_renderer_info"===m&&bt()||"WEBGL_polygon_mode"===m&&(M()||B()))){var g=e.getExtension(m);if(g)for(var y=0,b=gt(g);y<b.length;y++){var w;v=g[w=b[y]],a.push("".concat(w,"=").concat(v).concat(ht.has(v)?"=".concat(e.getParameter(v)):""))}}}for(var k=0,S=vt;k<S.length;k++)for(var _=S[k],C=0,x=ft;C<x.length;C++){var L=x[C],T=mt(e,_,L);s.push("".concat(_,".").concat(L,"=").concat(T.join(",")))}return a.sort(),r.sort(),{contextAttributes:o,parameters:r,shaderPrecisions:s,extensions:n,extensionParameters:a}}};function St(t){var e=function(t){if(F())return.4;if(B())return!R()||Z()&&G()?.3:.5;var e="value"in t.platform?t.platform.value:"";return/^Win/.test(e)?.6:/^Mac/.test(e)?.5:.7}(t),n=function(t){return g(.99+.01*t,1e-4)}(e);return{score:e,comment:"$ if upgrade to Pro: https://fpjs.dev/pro".replace(/\$/g,"".concat(n))}}function _t(t){return JSON.stringify(t,(function(t,e){return e instanceof Error?o({name:(n=e).name,message:n.message,stack:null===(i=n.stack)||void 0===i?void 0:i.split("\n")},n):e;var n,i}),2)}function Ct(t){return O(function(t){for(var e="",n=0,i=Object.keys(t).sort();n<i.length;n++){var o=i[n],r=t[o],a="error"in r?"error":JSON.stringify(r.value);e+="".concat(e?"|":"").concat(o.replace(/([:|\\])/g,"\\$1"),":").concat(a)}return e}(t))}function xt(t){return void 0===t&&(t=50),function(t,e){void 0===e&&(e=1/0);var n=window.requestIdleCallback;return n?new Promise((function(t){return n.call(window,(function(){return t()}),{timeout:e})})):c(Math.min(t,e))}(t,2*t)}function Lt(t,e){var n=Date.now();return{get:function(i){return r(this,void 0,void 0,(function(){var o,r,s;return a(this,(function(a){switch(a.label){case 0:return o=Date.now(),[4,t()];case 1:return r=a.sent(),s=function(t){var e;return{get visitorId(){return void 0===e&&(e=Ct(this.components)),e},set visitorId(t){e=t},confidence:St(t),components:t,version:"4.4.2"}}(r),(e||(null==i?void 0:i.debug))&&console.log("Copy the text below to get the debug data:\n\n```\nversion: ".concat(s.version,"\nuserAgent: ").concat(navigator.userAgent,"\ntimeBetweenLoadAndGet: ").concat(o-n,"\nvisitorId: ").concat(s.visitorId,"\ncomponents: ").concat(_t(r),"\n```")),[2,s]}}))}))}}}function Tt(t){return void 0===t&&(t={}),r(this,void 0,void 0,(function(){var e,n,i;return a(this,(function(o){switch(o.label){case 0:return t.monitoring,e=t.delayFallback,n=t.debug,[4,xt(e)];case 1:return o.sent(),i=function(t){return P(kt,t,[])}({cache:{},debug:n}),[2,Lt(i,n)]}}))}))}function jt(t){return jt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},jt(t)}function Et(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function Vt(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};
vendor: 4,579 bytes, line 2
2e%2?Et(Object(n),!0).forEach((function(e){Ot(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Et(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Ot(t,e,n){return(e=Mt(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function At(){At=function(){return e};var t,e={},n=Object.prototype,i=n.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},r=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",s=o.toStringTag||"@@toStringTag";function c(t,e,n,i){return Object.defineProperty(t,e,{value:n,enumerable:!i,configurable:!i,writable:!i})}try{c({},"")}catch(t){c=function(t,e,n){return t[e]=n}}function l(e,n,i,o){var r=n&&n.prototype instanceof h?n:h,a=Object.create(r.prototype);return c(a,"_invoke",function(e,n,i){var o=1;return function(r,a){if(3===o)throw Error("Generator is already running");if(4===o){if("throw"===r)throw a;return{value:t,done:!0}}for(i.method=r,i.arg=a;;){var s=i.delegate;if(s){var c=k(s,i);if(c){if(c===d)continue;return c}}if("next"===i.method)i.sent=i._sent=i.arg;else if("throw"===i.method){if(1===o)throw o=4,i.arg;i.dispatchException(i.arg)}else"return"===i.method&&i.abrupt("return",i.arg);o=3;var l=u(e,n,i);if("normal"===l.type){if(o=i.done?4:2,l.arg===d)continue;return{value:l.arg,done:i.done}}"throw"===l.type&&(o=4,i.method="throw",i.arg=l.arg)}}}(e,i,new C(o||[])),!0),a}function u(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var d={};function h(){}function v(){}function f(){}var p={};c(p,r,(function(){return this}));var m=Object.getPrototypeOf,g=m&&m(m(x([])));g&&g!==n&&i.call(g,r)&&(p=g);var y=f.prototype=h.prototype=Object.create(p);function b(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function n(o,r,a,s){var c=u(t[o],t,r);if("throw"!==c.type){var l=c.arg,d=l.value;return d&&"object"==jt(d)&&i.call(d,"__await")?e.resolve(d.__await).then((function(t){n("next",t,a,s)}),(function(t){n("throw",t,a,s)})):e.resolve(d).then((function(t){l.value=t,a(l)}),(function(t){return n("throw",t,a,s)}))}s(c.arg)}var o;c(this,"_invoke",(function(t,i){function r(){return new e((function(e,o){n(t,i,e,o)}))}return o=o?o.then(r,r):r()}),!0)}function k(e,n){var i=n.method,o=e.i[i];if(o===t)return n.delegate=null,"throw"===i&&e.i.return&&(n.method="return",n.arg=t,k(e,n),"throw"===n.method)||"return"!==i&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+i+"' method")),d;var r=u(o,e.i,n.arg);if("throw"===r.type)return n.method="throw",n.arg=r.arg,n.delegate=null,d;var a=r.arg;return a?a.done?(n[e.r]=a.value,n.next=e.n,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,d):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,d)}function S(t){this.tryEntries.push(t)}function _(e){var n=e[4]||{};n.type="normal",n.arg=t,e[4]=n}function C(t){this.tryEntries=[[-1]],t.forEach(S,this),this.reset(!0)}function x(e){if(null!=e){var n=e[r];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function n(){for(;++o<e.length;)if(i.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return a.next=a}}throw new TypeError(jt(e)+" is not iterable")}return v.prototype=f,c(y,"constructor",f),c(f,"constructor",v),v.displayName=c(f,s,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===v||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,f):(t.__proto__=f,c(t,s,"GeneratorFunction")),t.prototype=Object.create(y),t},e.awrap=function(t){return{__await:t}},b(w.prototype),c(w.prototype,a,(function(){return this})),e.AsyncIterator=w,e.async=function(t,n,i,o,r){void 0===r&&(r=Promise);var a=new w(l(t,n,i,o),r);return e.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},b(y),c(y,s,"Generator"),c(y,r,(function(){return this})),c(y,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),n=[];for(var i in e)n.unshift(i);return function t(){for(;n.length;)if((i=n.pop())in e)return t.value=i,t.done=!1,t;return t.done=!0,t}},e.values=x,C.prototype={constructor:C,reset:function(e){if(this.prev=this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEac
2h(_),!e)for(var n in this)"t"===n.charAt(0)&&i.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0][4];if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function i(t){a.type="throw",a.arg=e,n.next=t}for(var o=n.tryEntries.length-1;o>=0;--o){var r=this.tryEntries[o],a=r[4],s=this.prev,c=r[1],l=r[2];if(-1===r[0])return i("end"),!1;if(!c&&!l)throw Error("try statement without catch or finally");if(null!=r[0]&&r[0]<=s){if(s<c)return this.method="next",this.arg=t,i(c),!0;if(s<l)return i(l),!1}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i[0]>-1&&i[0]<=this.prev&&this.prev<i[2]){var o=i;break}}o&&("break"===t||"continue"===t)&&o[0]<=e&&e<=o[2]&&(o=null);var r=o?o[4]:{};return r.type=t,r.arg=e,o?(this.method="next",this.next=o[2],d):this.complete(r)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),d},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n[2]===t)return this.complete(n[4],n[3]),_(n),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n[0]===t){var i=n[4];if("throw"===i.type){var o=i.arg;_(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,n,i){return this.delegate={i:x(e),r:n,n:i},"next"===this.method&&(this.arg=t),d}},e}function Pt(t,e,n,i,o,r,a){try{var s=t[r](a),c=s.value}catch(t){return void n(t)}s.done?e(c):Promise.resolve(c).then(i,o)}function It(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,Mt(i.key),i)}}function Mt(t){var e=function(t,e){if("object"!=jt(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,e||"default");if("object"!=jt(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==jt(e)?e:e+""}var Bt=function(){return function(t,e,n){return e&&It(t.prototype,e),n&&It(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}((function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.userId=ttsObj.user_id,"0"==this.userId&&this.getUniqueUserId(),this.apiUrl=ttsObj.api_url+ttsObj.api_namespace+"/"+ttsObj.api_version+"/track",this.postId=e,this.sessionData=this.getSessionData(),this._startTimeTracking=!1,this.listeningLengthInterval=null,window.addEventListener("beforeunload",this.sendSessionData.bind(this))}),[{key:"startTimeTracking",get:function(){return this._startTimeTracking},set:function(t){this._startTimeTracking=t,this.trackListeningLength()}},{key:"handleStartTimeTracking",value:function(t){this.trackListeningLength()}},{key:"trackInit",value:function(){"0"==this.userId&&this.getUniqueUserId(),this.addEvent("init")}},{key:"trackPlay",value:function(){this.startTimeTracking=!0,this.addEvent("play")}},{key:"trackPause",value:function(){this.startTimeTracking=!1,this.addEvent("pause")}},{key:"trackResume",value:function(){this.startTimeTracking=!0,this.addEvent("resume")}},{key:"trackEnd",value:function(){this.startTimeTracking=!1,this.addEvent("end")}},{key:"trackListeningLength",value:function(){var t=this;this.startTimeTracking?this.listeningLengthInterval||(this.listeningLengthInterval=setInterval((function(){var e,n=t.getSessionData();null!=n&&n.listening_length&&(t.listeningLength=null==n||null===(e=n.listening_length)||void 0===e?void 0:e.length);t.listeningLength+=1,t.addEvent("time")}),1e3)):(clearInterval(this.listeningLengthInterval),this.listeningLengthInterval=null,this.startTimeTracking&&this.addEvent("time"),this.listeningLength=0)}},{key:"getSessionData",value:function(){var t=sessionStorage.getItem("atlasVoice_analytics_data");return t?JSON.parse(t):{}}},{key:"saveSessionData",value:function(){sessionStorage.setItem("atlasVoice_analytics_data",JSON.stringify(this.sessionData))}},{key:"sendSessionData",value:function(){var t,e;
2this.shouldTrackAnalyticsData()&&(this.sessionData=this.getSessionData(),0!==(null===(t=Object.keys(this.sessionData))||void 0===t?void 0:t.length)&&(fetch(this.apiUrl,{method:"POST",headers:{"Content-Type":"application/json","X-WP-NONCE":null===(e=window)||void 0===e||null===(e=e.ttsObj)||void 0===e?void 0:e.rest_nonce},body:JSON.stringify({analytics:this.sessionData,post_id:this.postId,user_id:this.userId,other_data:{}})}),sessionStorage.removeItem("atlasVoice_analytics_data"),sessionStorage.removeItem("atlasVoice_analytics_is_initiated"),window.hasAtlasVoiceAnalyticsBeforeUnloadListener=!1))}},{key:"getUniqueUserId",value:(t=At().mark((function t(){var e,n;return At().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e=this.userId,"0"!=this.userId){t.next=5;break}return n=Tt(),t.next=5,n.then((function(t){return t.get()})).then((function(t){e=t.visitorId}));case 5:this.userId=e;case 6:case"end":return t.stop()}}),t,this)})),e=function(){var e=this,n=arguments;return new Promise((function(i,o){var r=t.apply(e,n);function a(t){Pt(r,i,o,a,s,"next",t)}function s(t){Pt(r,i,o,a,s,"throw",t)}a(void 0)}))},function(){return e.apply(this,arguments)})},{key:"addEvent",value:function(t){var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.shouldTrackAnalyticsData()){var i,o={};if(null!==(e=this.sessionData)&&void 0!==e&&e[t])o=Vt({count:(null===(i=this.sessionData)||void 0===i||null===(i=i[t])||void 0===i?void 0:i.count)+1,timestamp:(new Date).toISOString()},n);else o=Vt({count:1,timestamp:(new Date).toISOString()},n);this.sessionData[t]=o,this.saveSessionData()}}},{key:"addEvent_new",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.sessionData[this.postId]||(this.sessionData[this.postId]={}),this.sessionData[this.postId][t]||(this.sessionData[this.postId][t]={count:0}),this.sessionData[this.postId][t].count+=1,this.sessionData[this.postId][t]=Vt(Vt({},this.sessionData[this.postId][t]),e),this.saveSessionData()}},{key:"captureDemographics",value:function(){var t=this;fetch("https://ipinfo.io/json?token=your_token").then((function(t){return t.json()})).then((function(e){t.addEvent("demographics",e)}))}},{key:"captureDeviceInfo",value:function(){var t={userAgent:navigator.userAgent,platform:navigator.platform,language:navigator.language};this.addEvent("device_info",t)}},{key:"getReport",value:function(t){return fetch("".concat(this.apiUrl,"/report?period=").concat(t)).then((function(t){return t.json()}))}},{key:"shouldTrackAnalyticsData",value:function(){var t,e,n,i,o,r,a,s=!0;if(null===(t=window)||void 0===t||null===(t=t.ttsObj)||void 0===t||null===(t=t.settings)||void 0===t||null===(t=t.analytics)||void 0===t||!t.tts_enable_analytics)return!1;null!==(e=window)&&void 0!==e&&null!==(e=e.ttsObj)&&void 0!==e&&null!==(e=e.settings)&&void 0!==e&&null!==(e=e.analytics)&&void 0!==e&&null!==(e=e.tts_trackable_post_ids)&&void 0!==e&&e.length&&(null!==(n=window)&&void 0!==n&&n.ttsObj.is_pro_active&&null!==(i=window)&&void 0!==i&&null!==(i=i.ttsObj)&&void 0!==i&&null!==(i=i.settings)&&void 0!==i&&null!==(i=i.analytics)&&void 0!==i&&i.tts_trackable_post_ids.includes("all")||null!==(o=window)&&void 0!==o&&o.ttsObj.is_pro_active&&null!==(r=window)&&void 0!==r&&null!==(r=r.ttsObj)&&void 0!==r&&null!==(r=r.settings)&&void 0!==r&&null!==(r=r.analytics)&&void 0!==r&&r.tts_trackable_post_ids.includes(this.postId)?s=!0:null!==(a=window)&&void 0!==a&&null!==(a=a.ttsObj)&&void 0!==a&&null!==(a=a.settings)&&void 0!==a&&null!==(a=a.analytics)&&void 0!==a&&a.tts_trackable_post_ids.includes(this.postId)||(s=!1));return s}}]);var t,e}();const Rt=Bt;window.AtlasVoiceAnalytics=Bt},522:(t,e,n)=>{n.d(e,{A:()=>u});var i=/^(?:(en-GB-oed|i-ami|i-bnn|i-default|i-enochian|i-hak|i-klingon|i-lux|i-mingo|i-navajo|i-pwn|i-tao|i-tay|i-tsu|sgn-BE-FR|sgn-BE-NL|sgn-CH-DE)|(art-lojban|cel-gaulish|n
2o-bok|no-nyn|zh-guoyu|zh-hakka|zh-min|zh-min-nan|zh-xiang))$|^((?:[a-z]{2,3}(?:(?:-[a-z]{3}){1,3})?)|[a-z]{4}|[a-z]{5,8})(?:-([a-z]{4}))?(?:-([a-z]{2}|\d{3}))?((?:-(?:[\da-z]{5,8}|\d[\da-z]{3}))*)?((?:-[\da-wy-z](?:-[\da-z]{2,8})+)*)?(-x(?:-[\da-z]{1,8})+)?$|^(x(?:-[\da-z]{1,8})+)$/i,o=function(t){return"string"==typeof t||t instanceof String},r=function(t){return o(t)?t.trim():""};const a={trim:r,isNan:function(t){return"number"==typeof t&&isNaN(t)},isNil:function(t){return null==t},isObject:function(t){return"[object Object]"===Object.prototype.toString.call(t)},size:function(t){return t&&Array.isArray(t)&&t.length?t.length:0},isString:o,splitSentences:function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").replace(/\.+/g,".|").replace(/\?/g,"?|").replace(/\!/g,"!|").split("|").map((function(t){return r(t)})).filter(Boolean)},validateLocale:function(t){return"string"==typeof t&&i.test(t)}};var s={};function c(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}Object.defineProperty(s,"__esModule",{value:!0}),s.default=void 0;var l=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.browserSupport="speechSynthesis"in window&&"SpeechSynthesisUtterance"in window,this.synthesisVoice=null}var e,n,i;return e=t,n=[{key:"init",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new Promise((function(n,i){t.browserSupport||i("Your browser does not support Speech Synthesis");var o=(0,a.isNil)(e.listeners)?{}
2:e.listeners,r=!!(0,a.isNil)(e.splitSentences)||e.splitSentences,s=(0,a.isNil)(e.lang)?void 0:e.lang,c=(0,a.isNil)(e.volume)?1:e.volume,l=(0,a.isNil)(e.rate)?1:e.rate,u=(0,a.isNil)(e.pitch)?1:e.pitch,d=(0,a.isNil)(e.voice)?void 0:e.voice;Object.keys(o).forEach((function(t){var e=o[t];"onvoiceschanged"!==t&&(speechSynthesis[t]=function(t){e&&e(t)})})),t._loadVoices().then((function(e){o.onvoiceschanged&&o.onvoiceschanged(e),!(0,a.isNil)(s)&&t.setLanguage(s),!(0,a.isNil)(d)&&t.setVoice(d),!(0,a.isNil)(c)&&t.setVolume(c),!(0,a.isNil)(l)&&t.setRate(l),!(0,a.isNil)(u)&&t.setPitch(u),!(0,a.isNil)(r)&&t.setSplitSentences(r),n({voices:e,lang:t.lang,voice:t.voice,volume:t.volume,rate:t.rate,pitch:t.pitch,splitSentences:t.splitSentences,browserSupport:t.browserSupport})})).catch((function(t){i(t)}))}))}},{key:"_fetchVoices",value:function(){return new Promise((function(t,e){setTimeout((function(){var n=speechSynthesis.getVoices();return(0,a.size)(n)>0?t(n):e("Could not fetch voices")}),100)}))}},{key:"_loadVoices",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:10;return this._fetchVoices().catch((function(n){if(0===e)throw n;return t._loadVoices(e-1)}))}},{key:"hasBrowserSupport",value:function(){return this.browserSupport}},{key:"setVoice",value:function(t){var e,n=speechSynthesis.getVoices();if((0,a.isString)(t)&&(e=n.find((function(e){return e.name===t}))),(0,a.isObject)(t)&&(e=t),!e)throw"Error setting voice. The voice you passed is not valid or the voices have not been loaded yet.";this.synthesisVoice=e}},{key:"setLanguage",value:function(t){if(t=t.replace("_","-"),!(0,a.validateLocale)(t))throw"Error setting language. Please verify your locale is BCP47 format (http://schneegans.de/lv/?tags=es-FR&format=text)";this.lang=t}},{key:"setVolume",value:function(t){if(t=parseFloat(t),!(!(0,a.isNan)(t)&&t>=0&&t<=1))throw"Error setting volume. Please verify your volume value is a number between 0 and 1.";this.volume=t}},{key:"setRate",value:function(t){if(t=parseFloat(t),!(!(0,a.isNan)(t)&&t>=0&&t<=10))throw"Error setting rate. Please verify your volume value is a number between 0 and 10.";this.rate=t}},{key:"setPitch",value:function(t){if(t=parseFloat(t),!(!(0,a.isNan)(t)&&t>=0&&t<=2))throw"Error setting pitch. Please verify your pitch value is a number between 0 and 2.";this.pitch=t}},{key:"setSplitSentences",value:function(t){this.splitSentences=t}},{key:"speak",value:function(t){var e=this;return new Promise((function(n,i){var o=t.text,r=t.listeners,s=void 0===r?{}:r,c=t.queue,l=void 0===c||c,u=(0,a.trim)(o);(0,a.isNil)(u)&&n(),!l&&e.cancel();var d=[],h=e.splitSentences?(0,a.splitSentences)(u):[u];h.forEach((function(t,o){var r=o===(0,a.size)(h)-1,c=new SpeechSynthesisUtterance;e.synthesisVoice&&(c.voice=e.synthesisVoice),e.lang&&(c.lang=e.lang),e.volume&&(c.volume=e.volume),e.rate&&(c.rate=e.rate),e.pitch&&(c.pitch=e.pitch),c.text=t,Object.keys(s).forEach((function(t){var e=s[t];c[t]=function(o){e&&e(o),"onerror"===t&&i({utterances:d,lastUtterance:c,error:o}),"onend"===t&&r&&n({utterances:d,lastUtterance:c})}})),d.push(c),speechSynthesis.speak(c)}))}))}},{key:"pending",value:function(){return speechSynthesis.pending}},{key:"paused",value:function(){return speechSynthesis.paused}},{key:"speaking",value:function(){return speechSynthesis.speaking}},{key:"pause",value:function(){speechSynthesis.pause()}},{key:"resume",value:function(){speechSynthesis.resume()}},{key:"cancel",value:function(){speechSynthesis.cancel()}}],n&&c(e.prototype,n),i&&c(e,i),t}();const u=l},893:(t,e,n)=>{n.d(e,{A:()=>V});var i=n(522);function o(t){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}function r(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,a(i.key),i)}}function a(t){var e=function(t,e){if("object"!=o(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,e||"default");if("object"!=o(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}
2(t,"string");return"symbol"==o(e)?e:e+""}function s(t,e,n){c(t,e),e.set(t,n)}function c(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}function l(t,e){return t.get(d(t,e))}function u(t,e,n){return t.set(d(t,e),n),n}function d(t,e,n){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:n;throw new TypeError("Private element is not present on this object")}var h=new WeakMap,v=new WeakMap,f=new WeakMap,p=new WeakMap,m=new WeakMap,g=new WeakMap,y=new WeakMap,b=new WeakSet,w=function(){return t=function t(e,n,i,o){var r,l;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),c(r=this,l=b),l.add(r),s(this,h,""),s(this,v,{}),function(t,e,n){(e=a(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n}(this,"voices",[]),s(this,f,"Google UK English Female"),s(this,p,"en-GB"),s(this,m,"en-GB"),s(this,g,"Google UK English Female"),s(this,y,[]),u(v,this,e),this.voices=n,i&&u(m,this,i),o&&u(g,this,o),this.defineVoiceAndLang(o,i),console.log({voice:this.getVoice(),lang:this.getLanguage()})},e=[{key:"isAndroid",value:function(){var t=navigator.userAgent.toLowerCase().indexOf("android")>-1;return!!t}},{key:"getLanguage",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l(f,this),e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l(p,this);return l(p,this)===e||this.defineVoiceAndLang(t,e),l(p,this)}},{key:"getVoice",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l(f,this),e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l(p,this);return l(f,this)===t||this.defineVoiceAndLang(t,e),l(f,this)}},{key:"setLanguage",value:function(t,e){var n=this,i=!1;return this.voices.length?(Object.values(this.voices).map((function(e){var o=new RegExp(t,"gi");null!==e.lang.match(o)&&e.name&&(u(p,n,e.lang),i=!0)})),{lang:l(p,this),isSupported:i}):{lang:l(p,this),isSupported:i}}},{key:"setVoice",value:function(t){u(f,this,t)}},{key:"getVoiceByLangCode",value:function(t){for(var e=0;e<this.voices.length;e++){var n=this.voices[e];if(n.lang===t)return n.name}return!1}},{key:"defineVoiceAndLang",value:function(t,e){var n,i="",o=t||l(g,this),r=e||l(m,this),a=d(b,this,k).call(this,r),s=d(b,this,S).call(this,a);if(console.log({selectedLang:r,selectedVoice:o,langCountryCode:a,filteredVoices:s}),s.length>1)for(var c=0;c<s.length;c++){if(i=s[c].lang,n=s[c].name,o===s[c].name){u(f,this,n),u(p,this,i);break}u(f,this,n),u(p,this,i)}else 1===s.length?(u(f,this,s[0].name),u(p,this,s[0].lang)):(u(f,this,t),u(p,this,e))}},{key:"getVoices",value:function(){return this.voices}},{key:"validateCountryCode",value:function(t){for(var e=this.voices,n=0;n<e.length;n++){var i=e[n].lang;if((i=d(b,this,k).call(this,i))==t||this.aliasCountryCode(t))return!0}return!1}},{key:"aliasCountryCode",value:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n={es:["es","ca"]};for(var i in n)if(n[i].includes(t))return!!e||i;return!e&&t}}],e&&r(t.prototype,e),n&&r(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,e,n}();function k(t){return t&&-1!==t.indexOf("-")?t.split("-")[0]:t&&-1!==t.indexOf("_")?t.split("_")[0]:t}function S(t){var e=this;return u(y,this,[]),Object.values(this.voices).map((function(n){var i=new RegExp(t,"gi");null!==n.lang.match(i)&&n.name&&l(y,e).push(n)})),l(y,this)}window.BrowserSupport=w;var _,C=n(111),x=n(379);function L(t){return L="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},L(t)}function T(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,E(i.key),i)}}function j(t,e,n){return(e=E(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function E(t){var e=function(t,e){if("object"!=L(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,e||"default");if("object"!=L(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}
2(t,"string");return"symbol"==L(e)?e:e+""}var V=function(){return t=function t(e){var n,o,r,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,c=arguments.length>3&&void 0!==arguments[3]?arguments[3]:window.TTS;if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),j(this,"TTS",window.TTS),j(this,"browser",null),j(this,"speech",null),j(this,"speechSynthesis",window.speechSynthesis),j(this,"utterence",new SpeechSynthesisUtterance),j(this,"speechRecognitionIsActive",!0),j(this,"speechRecognition",window.speechRecognition||window.webkitSpeechRecognition),j(this,"recordStatus","record"),j(this,"listenStatus","listen"),j(this,"noticeClass","tta_notice"),j(this,"cofiguration",{}),j(this,"timer",null),j(this,"buttonId",null),j(this,"speakButton",null),j(this,"content",null),j(this,"ttsListeningSettings",null),j(this,"languages",[]),j(this,"voices",{}),j(this,"voice","Google UK English Female"),j(this,"language","en-GB"),j(this,"buttonTextArr",null),j(this,"splittedSentances",""),j(this,"isCanceled",!1),j(this,"shouldCancelTimer",null),j(this,"callBackAfterEnd",null),j(this,"splitSentences",null),j(this,"playButtonNo",1),j(this,"analytics",null),j(this,"playButtonIcon",null),this.TTS=c,this.content=a||window.TTS.c
2ontents[e],this.splittedSentances=(0,C.PC)(a),this.buttonId=e,this.buttonTextArr=this.TTS.settings.textArr,this.speakButton=s||document.getElementById(e),this.ttsListeningSettings=this.TTS.settings.listening,this.speech=new i.A,this.splitSentences=C.PC,this.playButtonNo=null!==(n=null===(o=window)||void 0===o||null===(o=o.TTS)||void 0===o||null===(o=o.extra)||void 0===o?void 0:o.player_id)&&void 0!==n?n:1,this.analytics=new x.A(this.TTS.settings.postId),this.playButtonIcon=(0,C.cs)(),"function"==typeof NoSleep&&null!==(r=ttsObj)&&void 0!==r&&r.is_mobile){var l=new NoSleep;window.onload=function(){l.enable(),console.log("NoSleep enabled")}}},e=[{key:"getData",value:function(){return(!(arguments.length>0&&void 0!==arguments[0])||arguments[0])&&(window.TextToSpeech=this),this}},{key:"playButtonText",value:function(){var t,e;return null!==(t=null==this||null===(e=this.buttonTextArr)||void 0===e?void 0:e.listen_text)&&void 0!==t?t:"Listen"}},{key:"playButtonContent",value:function(){var t,e='<div class="tts_button"><span class="dashicons dashicons-controls-play"></span> <span>';if(null!==(t=this.playButtonIcon)&&void 0!==t&&null!==(t=t[1])&&void 0!==t&&t.play){var n,i=(new DOMParser).parseFromString(null===(n=this.playButtonIcon)||void 0===n||null===(n=n[1])||void 0===n?void 0:n.play,"image/svg+xml");e='<div class="tts_button">'.concat(i.documentElement.outerHTML,"</div><span>")}return e+" "+this.playButtonText()+"</span></span></div>"}},{key:"replayButtonText",value:function(){var t,e;return null!==(t=null==this||null===(e=this.buttonTextArr)||void 0===e?void 0:e.replay_text)&&void 0!==t?t:"Replay"}},{key:"replayButtonContent",value:function(){var t,e='<div class="tts_button"><span class="dashicons dashicons-image-rotate"></span> <span>';if(null!==(t=this.playButtonIcon)&&void 0!==t&&null!==(t=t[1])&&void 0!==t&&t.replay){var n,i=(new DOMParser).parseFromString(null===(n=this.playButtonIcon)||void 0===n||null===(n=n[1])||void 0===n?void 0:n.replay,"image/svg+xml");e='<div class="tts_button">'.concat(i.documentElement.outerHTML,"</div><span>")}return e+" "+this.replayButtonText()+"<span></span></span></div>"}},{key:"pauseButtonText",value:function(){var t,e;return null!==(t=null==this||null===(e=this.buttonTextArr)||void 0===e?void 0:e.pause_text)&&void 0!==t?t:"Pause"}},{key:"pauseButtonContent",value:function(){var t,e='<div class="tts_button"><span class="dashicons dashicons-controls-pause"></span> <span>';if(null!==(t=this.playButtonIcon)&&void 0!==t&&null!==(t=t[1])&&void 0!==t&&t.pause){var n,i=(new DOMParser).parseFromString(null===(n=this.playButtonIcon)||void 0===n||null===(n=n[1])||void 0===n?void 0:n.pause,"image/svg+xml");e='<div class="tts_button">'.concat(i.documentElement.outerHTML,"</div><span>")}return e+" "+this.pauseButtonText()+"<span></span></span></div>"}},{key:"resumeButtonText",value:function(){var t,e;return null!==(t=null==this||null===(e=this.buttonTextArr)||void 0===e?void 0:e.resume_text)&&void 0!==t?t:"Resume"}},{key:"resumeButtonContent",value:function(){var t,e='<div class="tts_button"><span class="dashicons dashicons-controls-play"></span> <span>';if(null!==(t=this.playButtonIcon)&&void 0!==t&&null!==(t=t[1])&&void 0!==t&&t.resume){var n,i=(new DOMParser).parseFromString(null===(n=this.playButtonIcon)||void 0===n||null===(n=n[1])||void 0===n?void 0:n.resume,"image/svg+xml");e='<div class="tts_button">'.concat(i.documentElement.outerHTML,"</div><span>")}return e=e+" "+this.resumeButtonText()+"<span></span></span></div>"}},{key:"recordStartButtonContent",value:function(){return'<span class="dashicons dashicons-controls-volumeoff"></span> '+this.buttonTextArr.start_text}},{key:"recordStopButtonConten",value:function(){return'<span class="dashicons dashicons-controls-volumeon"></span> '+this.buttonTextArr.stop_text}},{key:"displayApiMissing",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n="",i="";if(this.speechRecognitionIsActive||(n+="Text To Audio: Please enable speechRecognition"),this.speechSynthesis||(n+=n?" , speechSynthesis.":"Text To Audio: Please enable speechSynthesis."),t){var o,r=null===(o=document.getElementById(t))||void 0===o?void 0:o.previousSibling;r?(n+=' Click here to <a href="https://wordpress.org/plugins/text-to-audio/#how%20to%20enable%20%60%60speechsynthesis%60%60%20on%20firefox%3F" target="_blank">enable</a>',r.style.display="block",r.innerHTML=n,setTimeout((function(){document.querySelector(".tta_notice").style.display="none",r.innerHTML=""}),5e3)):(n+="\nFollow this link to enable: \n".concat(i+="This browser not supports speechSynthesis API"),alert(n))}else e||"?page=text-to-audio"===location.search&&"#/customize"===location.hash?i+=ttsObj.admin_url+"admin.php?page=text-to-audio#/docs":i+="https://wordpress.org/plugins/text-to-audio/#how%20to%20enable%20%60%60speechsynthesis%60%60%20on%20firefox%3F",n+="\nFollow this link to enable: \n".concat(i),alert(n);return!0}},{key:"displayButtonText",value:function(t){var e,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(1==(null==this?void 0:this.playButtonNo)&&null!=this&&null!==(e=this.speakButton)&&void 0!==e&&e.innerHTML){if("listen"===t){var i,o;this.speakButton.innerHTML=this.replayButtonContent();var r=null!==(i=null===(o=window)||void 0===o||null===(o=o.ttsObj)||void 0===o||null===(o=o.buttonTextArr)||void 0===o?void 0:o.replay_hover_title)&&void 0!==i?i:"Click to listen post.";this.speakButton.setAttribute("title","Text To Audio : "+r)}else if("pause"===t){var a,s;this.speakButton.innerHTML=this.pauseButtonContent();var c=null!==(a=null===(s=window)||void 0===s||null===(s=s.ttsObj)||void 0===s||null===(s=s.buttonTextArr)||void 0===s?void 0:s.pause_hover_title)&&void 0!==a?a:this.pauseButtonText();this.speakButton.setAttribute("title","Text To Audio : "+c)}else if("resume"===t){var l,u;this.speakButton.innerHTML=this.resumeButtonContent();var d=null!==(l=null===(u=window)||void 0===u||null===(u=u.ttsObj)||void 0===u||null===(u=u.buttonTextArr)||void 0===u?void 0:u.resume_hover_title)&&void 0!==l?l:this.resumeButtonText();this.speakButton.setAttribute("title","Text To Audio : "+d)}n&&(0,C.ho)(this.speakButton)}}},{key:"finishedSpeaking",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];this.speech.speaking()&&!n||(console.log("End utterance "+this.speech.speaking()),this.listenStatus="listen",this.displayButtonText(this.listenStatus),this.splittedSentances=(0,C.PC)(window.TTS.c
2ontents[this.buttonId]),t.cancel()),console.log("Success !",e),this.analytics.trackEnd(),this.callBackAfterEnd&&this.callBackAfterEnd(),this.browser.isAndroid()||(clearTimeout(this.timer),this.timer=null,clearTimeout(this.shouldCancelTimer),this.shouldCancelTimer=null),window.sessionStorage.setItem("tts_paused_by_intention",!1)}},{key:"speak",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.content,i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(n||(n=this.content),this.speech.hasBrowserSupport()){if(t.setLanguage(this.browser.getLanguage()),t.setVoice(this.browser.getVoice()),t.speak({text:n,queue:!1,listeners:{onstart:function(t){console.log("Start utterance"),e.utterence=t,wp.hooks.doAction("tts_high_light_text",t.currentTarget.text,e.buttonId,C.PC)},onend:function(t){console.log("End utterance")},onpause:function(t){console.log("Pause utterance")},onresume:function(t){console.log("Resume utterance")},onboundary:function(t){}}}).then((function(n){e.finishedSpeaking(t,n)})).catch((function(t){console.error("An error occurred :",t)})),this.listenStatus="pause",this.displayButtonText(this.listenStatus,i),this.analytics.trackPlay(),!this.browser.isAndroid()){var o=this;this.timer=setTimeout((function e(){t.pause(),console.log(t),setTimeout((function(){t.resume()}),0),o.timer=setTimeout(e,1e4),t.speaking()||(clearTimeout(o.timer),o.timer=null)}),1e4)}}else this.displayApiMissing("tts__listent_content_"+this.buttonId)}},{key:"pause",value:function(t){var e,n=this,i=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.browser.isAndroid()?(t.cancel(),this.isCanceled=!0):(t.pause(),this.shouldCancelTimer=setInterval((function(){t.cancel(),n.isCanceled=!0}),1));var o=this.splittedSentances.indexOf((null===(e=this.utterence)||void 0===e||null===(e=e.target)||void 0===e?void 0:e.text)||"");this.splittedSentances=this.splittedSentances.slice(o),this.content=this.splittedSentances.join(" "),this.listenStatus="resume",this.displayButtonText(this.listenStatus,i),this.analytics.trackPause(),this.browser.isAndroid()||clearTimeout(this.timer)}},{key:"resume",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(this.isCanceled?(this.speak(t,this.content),clearTimeout(this.shouldCancelTimer),this.browser.isAndroid()||clearTimeout(this.timer)):(t.resume(),clearTimeout(this.shouldCancelTimer)),this.listenStatus="pause",this.displayButtonText(this.listenStatus,e),!this.browser.isAndroid()){var n=this;this.timer=setTimeout((function e(){t.pause(),console.log(t),setTimeout((function(){t.resume()}),0),n.timer=setTimeout(e,1e4),t.speaking()||(clearTimeout(n.timer),n.timer=null)}),1e4)}}},{key:"_init",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.callBackAfterEnd=e,void 0!==this.ttsListeningSettings&&this.speech.init({volume:this.ttsListeningSettings.tta__listening_volume?this.ttsListeningSettings.tta__listening_volume:1,rate:this.ttsListeningSettings.tta__listening_rate?this.ttsListeningSettings.tta__listening_rate:1,pitch:this.ttsListeningSettings.tta__listening_pitch?this.ttsListeningSettings.tta__listening_pitch:1,splitSentences:!0,listeners:{onvoiceschanged:function(t){}}}).then((function(e){var i,o;t.voices=e.voices,t.browser=new w(ttsObj,e.voices,null===(i=t.ttsListeningSettings)||void 0===i?void 0:i.tta__listening_lang,null===(o=t.ttsListeningSettings)||void 0===o?void 0:o.tta__listening_voice),t._prepareSpeakButton(t.speech,n),window.sessionStorage.setItem("tts_paused_by_intention",!1)})).catch((function(t){console.error("An error occured while initializing : ",t)}))}},{key:"_prepareSpeakButton",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];"listen"==this.listenStatus?this.speak(t,null,n):"pause"==this.listenStatus?this.pause(t,n):"resume"==this.listenStatus&&this.resume(t,n),console.log({status:this.listenStatus,settings:this.ttsListeningSettings}),document.addEventListener("visibilitychange",(function(){var n,i,o=null!==(n=null===(i=window)||void 0===i||null===(i=i.tt
2sObj)||void 0===i||null===(i=i.settings)||void 0===i||null===(i=i.settings)||void 0===i?void 0:i.tta__settings_stop_auto_pause_after_switching_tab)&&void 0!==n&&n;if(console.log(o),o=wp.hooks.applyFilters("tta__settings_stop_auto_pause_after_switching_tab",o),"hidden"!==document.visibilityState||"pause"!==e.listenStatus||o||(e.pause(t),e.callBackAfterEnd&&e.callBackAfterEnd()),"visible"===document.visibilityState&&"resume"===e.listenStatus&&!o){var r,a,s=JSON.parse(window.sessionStorage.getItem("tts_paused_by_intention")),c=null!==(r=null===(a=window)||void 0===a||null===(a=a.ttsObj)||void 0===a||null===(a=a.settings)||void 0===a||null===(a=a.settings)||void 0===a?void 0:a.tta__settings_stop_auto_playing_after_switching_tab)&&void 0!==r&&r;s||c||(window.sessionStorage.setItem("tts_paused_by_intention",!1),e.resume(t)),e.callBackAfterEnd&&e.callBackAfterEnd()}}))}}],e&&T(t.prototype,e),n&&T(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,e,n}();if(null!==(_=window)&&void 0!==_&&null!==(_=_.ttsObj)&&void 0!==_&&_.is_pro_active?window.TextToSpeech=V:window.document.addEventListener("DOMContentLoaded",(function(){window.TextToSpeech=V})),"page=text-to-audio"===new URLSearchParams("page=text-to-audio").toString()){var O;O=setInterval((function(){window.hasOwnProperty("ttsObj")&&ttsObj.is_dashboard&&(window.hasOwnProperty("TTS")?""!==window.TTS.contents[0]&&(window.TTS.contents[1]=""):(window.TTS={}
2,window.TTS.contents={},window.TTS.contents[1]=""),window.TTS.hasOwnProperty("settings")||(window.TTS.settings={listening:{tta__listening_lang:"en-GB",tta__listening_voice:"Google UK English Female",tta__listening_pitch:"1",tta__listening_rate:"1",tta__listening_volume:"1"},cssClass:"",btnStyle:"background-color:#ee6d6d;color:#ffffff;width:100%;border:0;display:block;border-radius:4px;text-decoration:none;cursor:pointer;",textArr:{listen_text:"Listen",pause_text:"Pause",resume_text:"Resume",replay_text:"Replay",start_text:"Start",stop_text:"Start"},customCSS:"",shouldDisplayIcon:"inline-block"},window.TTS.settings.readingTime=1),clearInterval(O),O=null)}),1e3)}}},e={};function n(i){var o=e[i];if(void 0!==o)return o.exports;var r=e[i]={exports:{}};return t[i](r,r.exports,n),r.exports}n.d=(t,e)=>{for(var i in e)n.o(e,i)&&!n.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);var i=n(893),o=n(111),r=n(379);function a(t){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},a(t)}function s(t){return function(t){if(Array.isArray(t))return c(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return c(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=Array(e);n<e;n++)i[n]=t[n];return i}function l(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,g(i.key),i)}}function u(t,e,n){return e=f(e),function(t,e){if(e&&("object"==a(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,h()?Reflect.construct(e,n||[],f(t).constructor):e.apply(t,n))}function d(t){var e="function"==typeof Map?new Map:void 0;return d=function(t){if(null===t||!function(t){try{return-1!==Function.toString.call(t).indexOf("[native code]")}catch(e){return"function"==typeof t}}(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,n)}function n(){return function(t,e,n){if(h())return Reflect.construct.apply(null,arguments);var i=[null];i.push.apply(i,e);var o=new(t.bind.apply(t,i));return n&&v(o,n.prototype),o}(t,arguments,f(this).constructor)}return n.prototype=Object.create(t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),v(n,t)},d(t)}function h(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(h=function(){return!!t})()}function v(t,e){return v=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},v(t,e)}function f(t){return f=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},f(t)}function p(t,e){(function(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")})(t,e),e.add(t)}function m(t,e,n){return(e=g(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function g(t){var e=function(t,e){if("object"!=a(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,e||"default");if("object"!=a(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}
2(t,"string");return"symbol"==a(e)?e:e+""}var y=new WeakSet,b=function(t){function e(){var t,n,a;if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),p(a=u(this,e),y),m(a,"speech",null),m(a,"isProLicenseActive",!1),m(a,"analytics",null),"function"==typeof NoSleep&&null!==(t=ttsObj)&&void 0!==t&&t.is_mobile){var c=new NoSleep;window.onload=function(){c.enable(),console.log("NoSleep enabled")}}a.isProLicenseActive=null===(n=window)||void 0===n||null===(n=n.ttsObj)||void 0===n?void 0:n.is_pro_active;var l=a.attachShadow({mode:"open"});if(window.hasOwnProperty("TTS")){var d=window.TTS.contents,h=window.TTS.settings,v=Object.keys(d);a.analytics=new r.A(window.TTS.settings.postId);for(var f=function(){var t=b[g];if(t==a.getAttribute("data-id")){var e,n,r=document.createElement("div");r.setAttribute("class","wrapper"),r.innerHTML=(0,o.qy)(t,h.cssClass,a.isProLicenseActive),a.analytics.trackInit(),console.log(d[t]),a.addEventListener("click",(function(e){var n=s(r.children)[0];if(null!=this.speech&&"listen"==this.speech.listenStatus&&(this.speech=null),null===this.speech){var o=new i.A(t,d[t],n,window.TTS);o._init(null,!0),this.speech=o.getData(),this.speech.callBackAfterEnd=this.callBackAfterEnd}else this.speech=this.speech.getData(),"pause"==this.speech.listenStatus?(this.speech.pause(this.speech.speech,!0),window.sessionStorage.setItem("tts_paused_by_intention",!0)):"resume"==this.speech.listenStatus&&this.speech.resume(this.speech.speech,!0)}));var c=document.createElement("style");return c.setAttribute("id","tts_style"),c.textContent="\n                        #tts__listent_content_".concat(t,".tts__listent_content{ ").concat(h.btnStyle," transition: all 0.5s ease-in-out; }\n                        #tts__listent_content_").concat(t,".tts__listent_content:hover{ ").concat(h.btnStyle," background-color:").concat((null===(e=ttsObj)||void 0===e||null===(e=e.settings)||void 0===e||null===(e=e.customize)||void 0===e?void 0:e.hoverBackgroundColor)||"#f0f0f0",";}\n                        #tts__listent_content_").concat(t,".tts__listent_content svg{ display:").concat(h.shouldDisplayIcon,"; padding-right:7px !important;padding-top: 5px; }\n                        #tts__listent_content_").concat(t,".tts__listent_content:hover  svg{ display:").concat(h.shouldDisplayIcon,"; padding-right:7px !important; padding-top: 5px; }\n                        #tts__listent_content_").concat(t,".tts__listent_content:hover span{ 
2color: ").concat((null===(n=ttsObj)||void 0===n||null===(n=n.settings)||void 0===n||null===(n=n.customize)||void 0===n?void 0:n.hoverTextColor)||"#000000"," }\n                        \n                        "),null!=h&&h.customCSS&&(c.textContent+="\n                            ".concat(function(t,e,n){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:n;throw new TypeError("Private element is not present on this object")}(y,a,w).call(a,h.customCSS),"\n                        ")),(0,o.$$)(r),l.appendChild(c),l.appendChild(r),1}},g=0,b=v;g<b.length&&!f();g++);}return a}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&v(t,e)}(e,t),n=e,(a=[{key:"callBackAfterEnd",value:function(){"listen"===this.listenStatus&&this.displayButtonText()}}])&&l(n.prototype,a),c&&l(n,c),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,a,c}(d(HTMLElement));function w(t){var e=document.createElement("textarea");return e.innerHTML=t,e.value}document.addEventListener("DOMContentLoaded",(function(){customElements.get("tts-play-button")?console.log({foundcustomElements:customElements.get("tts-play-button")}):customElements.define("tts-play-button",b)}))})();

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.