PageSourceSearch

https://kvodo.ru/wp-content/themes/journalx/assets/js/scripts.min.js?ver=a0dfa7336568

js kvodo.ru collected 2026-10-04 20:22:09 UTC 52,563 bytes, 1 lines download raw bytes

1!function(t){"function"==typeof define&&define.amd?define("scripts",t):t()}((function(){"use strict";function t(t,e,n){var o;if(n){var a=new Date;a.setTime(a.getTime()+24*n*60*60*1e3),o="; expires="+a.toGMTString()}else o="";document.cookie=encodeURIComponent(t)+"="+encodeURIComponent(e)+o+"; path=/"}function e(t){return 0===t?"":t}window.isMobile=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),window.isSearchBot=/Bot/i.test(navigator.userAgent),window.addEventListener("DOMContentLoaded",(function(){window.isMobile&&document.body.classList.add("is-mobile")})),jQuery((function(t){var e=t(window).width(),n=t(".js-scrolltop");n.on("click",(function(){return t("body,html").animate({scrollTop:0},500)})),t(window).on("scroll",(function(){t(this).scrollTop()>100?e<991?"on"===n.data("mob")&&n.fadeIn():n.fadeIn():n.fadeOut()}))})),jQuery((function(t){t(document).on("click",".js-spoiler-box-title",(function(){t(this).toggleClass("active").next().slideToggle()}))})),function(t,e,n){n&&(n.fn.wpshoplightbox=function(o){var a=n(this),i=n('<div class="wpshoplightbox-container" role="dialog" tabindex="-1"><div class="wpshoplightbox-bg"></div><div class="wpshoplightbox-inner"><div class="wpshoplightbox-close"><svg width="17" height="17" xmlns="http://www.w3.org/2000/svg"><path fill="none" d="M-1-1h19v19h-19z"/><path fill="#fff" d="M8.485 7.071l-7.071-7.071-1.414 1.414 7.071 7.071-7.071 7.071 1.414 1.414 7.071-7.071 7.071 7.071 1.414-1.414-7.071-7.071 7.071-7.071-1.414-1.414-7.071 7.071z"/></svg></div><div class="wpshoplightbox-body"><div class="wpshoplightbox-image"></div></div><div class="wpshoplightbox-caption"></div></div></div>');a.on("click",(function(){var o=n(this).attr("href"),a=e.createElement("img"),r=n(a);if(o.match(/(\.jpg|\.gif|\.jpeg|\.png|\.webp|\.svg)$/i))return r.attr("src",o),i.appendTo("body")[0],n("head").append('<style id="wpshoplightbox-scroll-style" type="text/css">.wpshoplightbox-scroll{margin-right:'+(t.innerWidth-e.documentElement.clientWidth)+"px;}</style>"),n("body").addClass("wpshoplightbox-scroll"),i.find(".wpshoplightbox-image").html(r),setTimeout((function(){i.addClass("wpshoplightbox--open")}),10),!1})),n(e).on("click",".wpshoplightbox-body, .wpshoplightbox-close",(function(){n(e).find(".wpshoplightbox-container").removeClass("wpshoplightbox--open"),setTimeout((function(){n(e).find(".wpshoplightbox-container").remove()}),400),n("body").removeClass("wpshoplightbox-scroll"),n("#wpshoplightbox-scroll-style").remove()}))})}(window,document,jQuery),jQuery((function(t){var e=window.wpshop_ajax||window.wps_ajax;void 0!==e?(t(document).on("click",".js-star-rating-item",(function(){var n=t(this),o=n.parent(),a=n.data("score"),i=o.data("post-id"),r=o.data("rating-count"),c=o.data("rating-sum"),s=o.data("rating-value");if(!o.hasClass("disabled")){o.addClass("disabled process");var l={action:"wpshop_star_rating_submit",nonce:e.nonce,post_id:i,score:a,rating_count:r,rating_sum:c,rating_value:s};jQuery.post(e.url,l,(function(e){if(e.success){r++,s=((c+=a)/r).toFixed(2);var i="assessment",l=t("html").attr("lang");"undefined"!=typeof rating_count_text_filter?i=rating_count_text_filter:("ru-RU"===l&&(i=d(r,["оценка","оценки","оценок"])),"uk"===l&&(i=d(r,["оцінка","оцінки","оцінок"]))),n.parent().parent().find(".star-rating-text").html("<em>( <strong>"+r+"</strong> "+i+", "+settings_array.rating_text_average+" <strong>"+s+"</strong> "+settings_array.rating_text_from+" <strong>5</strong> )</em></div>")}else e.data,console.log(e);o.removeClass("process")}))}function d(t,e){return e[t%100>4&&t%100<20?2:[2,0,1,1,1,2][t%10<5?t%10:5]]}})),t(".js-star-rating-item").on({mouseenter:function(){t(this).parent().hasClass("disabled")||(t(this).parent().addClass("hover"),t(this).addClass("hover").prevAll().addClass("hover"))},mouseleave:function(){t(this).parent().hasClass("disabled")||(t(this).parent().removeClass("hover"),t(".js-star-rating-item").removeClass("hover"))}})):console.error("Unable to find ajax parameters for rating scrips")})),jQuery((function(t){"undefined"!=typeof wpshop_views_counter_params&&t.ajax({type:"GET",url:wpshop_views_counter_params.url,data:"id="+wpshop_views_counter_params.post_id+"&action=wpshop_views_counter"}).done((function(e){e.success&&e.data.forEach((function(e){var n,o,a;n=e.id,o=e.count,(a=t('.js-views-count[data-post_id="'+n+'"]')).length&&a.text(o)}))}))})),function(){function t(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function n(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function o(t,e,o){return e&&n(t.prototype,e),o&&n(t,o),t}function a(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}}),e&&r(t,e)}
1function i(t){return(i=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function r(t,e){return r=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},r(t,e)}function c(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function s(t,e){return!e||"object"!=typeof e&&"function"!=typeof e?c(t):e}function l(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];e=n}else e=void 0;if(e||(e=Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t)?Array.from(t):void 0),!(t=e))throw new TypeError("Invalid attempt to spread non-iterable instance");return t}var d=function(){function e(){t(this,e),this.handlers={}}return o(e,[{key:"addEventListener",value:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document,e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"click";this.handlers[e]={func:2<arguments.length?arguments[2]:void 0,target:t};var n=e.split(".")[0];t.addEventListener(n,this.handlers[e].func)}},{key:"removeEventListener",value:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"click",e=t.split(".")[0],n=this.handlers[t];n.target.removeEventListener(e,n.func),delete this.handlers[t]}},{key:"removeAll",value:function(){for(var t in this.handlers)this.removeEventListener(t)}}]),e}(),u=function(){function e(){t(this,e),this.events=new d,this.callback=function(){},this.updateInstanceId()}return o(e,[{key:"eventHandler",value:function(t,e){var n=this,o=e.share_url,a=e.windowTitle,i=e.windowWidth,r=e.windowHeight;t.preventDefault(),e=Math.round((window.outerHeight||window.document.documentElement.offsetHeight)/2-r/2);var c=Math.round((window.outerWidth||window.document.documentElement.offsetWidth)/2-i/2);i="width=".concat(i,",height=").concat(r),e="left=".concat(c,",top=").concat(e);var s="".concat(i,",").concat(e,",location=no,toolbar=no,menubar=no"),l=window.open(o,a,s),d=setInterval((function(){l.closed&&(n.callback(t,{share_url:o,windowTitle:a,windowOptions:s},l),clearInterval(d))}),10);return l}},{key:"setShareCallback",value:function(t){this.callback=t}},{key:"createEvents",value:function(t){var e=this;l(t).forEach((function(t){var n=e.getPreparedData(t);e.events.addEventListener(t,"click.".concat(e.instanceId),(function(t){return e.eventHandler.call(e,t,n)}))}))}},{key:"getInstance",value:function(){return"function"==typeof this.shareWindow&&this.shareWindow(),"function"==typeof this.getCounter&&this.getCounter(),this}},{key:"updateInstanceId",value:function(){this.instanceId=function(){return"".concat(0<arguments.length&&void 0!==arguments[0]?arguments[0]:"id","-").concat(Math.random().toString(36).substr(2,8))}()}},{key:"reNewInstance",value:function(){return this.events.removeAll(),this.updateInstanceId(),this.getInstance()}}]),e}(),h=function(n){function r(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href,n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:document.title,o=2<arguments.length&&void 0!==arguments[2]?arguments[2]:document.querySelector('link[rel="apple-touch-icon"]');t(this,r);var a=s(this,i(r).call(this));return a.url=encodeURIComponent(e),a.title=encodeURIComponent(n),a.image=o?encodeURIComponent(o.href):"",a.createEvents=a.createEvents.bind(c(a)),a}return a(r,n),o(r,[{key:"getPreparedData",value:function(t){var e=t.dataset.url?encodeURIComponent(t.dataset.url):this.url,n=t.dataset.title?encodeURIComponent(t.dataset.title):this.title;return t=t.dataset.image?encodeURIComponent(t.dataset.image):this.image,e="https://vk.com/share.php?url=".concat(e,"&title=").concat(n,"&image=").concat(t),{callback:this.callback,share_url:e,windowTitle:"Share this",windowWidth:640,windowHeight:480}}},{key:"shareWindow",value:function(){var t=document.querySelectorAll('[data-social="vkontakte"]');return this.createEvents(t)}},{key:"getCounter",value:function(){var t=document.createElement("script"),n=document.querySelectorAll('[data-counter="vkontakte"]'),o="https://vk.com/share.php?act=count&index=1&url=".concat(this.url);window.VK=Object.assign({},{Share:{}},window.VK),0<n.length&&(window.VK.Share.count=function(o,a){l(n).forEac
1h((function(t){t.innerHTML=e(a)})),null!==t.parentNode&&t.parentNode.removeChild(t)},t.src=o,document.body.appendChild(t))}}]),r}(u),p=function(e){function n(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href,o=1<arguments.length&&void 0!==arguments[1]?arguments[1]:document.title;t(this,n);var a=s(this,i(n).call(this));return a.url=encodeURIComponent(e),a.title=encodeURIComponent(o),a.createEvents=a.createEvents.bind(c(a)),a}return a(n,e),o(n,[{key:"getPreparedData",value:function(t){var e=t.dataset.url?encodeURIComponent(t.dataset.url):this.url;return t=t.dataset.title?encodeURIComponent(t.dataset.title):this.title,e="https://facebook.com/sharer/sharer.php?u=".concat(e,"&t=").concat(t),{callback:this.callback,share_url:e,windowTitle:"Share this",windowWidth:640,windowHeight:480}}},{key:"shareWindow",value:function(){var t=document.querySelectorAll('[data-social="facebook"]');return this.createEvents(t)}},{key:"getCounter",value:function(){var t=document.createElement("script"),e=("goodshare_"+Math.random()).replace(".",""),n=document.querySelectorAll('[data-counter="facebook"]'),o="https://graph.facebook.com/?id=".concat(this.url,"&callback=").concat(e);0<n.length&&(window[e]=function(e){l(n).forEach((function(t){t.innerHTML=e.share?e.share.share_count:""})),null!==t.parentNode&&t.parentNode.removeChild(t)},t.src=o,document.body.appendChild(t))}}]),n}(u),m=function(n){function r(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href,n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:document.title;t(this,r);var o=s(this,i(r).call(this));return o.url=encodeURIComponent(e),o.title=encodeURIComponent(n),o.createEvents=o.createEvents.bind(c(o)),o}return a(r,n),o(r,[{key:"getPreparedData",value:function(t){var e=t.dataset.url?encodeURIComponent(t.dataset.url):this.url;return t=t.dataset.title?encodeURIComponent(t.dataset.title):this.title,e="https://connect.ok.ru/offer?url=".concat(e,"&title=").concat(t),{callback:this.callback,share_url:e,windowTitle:"Share this",windowWidth:640,windowHeight:480}}},{key:"shareWindow",value:function(){var t=document.querySelectorAll('[data-social="odnoklassniki"]');return this.createEvents(t)}},{key:"getCounter",value:function(){var t=document.createElement("script"),n=document.querySelectorAll('[data-counter="odnoklassniki"]'),o="https://connect.ok.ru/dk?st.cmd=extLike&uid=1&ref=".concat(this.url);window.ODKL={},0<n.length&&(window.ODKL.updateCount=function(o,a){l(n).forEach((function(t){t.innerHTML=e(a)})),null!==t.parentNode&&t.parentNode.removeChild(t)},t.src=o,document.body.appendChild(t))}}]),r}(u),v=function(n){function r(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href,n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:document.title,o=2<arguments.length&&void 0!==arguments[2]?arguments[2]:document.querySelector('meta[name="description"]'),a=3<arguments.length&&void 0!==arguments[3]?arguments[3]:document.querySelector('link[rel="apple-touch-icon"]');t(this,r);var l=s(this,i(r).call(this));return l.url=encodeURIComponent(e),l.title=encodeURIComponent(n),l.description=o?encodeURIComponent(o.content):"",l.image=a?encodeURIComponent(a.href):"",l.createEvents=l.createEvents.bind(c(l)),l}return a(r,n),o(r,[{key:"getPreparedData",value:function(t){var e=t.dataset.url?encodeURIComponent(t.dataset.url):this.url,n=t.dataset.title?encodeURIComponent(t.dataset.title):this.title,o=t.dataset.description?encodeURIComponent(t.dataset.description):this.description;return t=t.dataset.image?encodeURIComponent(t.dataset.image):this.image,e="https://connect.mail.ru/share?url=".concat(e,"&title=").concat(n,"&description=").concat(o,"&imageurl=").concat(t),{callback:this.callback,share_url:e,windowTitle:"Share this",windowWidth:640,windowHeight:480}}},{key:"shareWindow",value:function(){var t=document.querySelectorAll('[data-social="moimir"]');return this.createEvents(t)}},{key:"getCounter",value:function(){var t=document.createElement("script"),n=encodeURIComponent(this.url.replace(/^.*?:\/\//,"")),o=("goodshare_"+Math.random()).replace(".",""),a=document.querySelectorAll('[data-counter="moimir"]');
10<a.length&&(window[o]=function(n){l(a).forEach((function(t){t.innerHTML=e(n.share_mm)})),null!==t.parentNode&&t.parentNode.removeChild(t)},t.src="https://appsmail.ru/share/count/"+n+"?callback="+o,document.body.appendChild(t))}}]),r}(u),f=function(n){function r(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href,n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:document.title,o=2<arguments.length&&void 0!==arguments[2]?arguments[2]:document.querySelector('meta[name="description"]');t(this,r);var a=s(this,i(r).call(this));return a.url=encodeURIComponent(e),a.title=encodeURIComponent(n),a.description=o?encodeURIComponent(o.content):"",a.createEvents=a.createEvents.bind(c(a)),a}return a(r,n),o(r,[{key:"getPreparedData",value:function(t){var e=t.dataset.url?encodeURIComponent(t.dataset.url):this.url,n=t.dataset.title?encodeURIComponent(t.dataset.title):this.title;return t=t.dataset.description?encodeURIComponent(t.dataset.description):this.description,e="https://www.tumblr.com/widgets/share/tool?canonicalUrl=".concat(e,"&title=").concat(n,"&caption=").concat(t,"&posttype=link"),{callback:this.callback,share_url:e,windowTitle:"Share this",windowWidth:640,windowHeight:480}}},{key:"shareWindow",value:function(){var t=document.querySelectorAll('[data-social="tumblr"]');return this.createEvents(t)}},{key:"getCounter",value:function(){var t=document.createElement("script"),n=("goodshare_"+Math.random()).replace(".",""),o=document.querySelectorAll('[data-counter="tumblr"]'),a="https://api.tumblr.com/v2/share/stats?url=".concat(this.url,"&callback=").concat(n);0<o.length&&(window[n]=function(n){l(o).forEach((function(t){t.innerHTML=e(n.response.note_count)})),null!==t.parentNode&&t.parentNode.removeChild(t)},t.src=a,document.body.appendChild(t))}}]),r}(u),w=function(e){function n(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href,o=1<arguments.length&&void 0!==arguments[1]?arguments[1]:document.querySelector('meta[name="description"]'),a=2<arguments.length&&void 0!==arguments[2]?arguments[2]:document.querySelector('link[rel="apple-touch-icon"]');t(this,n);var r=s(this,i(n).call(this));return r.url=encodeURIComponent(e),r.description=o?encodeURIComponent(o.content):"",r.image=a?encodeURIComponent(a.href):"",r.createEvents=r.createEvents.bind(c(r)),r}return a(n,e),o(n,[{key:"getPreparedData",value:function(t){var e=t.dataset.url?encodeURIComponent(t.dataset.url):this.url,n=t.dataset.description?encodeURIComponent(t.dataset.description):this.description;return t=t.dataset.image?encodeURIComponent(t.dataset.image):this.image,e="https://www.pinterest.com/pin/create/button/?url=".concat(e,"&description=").concat(n,"&media=").concat(t),{callback:this.callback,share_url:e,windowTitle:"Share this",windowWidth:640,windowHeight:480}}},{key:"shareWindow",value:function(){var t=document.querySelectorAll('[data-social="pinterest"]');return this.createEvents(t)}},{key:"getCounter",value:function(){var t=document.createElement("script"),e=("goodshare_"+Math.random()).replace(".",""),n=document.querySelectorAll('[data-counter="pinterest"]'),o="https://api.pinterest.com/v1/urls/count.json?url=".concat(this.url,"&callback=").concat(e);0<n.length&&(window[e]=function(e){l(n).forEach((function(t){t.innerHTML=0<e.length?e.count:""})),null!==t.parentNode&&t.parentNode.removeChild(t)},t.src=o,document.body.appendChild(t))}}]),n}(u),g=function(e){function n(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href,o=1<arguments.length&&void 0!==arguments[1]?arguments[1]:document.title;t(this,n);var a=s(this,i(n).call(this));return a.url=encodeURIComponent(e),a.title=encodeURIComponent(o),a.createEvents=a.createEvents.bind(c(a)),a}return a(n,e),o(n,[{key:"getPreparedData",value:function(t){var e=t.dataset.url?encodeURIComponent(t.dataset.url):this.url;return t=t.dataset.title?encodeURIComponent(t.dataset.title):this.title,e="https://reddit.com/submit?url=".concat(e,"&title=").concat(t),{callback:this.callback,share_url:e,windowTitle:"Share this",windowWidth:640,windowHeight:480}}},{key:"shareWindow",value:function(){var t=document.querySelectorAll('[data-social="reddit"]');return this.createEvents(t)}}]),n}(u),b=function(e){function n(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href,o=1<arguments.length&&void 0!==arguments[1]?arguments[1]:document.title;t(this,n);var a=s(this,i(n).call(this));return a.url=encodeURIComponent(e),a.title=encodeURIComponent(o),a.createEvents=a.createEvents.bind(c(a)),a}return a(n,e),o(n,[{key:"getPreparedData",value:function(t){var e=t.dataset.url?encodeURIComponent(t.dataset.url):this.url;return t=t.dataset.title?encodeURIComponent(t.dataset.title):this.title,e="https://buffer.com/add?url=".concat(e,"&text=").concat(t),{callback:this.callback,share_url:e,windowTitle:"Share this",windowWidth:640,windowHeight:480}}},{key:"shareWindow",value:function(){var t=document.querySelectorAll('[data-social="buffer"]');return this.createEvents(t)}},{key:"getCounter",value:function(){var t=document.createElement("script"),e=("goodshare_"+Math.random()).replace(".",""),n=document.querySelectorAll('[data-counter="buffer"]'),o="https://api.bufferapp.com/1/links/shares.json?url=".concat(this.url,"&callback=").concat(e);
10<n.length&&(window[e]=function(e){l(n).forEach((function(t){t.innerHTML=e?e.shares:""})),t.parentNode.removeChild(t)},t.src=o,document.body.appendChild(t))}}]),n}(u),y=function(e){function n(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href,o=1<arguments.length&&void 0!==arguments[1]?arguments[1]:document.title;t(this,n);var a=s(this,i(n).call(this));return a.url=encodeURIComponent(e),a.title=encodeURIComponent(o),a.createEvents=a.createEvents.bind(c(a)),a}return a(n,e),o(n,[{key:"getPreparedData",value:function(t){var e=t.dataset.url?encodeURIComponent(t.dataset.url):this.url;return t=t.dataset.title?encodeURIComponent(t.dataset.title):this.title,e="https://twitter.com/share?url=".concat(e,"&text=").concat(t),{callback:this.callback,share_url:e,windowTitle:"Share this",windowWidth:640,windowHeight:480}}},{key:"shareWindow",value:function(){var t=document.querySelectorAll('[data-social="twitter"]');return this.createEvents(t)}}]),n}(u),k=function(e){function n(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href,o=1<arguments.length&&void 0!==arguments[1]?arguments[1]:document.title;t(this,n);var a=s(this,i(n).call(this));return a.url=encodeURIComponent(e),a.title=encodeURIComponent(o),a.createEvents=a.createEvents.bind(c(a)),a}return a(n,e),o(n,[{key:"getPreparedData",value:function(t){var e=t.dataset.url?encodeURIComponent(t.dataset.url):this.url;return t=t.dataset.title?encodeURIComponent(t.dataset.title):this.title,e="https://livejournal.com/update.bml?event=".concat(e,"&subject=").concat(t),{callback:this.callback,share_url:e,windowTitle:"Share this",windowWidth:640,windowHeight:480}}},{key:"shareWindow",value:function(){var t=document.querySelectorAll('[data-social="livejournal"]');return this.createEvents(t)}}]),n}(u),C=function(e){function n(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href,o=1<arguments.length&&void 0!==arguments[1]?arguments[1]:document.title,a=2<arguments.length&&void 0!==arguments[2]?arguments[2]:document.querySelector('meta[name="description"]');t(this,n);var r=s(this,i(n).call(this));return r.url=encodeURIComponent(e),r.title=encodeURIComponent(o),r.description=a?encodeURIComponent(a.content):"",r.createEvents=r.createEvents.bind(c(r)),r}return a(n,e),o(n,[{key:"getPreparedData",value:function(t){var e=t.dataset.url?encodeURIComponent(t.dataset.url):this.url,n=t.dataset.title?encodeURIComponent(t.dataset.title):this.title;return t=t.dataset.description?encodeURIComponent(t.dataset.description):this.description,e="https://www.linkedin.com/shareArticle?url=".concat(e,"&text=").concat(n,"&summary=").concat(t,"&mini=true"),{callback:this.callback,share_url:e,windowTitle:"Share this",windowWidth:640,windowHeight:480}}},{key:"shareWindow",value:function(){var t=document.querySelectorAll('[data-social="linkedin"]');return this.createEvents(t)}}]),n}(u),_=function(e){function n(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href,o=1<arguments.length&&void 0!==arguments[1]?arguments[1]:document.title,a=2<arguments.length&&void 0!==arguments[2]?arguments[2]:document.querySelector('meta[name="description"]');t(this,n);var r=s(this,i(n).call(this));return r.url=encodeURIComponent(e),r.title=encodeURIComponent(o),r.description=a?encodeURIComponent(a.content):"",r.createEvents=r.createEvents.bind(c(r)),r}return a(n,e),o(n,[{key:"getPreparedData",value:function(t){var e=t.dataset.url?encodeURIComponent(t.dataset.url):this.url,n=t.dataset.title?encodeURIComponent(t.dataset.title):this.title;return t=t.dataset.description?encodeURIComponent(t.dataset.description):this.description,e="https://www.evernote.com/clip.action?url=".concat(e,"&title=").concat(n,"&body=").concat(t),{callback:this.callback,share_url:e,windowTitle:"Share this",windowWidth:640,windowHeight:480}}},{key:"shareWindow",value:function(){var t=document.querySelectorAll('[data-social="evernote"]');return this.createEvents(t)}}]),n}(u),I=function(e){function n(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href,o=1<arguments.length&&void 0!==arguments[1]?arguments[1]:document.title;t(this,n);var a=s(this,i(n).call(this));return a.url=encodeURIComponent(e),a.title=encodeURIComponent(o),a.createEvents=a.createEvents.bind(c(a)),a}return a(n,e),o(n,[{key:"getPreparedData",value:function(t){var e=t.dataset.url?encodeURIComponent(t.dataset.url):this.url;return t=t.dataset.title?encodeURIComponent(t.dataset.title):this.title,e="https://del.icio.us/save?url=".concat(e,"&title=").concat(t),{callback:this.callback,share_url:e,windowTitle:"Share this",windowWidth:640,windowHeight:480}}},{key:"shareWindow",value:function(){var t=document.querySelectorAll('[data-social="delicious"]');return this.createEvents(t)}}]),n}(u),U=function(e){function n(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href,o=1<arguments.length&&void 0!==arguments[1]?arguments[1]:document.title;t(this,n);var a=s(this,i(n).call(this));return a.url=encodeURIComponent(e),a.title=encodeURIComponent(o),a.createEvents=a.createEvents.bind(c(a)),a}return a(n,e),o(n,[{key:"getPreparedData",value:function(t){var e=t.dataset.url?encodeURIComponent(t.dataset.url):this.url;return t=t.dataset.title?encodeURIComponent(t.dataset.title):this.title,e="https://share.flipboard.com/bookmarklet/popout?ext=sharethis&title=".concat(t,"&url=").concat(e,"&v=2"),{callback:this.callback,share_url:e,windowTitle:"Share this",windowWidth:640,windowHeight:480}}},{key:"shareWindow",value:function(){var t=document.querySelectorAll('[data-social="flipboard"]');return this.createEvents(t)}}]),n}(u),E=function(e){function n(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href;t(this,n);var o=s(this,i(n).call(this));return o.url=encodeURIComponent(e),o.createEvents=o.createEvents.bind(c(o)),o}return a(n,e),o(n,[{key:"getPreparedData",value:function(t){return t=t.dataset.url?encodeURIComponent(t.dataset.url):this.url,t="https://mix.com/mixit?su=submit&url=".concat(t),{callback:this.callback,share_url:t,windowTitle:"Share this",windowWidth:640,windowHeight:480}}},{key:"shareWindow",value:function(){var t=document.querySelectorAll('[data-social="mix"]');return this.createEvents(t)}}]),n}(u),R=function(e){function n(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href;t(this,n);var o=s(this,i(n).call(this));return o.url=encodeURIComponent(e),o.createEvents=o.createEvents.bind(c(o)),o}return a(n,e),o(n,[{key:"getPreparedData",value:function(t){return t=t.dataset.url?encodeURIComponent(t.dataset.url):this.url,t="https://www.meneame.net/submit?url=".concat(t),{callback:this.callback,share_url:t,windowTitle:"Share this",windowWidth:640,windowHeight:480}}},{key:"shareWindow",value:function(){var t=document.querySelectorAll('[data-social="meneame"]');return this.createEvents(t)}}]),n}(u),x=function(e){function n(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href,o=1<arguments.length&&void 0!==arguments[1]?arguments[1]:document.title;t(this,n);var a=s(this,i(n).call(this));return a.url=encodeURIComponent(e),a.title=encodeURIComponent(o),a.createEvents=a.createEvents.bind(c(a)),a}return a(n,e),o(n,[{key:"getPreparedData",value:function(t){var e=t.dataset.url?encodeURIComponent(t.dataset.url):this.url;return t=t.dataset.title?encodeURIComponent(t.dataset.title):this.title,e="https://www.blogger.com/blog-this.g?u=".concat(e,"&n=").concat(t),{callback:this.callback,share_url:e,windowTitle:"Share this",windowWidth:640,windowHeight:480}}},{key:"shareWindow",value:function(){var t=document.querySelectorAll('[data-social="blogger"]');return this.createEvents(t)}}]),n}(u),S=function(e){function n(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href,o=1<arguments.length&&void 0!==arguments[1]?arguments[1]:document.title;t(this,n);var a=s(this,i(n).call(this));return a.url=encodeURIComponent(e),a.title=encodeURIComponent(o),a.createEvents=a.createEvents.bind(c(a)),a}return a(n,e),o(n,[{key:"getPreparedData",value:function(t){var e=t.dataset.url?encodeURIComponent(t.dataset.url):this.url;return t=t.dataset.title?encodeURIComponent(t.dataset.title):this.title,e="https://getpocket.com/save?url=".concat(e,"&title=").concat(t),{callback:this.callback,share_url:e,windowTitle:"Share this",windowWidth:640,windowHeight:480}}},{key:"shareWindow",value:function(){var t=document.querySelectorAll('[data-social="pocket"]');return this.createEvents(t)}}]),n}(u),j=function(e){function n(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href,o=1<arguments.length&&void 0!==arguments[1]?arguments[1]:document.title;t(this,n);var a=s(this,i(n).call(this));return a.url=encodeURIComponent(e),a.title=encodeURIComponent(o),a.createEvents=a.createEvents.bind(c(a)),a}return a(n,e),o(n,[{key:"getPreparedData",value:function(t){var e=t.dataset.url?encodeURIComponent(t.dataset.url):this.url;return t=t.dataset.title?encodeURIComponent(t.dataset.title):this.title,e="https://www.instapaper.com/edit?url=".concat(e,"&title=").concat(t),{callback:this.callback,share_url:e,windowTitle:"Share this",windowWidth:640,windowHeight:480}}},{key:"shareWindow",value:function(){var t=document.querySelectorAll('[data-social="instapaper"]');return this.createEvents(t)}}]),n}(u),W=function(e){function n(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href,o=1<arguments.length&&void 0!==arguments[1]?arguments[1]:document.title;t(this,n);var a=s(this,i(n).call(this));return a.url=encodeURIComponent(e),a.title=encodeURIComponent(o),a.createEvents=a.createEvents.bind(c(a)),a}return a(n,e),o(n,[{key:"getPreparedData",value:function(t){var e=t.dataset.url?encodeURIComponent(t.dataset.url):this.url;return t=t.dataset.title?encodeURIComponent(t.dataset.title):this.title,e="https://digg.com/submit?url=".concat(e,"&title=").concat(t),{callback:this.callback,share_url:e,windowTitle:"Share this",windowWidth:640,windowHeight:480}}},{key:"shareWindow",value:function(){var t=document.querySelectorAll('[data-social="digg"]');return this.createEvents(t)}}]),n}(u),T=function(e){function n(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href,o=1<arguments.length&&void 0!==arguments[1]?arguments[1]:document.title;t(this,n);var a=s(this,i(n).call(this));return a.url=encodeURIComponent(e),a.title=encodeURIComponent(o),a.createEvents=a.createEvents.bind(c(a)),a}return a(n,e),o(n,[{key:"getPreparedData",value:function(t){var e=t.dataset.url?encodeURIComponent(t.dataset.url):this.url;return t=t.dataset.title?encodeURIComponent(t.dataset.title):this.title,e="http://www.liveinternet.ru/journal_post.php?action=n_add&cnurl=".concat(e,"&cntitle=").concat(t),{callback:this.callback,share_url:e,windowTitle:"Share this",windowWidth:640,windowHeight:480}}},{key:"shareWindow",value:function(){var t=document.querySelectorAll('[data-social="liveinternet"]');return this.createEvents(t)}}]),n}(u),A=function(e){function n(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href,o=1<arguments.length&&void 0!==arguments[1]?arguments[1]:document.title,a=2<arguments.length&&void 0!==arguments[2]?arguments[2]:document.querySelector('meta[name="description"]');t(this,n);var r=s(this,i(n).call(this));return r.url=encodeURIComponent(e),r.title=encodeURIComponent(o),r.description=a?encodeURIComponent(a.content):"",r.createEvents=r.createEvents.bind(c(r)),r}return a(n,e),o(n,[{key:"getPreparedData",value:function(t){var e=t.dataset.url?encodeURIComponent(t.dataset.url):this.url,n=t.dataset.title?encodeURIComponent(t.dataset.title):this.title;return t=t.dataset.description?encodeURIComponent(t.dataset.description):this.description,e="https://surfingbird.ru/share?url=".concat(e,"&title=").concat(n,"&description=").concat(t),{callback:this.callback,share_url:e,windowTitle:"Share this",windowWidth:640,windowHeight:480}}},{key:"shareWindow",value:function(){var t=document.querySelectorAll('[data-social="surfingbird"]');return this.createEvents(t)}}]),n}(u),H=function(e){function n(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href;t(this,n);var o=s(this,i(n).call(this));return o.url=encodeURIComponent(e),o.createEvents=o.createEvents.bind(c(o)),o}return a(n,e),o(n,[{key:"getPreparedData",value:function(t){return t=t.dataset.url?encodeURIComponent(t.dataset.url):this.url,t="https://www.xing.com/spi/shares/new?url=".concat(t),{callback:this.callback,share_url:t,windowTitle:"Share this",windowWidth:640,windowHeight:480}}},{key:"shareWindow",value:function(){var t=document.querySelectorAll('[data-social="xing"]');return this.createEvents(t)}}]),n}(u),q=function(e){function n(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href,o=1<arguments.length&&void 0!==arguments[1]?arguments[1]:document.title,a=2<arguments.length&&void 0!==arguments[2]?arguments[2]:document.querySelector('meta[name="description"]'),r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:document.querySelector('link[rel="apple-touch-icon"]');t(this,n);var l=s(this,i(n).call(this));return l.url=encodeURIComponent(e),l.title=encodeURIComponent(o),l.description=a?encodeURIComponent(a.content):"",l.image=r?encodeURIComponent(r.href):"",l.createEvents=l.createEvents.bind(c(l)),l}return a(n,e),o(n,[{key:"getPreparedData",value:function(t){var e=t.dataset.url?encodeURIComponent(t.dataset.url):this.url,n=t.dataset.title?encodeURIComponent(t.dataset.title):this.title,o=t.dataset.description?encodeURIComponent(t.dataset.description):this.description;return t=t.dataset.image?encodeURIComponent(t.dataset.image):this.image,e="https://wordpress.com/w
1p-admin/press-this.php?u=".concat(e,"&t=").concat(n,"&s=").concat(o,"&i=").concat(t,"&v=2"),{callback:this.callback,share_url:e,windowTitle:"Share this",windowWidth:640,windowHeight:480}}},{key:"shareWindow",value:function(){var t=document.querySelectorAll('[data-social="wordpress"]');return this.createEvents(t)}}]),n}(u),P=function(e){function n(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href,o=1<arguments.length&&void 0!==arguments[1]?arguments[1]:document.title,a=2<arguments.length&&void 0!==arguments[2]?arguments[2]:document.querySelector('meta[name="description"]');t(this,n);var r=s(this,i(n).call(this));return r.url=encodeURIComponent(e),r.title=encodeURIComponent(o),r.description=a?encodeURIComponent(a.content):"",r.createEvents=r.createEvents.bind(c(r)),r}return a(n,e),o(n,[{key:"getPreparedData",value:function(t){var e=t.dataset.url?encodeURIComponent(t.dataset.url):this.url,n=t.dataset.title?encodeURIComponent(t.dataset.title):this.title;return t=t.dataset.description?encodeURIComponent(t.dataset.description):this.description,e="https://cang.baidu.com/do/add?iu=".concat(e,"&it=").concat(n,"&dc=").concat(t,"&fr=ien"),{callback:this.callback,share_url:e,windowTitle:"Share this",windowWidth:640,windowHeight:480}}},{key:"shareWindow",value:function(){var t=document.querySelectorAll('[data-social="baidu"]');return this.createEvents(t)}}]),n}(u),D=function(e){function n(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href,o=1<arguments.length&&void 0!==arguments[1]?arguments[1]:document.title;t(this,n);var a=s(this,i(n).call(this));return a.url=encodeURIComponent(e),a.title=encodeURIComponent(o),a.createEvents=a.createEvents.bind(c(a)),a}return a(n,e),o(n,[{key:"getPreparedData",value:function(t){var e=t.dataset.url?encodeURIComponent(t.dataset.url):this.url;return t=t.dataset.title?encodeURIComponent(t.dataset.title):this.title,e="http://share.renren.com/share/buttonshare.do?url=".concat(e,"&title=").concat(t),{callback:this.callback,share_url:e,windowTitle:"Share this",windowWidth:640,windowHeight:480}}},{key:"shareWindow",value:function(){var t=document.querySelectorAll('[data-social="renren"]');return this.createEvents(t)}}]),n}(u),O=function(e){function n(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href,o=1<arguments.length&&void 0!==arguments[1]?arguments[1]:document.title;t(this,n);var a=s(this,i(n).call(this));return a.url=encodeURIComponent(e),a.title=encodeURIComponent(o),a.createEvents=a.createEvents.bind(c(a)),a}return a(n,e),o(n,[{key:"getPreparedData",value:function(t){var e=t.dataset.url?encodeURIComponent(t.dataset.url):this.url;return t=t.dataset.title?encodeURIComponent(t.dataset.title):this.title,e="https://service.weibo.com/share/share.php?url=".concat(e,"&title=").concat(t),{callback:this.callback,share_url:e,windowTitle:"Share this",windowWidth:640,windowHeight:480}}},{key:"shareWindow",value:function(){var t=document.querySelectorAll('[data-social="weibo"]');return this.createEvents(t)}}]),n}(u),M=function(e){function n(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href;t(this,n);var o=s(this,i(n).call(this));return o.url=encodeURIComponent(e),o.createEvents=o.createEvents.bind(c(o)),o}return a(n,e),o(n,[{key:"getPreparedData",value:function(t){return t=t.dataset.url?encodeURIComponent(t.dataset.url):this.url,t="sms:?&body=".concat(t),{callback:this.callback,share_url:t,windowTitle:"Share this",windowWidth:640,windowHeight:480}}},{key:"shareWindow",value:function(){var t=document.querySelectorAll('[data-social="sms"]');return this.createEvents(t)}}]),n}(u),N=function(e){function n(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href;t(this,n);var o=s(this,i(n).call(this));return o.url=encodeURIComponent(e),o.createEvents=o.createEvents.bind(c(o)),o}return a(n,e),o(n,[{key:"getPreparedData",value:function(t){return t=t.dataset.url?encodeURIComponent(t.dataset.url):this.url,t="https://web.skype.com/share?".concat(t),{callback:this.callback,share_url:t,windowTitle:"Share this",windowWidth:640,windowHeight:480}}},{key:"shareWindow",value:function(){var t=document.querySelectorAll('[data-social="skype"]');return this.createEvents(t)}}]),n}(u),Q=function(e){function n(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href;t(this,n);var o=s(this,i(n).call(this));return o.url=encodeURIComponent(e),o.createEvents=o.createEvents.bind(c(o)),o}return a(n,e),o(n,[{key:"getPreparedData",value:function(t){var e=t.dataset.url?encodeURIComponent(t.dataset.url):this.url;t=t.dataset.rhash?t.dataset.rhash:null;var n="https://t.me/share/url?url=".concat(e);return null!==t&&(n="https://t.me/iv?url=".concat(e,"&rhash=").concat(t)),{callback:this.callback,share_url:n,windowTitle:"Share this",windowWidth:640,windowHeight:480}}},{key:"shareWindow",value:function(){var t=document.querySelectorAll('[data-social="telegram"]');return this.createEvents(t)}}]),n}(u),L=function(e){function n(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href;t(this,n);var o=s(this,i(n).call(this));return o.url=encodeURIComponent(e),o.createEvents=o.createEvents.bind(c(o)),o}return a(n,e),o(n,[{key:"getPreparedData",value:function(t){return t=t.dataset.url?encodeURIComponent(t.dataset.url):this.url,t="viber://forward?text=".concat(t),{callback:this.callback,share_url:t,windowTitle:"Share this",windowWidth:640,windowHeight:480}}},{key:"shareWindow",value:function(){var t=document.querySelectorAll('[data-social="viber"]');return this.createEvents(t)}}]),n}(u),z=function(e){function n(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href;t(this,n);var o=s(this,i(n).call(this));return o.url=encodeURIComponent(e),o.createEvents=o.createEvents.bind(c(o)),o}return a(n,e),o(n,[{key:"getPreparedData",value:function(t){return t=t.dataset.url?encodeURIComponent(t.dataset.url):this.url,t="https://api.whatsapp.com/se
1nd?text=".concat(t),{callback:this.callback,share_url:t,windowTitle:"Share this",windowWidth:640,windowHeight:480}}},{key:"shareWindow",value:function(){var t=document.querySelectorAll('[data-social="whatsapp"]');return this.createEvents(t)}}]),n}(u),B=function(e){function n(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href;t(this,n);var o=s(this,i(n).call(this));return o.url=encodeURIComponent(e),o.createEvents=o.createEvents.bind(c(o)),o}return a(n,e),o(n,[{key:"getPreparedData",value:function(t){return t=t.dataset.url?encodeURIComponent(t.dataset.url):this.url,t="https://chart.apis.google.com/chart?cht=qr&chs=196x196&chld=Q%7C0&chl=".concat(t),{callback:this.callback,share_url:t,windowTitle:"Share this",windowWidth:640,windowHeight:480}}},{key:"shareWindow",value:function(){var t=document.querySelectorAll('[data-social="wechat"]');return this.createEvents(t)}}]),n}(u);u=function(e){function n(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href;t(this,n);var o=s(this,i(n).call(this));return o.url=encodeURIComponent(e),o.createEvents=o.createEvents.bind(c(o)),o}return a(n,e),o(n,[{key:"getPreparedData",value:function(t){return t=t.dataset.url?encodeURIComponent(t.dataset.url):this.url,t="line://msg/text/".concat(t),{callback:this.callback,share_url:t,windowTitle:"Share this",windowWidth:640,windowHeight:480}}},{key:"shareWindow",value:function(){var t=document.querySelectorAll('[data-social="line"]');return this.createEvents(t)}}]),n}(u);var K=[h,p,m,v,C,f,w,g,b,y,k,_,I,U,S,E,R,x,j,W,T,A,H,q,P,D,O,M,N,Q,L,z,B,u];h=function(){function e(){t(this,e),this.providers=K,this.getProviders()}return o(e,[{key:"setShareCallback",value:function(t){this.providers=this.providers.map((function(e){return e.setShareCallback(t)}))}},{key:"getProviders",value:function(){return this.providers=this.providers.map((function(t){return(new t).getInstance()}))}},{key:"reNewAllInstance",value:function(){this.providers=this.providers.map((function(t){return t.reNewInstance()}))}}]),e}(),window._goodshare=new h}(),jQuery((function(t){var e=t(window).width(),n=!1,o=!1;"undefined"!=typeof fixed_header&&"yes"===fixed_header&&(t("#masthead").addClass("site-header-fixed"),t(".site-header-fixed, .main-navigation").css("margin-bottom","0"),t(".card-slider-container, .card-slider-container+.site-content, .mobile-menu-placeholder+.site-content").css("margin-top","0"),t(".site-header-fixed+.header-separator").css("margin-top",t("#masthead").outerHeight()),t(window).on("resize",(function(){t(".site-header-fixed+.header-separator").css("margin-top",t("#masthead").outerHeight())})));var a,i=t(".js-humburger"),r=t("#site-navigation"),c=t("#header_menu"),s=t("#top-menu"),l=t(".widget-mobile-menu ul"),d=t(".js-mobile-menu-placeholder"),u=s.clone(),h=l.clone();if(u.find("li").addClass("only-hamburger"),h.find("li").addClass("only-hamburger"),d.append(r.clone().attr("id","site-navigation-mobile")),i.on("click",(function(){t(".js-search-screen").is(":visible")&&v(),i.toggleClass("open"),d.find("#site-navigation-mobile").slideToggle()})),e<=991&&t("#masthead").hasClass("site-header-fixed")){var p=t("#masthead").outerHeight();t("body").hasClass("admin-bar")&&(p+=32),t("#site-navigation-mobile").css({position:"fixed",top:p,left:0,bottom:0,width:"100%",background:"#fff","z-index":"99999",overflow:"auto"})}function m(){t(".main-navigation .menu-item .sub-menu").slideUp(200)}function v(){var e=t(".js-search-screen"),n=t("body");t(".site-content").removeClass("blur"),e.removeClass("open"),setTimeout((function(){e.css("display","none")}),10),t(".js-search-icon").removeClass("close"),n.removeClass("scroll-locked"),n.css("padding-right","")}c.prepend(u.html()),c.append(h.html()),e>991&&(t(".main-navigation .menu-item a, .main-navigation .menu-item .removed-link").on("mouseenter",(function(){t(this).parent().parent().find(".sub-menu:visible").hide(),t(this).parent().find(".sub-menu:first").show(),clearTimeout(a)})),t(".main-navigation").on({mouseenter:function(){clearTimeout(a)},mouseleave:function(){a=setTimeout(m,400)}})),e<=991&&(t(".main-navigation").on("click",".menu-item-has-children",(function(e){"A"!==e.target.nodeName&&"a"!==e.target.nodeName&&(e.stopPropagation(),t(this).toggleClass("open"),t(this).find(".sub-menu:first").slideToggle())})),t("#footer_menu").on("click",".menu-item-has-children",(function(e){"A"!==e.target.nodeName&&"a"!==e.target.nodeName&&(e.stopPropagation(),t(this).toggleClass("open"),t(this).find(".sub-menu:first").slideToggle())}))),t(".sidebar-navigation").on("click",".menu-item-has-children",(function(e){"A"!==e.target.nodeName&&"a"!==e.target.nodeName&&(e.stopPropagation(),t(this).toggleClass("open"),t(this).find(".sub-menu:first").slideToggle())})),t(".js-search-icon").on("click",(function(){t("#site-navigation-mobile").is(":visible")&&(i.toggleClass("open"),d.find("#site-navigation-mobile").slideToggle());var e=t(".js-search-screen"),n=t(this),o=t("body");if(e.is(":visible"))v();else{t(".site-content").addClass("blur"),e.css("display","block"),e.find(".search-field").focus(),setTimeout((function(){e.addClass("open")}),10),n.addClass("close");var a=o.outerWidth();o.addClass("scroll-locked");var r=o.outerWidth()-a;o.css("padding-right",r+"px")}}));var f=0;function w(){if(!(t(".js-infinity-scroll").length<1)&&f!==infinity_scroll_ar
1chive_limit){var e=U(),a=E();if(!n&&!o&&e>a-1.5*document.documentElement.clientHeight){n=!0,t(".js-pagination-box").fadeOut(),t("#main").append('<div class="donut js-donut-loading-posts"></div>');var i={action:"journalx_load_posts",nonce:wps_ajax.nonce,query_vars:query_vars,current_page:current_page};jQuery.post(wps_ajax.url,i,(function(e){if(n=!1,current_page++,current_page===max_pages&&(o=!0),e){if(t("#main .post-boxes").append(e),++f===infinity_scroll_archive_limit){var a=t(".js-pagination-box .nav-links a:last-child").attr("href");a=a.replace(/page\/[0-9]+/g,"page/"+(current_page+1)),t(".js-pagination-box .nav-links").html('<a class="next page-numbers" href="'+a+'">'+wps_ajax.str_load_more+"</a>"),t(".js-pagination-box").show()}}else o=!0;t(".js-donut-loading-posts").remove()}))}}}t(window).on("scroll",(function(){w()})),w();var g=parseInt(t(".article-wrap").data("post-id")),b=parseInt(t(".article-wrap").data("post-id")),y=g,k="previous",C=!1,_=0,I=[];function U(){return window.pageYOffset||document.documentElement.scrollTop}function E(){return Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight)}function R(e){var n=t("#entry_comments_"+e),o=n.attr("data-loaded");if(n.is(":hidden")){if(n.slideDown(),"true"!==o){var a={action:"ajax_load_comments",nonce:wps_ajax.nonce,post_id:e};jQuery.post(wps_ajax.url,a,(function(t){n.html(t),n.attr("data-loaded","true"),jQuery("body").trigger(jQuery.Event("journalx_load_comments"))}))}}else n.slideUp()}function x(){t(".entry-content iframe, .responsive-iframe iframe").each((function(){if(!(t(this).parents(".not-responsive").length||t(this).width()<=t(this).parent().width())){var e=t(this).width(),n=t(this).height();t(this).attr("data-original-w")?(e=t(this).attr("data-original-w"),n=t(this).attr("data-original-h")):(t(this).attr("data-original-w",e),t(this).attr("data-original-h",n));var o=t(this).parent().width(),a=o/e,i=Math.round(n*a);t(this).css({width:o,height:i})}}))}function S(){t("body").css("margin-bottom",t(".site-footer").outerHeight()+40)}I[g]={title:document.title,url:window.location.href},t(window).on("scroll",T((function(){if(!t("body").hasClass("single"))return;if(!infinity_scroll_single_enabled)return;var e=U(),a=E();if(!n&&!o&&e>a-2*document.documentElement.clientHeight){if(_===infinity_scroll_single_limit)return;n=!0,t("#main").append('<div class="donut donut--bottom js-donut-loading-post"></div>');var i={action:"journalx_load_post",nonce:wps_ajax.nonce,post_id:g,start_post_id:y,direct:k};
1jQuery.post(wps_ajax.url,i,(function(e){if(n=!1,e.success){if(jQuery("body").trigger(jQuery.Event("journalx_load_post")),k!==e.data.direct){if(C)return o=!0,void t(".js-donut-loading-post").remove();C=!0}t("#main").append(e.data.html);var a=t("#main .js-post-container:last .js-entry-content"),i=a.data("content-height");a.hasClass("entry-content--hidden")&&a.outerHeight()-i>=100&&a.append('<div class="entry-content--show-hidden js-entry-content-show-hidden"><span class="btn">'+settings_array.read_full+"</span></div>"),I[e.data.post_id]={title:e.data.title,url:e.data.url},k=e.data.direct,g=e.data.post_id,_++,void 0!==window.instgrm&&window.instgrm.Embeds.process(),void 0!==window._goodshare&&window._goodshare.reNewAllInstance(),void 0!==window.expert_review&&window._expertreview.init()}else o=!0;t(".js-donut-loading-post").remove()}))}var r="";if(t(".article-wrap").each((function(){var n=t(this).offset().top,o=parseInt(t(this).attr("data-post-id"));e>n-150&&(r=o)})),r>0&&r!==b){r=parseInt(r);var c=I[r].url,s=I[r].title;if(d=c,u=s,history.replaceState({title:u,url:d},u,d),document.title=u,b=parseInt(r),"undefined"!=typeof yandex_counter&&yandex_counter.hit(c),"undefined"!=typeof gtag&&"undefined"!=typeof ga_tracking_id&&gtag("config",ga_tracking_id,{page_path:c}),t("#wpadminbar").length){var l=t("#wp-admin-bar-edit a").attr("href");l=l.replace(/post=[0-9]+/g,"post="+r),t("#wp-admin-bar-edit a").attr("href",l)}}var d,u}),300)),t(document).on("click",".js-entry-content-show-hidden",(function(){t(this).parents(".js-entry-content").css({"max-height":"none"}).removeClass("entry-content--hidden"),t(this).remove()})),t(document).on("click",".js-load-comments",(function(){R(t(this).data("post-id"))})),t(document).on("click",".js-meta-comments",(function(){var e=t(this).parents(".js-post-container"),n=e.data("post-id");t("html, body").animate({scrollTop:e.find(".entry-footer").offset().top},1e3),t(".entry-comments").is(":hidden")&&R(n)})),t(document).on("click",".comments-pagination a",(function(){var e=t(this),n=e.attr("href").match(/commentpage-([0-9]+)/)[1],o=e.parents(".entry-comments").data("post-id"),a=t("#entry_comments_"+o);a.prepend('<div class="donut--full"><div class="donut"></div></div>');var i={action:"ajax_load_comments",nonce:wps_ajax.nonce,post_id:o,cpage:n};
1return jQuery.post(wps_ajax.url,i,(function(e){a.html(e),U()>a.offset().top&&t([document.documentElement,document.body]).animate({scrollTop:a.offset().top},100)})),!1})),t(document).on("journalx_load_comments",(function(){window.addComment.init()})),t(document).on("click",".more-link",(function(){window.location.href=t(this).attr("href"),window.onbeforeunload=function(){window.scrollTo(0,0)},window.location.reload(!1)})),window.addEventListener("scroll",T(W,100),!0),t(window).scroll((function(){setTimeout(W,500)})),t(window).on("resize",(function(){W(),setTimeout(W,1e3),S()})),t(".entry-content table").wrap(t("<div class='table-responsive' />")),t(document).on("journalx_load_post",(function(){setTimeout((function(){t(".entry-content table").wrap(t("<div class='table-responsive' />"))}),100)})),1==settings_array.lightbox_display&&(t(".entry-content").find("a:has(img:not('.lightbox-skip'))").wpshoplightbox(),t(document).find("a:has(img.lightbox-open)").wpshoplightbox(),t(document).on("journalx_load_post",(function(){setTimeout((function(){t(".entry-content").find("a:has(img:not('.lightbox-skip'))").wpshoplightbox()}),100)}))),jQuery(document).on("click",".js-link",(function(t){var e=jQuery(this).data("href");if("http"!==e.substring(0,4)&&"viber"!==e.substring(0,5)){var n=function(t){if("undefined"==typeof window)return new Buffer(t,"base64").toString("utf-8");if(void 0!==window.atob)return decodeURIComponent(escape(window.atob(t)));var e,n,o,a,i,r,c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",s=0,l=0,d="",u=[];if(!t)return t;t+="";do{e=(r=c.indexOf(t.charAt(s++))<<18|c.indexOf(t.charAt(s++))<<12|(a=c.indexOf(t.charAt(s++)))<<6|(i=c.indexOf(t.charAt(s++))))>>16&255,n=r>>8&255,o=255&r,u[l++]=64===a?String.fromCharCode(e):64===i?String.fromCharCode(e,n):String.fromCharCode(e,n,o)}while(s<t.length);return d=u.join(""),decodeURIComponent(escape(d.replace(/\0+$/,"")))}(e);"http"===n.substring(0,4)&&(e=n)}var o="self";"blank"!==jQuery(this).data("target")&&"_blank"!==jQuery(this).data("target")&&"blank"!==jQuery(this).attr("target")&&"_blank"!==jQuery(this).attr("target")||(o="blank"),"blank"===o?window.open(e):document.location.href=e})),x(),t(window).on("resize",(function(){x()})),S();var j=t(".widget-area");function W(){var e=t(window).width(),n=t(window).height();if(!(e<1100)){var o=U(),a=o+30,i=(e-1160)/2,r=a+j.height();j.css("right",i),t(".entry-content").each((function(){var e=t(this),i=e.offset().top;if(o>i-n){var c=e,s=c.offset().top,l=s+c.height(),d=!1;t(".content-wide, .content-right").each((function(){var e=t(this),n=e.offset().top,o=n+e.height();r>n&&a<o&&(d=!0)})),a>s&&r<l&&!d?j.addClass("is-active"):j.removeClass("is-active")}}))}}function T(t,e){void 0===e&&(e=250);var n,o,a=!1;return function i(){if(a)return n=arguments,void(o=t);t.apply(t,arguments),a=!0,setTimeout((function(){a=!1,n&&(i.apply(o,n),n=o=null)}),e)}}W()})),jQuery((function(e){e(document).on("click",".js-table-of-contents-hide",(function(){var n=e(this).parents(".table-of-contents");n.toggleClass("open"),n.hasClass("open")?(t("wpshop_toc_hide","",-1),e(".js-table-of-contents-list").slideDown()):(t("wpshop_toc_hide","hide"),e(".js-table-of-contents-list").slideUp())})),e(document).on("click",'.table-of-contents a[href*="#"]',(function(t){var n=e(this).parents(".entry-content").find(this.hash);e("html,body").stop().animate({scrollTop:n.offset().top-100},{duration:500,step:function(t,e){var o=n.offset().top-100;e.end!==o&&(e.end=o)}}),t.preventDefault()}))}))}));

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.