File: /home/hzaluminio/www/wp-content/themes/gaze/style/js/goodshare.js
!function(e){function t(o){if(n[o])return n[o].exports;var r=n[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,t),r.l=!0,r.exports}var n={};t.m=e,t.c=n,t.d=function(e,n,o){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:o})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=0)}([function(e,t,n){"use strict";n(1);n(2),n(3),n(4),n(5),n(6),n(7),n(8),n(9),n(10),n(11),n(12),n(13),n(14),n(15),n(16),n(17),n(18),n(19),n(20),n(21),n(22),n(23),n(24),n(25),n(26),n(27),n(28),n(29),n(30),n(31),n(32),n(33)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=function(){Array.from||(Array.from=function(){var e=Object.prototype.toString,t=function(t){return"function"==typeof t||"[object Function]"===e.call(t)},n=function(e){var t=Number(e);return isNaN(t)?0:0!==t&&isFinite(t)?(t>0?1:-1)*Math.floor(Math.abs(t)):t},o=Math.pow(2,53)-1,r=function(e){var t=n(e);return Math.min(Math.max(t,0),o)};return function(e){var n=this,o=Object(e);if(null==e)throw new TypeError("Array.from requires an array-like object - not null or undefined");var a,i=arguments.length>1?arguments[1]:void 0;if(void 0!==i){if(!t(i))throw new TypeError("Array.from: when provided, the second argument must be a function");arguments.length>2&&(a=arguments[2])}for(var c,u=r(o.length),l=t(n)?Object(new n(u)):new Array(u),d=0;d<u;)c=o[d],l[d]=i?void 0===a?i(c,d):i.call(a,c,d):c,d+=1;return l.length=u,l}}())}();t.default=o},function(e,t,n){"use strict";function o(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function i(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),e}Object.defineProperty(t,"__esModule",{value:!0}),t.vkontakte_counter=t.vkontakte_share=void 0;var c=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.location.href,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.title,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:document.querySelector('link[rel="apple-touch-icon"]');r(this,e),this.url=encodeURIComponent(t),this.title=encodeURIComponent(n),this.image=o?encodeURIComponent(o.href):""}return i(e,[{key:"shareWindow",value:function(){var e=this;o(document.querySelectorAll('[data-social="vkontakte"]')).forEach(function(t){var n=t.dataset.url?encodeURIComponent(t.dataset.url):e.url,o=t.dataset.title?encodeURIComponent(t.dataset.title):e.title,r=t.dataset.image?encodeURIComponent(t.dataset.image):e.image,a="https://vk.com/share.php?url=".concat(n,"&title=").concat(o,"&image=").concat(r);t.addEventListener("click",function(e){return e.preventDefault(),window.open(a,"Share this","width=640,height=480,location=no,toolbar=no,menubar=no")})})}},{key:"getCounter",value:function(){var e=document.createElement("script"),t=document.querySelectorAll('[data-counter="vkontakte"]'),n="https://vk.com/share.php?act=count&index=1&url=".concat(this.url);window.VK=Object.assign({},{Share:{}},window.VK),t.length>0&&(window.VK.Share.count=function(n,r){o(t).forEach(function(e){e.innerHTML=r}),e.parentNode.removeChild(e)},e.src=n,document.body.appendChild(e))}}]),e}(),u=(new c).shareWindow();t.vkontakte_share=u;var l=(new c).getCounter();t.vkontakte_counter=l},function(e,t,n){"use strict";function o(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function i(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),e}Object.defineProperty(t,"__esModule",{value:!0}),t.facebook_counter=t.facebook_share=void 0;var c=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.location.href,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.title;r(this,e),this.url=encodeURIComponent(t),this.title=encodeURIComponent(n)}return i(e,[{key:"shareWindow",value:function(){var e=this;o(document.querySelectorAll('[data-social="facebook"]')).forEach(function(t){var n=t.dataset.url?encodeURIComponent(t.dataset.url):e.url,o=t.dataset.title?encodeURIComponent(t.dataset.title):e.title,r="https://facebook.com/sharer/sharer.php?u=".concat(n,"&t=").concat(o);t.addEventListener("click",function(e){return e.preventDefault(),window.open(r,"Share this","width=640,height=480,location=no,toolbar=no,menubar=no")})})}},{key:"getCounter",value:function(){var e=document.createElement("script"),t=("goodshare_"+Math.random()).replace(".",""),n=document.querySelectorAll('[data-counter="facebook"]'),r="https://graph.facebook.com/?id=".concat(this.url,"&callback=").concat(t);n.length>0&&(window[t]=function(t){o(n).forEach(function(e){e.innerHTML=t.share?t.share.share_count:0}),e.parentNode.removeChild(e)},e.src=r,document.body.appendChild(e))}}]),e}(),u=(new c).shareWindow();t.facebook_share=u;var l=(new c).getCounter();t.facebook_counter=l},function(e,t,n){"use strict";function o(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function i(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),e}Object.defineProperty(t,"__esModule",{value:!0}),t.odnoklassniki_counter=t.odnoklassniki_share=void 0;var c=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.location.href,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.title;r(this,e),this.url=encodeURIComponent(t),this.title=encodeURIComponent(n)}return i(e,[{key:"shareWindow",value:function(){var e=this;o(document.querySelectorAll('[data-social="odnoklassniki"]')).forEach(function(t){var n=t.dataset.url?encodeURIComponent(t.dataset.url):e.url,o=t.dataset.title?encodeURIComponent(t.dataset.title):e.title,r="https://www.odnoklassniki.ru/dk?st.cmd=addShare&st.s=1&st._surl=".concat(n,"&st.comments=").concat(o);t.addEventListener("click",function(e){return e.preventDefault(),window.open(r,"Share this","width=640,height=480,location=no,toolbar=no,menubar=no")})})}},{key:"getCounter",value:function(){var e=document.createElement("script"),t=document.querySelectorAll('[data-counter="odnoklassniki"]'),n="https://connect.ok.ru/dk?st.cmd=extLike&uid=1&ref=".concat(this.url);window.ODKL={},t.length>0&&(window.ODKL.updateCount=function(n,r){o(t).forEach(function(e){e.innerHTML=r}),e.parentNode.removeChild(e)},e.src=n,document.body.appendChild(e))}}]),e}(),u=(new c).shareWindow();t.odnoklassniki_share=u;var l=(new c).getCounter();t.odnoklassniki_counter=l},function(e,t,n){"use strict";function o(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function i(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),e}Object.defineProperty(t,"__esModule",{value:!0}),t.moimir_counter=t.moimir_share=void 0;var c=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.location.href,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.title,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:document.querySelector('meta[name="description"]'),a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:document.querySelector('link[rel="apple-touch-icon"]');r(this,e),this.url=encodeURIComponent(t),this.title=encodeURIComponent(n),this.description=o?encodeURIComponent(o.content):"",this.image=a?encodeURIComponent(a.href):""}return i(e,[{key:"shareWindow",value:function(){var e=this;o(document.querySelectorAll('[data-social="moimir"]')).forEach(function(t){var n=t.dataset.url?encodeURIComponent(t.dataset.url):e.url,o=t.dataset.title?encodeURIComponent(t.dataset.title):e.title,r=t.dataset.description?encodeURIComponent(t.dataset.description):e.description,a=t.dataset.image?encodeURIComponent(t.dataset.image):e.image,i="https://connect.mail.ru/share?url=".concat(n,"&title=").concat(o,"&description=").concat(r,"&imageurl=").concat(a);t.addEventListener("click",function(e){return e.preventDefault(),window.open(i,"Share this","width=640,height=480,location=no,toolbar=no,menubar=no")})})}},{key:"getCounter",value:function(){var e=document.createElement("script"),t=encodeURIComponent(this.url.replace(/^.*?:\/\//,"")),n=("goodshare_"+Math.random()).replace(".",""),r=document.querySelectorAll('[data-counter="moimir"]'),a="https://appsmail.ru/share/count/"+t+"?callback="+n;r.length>0&&(window[n]=function(t){o(r).forEach(function(e){e.innerHTML=t.share_mm}),e.parentNode.removeChild(e)},e.src=a,document.body.appendChild(e))}}]),e}(),u=(new c).shareWindow();t.moimir_share=u;var l=(new c).getCounter();t.moimir_counter=l},function(e,t,n){"use strict";function o(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function i(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),e}Object.defineProperty(t,"__esModule",{value:!0}),t.linkedin_counter=t.linkedin_share=void 0;var c=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.location.href,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.title,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:document.querySelector('meta[name="description"]');r(this,e),this.url=encodeURIComponent(t),this.title=encodeURIComponent(n),this.description=o?encodeURIComponent(o.content):""}return i(e,[{key:"shareWindow",value:function(){var e=this;o(document.querySelectorAll('[data-social="linkedin"]')).forEach(function(t){var n=t.dataset.url?encodeURIComponent(t.dataset.url):e.url,o=t.dataset.title?encodeURIComponent(t.dataset.title):e.title,r=t.dataset.description?encodeURIComponent(t.dataset.description):e.description,a="https://www.linkedin.com/shareArticle?url=".concat(n,"&text=").concat(o,"&summary=").concat(r,"&mini=true");t.addEventListener("click",function(e){return e.preventDefault(),window.open(a,"Share this","width=640,height=480,location=no,toolbar=no,menubar=no")})})}},{key:"getCounter",value:function(){var e=document.createElement("script"),t=("goodshare_"+Math.random()).replace(".",""),n=document.querySelectorAll('[data-counter="linkedin"]'),r="https://www.linkedin.com/countserv/count/share?url=".concat(this.url,"&callback=").concat(t);n.length>0&&(window[t]=function(t){o(n).forEach(function(e){e.innerHTML=t.count}),e.parentNode.removeChild(e)},e.src=r,document.body.appendChild(e))}}]),e}(),u=(new c).shareWindow();t.linkedin_share=u;var l=(new c).getCounter();t.linkedin_counter=l},function(e,t,n){"use strict";function o(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function i(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),e}Object.defineProperty(t,"__esModule",{value:!0}),t.tumblr_counter=t.tumblr_share=void 0;var c=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.location.href,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.title,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:document.querySelector('meta[name="description"]');r(this,e),this.url=encodeURIComponent(t),this.title=encodeURIComponent(n),this.description=o?encodeURIComponent(o.content):""}return i(e,[{key:"shareWindow",value:function(){var e=this;o(document.querySelectorAll('[data-social="tumblr"]')).forEach(function(t){var n=t.dataset.url?encodeURIComponent(t.dataset.url):e.url,o=t.dataset.title?encodeURIComponent(t.dataset.title):e.title,r=t.dataset.description?encodeURIComponent(t.dataset.description):e.description,a="https://www.tumblr.com/widgets/share/tool?canonicalUrl=".concat(n,"&title=").concat(o,"&caption=").concat(r,"&posttype=link");t.addEventListener("click",function(e){return e.preventDefault(),window.open(a,"Share this","width=640,height=480,location=no,toolbar=no,menubar=no")})})}},{key:"getCounter",value:function(){var e=document.createElement("script"),t=("goodshare_"+Math.random()).replace(".",""),n=document.querySelectorAll('[data-counter="tumblr"]'),r="https://api.tumblr.com/v2/share/stats?url=".concat(this.url,"&callback=").concat(t);n.length>0&&(window[t]=function(t){o(n).forEach(function(e){e.innerHTML=t.response.note_count}),e.parentNode.removeChild(e)},e.src=r,document.body.appendChild(e))}}]),e}(),u=(new c).shareWindow();t.tumblr_share=u;var l=(new c).getCounter();t.tumblr_counter=l},function(e,t,n){"use strict";function o(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function i(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),e}Object.defineProperty(t,"__esModule",{value:!0}),t.pinterest_counter=t.pinterest_share=void 0;var c=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.location.href,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.querySelector('meta[name="description"]'),o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:document.querySelector('link[rel="apple-touch-icon"]');r(this,e),this.url=encodeURIComponent(t),this.description=n?encodeURIComponent(n.content):"",this.image=o?encodeURIComponent(o.href):""}return i(e,[{key:"shareWindow",value:function(){var e=this;o(document.querySelectorAll('[data-social="pinterest"]')).forEach(function(t){var n=t.dataset.url?encodeURIComponent(t.dataset.url):e.url,o=t.dataset.description?encodeURIComponent(t.dataset.description):e.description,r=t.dataset.image?encodeURIComponent(t.dataset.image):e.image,a="https://www.pinterest.com/pin/create/button/?url=".concat(n,"&description=").concat(o,"&media=").concat(r);t.addEventListener("click",function(e){return e.preventDefault(),window.open(a,"Share this","width=640,height=480,location=no,toolbar=no,menubar=no")})})}},{key:"getCounter",value:function(){var e=document.createElement("script"),t=("goodshare_"+Math.random()).replace(".",""),n=document.querySelectorAll('[data-counter="pinterest"]'),r="https://api.pinterest.com/v1/urls/count.json?url=".concat(this.url,"&callback=").concat(t);n.length>0&&(window[t]=function(t){o(n).forEach(function(e){e.innerHTML=t.length>0?t.count:0}),e.parentNode.removeChild(e)},e.src=r,document.body.appendChild(e))}}]),e}(),u=(new c).shareWindow();t.pinterest_share=u;var l=(new c).getCounter();t.pinterest_counter=l},function(e,t,n){"use strict";function o(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function i(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),e}Object.defineProperty(t,"__esModule",{value:!0}),t.surfingbird_counter=t.surfingbird_share=void 0;var c=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.location.href,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.title,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:document.querySelector('meta[name="description"]');r(this,e),this.url=encodeURIComponent(t),this.title=encodeURIComponent(n),this.description=o?encodeURIComponent(o.content):""}return i(e,[{key:"shareWindow",value:function(){var e=this;o(document.querySelectorAll('[data-social="surfingbird"]')).forEach(function(t){var n=t.dataset.url?encodeURIComponent(t.dataset.url):e.url,o=t.dataset.title?encodeURIComponent(t.dataset.title):e.title,r=t.dataset.description?encodeURIComponent(t.dataset.description):e.description,a="https://surfingbird.ru/share?url=".concat(n,"&title=").concat(o,"&description=").concat(r);t.addEventListener("click",function(e){return e.preventDefault(),window.open(a,"Share this","width=640,height=480,location=no,toolbar=no,menubar=no")})})}},{key:"getCounter",value:function(){var e=document.createElement("script"),t=("goodshare_"+Math.random()).replace(".",""),n=document.querySelectorAll('[data-counter="surfingbird"]'),r="https://query.yahooapis.com/v1/public/yql?q="+encodeURIComponent('select * from html where url="https://surfingbird.ru/button?url='+this.url+'" and xpath="*"')+"&callback="+t;n.length>0&&(window[t]=function(t){o(n).forEach(function(e){e.innerHTML=t.results.length>0?t.results[0].match(/span class="stats-num">(\d+)</)[1]/1:0}),e.parentNode.removeChild(e)},e.src=r,document.body.appendChild(e))}}]),e}(),u=(new c).shareWindow();t.surfingbird_share=u;var l=(new c).getCounter();t.surfingbird_counter=l},function(e,t,n){"use strict";function o(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function i(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),e}Object.defineProperty(t,"__esModule",{value:!0}),t.reddit_counter=t.reddit_share=void 0;var c=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.location.href,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.title;r(this,e),this.url=encodeURIComponent(t),this.title=encodeURIComponent(n)}return i(e,[{key:"shareWindow",value:function(){var e=this;o(document.querySelectorAll('[data-social="reddit"]')).forEach(function(t){var n=t.dataset.url?encodeURIComponent(t.dataset.url):e.url,o=t.dataset.title?encodeURIComponent(t.dataset.title):e.title,r="https://reddit.com/submit?url=".concat(n,"&title=").concat(o);t.addEventListener("click",function(e){return e.preventDefault(),window.open(r,"Share this","width=640,height=480,location=no,toolbar=no,menubar=no")})})}},{key:"getCounter",value:function(){var e=document.createElement("script"),t=("goodshare_"+Math.random()).replace(".",""),n=document.querySelectorAll('[data-counter="reddit"]'),r="https://www.reddit.com/api/info.json?url=".concat(this.url,"&callback=").concat(t);n.length>0&&(window[t]=function(t){o(n).forEach(function(e){if(t.data.children.length>0){for(var n=0,o=0;o<t.data.children.length;o++)n+=t.data.children[o].data.score;e.innerHTML=n}else e.innerHTML=0}),e.parentNode.removeChild(e)},e.src=r,document.body.appendChild(e))}}]),e}(),u=(new c).shareWindow();t.reddit_share=u;var l=(new c).getCounter();t.reddit_counter=l},function(e,t,n){"use strict";function o(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function i(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),e}Object.defineProperty(t,"__esModule",{value:!0}),t.buffer_counter=t.buffer_share=void 0;var c=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.location.href,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.title;r(this,e),this.url=encodeURIComponent(t),this.title=encodeURIComponent(n)}return i(e,[{key:"shareWindow",value:function(){var e=this;o(document.querySelectorAll('[data-social="buffer"]')).forEach(function(t){var n=t.dataset.url?encodeURIComponent(t.dataset.url):e.url,o=t.dataset.title?encodeURIComponent(t.dataset.title):e.title,r="https://buffer.com/add?url=".concat(n,"&text=").concat(o);t.addEventListener("click",function(e){return e.preventDefault(),window.open(r,"Share this","width=640,height=480,location=no,toolbar=no,menubar=no")})})}},{key:"getCounter",value:function(){var e=document.createElement("script"),t=("goodshare_"+Math.random()).replace(".",""),n=document.querySelectorAll('[data-counter="buffer"]'),r="https://api.bufferapp.com/1/links/shares.json?url=".concat(this.url,"&callback=").concat(t);n.length>0&&(window[t]=function(t){o(n).forEach(function(e){e.innerHTML=t?t.shares:0}),e.parentNode.removeChild(e)},e.src=r,document.body.appendChild(e))}}]),e}(),u=(new c).shareWindow();t.buffer_share=u;var l=(new c).getCounter();t.buffer_counter=l},function(e,t,n){"use strict";function o(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function i(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),e}Object.defineProperty(t,"__esModule",{value:!0}),t.stumbleupon_counter=t.stumbleupon_share=void 0;var c=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.location.href,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.title;r(this,e),this.url=encodeURIComponent(t),this.title=encodeURIComponent(n)}return i(e,[{key:"shareWindow",value:function(){var e=this;o(document.querySelectorAll('[data-social="stumbleupon"]')).forEach(function(t){var n=t.dataset.url?encodeURIComponent(t.dataset.url):e.url,o=t.dataset.title?encodeURIComponent(t.dataset.title):e.title,r="https://stumbleupon.com/submit?url=".concat(n,"&title=").concat(o);t.addEventListener("click",function(e){return e.preventDefault(),window.open(r,"Share this","width=640,height=480,location=no,toolbar=no,menubar=no")})})}},{key:"getCounter",value:function(){var e=document.createElement("script"),t=("goodshare_"+Math.random()).replace(".",""),n=document.querySelectorAll('[data-counter="stumbleupon"]'),r="https://query.yahooapis.com/v1/public/yql?q="+encodeURIComponent('select * from html where url="http://www.stumbleupon.com/services/1.01/badge.getinfo?url='+this.url+'" and xpath="*"')+"&callback="+t;n.length>0&&(window[t]=function(t){o(n).forEach(function(e){t.results[0]?e.innerHTML=null!==t.results[0].match(/"views":(\d+),/)?t.results[0].match(/"views":(\d+),/)[1]/1:0:e.innerHTML=0}),e.parentNode.removeChild(e)},e.src=r,document.body.appendChild(e))}}]),e}(),u=(new c).shareWindow();t.stumbleupon_share=u;var l=(new c).getCounter();t.stumbleupon_counter=l},function(e,t,n){"use strict";function o(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function i(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),e}Object.defineProperty(t,"__esModule",{value:!0}),t.pocket_counter=t.pocket_share=void 0;var c=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.location.href,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.title;r(this,e),this.url=encodeURIComponent(t),this.title=encodeURIComponent(n)}return i(e,[{key:"shareWindow",value:function(){var e=this;o(document.querySelectorAll('[data-social="pocket"]')).forEach(function(t){var n=t.dataset.url?encodeURIComponent(t.dataset.url):e.url,o=t.dataset.title?encodeURIComponent(t.dataset.title):e.title,r="https://getpocket.com/save?url=".concat(n,"&title=").concat(o);t.addEventListener("click",function(e){return e.preventDefault(),window.open(r,"Share this","width=640,height=480,location=no,toolbar=no,menubar=no")})})}},{key:"getCounter",value:function(){var e=document.createElement("script"),t=("goodshare_"+Math.random()).replace(".",""),n=document.querySelectorAll('[data-counter="pocket"]'),r="https://query.yahooapis.com/v1/public/yql?q="+encodeURIComponent('select * from html where url="https://widgets.getpocket.com/v1/button?label=pocket&count=vertical&v=1&url='+this.url+"&src="+this.url+'" and xpath="*"')+"&callback="+t;n.length>0&&(window[t]=function(t){o(n).forEach(function(e){e.innerHTML=t.results.length>0?t.results[0].match(/em id="cnt">(\d+)</)[1]/1:0}),e.parentNode.removeChild(e)},e.src=r,document.body.appendChild(e))}}]),e}(),u=(new c).shareWindow();t.pocket_share=u;var l=(new c).getCounter();t.pocket_counter=l},function(e,t,n){"use strict";function o(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function i(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),e}Object.defineProperty(t,"__esModule",{value:!0}),t.xing_counter=t.xing_share=void 0;var c=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.location.href;r(this,e),this.url=encodeURIComponent(t)}return i(e,[{key:"shareWindow",value:function(){var e=this;o(document.querySelectorAll('[data-social="xing"]')).forEach(function(t){var n=t.dataset.url?encodeURIComponent(t.dataset.url):e.url,o="https://www.xing.com/spi/shares/new?url=".concat(n);t.addEventListener("click",function(e){return e.preventDefault(),window.open(o,"Share this","width=640,height=480,location=no,toolbar=no,menubar=no")})})}},{key:"getCounter",value:function(){var e=document.createElement("script"),t=("goodshare_"+Math.random()).replace(".",""),n=document.querySelectorAll('[data-counter="xing"]'),r="https://query.yahooapis.com/v1/public/yql?q="+encodeURIComponent('select * from html where url="https://www.xing-share.com/app/share?op=get_share_button;counter=top;url='+this.url+'" and xpath="*"')+"&callback="+t;n.length>0&&(window[t]=function(t){o(n).forEach(function(e){e.innerHTML=t.results.length>0?t.results[0].match(/span class="xing-count top">(\d+)</)[1]/1:0}),e.parentNode.removeChild(e)},e.src=r,document.body.appendChild(e))}}]),e}(),u=(new c).shareWindow();t.xing_share=u;var l=(new c).getCounter();t.xing_counter=l},function(e,t,n){"use strict";function o(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function i(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),e}Object.defineProperty(t,"__esModule",{value:!0}),t.googleplus_share=void 0;var c=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.location.href;r(this,e),this.url=encodeURIComponent(t)}return i(e,[{key:"shareWindow",value:function(){var e=this;o(document.querySelectorAll('[data-social="googleplus"]')).forEach(function(t){var n=t.dataset.url?encodeURIComponent(t.dataset.url):e.url,o="https://plus.google.com/share?url=".concat(n);t.addEventListener("click",function(e){return e.preventDefault(),window.open(o,"Share this","width=640,height=480,location=no,toolbar=no,menubar=no")})})}}]),e}(),u=(new c).shareWindow();t.googleplus_share=u},function(e,t,n){"use strict";function o(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function i(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),e}Object.defineProperty(t,"__esModule",{value:!0}),t.twitter_share=void 0;var c=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.location.href,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.title;r(this,e),this.url=encodeURIComponent(t),this.title=encodeURIComponent(n)}return i(e,[{key:"shareWindow",value:function(){var e=this;o(document.querySelectorAll('[data-social="twitter"]')).forEach(function(t){var n=t.dataset.url?encodeURIComponent(t.dataset.url):e.url,o=t.dataset.title?encodeURIComponent(t.dataset.title):e.title,r="https://twitter.com/share?url=".concat(n,"&text=").concat(o);t.addEventListener("click",function(e){return e.preventDefault(),window.open(r,"Share this","width=640,height=480,location=no,toolbar=no,menubar=no")})})}}]),e}(),u=(new c).shareWindow();t.twitter_share=u},function(e,t,n){"use strict";function o(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function i(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),e}Object.defineProperty(t,"__esModule",{value:!0}),t.livejournal_share=void 0;var c=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.location.href,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.title;r(this,e),this.url=encodeURIComponent(t),this.title=encodeURIComponent(n)}return i(e,[{key:"shareWindow",value:function(){var e=this;o(document.querySelectorAll('[data-social="livejournal"]')).forEach(function(t){var n=t.dataset.url?encodeURIComponent(t.dataset.url):e.url,o=t.dataset.title?encodeURIComponent(t.dataset.title):e.title,r="https://livejournal.com/update.bml?event=".concat(n,"&subject=").concat(o);t.addEventListener("click",function(e){return e.preventDefault(),window.open(r,"Share this","width=640,height=480,location=no,toolbar=no,menubar=no")})})}}]),e}(),u=(new c).shareWindow();t.livejournal_share=u},function(e,t,n){"use strict";function o(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function i(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),e}Object.defineProperty(t,"__esModule",{value:!0}),t.evernote_share=void 0;var c=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.location.href,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.title,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:document.querySelector('meta[name="description"]');r(this,e),this.url=encodeURIComponent(t),this.title=encodeURIComponent(n),this.description=o?encodeURIComponent(o.content):""}return i(e,[{key:"shareWindow",value:function(){var e=this;o(document.querySelectorAll('[data-social="evernote"]')).forEach(function(t){var n=t.dataset.url?encodeURIComponent(t.dataset.url):e.url,o=t.dataset.title?encodeURIComponent(t.dataset.title):e.title,r=t.dataset.description?encodeURIComponent(t.dataset.description):e.description,a="https://www.evernote.com/clip.action?url=".concat(n,"&title=").concat(o,"&body=").concat(r);t.addEventListener("click",function(e){return e.preventDefault(),window.open(a,"Share this","width=640,height=480,location=no,toolbar=no,menubar=no")})})}}]),e}(),u=(new c).shareWindow();t.evernote_share=u},function(e,t,n){"use strict";function o(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function i(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),e}Object.defineProperty(t,"__esModule",{value:!0}),t.delicious_share=void 0;var c=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.location.href,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.title;r(this,e),this.url=encodeURIComponent(t),this.title=encodeURIComponent(n)}return i(e,[{key:"shareWindow",value:function(){var e=this;o(document.querySelectorAll('[data-social="delicious"]')).forEach(function(t){var n=t.dataset.url?encodeURIComponent(t.dataset.url):e.url,o=t.dataset.title?encodeURIComponent(t.dataset.title):e.title,r="https://del.icio.us/save?url=".concat(n,"&title=").concat(o);t.addEventListener("click",function(e){return e.preventDefault(),window.open(r,"Share this","width=640,height=480,location=no,toolbar=no,menubar=no")})})}}]),e}(),u=(new c).shareWindow();t.delicious_share=u},function(e,t,n){"use strict";function o(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function i(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),e}Object.defineProperty(t,"__esModule",{value:!0}),t.blogger_share=void 0;var c=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.location.href,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.title;r(this,e),this.url=encodeURIComponent(t),this.title=encodeURIComponent(n)}return i(e,[{key:"shareWindow",value:function(){var e=this;o(document.querySelectorAll('[data-social="blogger"]')).forEach(function(t){var n=t.dataset.url?encodeURIComponent(t.dataset.url):e.url,o=t.dataset.title?encodeURIComponent(t.dataset.title):e.title,r="https://www.blogger.com/blog-this.g?u=".concat(n,"&n=").concat(o);t.addEventListener("click",function(e){return e.preventDefault(),window.open(r,"Share this","width=640,height=480,location=no,toolbar=no,menubar=no")})})}}]),e}(),u=(new c).shareWindow();t.blogger_share=u},function(e,t,n){"use strict";function o(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function i(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),e}Object.defineProperty(t,"__esModule",{value:!0}),t.instapaper_share=void 0;var c=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.location.href,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.title;r(this,e),this.url=encodeURIComponent(t),this.title=encodeURIComponent(n)}return i(e,[{key:"shareWindow",value:function(){var e=this;o(document.querySelectorAll('[data-social="instapaper"]')).forEach(function(t){var n=t.dataset.url?encodeURIComponent(t.dataset.url):e.url,o=t.dataset.title?encodeURIComponent(t.dataset.title):e.title,r="https://www.instapaper.com/edit?url=".concat(n,"&title=").concat(o);t.addEventListener("click",function(e){return e.preventDefault(),window.open(r,"Share this","width=640,height=480,location=no,toolbar=no,menubar=no")})})}}]),e}(),u=(new c).shareWindow();t.instapaper_share=u},function(e,t,n){"use strict";function o(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function i(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),e}Object.defineProperty(t,"__esModule",{value:!0}),t.digg_share=void 0;var c=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.location.href,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.title;r(this,e),this.url=encodeURIComponent(t),this.title=encodeURIComponent(n)}return i(e,[{key:"shareWindow",value:function(){var e=this;o(document.querySelectorAll('[data-social="digg"]')).forEach(function(t){var n=t.dataset.url?encodeURIComponent(t.dataset.url):e.url,o=t.dataset.title?encodeURIComponent(t.dataset.title):e.title,r="https://digg.com/submit?url=".concat(n,"&title=").concat(o);t.addEventListener("click",function(e){return e.preventDefault(),window.open(r,"Share this","width=640,height=480,location=no,toolbar=no,menubar=no")})})}}]),e}(),u=(new c).shareWindow();t.digg_share=u},function(e,t,n){"use strict";function o(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function i(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),e}Object.defineProperty(t,"__esModule",{value:!0}),t.liveinternet_share=void 0;var c=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.location.href,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.title;r(this,e),this.url=encodeURIComponent(t),this.title=encodeURIComponent(n)}return i(e,[{key:"shareWindow",value:function(){var e=this;o(document.querySelectorAll('[data-social="liveinternet"]')).forEach(function(t){var n=t.dataset.url?encodeURIComponent(t.dataset.url):e.url,o=t.dataset.title?encodeURIComponent(t.dataset.title):e.title,r="http://www.liveinternet.ru/journal_post.php?action=n_add&cnurl=".concat(n,"&cntitle=").concat(o);t.addEventListener("click",function(e){return e.preventDefault(),window.open(r,"Share this","width=640,height=480,location=no,toolbar=no,menubar=no")})})}}]),e}(),u=(new c).shareWindow();t.liveinternet_share=u},function(e,t,n){"use strict";function o(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function i(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),e}Object.defineProperty(t,"__esModule",{value:!0}),t.wordpress_share=void 0;var c=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.location.href,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.title,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:document.querySelector('meta[name="description"]'),a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:document.querySelector('link[rel="apple-touch-icon"]');r(this,e),this.url=encodeURIComponent(t),this.title=encodeURIComponent(n),this.description=o?encodeURIComponent(o.content):"",this.image=a?encodeURIComponent(a.href):""}return i(e,[{key:"shareWindow",value:function(){var e=this;o(document.querySelectorAll('[data-social="wordpress"]')).forEach(function(t){var n=t.dataset.url?encodeURIComponent(t.dataset.url):e.url,o=t.dataset.title?encodeURIComponent(t.dataset.title):e.title,r=t.dataset.description?encodeURIComponent(t.dataset.description):e.description,a=t.dataset.image?encodeURIComponent(t.dataset.image):e.image,i="https://wordpress.com/wp-admin/press-this.php?u=".concat(n,"&t=").concat(o,"&s=").concat(r,"&i=").concat(a,"&v=2");t.addEventListener("click",function(e){return e.preventDefault(),window.open(i,"Share this","width=640,height=480,location=no,toolbar=no,menubar=no")})})}}]),e}(),u=(new c).shareWindow();t.wordpress_share=u},function(e,t,n){"use strict";function o(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function i(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),e}Object.defineProperty(t,"__esModule",{value:!0}),t.baidu_share=void 0;var c=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.location.href,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.title,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:document.querySelector('meta[name="description"]');r(this,e),this.url=encodeURIComponent(t),this.title=encodeURIComponent(n),this.description=o?encodeURIComponent(o.content):""}return i(e,[{key:"shareWindow",value:function(){var e=this;o(document.querySelectorAll('[data-social="baidu"]')).forEach(function(t){var n=t.dataset.url?encodeURIComponent(t.dataset.url):e.url,o=t.dataset.title?encodeURIComponent(t.dataset.title):e.title,r=t.dataset.description?encodeURIComponent(t.dataset.description):e.description,a="https://cang.baidu.com/do/add?iu=".concat(n,"&it=").concat(o,"&dc=").concat(r,"&fr=ien");t.addEventListener("click",function(e){return e.preventDefault(),window.open(a,"Share this","width=640,height=480,location=no,toolbar=no,menubar=no")})})}}]),e}(),u=(new c).shareWindow();t.baidu_share=u},function(e,t,n){"use strict";function o(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function i(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),e}Object.defineProperty(t,"__esModule",{value:!0}),t.renren_share=void 0;var c=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.location.href,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.title;r(this,e),this.url=encodeURIComponent(t),this.title=encodeURIComponent(n)}return i(e,[{key:"shareWindow",value:function(){var e=this;o(document.querySelectorAll('[data-social="renren"]')).forEach(function(t){var n=t.dataset.url?encodeURIComponent(t.dataset.url):e.url,o=t.dataset.title?encodeURIComponent(t.dataset.title):e.title,r="http://share.renren.com/share/buttonshare.do?url=".concat(n,"&title=").concat(o);t.addEventListener("click",function(e){return e.preventDefault(),window.open(r,"Share this","width=640,height=480,location=no,toolbar=no,menubar=no")})})}}]),e}(),u=(new c).shareWindow();t.renren_share=u},function(e,t,n){"use strict";function o(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function i(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),e}Object.defineProperty(t,"__esModule",{value:!0}),t.weibo_share=void 0;var c=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.location.href,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.title;r(this,e),this.url=encodeURIComponent(t),this.title=encodeURIComponent(n)}return i(e,[{key:"shareWindow",value:function(){var e=this;o(document.querySelectorAll('[data-social="weibo"]')).forEach(function(t){var n=t.dataset.url?encodeURIComponent(t.dataset.url):e.url,o=t.dataset.title?encodeURIComponent(t.dataset.title):e.title,r="https://service.weibo.com/share/share.php?url=".concat(n,"&title=").concat(o);t.addEventListener("click",function(e){return e.preventDefault(),window.open(r,"Share this","width=640,height=480,location=no,toolbar=no,menubar=no")})})}}]),e}(),u=(new c).shareWindow();t.weibo_share=u},function(e,t,n){"use strict";function o(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function i(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),e}Object.defineProperty(t,"__esModule",{value:!0}),t.sms_share=void 0;var c=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.location.href;r(this,e),this.url=encodeURIComponent(t)}return i(e,[{key:"shareWindow",value:function(){var e=this;o(document.querySelectorAll('[data-social="sms"]')).forEach(function(t){var n=t.dataset.url?encodeURIComponent(t.dataset.url):e.url,o="sms:?&body=".concat(n);t.addEventListener("click",function(e){return e.preventDefault(),window.location.replace(o)})})}}]),e}(),u=(new c).shareWindow();t.sms_share=u},function(e,t,n){"use strict";function o(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function i(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),e}Object.defineProperty(t,"__esModule",{value:!0}),t.skype_share=void 0;var c=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.location.href;r(this,e),this.url=encodeURIComponent(t)}return i(e,[{key:"shareWindow",value:function(){var e=this;o(document.querySelectorAll('[data-social="skype"]')).forEach(function(t){var n=t.dataset.url?encodeURIComponent(t.dataset.url):e.url,o="https://web.skype.com/share?".concat(n);t.addEventListener("click",function(e){return e.preventDefault(),window.open(o,"Share this","width=640,height=480,location=no,toolbar=no,menubar=no")})})}}]),e}(),u=(new c).shareWindow();t.skype_share=u},function(e,t,n){"use strict";function o(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function i(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),e}Object.defineProperty(t,"__esModule",{value:!0}),t.telegram_share=void 0;var c=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.location.href;r(this,e),this.url=encodeURIComponent(t)}return i(e,[{key:"shareWindow",value:function(){var e=this;o(document.querySelectorAll('[data-social="telegram"]')).forEach(function(t){var n=t.dataset.url?encodeURIComponent(t.dataset.url):e.url,o=t.dataset.rhash?t.dataset.rhash:null,r="https://t.me/share/url?url=".concat(n);null!==o&&(r="https://t.me/iv?url=".concat(n,"&rhash=").concat(o)),t.addEventListener("click",function(e){return e.preventDefault(),window.open(r,"Share this","width=640,height=480,location=no,toolbar=no,menubar=no")})})}}]),e}(),u=(new c).shareWindow();t.telegram_share=u},function(e,t,n){"use strict";function o(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function i(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),e}Object.defineProperty(t,"__esModule",{value:!0}),t.viber_share=void 0;var c=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.location.href;r(this,e),this.url=encodeURIComponent(t)}return i(e,[{key:"shareWindow",value:function(){var e=this;o(document.querySelectorAll('[data-social="viber"]')).forEach(function(t){var n=t.dataset.url?encodeURIComponent(t.dataset.url):e.url,o="viber://forward?text=".concat(n);t.addEventListener("click",function(e){return e.preventDefault(),window.open(o,"Share this","width=640,height=480,location=no,toolbar=no,menubar=no")})})}}]),e}(),u=(new c).shareWindow();t.viber_share=u},function(e,t,n){"use strict";function o(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function i(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),e}Object.defineProperty(t,"__esModule",{value:!0}),t.whatsapp_share=void 0;var c=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.location.href;r(this,e),this.url=encodeURIComponent(t)}return i(e,[{key:"shareWindow",value:function(){var e=this;o(document.querySelectorAll('[data-social="whatsapp"]')).forEach(function(t){var n=t.dataset.url?encodeURIComponent(t.dataset.url):e.url,o="whatsapp://send?text=".concat(n);t.addEventListener("click",function(e){return e.preventDefault(),window.open(o,"Share this","width=640,height=480,location=no,toolbar=no,menubar=no")})})}}]),e}(),u=(new c).shareWindow();t.whatsapp_share=u},function(e,t,n){"use strict";function o(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function i(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),e}Object.defineProperty(t,"__esModule",{value:!0}),t.line_share=void 0;var c=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.location.href;r(this,e),this.url=encodeURIComponent(t)}return i(e,[{key:"shareWindow",value:function(){var e=this;o(document.querySelectorAll('[data-social="line"]')).forEach(function(t){var n=t.dataset.url?encodeURIComponent(t.dataset.url):e.url,o="line://msg/text/".concat(n);t.addEventListener("click",function(e){return e.preventDefault(),window.open(o,"Share this","width=640,height=480,location=no,toolbar=no,menubar=no")})})}}]),e}(),u=(new c).shareWindow();t.line_share=u}]);