Atavi bookmark manager is a service that allows you to save and synchronize bookmarks between your devices and browsers, whether it is a laptop or Windows and Mac OS PC; iOS devices (iPhone,iPad, iPod touch), Android devices and others. Now you can easily switch across devices.
0

Wyniki Cage time

Anonim 10 lat temu Ostatnio zmodyfikowane przez anonymous 7 lat temu 2
(function(G,M,I){if(G.post_widget===I){var J=function(){var c=document.createElement("div"),d=c.getElementsByTagName("i"),e=3;do c.innerHTML="\x3c!--[if gt IE "+ ++e+"]\x3e\x3ci\x3e\x3c/i\x3e\x3c![endif]--\x3e";while(d[0]);return 4<e?e:I}(),K;if(6!==J){K=function(){var c=["android","iphone","ipad","ipod","windows phone"],d=G.navigator.userAgent.toLowerCase(),e=c.length,b=!1,a=G.screen.availWidth,g=G.screen.availHeight,f;for(f=0;f<e;f++)if(d.match(RegExp(c[f],"g"))){b={platform:c[f],height:g,tablet:600<= a,width:a};"i"===c[f].charAt(0)&&(b.iosV=d.match(/os ([0-9]+)/g)[0].split(" ")[1]);break}return b}();var H,q;(function(c){var d,e,b={};e=Object.prototype;d=function(a){var c=[],d=a.length,h,k;for(k=0;k<d;k++)h=a[k].split("/"),h=h[h.length-1],c.push(b[h]);return c};q=function(a,g,f){"[object Array]"!==e.toString.call(g)?(f=g,b[a]="function"!==typeof f?f:f()):b[a]=f.apply(c,d(g))};H=function(a,e){if("string"!==typeof a)e.apply(c,d(a));else return b[a.split("/").pop()]}})();q("env",{version:"3_41_1_pch_791", logServer:"//p.po.st",cdnServer:("https:"==M.location.protocol?"https://s.po.st":"http://i.po.st")+"/static/v3",cdnServerNonSecure:"http://i.po.st/static/v3",shareServer:"//po.st",widgetBuildNumber:"3.41.1-pch-791",displayCmUrl:"//rs.gwallet.com/r1/cm/t0p23",displayBcmUrl:"//rs.gwallet.com/r1/pixel/x8208",ieVersion:J,isMobile:K});q("enumeration",{none:"none",post:"post",postShare:"post-share",copypaste:"copypaste",more:"more",pinterest:"pinterest",pinterestImage:"pinterest-image",services:"services", retina:"retina",print:"print",favorites:"favorites",popular:"popular",widgetVersion:{old:"2.1",neu:"3.0"},events:{click:"click",mouseover:"mouseover",mouseout:"mouseout",resize:"resize"},look:{square:"square",nativ:"native",looknative:"looknative",postShare:"post-share"},size:{small:"small",medium:"medium",large:"large",xlarge:"xlarge"},counter:{name:"counter",none:"none",show:"show",vertical:"vertical",horizontal:"horizontal"},layout:{name:"layout",vertical:"vertical",horizontal:"horizontal"},viewType:{button:"button", widget:"widget",list:"list",popup:"popup.popular",popupList:"popup.list",aftershare:"popup.aftershare"},widgetType:{singleButton:"singleButton",buttonCollection:"buttonCollection"},dataloggerEvent:{view:"view",share:"share",more:"more",clickback:"clickback",copyPaste:"copy-paste"},shareMode:{classic:"classic"},initType:{immediate:"immediate",lazy:"lazy"},container:{custombox:"custombox"}});q("globals",function(){var c;c=window;return{win:c,navigator:c.navigator,document:c.document,docElement:c.document.documentElement, appVersion:c.navigator.appVersion,appName:c.navigator.appName,notDefined:void 0,ArrayProto:Array.prototype,ObjProto:Object.prototype}});q("util",["globals"],function(c){var d,e={};d=function(){return(65536*(1+Math.random())|0).toString(16).substring(1)};e.systemLanguage=function(){return c.navigator.userLanguage||c.navigator.language||c.navigator.systemLanguage};e.redirect=function(b){c.win.location.replace(b)};e.hasProperty=function(b,a){return c.ObjProto.hasOwnProperty.call(b,a)};e.each=function(b, a){var c,d;if(this.isCollection(b)||this.isArray(b)){if(b=this.HTMLCollectionToArray(b),this.isFunction(a))for(c=b.length,d=0;d<c&&!1!==a(d,b[d]);d++);}else if(this.isObject(b)&&this.isFunction(a))for(c in b)if(this.hasProperty(b,c)&&!1===a(c,b[c]))break;return this};e.eachTimes=function(b,a){var c;if(this.isFunction(a))for(c=0;c<b;c++)a(c,b);return this};e.isFunction=function(b){return"function"===typeof b};e.getPropertyByPath=function(b,a){var d,f=b;a&&(d=a.split("."),this.each(d,function(a,b){f= e.isUndefined(f)?c.notDefined:f[b]}));return f};e.setPropertyByPath=function(b,a,c){var d;a=a.split(".");for(d=0;d<a.length-1;d+=1)b=b[a[d]];b[a[a.length-1]]=c};e.prop=function(b,a,c){if(c)e.setPropertyByPath(b,a,c);else return e.getPropertyByPath(b,a)};e.isString=function(b){return"string"===typeof b};e.isArray=function(b){return"[object Array]"===c.ObjProto.toString.call(b)};e.arrayToString=function(b,a){var c=b;a=a||",";e.isArray(b)&&(c=b.join(a));return c};e.isCollection=function(b){var a=c.ObjProto.toString.call(b), d=!1;"[object HTMLCollection]"===a||"[object NodeList]"===a?d=!0:e.isObject(b)&&e.hasProperty(b,"length")&&(0===b.length||"object"===typeof b[0]&&0<b[0].nodeType)&&(d=!0);return d};e.addToFavorites=function(b,a,d){try{c.win.external.AddFavorite(a,b)}catch(e){try{c.win.sidebar.addPanel(b,a,"")}catch(h){this.isDefined(d)&&d()}}};e.closeThisWindow=function(){c.win.open("","_self");c.win.close()};e.notify=function(b){c.win.alert(b)};e.print=function(){"Opera"===c.appName?setTimeout(c.win.print,1E3):c.win.print()}; e.openWindow=function(b,a){return c.win.open(b,"",a)};e.HTMLCollectionToArray=function(b){var a=[],c;if(this.isCollection(b)){for(c=0;c<b.length;c++)a[c]=b[c];b=a}return b};e.GUID=function(b){var a="";b=b?"-":"";this.eachTimes(8,function(c,e){a=c<e-1?a+(d()+b):a+d()});return a};e.rand=function(){return Math.round(1E4*Math.random())};e.getTimeStamp=function(){return(new Date).getTime()};e.toInt=function(b){return b>>0};e.prepareQueryParams=function(b){var a="?";this.each(b,function(b,c){a+=encodeURIComponent(b)+ "\x3d"+encodeURIComponent(c)+"\x26"});return a};e._prepareQueryParams=function(b){var a="?",c=this;this.each(b,function(b,h){c.isArray(h)?c.each(h,function(c,h){a+=encodeURIComponent(b)+"\x3d"+encodeURIComponent(h)+"\x26"}):a+=encodeURIComponent(b)+"\x3d"+encodeURIComponent(h)+"\x26"});return a};e.bind=function(b,a){return function(){return a.apply(b,arguments)}};e.bindAll=function(b,a){var d=a||c.ArrayProto.slice.call(arguments,1)[0],f,h;for(f=0;f<d.length;f++)h=d[f],b[h]=e.bind(b,b[h]);return b}; e.mergeObjects=function(b,a,c){var d,h;e.isObject(a)||(a={});for(d in b)h=b[d],e.hasProperty(b,d)&&(c&&"on"!==d.substr(0,2)||!c)&&(!e.isObject(h)||e.isArray(h)||e.isDOMElement(h)?a[d]=h:a[d]=e.mergeObjects(h,a[d],c));return a};e.isDOMElement=function(b){return"object"===typeof HTMLElement?b instanceof HTMLElement:b&&"object"===typeof b&&null!==b&&1===b.nodeType&&"string"===typeof b.nodeName};e.isDefined=function(b){var a=!0;if(e.isNull(b)||e.isUndefined(b))a=!1;return a};e.arrayMaximum=function(b){return Math.max.apply(Math, b)};e.template=function(b,a){this.each(a,function(a,c){b=e.replaceAll(b,"{{"+a+"}}",c)});return b};e.replaceAll=function(b,a,c){return b.replace(RegExp(a,"g"),c)};e.trim=function(b){return e.replaceAll(b," ","")};e.unMergeArrays=function(b,a,c){var d=[];c?(d=b.slice(0),e.each(d,function(c,k){var d=e.indexOfArray(a,k);-1===d&&(d=e.indexOfArray(b,k),b.splice(d,1))})):e.each(a,function(a,c){var d=e.indexOfArray(b,c);-1!==d&&b.splice(d,1)});return b};e.stringToArray=function(b,a){return e.isString(b)? e.trim(b).split(a||","):b};e.hashParams=function(b,a){var c=b.split("\x26"),d={},h;1===c.length?(h=c[0].split("\x3d"),d[h[0]]=h[1]):this.each(c,function(b,c){h=c.split("\x3d");-1<e.indexOfArray(a,h[0])&&(d[h[0]]=h[1])});return d};e.indexOfArray=function(b,a){var d=-1;c.ArrayProto.indexOf?d=b.indexOf(a):this.each(b,function(b,c){c===a&&(d=b)});return d};e.mergeToArray=function(b,a){b=b||[];this.isCollection(a)||this.isArray(a)||(a=[a]);return b.concat(a)};e.fixShema=function(b){1===b.split("://").length&& (b="http://"+b);return b};e.isUndefined=function(b){return b===c.notDefined};e.isNull=function(b){return null===b};e.isBoolean=function(b){return"boolean"===typeof b};e.isObject=function(b){return"object"===typeof b};e.askUser=function(b,a){return c.win.prompt(b||"",a||"")};e.cloneObj=function(b){var a={};e.isObject(b)&&e.each(b,function(b,c){a[b]=c});return a};e.uniq=function(b){var a={},c=[];e.each(b,function(b,h){e.hasProperty(a,h)||(a[h]=!0,c.push(h))});return c};e.isObjEmpty=function(b){var a; if(e.isObject(b))for(a in b)if(e.hasProperty(b,a))return!1;return!0};e.removeTrackingParam=function(b){return b.replace(/[\?&#]{1}([a-z\d]{16})\.([\d]{2})(?:|$)/i,"")};e.sGUID=function(){var b="";this.eachTimes(16,function(){b+="abcdefghijklmopqrstuvwxyzABCDEFGHIJKLMOPQRSTUVWXYZ0123456789".charAt(Math.round(59*Math.random()))});return b};e.countWords=function(b){if(b)return b.replace(/(^\s*)|(\s*$)/gi,"").replace(/[ ]{2,}/gi," ").replace(/\n /,"\n").split(" ").length};e.isFlashInstalled=function(){var b= c.navigator.mimeTypes,a=!1,d=c.navigator.plugins,e=c.win;if(d&&d.length)b&&b["application/x-shockwave-flash"]&&b["application/x-shockwave-flash"].enabledPlugin&&(a=!0);else if(-1===c.navigator.appVersion.indexOf("Mac")&&e.execScript)try{new e.ActiveXObject("ShockwaveFlash.ShockwaveFlash"),a=!0}catch(h){}return a};e.tryValue=function(b,a){e.isFunction(a)&&a(b);return this};e.strToBoolean=function(b){return this.isString(b)?"true"===b:c.notDefined};e.getObjectKeys=function(b){var a=[],c;if(Object.keys)a= Object.keys(b);else if(this.isObject(b))for(c in b)b.hasOwnProperty(c)&&a.push(c);return a};e.extend=function(c,a){var d,e=this.cloneObj(c);for(d in a)a.hasOwnProperty(d)&&(e[d]=a[d]);return e};return e});q("pubsub",["util"],function(c){var d={},e={};d.subscribe=function(b,a,d){var f=c.GUID(!1),h=e;d&&(h=d.triggers);if(!h[b]||d)h[b]=[];h[b].push({id:f,fn:a});return f};d.publish=function(b,a,d){var f=e;d&&(f=d.triggers);f[b]&&(d=f[b],c.each(d,function(c,d){d.fn(b,a)}))};return d});q("status",["util"], function(c){var d,e=[],b={},a={},g=0,f=!1;d="pt ru vGUID mGUID sGUID bGUID label clicked".split(" ");a.getFetchingState=function(){return f};a.setFetchingState=function(a){f=a};a.optout=function(a){c.isUndefined(a)||(g=a);return g};a.getRestrictedOptOutParams=function(){return d};a.addInterstitial=function(a,b){c.isUndefined(this.getInterstitial(a))&&e.push({publisherKey:a,value:b})};a.getInterstitial=function(a){var b;c.each(e,function(c,d){if(d.publisherKey===a)return b=d.value,!1});return b};a.addCustomShorteners= function(a,d){c.isUndefined(this.getCustomShortener(a))&&(b[a]=d)};a.getCustomShortener=function(a){return b[a]};return a});q("dom",["util","globals"],function(c,d){var e=d.document,b={},a,g,f;a=function(a,b){var d=[],f,g=[];e.getElementsByClassName?d=b.getElementsByClassName(a):b.querySelectorAll?d=b.querySelectorAll("."+a):(f=RegExp("(^|\\s)"+a+"(\\s|$)"),g=b.getElementsByTagName("*"),c.each(g,function(a,b){f.test(b.className)&&d.push(b)}));return d};f=function(a,d,e,f,g){var m;m=function(s){e(s, a);(c.isUndefined(g)||g)&&b.preventDefault(s);b.stopPropagation(s);f&&b.removeEvent(a,d,m)};a.addEventListener?a.addEventListener(d,m,!1):a.attachEvent?a.attachEvent("on"+d,m):a["on"+d]=m;return m};g=function(a){c.isString(a)&&(a=b.getBy(a));c.isCollection(a)||(a=[a]);return a};b.returnElement=g;b.createElement=function(a,d){var f=e.createElement(a);c.each(d,function(a,c){"innerHTML"===a?f.innerHTML=c:"className"===a?f.className=c:"style"===a?b.setStyle(f,c):f.setAttribute(a,c)});return f};b.getBy= function(b,d){var f=[],g=b.split(" "),l=[],m;d=d||e;1<g.length&&(m=g[1].toUpperCase(),b=g[0],g=null);switch(b.charAt(0)){case "#":g=e.getElementById(b.substr(1));break;case ".":g=a(b.substr(1),d);break;default:g=d.getElementsByTagName(b)}c.isDefined(g)&&(g=c.HTMLCollectionToArray(g),m&&c.each(g,function(a,b){c.each(b.childNodes,function(a,b){b.nodeName===m&&f.push(b)})}),l=1<f.length?f:g);return l};b.setStyle=function(a,b){a=g(a)[0];c.each(b,function(b,c){a.style[b]=c})};b.setTitle=function(a){d.document.title= a};b.hasChild=function(a,b){for(var c=b.parentNode;null!==c;){if(c===a)return!0;c=c.parentNode}return!1};b.listenPostMessage=function(a,c){c=c||d.win;c.postMessage&&b.addEvent(c,"message",function(b){a&&a(b.data,b.origin)})};b.isHidden=function(a){return"none"===a.style.display};b.appendTo=function(a,b){return g(a)[0].appendChild(b)};b.insertHTML=function(a,b){a.innerHTML+=b};b.html=function(a,c){var d=b;c?a.innerHTML=c:d=a.innerHTML;return d};b.getNodeText=function(a){return a.innerText||a.textContent}; b.removeNode=function(a){a&&a.parentNode&&a.parentNode.removeChild(a)};b.loadScript=function(a,b){var c,d,e;c=this.createElement("script",{src:a,async:!0});c.onload=c.onreadystatechange=function(){d||this.readyState&&"loaded"!==this.readyState&&"complete"!==this.readyState||(d=!0,c.onload=c.onreadystatechange=null,b&&b(),c&&c.parentNode&&c.parentNode.removeChild(c))};e||(e=this.getBy("head")[0]);this.appendTo(e,c)};b.addEvent=function(a,b,d,e,g){var m;c.isArray(a)?c.each(a,function(a,c){m=f(c,b,d, e,g)}):m=f(a,b,d,e,g);return m};b.removeEvent=function(a,b,c){a.removeEventListener?a.removeEventListener(b,c,!1):a.detachEvent?a.detachEvent("on"+b,c):a["on"+b]=null};b.attr=function(a,b,d){var e;if(d)a.setAttribute(b,d);else return(e=a.getAttribute&&a.getAttribute(b)||null)||c.each(a.attributes,function(a,c){c.nodeName===b&&(e=c.nodeValue)}),"boolean"===typeof e?e.toString():e};b.addClass=function(a,b){g(a)[0].className+=" "+b};b.classList=function(a,b){var d=(g(a)[0].className||"").split(" "), e=!1;b&&(b=c.isArray(b)?b:[b],c.each(b,function(a,b){if(-1<c.indexOfArray(d,b))return e=!0,!1}));return b?e:d};b.setClass=function(a,b){g(a)[0].className=b};b.replaceClass=function(a,b,c){a=g(a)[0];a.className=a.className.replace(b,c)};b.loadCSS=function(a){a=this.createElement("link",{rel:"stylesheet",type:"text/css",href:a,media:"all"});this.appendTo("head",a)};b.ready=function(a){function b(){m||(m=!0,a())}function c(){if(!m&&e.body)try{f.doScroll("left"),b()}catch(a){setTimeout(c,0)}}var f=document.documentElement, g=e.readyState,m=!1;"complete"===g&&b();e.addEventListener?e.addEventListener("DOMContentLoaded",function(){b()},!1):e.attachEvent&&(f.doScroll&&d.win===d.win.top&&c(),e.attachEvent("onreadystatechange",function(){"complete"===g&&b()}));d.win.addEventListener?d.win.addEventListener("load",b,!1):d.win.attachEvent&&d.win.attachEvent("onload",b)};b.stopPropagation=function(a){a=a||d.win.event;a.stopPropagation?a.stopPropagation():a.cancelBubble=!0};b.doc=function(a){return a?c.getPropertyByPath(e,a): e};b.win=function(a){return a?c.getPropertyByPath(d.win,a):d.win};b.parent=function(a,b){return b?a.parentNode[b]:a.parentNode};b.insertBefore=function(a,b){a.parentNode.insertBefore(b,a.nextSibling)};b.childs=function(a,b){var d=[];a=g(a)[0];b=b.toUpperCase();c.each(a.childNodes,function(a,c){b===c.tagName&&d.push(c)});return d};b.preventDefault=function(a){a=a||d.win.event;a.preventDefault?a.preventDefault():a.returnValue=!1};b.display=function(a,b){if(a=g(a)[0])switch(b){case "hide":a.style.display= "none";break;default:a.style.display="block"}};b.getClientOffset=function(){var a={};d.win.opera?(a.w=d.win.innerWidth,a.h=d.win.innerHeight):"CSS1Compat"===e.compatMode?(a.w=e.documentElement.clientWidth,a.h=e.documentElement.clientHeight):(a.w=e.body.clientWidth,a.h=e.body.clientHeight);return a};b.getScrollPosition=function(){return{x:d.win.pageXOffset||e.documentElement.scrollLeft,y:d.win.pageYOffset||e.documentElement.scrollTop}};b.getElementOffset=function(a){return a.getBoundingClientRect? this.getOffsetRect(a):this.getOffsetSum(a)};b.getOffsetRect=function(a){a=a.getBoundingClientRect();var b=e.body,c=e.documentElement,f=a.top+(d.win.pageYOffset||c.scrollTop||b.scrollTop)-(c.clientTop||b.clientTop||0);return{left:Math.round(a.left+(d.win.pageXOffset||c.scrollLeft||b.scrollLeft)-(c.clientLeft||b.clientLeft||0)),top:Math.round(f)}};b.getOffsetSum=function(a){for(var b=0,d=0;a;)d+=c.toInt(a.offsetLeft),b+=c.toInt(a.offsetTop),a=a.offsetParent;return{left:d,top:b}};b.getParentByClassList= function(a,b){for(var c;a.parentNode&&"body"!==a.localName;)if(this.classList(a.parentNode,b)){c=a.parentNode;break}else a=a.parentNode;return c};b.getElementSize=function(a){return{height:a.offsetHeight,width:a.offsetWidth}};b.getTransitionEndEventName=function(){var a={transition:"transitionend",WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend"},b,c;for(b in a)if(a.hasOwnProperty(b)&&d.document.body.style[b]!==d.notDefined){c=a[b];break}return c};b.onTransitionEnd=function(a, e){var f={transition:"transitionend",WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend"},g,l;for(g in f)if(f.hasOwnProperty(g)&&d.document.body.style[g]!==d.notDefined){l=f[g];break}l&&c.isFunction(e)&&b.addEvent(a,l,e,!0)};b.isNodeElement=function(a){return 0<a.nodeType};b.getWindowHeight=function(){return d.win.innerHeight};b.removeClass=function(a,b){var d=[];c.each(this.classList(a),function(a,c){c!==b&&d.push(c)});this.setClass(a,d.join(" "))};return b});q("copyPaste",["util", "dom","globals"],function(c,d,e){var b;b={additionalScroll:20,postBlockClassName:"copy-paste-block",dublication:!1};return{init:function(a){this.options=c.mergeObjects(b,a||{});c.bindAll(this,["copyCallback"]);d.addEvent(e.document.body,"copy",this.copyCallback,!1,!1)},copyCallback:function(a){a=a.target||a.srcElement;var b=c.isDefined(e.win.getSelection)?getSelection().toString():e.document.selection.createRange().text;b.replace(/^\s+|\s+$/g,"").length&&"TEXTAREA"!==a.nodeName&&"INPUT"!==a.nodeName&& (this.checkForUrl(b.replace(/^\s+|\s+$/g,""))||this.formatCopiedText(a,b,this.options.onCopy))},formatCopiedText:function(a,b,d){a=b.replace(/^\s+|\s+$/g,"");var h,k;e.document.selection&&e.document.selection.createRange||(h=e.win.getSelection().getRangeAt(0).cloneRange());a.split(/\s+/).length>=this.options.min&&(c.isFunction(d)&&d(b),this.options.tracking&&this.textUpdater(),e.document.selection&&e.document.selection.createRange||setTimeout(function(){k=e.win.getSelection();k.removeAllRanges(); k.addRange(h)},0))},checkForUrl:function(a){return(/(https?:\/\/[^\s]+)/g.test(a)||0===a.indexOf("www"))&&-1===a.indexOf(" ")},textUpdater:function(){var a,b,c,h,k,n=this,u=d.getScrollPosition();if(n.options.dublication)return!1;n.options.dublication=!0;a=d.createElement("a",{href:this.options.url,innerHTML:encodeURIComponent(this.options.url),style:{color:"#003399"}});a=this.options.msg.replace(RegExp("{link}","g"),a);k=d.createElement("span",{innerHTML:"\x3cbr/\x3e"+a});h=d.createElement("div", {className:this.options.postBlockClassName});e.document.selection&&e.document.selection.createRange?(c=d.createElement("div",{className:this.options.postBlockClassName,style:{left:u.x+this.options.additionalScroll+"px",top:u.y+this.options.additionalScroll+"px"}}),d.appendTo(d.getBy("body"),c),b=e.document.selection.createRange(),h.innerHTML="\x3cbr/\x3e"+b.htmlText,d.appendTo(h,k),d.appendTo(c,h),a=e.document.body.createTextRange(),a.moveToElementText(h),a.select(),setTimeout(function(){d.removeNode(c); ""!==b.text&&(b.select(),e.document.body.scrollLeft=e.document.documentElement.scrollLeft=u.x+n.options.additionalScroll+"px",e.document.body.scrollTop=e.document.documentElement.scrollTop=u.y+n.options.additionalScroll+"px");n.options.dublication=!1},0)):(a=e.win.getSelection(),b=e.document.createRange(),d.appendTo(d.getBy("body"),h),d.appendTo(h,a.getRangeAt(0).cloneContents()),d.appendTo(h,k),b.selectNode(h),a.removeAllRanges(),a.addRange(b),setTimeout(function(){d.removeNode(h);n.options.dublication= !1},0))}}});q("support",["util","globals","pubsub","env","enumeration"],function(c,d,e,b,a){d={};var g=!1;e.subscribe("application.ready",function(a){g=!0});d.fixPinterest=function(a){if("imageURL"===a||"Image"===a||"pinterestImage"===a)a="image";return a};d.appReady=function(a){var b=setInterval(function(){g&&(c.isFunction(a)&&a(),clearInterval(b))},1)};d.fixPinterestPwConf=function(a){var b={},d=this;c.each(a,function(a,c){b[d.fixPinterest(a)]=c});return b};d.updateServices=function(d){var e,k; d.p_share_popup&&(d.p_share_popup=c.arrayToString(d.p_share_popup),b.isMobile&&(d.p_share_popup=c.replaceAll(d.p_share_popup,a.favorites,"")),d.p_share_popup=c.stringToArray(d.p_share_popup));d.more_popup&&(d.more_popup=c.arrayToString(d.more_popup),b.isMobile&&(d.more_popup=c.replaceAll(d.more_popup,a.favorites,""),b.isMobile.iosV||(d.more_popup=c.replaceAll(d.more_popup,a.print,""))),d.more_popup=c.stringToArray(d.more_popup));d.exclude&&(c.isString(d.exclude)?e=k=c.stringToArray(d.exclude):c.isObject(d.exclude)&& (d.exclude.popup&&(e=c.stringToArray(d.exclude.popup)),d.exclude.popular&&(k=c.stringToArray(d.exclude.popular))),d.exclude={popup:e||[],popular:k||[]});b.isMobile&&(d.exclude=d.exclude||{popup:[],popular:[]},d.exclude.popup=d.exclude.popup.concat([a.favorites]),d.exclude.popular=d.exclude.popular.concat([a.favorites]));b.isMobile&&!b.isMobile.iosV&&(d.exclude.popup=d.exclude.popup.concat([a.print]),d.exclude.popular=d.exclude.popular.concat([a.print]));return d};return d});q("scriptParams",["util", "dom"],function(c,d){var e,b={},a,g;e=["publisherKey","init","lc","retina","clean"];g=function(){c.each(d.getBy("script"),function(b,d){var k=d.src;-1<k.search(/post-widget.js/)&&(a=(k=k.split("#")[1])?c.hashParams(k,e):{})})};b.get=function(b){a||g();return a[b]};return b});q("pwConfig",["util","dom","enumeration","globals"],function(c,d,e,b){var a={},g={},f;f={publisherKey:b.notDefined,clean:!1,copypaste:!0,onshare:null,locale:null,mobileOverlay:!1,shareQuote:!0,shareQuoteOptions:{buttons:b.notDefined, more_popup_exclude:b.notDefined},onload:null,track:!0,trackAddressBar:!1,init:b.notDefined,mode:e.shareMode.classic,version:b.notDefined,vguid:b.notDefined,retina:!1,gaTrackEvents:{enabled:!1,nonInteraction:!1},gaTrackSocialInteractions:{enabled:!1,pagePath:b.notDefined},i18n:{readMore:b.notDefined},readMoreUrl:b.notDefined,defaults:{view_type:b.notDefined,hidePopupDelay:1500,transformations:{tracking:!0,shorten:b.notDefined},afterShare:{baseElement:b.notDefined,center:!1,offset:[0,0]},shareAgain:!0, afterShareText:!0,onshowaftershare:b.notDefined,onhideaftershare:b.notDefined,onbuttonclick:b.notDefined,sharePopups:!1,image:b.notDefined,imageURL:b.notDefined,pinterestImage:b.notDefined,url:c.removeTrackingParam(d.doc("location.href")),title:d.doc("title"),referrer:b.notDefined,showPost:!0,services:{twitter:{via:"po_st"},p_share_popup:b.notDefined,more_popup:b.notDefined,exclude:b.notDefined},size:e.size.small,buttons:["facebook","twitter","linkedin"],click:!1,button:b.notDefined,vertical:!1,counter:b.notDefined, internal:{sharedVia:b.notDefined}}};a.val=function(a){return c.getPropertyByPath(f,a)};a.update=function(b,d){c.isObject(b)&&(f=c.mergeObjects(b,f),d&&(g=c.mergeObjects(b,g)));return a};a.setUserPwConfig=function(a){c.isObject(a)&&(g=c.mergeObjects(a,g))};a.getUserPwConfig=function(){return g};a.isDefinedByUser=function(a){return!c.isUndefined(c.getPropertyByPath(g,a))};return a});q("i18n",["util","pwConfig","env","enumeration"],function(c,d,e,b){var a=void 0,g={en:["us"],de:["de"],fr:["fr"],it:["it"], pt:["br"],ru:["ru"],ja:["jp"],es:["la"],zh:["cn"],pl:["pl"],cs:["cs"],da:["da"],nl:["nl"],no:["no"],sv:["sv"],fi:["fi"],ar:["ar"]},f={share:{"en-us":"Share","de-de":"Teilen","fr-fr":"Partager","it-it":"Condividi","pt-br":"Compartilhar","ru-ru":"\u041f\u043e\u0434\u0435\u043b\u0438\u0442\u044c\u0441\u044f","ja-jp":"\u5171\u6709\u3059\u308b","es-la":"Compartir","zh-cn":"\u5206\u4eab","pl-pl":"Udost\u0119pnij","cs-cs":"Sd\u00edlet","da-da":"Del","nl-nl":"Deel","no-no":"Del","sv-sv":"Dela","fi-fi":"Jaa", "ar-ar":"\u0645\u0634\u0627\u0631\u0643\u0629"},shareTitle:{"en-us":"Share with friends","de-de":"Mit Freunden teilen","fr-fr":"Partager avec vos amis","it-it":"Condividi con gli amici","pt-br":"Compartilhar com amigos","ru-ru":"\u041f\u043e\u0434\u0435\u043b\u0438\u0442\u044c\u0441\u044f \u0441 \u0434\u0440\u0443\u0437\u044c\u044f\u043c\u0438","ja-jp":"\u53cb\u9054\u3068\u5171\u6709\u3059\u308b","es-la":"Compartir con amigos","zh-cn":"\u4e0e\u597d\u53cb\u5206\u4eab","pl-pl":"Udost\u0119pnij znajomym", "cs-cs":"Sd\u00edlen\u00ed s p\u0159\u00e1teli","da-da":"Del med venner","nl-nl":"Deel met vrienden","no-no":"Del med venner","sv-sv":"Dela med v\u00e4nner","fi-fi":"Jaa yst\u00e4vien kanssa","ar-ar":"\u0634\u0627\u0631\u0643 \u0645\u0639 \u0627\u0644\u0623\u0635\u062f\u0642\u0627\u0621"},privacy:{"en-us":"Privacy","de-de":"Datenschutz","fr-fr":"Confidentialit\u00e9","it-it":"Privacy","pt-br":"Privacidade","ru-ru":"\u041f\u0440\u0438\u0432\u0430\u0442\u043d\u043e\u0441\u0442\u044c","ja-jp":"\u30d7\u30e9\u30a4\u30d0\u30b7\u30fc", "es-la":"Privacidad","zh-cn":"\u9690\u79c1\u653f\u7b56","pl-pl":"Prywatno\u015b\u0107","cs-cs":"Ochrana osobn\u00edch \u00fadaj\u016f","da-da":"Privat","nl-nl":"Privacy","no-no":"Personvern","sv-sv":"Sekretess","fi-fi":"Yksityisyys","ar-ar":"\u0627\u0644\u062e\u0635\u0648\u0635\u064a\u0629"},powered:{"en-us":"Powered by Po.st","de-de":"Bereitgestellt von Po.st","fr-fr":"Op\u00e9r\u00e9 par Po.st","it-it":"Con tecnologia Po.st","pt-br":"Habilitado por Po.st","ru-ru":"\u0420\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043d\u0430 \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u0438 Po.st", "ja-jp":"Po.st\u306b\u3088\u308b\u63d0\u4f9b","es-la":"Publicado gracias a Po.st","zh-cn":"\u91c7\u7528 Po.st \u5e73\u53f0","pl-pl":"Dzia\u0142a w oparciu o rozwi\u0105zania Po.st","cs-cs":"Vyu\u017e\u00edv\u00e1 slu\u017ebu Po.st","da-da":"St\u00f8ttet af Po.st","nl-nl":"Mogelijk gemaakt door Po.st","no-no":"Levert av Po.st","sv-sv":"Byggd med Po.st","fi-fi":"Palvelun tarjoaa Po.st","ar-ar":"\u0645\u064f\u0634\u063a\u0651\u0644 \u0628\u0648\u0627\u0633\u0637\u0629 Po.st"},more:{"en-us":"More","de-de":"Mehr", "fr-fr":"Plus","it-it":"Altro","pt-br":"Mais","ru-ru":"\u0415\u0449\u0435","ja-jp":"\u3082\u3063\u3068","es-la":"M\u00e1s","zh-cn":"\u66f4\u591a","pl-pl":"Wi\u0119cej","cs-cs":"V\u00edce","da-da":"Mere","nl-nl":"Meer","no-no":"Mer","sv-sv":"Mer","fi-fi":"Lis\u00e4\u00e4","ar-ar":"\u0627\u0644\u0645\u0632\u064a\u062f"},moreServices:{"en-us":"More services","de-de":"Weitere dienste","fr-fr":"Plus de services","it-it":"Altri servizi","pt-br":"Mais servi\u00e7os","ru-ru":"\u0412\u0441\u0435 \u0441\u043b\u0443\u0436\u0431\u044b", "ja-jp":"\u305d\u306e\u4ed6\u306e\u30b5\u30fc\u30d3\u30b9","es-la":"M\u00e1s servicios","zh-cn":"\u66f4\u591a\u670d\u52a1","pl-pl":"Inne us\u0142ugi","cs-cs":"Dal\u0161\u00ed slu\u017eby","da-da":"Flere enheder","nl-nl":"Meer diensten","no-no":"Flere tjenester","sv-sv":"Fler tj\u00e4nster","fi-fi":"Lis\u00e4\u00e4 palveluita","ar-ar":"\u0627\u0644\u0645\u0632\u064a\u062f \u0645\u0646 \u0627\u0644\u062e\u062f\u0645\u0627\u062a"},email:{"en-us":"Email","de-de":"E-Mail","fr-fr":"E-mail","it-it":"E-mail", "pt-br":"Email","ru-ru":"Email","ja-jp":"E\u30e1\u30fc\u30eb","es-la":"Correo electr\u00f3nico","zh-cn":"\u7535\u5b50\u90ae\u4ef6","pl-pl":"E-mail","cs-cs":"E-mail","da-da":"E-mail","nl-nl":"E-mail","no-no":"E-post","sv-sv":"E-post","fi-fi":"S\u00e4hk\u00f6posti","ar-ar":"\u0627\u0644\u0628\u0631\u064a\u062f \u0627\u0644\u0625\u0644\u0643\u062a\u0631\u0648\u0646\u064a"},favorites:{"en-us":"Favorites","de-de":"Favoriten","fr-fr":"Favoris","it-it":"Preferiti","pt-br":"Favoritos","ru-ru":"\u0418\u0437\u0431\u0440\u0430\u043d\u043d\u043e\u0435", "ja-jp":"\u304a\u6c17\u306b\u5165\u308a","es-la":"Favoritos","zh-cn":"\u6536\u85cf\u5939","pl-pl":"Ulubione","cs-cs":"Obl\u00edben\u00e9","da-da":"Favoritter","nl-nl":"Favorieten","no-no":"Favoritter","sv-sv":"Favoriter","fi-fi":"Suosikit","ar-ar":"\u0627\u0644\u062a\u0641\u0636\u064a\u0644\u0627\u062a"},print:{"en-us":"Print","de-de":"Drucken","fr-fr":"Imprimer","it-it":"Stampa","pt-br":"Imprimir","ru-ru":"\u0420\u0430\u0441\u043f\u0435\u0447\u0430\u0442\u0430\u0442\u044c","ja-jp":"\u5370\u5237", "es-la":"Imprimir","zh-cn":"\u6253\u5370","pl-pl":"Drukuj","cs-cs":"Tisk","da-da":"Print","nl-nl":"Druk af","no-no":"Skriv ut","sv-sv":"Skriv ut","fi-fi":"Tulosta","ar-ar":"\u0637\u0628\u0627\u0639\u0629"},sharingSuccessful:{"en-us":"Sharing Successful!","de-de":"Teilen erfolgreich!","fr-fr":"Partage effectu\u00e9!","it-it":"Condivisione riuscita!","pt-br":"Compartilhamento Feito!","ru-ru":"\u0412\u044b \u0443\u0441\u043f\u0435\u0448\u043d\u043e \u043f\u043e\u0434\u0435\u043b\u0438\u043b\u0438\u0441\u044c \u0441\u0441\u044b\u043b\u043a\u043e\u0439", "ja-jp":"\u304d\u3061\u3093\u3068\u5171\u6709\u3055\u308c\u307e\u3057\u305f","es-la":"Compartido exitosamente","zh-cn":"\u5206\u4eab\u6210\u529f","pl-pl":"Udost\u0119pnianie zako\u0144czone powodzeniem","cs-cs":"Sd\u00edlen\u00ed bylo \u00fasp\u011b\u0161n\u00e9","da-da":"Succesfuld deling","nl-nl":"Delen gelukt","no-no":"Deling vellykket","sv-sv":"Delningen har lyckats","fi-fi":"Jakaminen onnistui","ar-ar":"\u062a\u0645\u062a \u0627\u0644\u0645\u0634\u0627\u0631\u0643\u0629 \u0628\u0646\u062c\u0627\u062d"}, successfullyShared:{"en-us":"You've successfully shared using Po.st!","de-de":"Sie haben etwas erfolgreich \u00fcber Po.st geteilt!","fr-fr":"Vous avez partag\u00e9 en utilisant Po.st !","it-it":"Hai effettuato una condivisione usando Po.st!","pt-br":"Voc\u00ea compartilhou com sucesso usando Po.st!","ru-ru":"\u0412\u044b \u0443\u0441\u043f\u0435\u0448\u043d\u043e \u043f\u043e\u0434\u0435\u043b\u0438\u043b\u0438\u0441\u044c \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 Po.st!","ja-jp":"Po.st\u3092\u4f7f\u3063\u3066\u304d\u3061\u3093\u3068\u5171\u6709\u51fa\u6765\u307e\u3057\u305f\uff01", "es-la":"\u00a1Haz compartido exitosamente usando Po.st!","zh-cn":"\u5df2\u6210\u529f\u901a\u8fc7 Po.st \u5206\u4eab\uff01","pl-pl":"Udost\u0119pni\u0142e\u015b tre\u015bci, korzystaj\u0105c z serwisu Po.st!","cs-cs":"\u00dasp\u011b\u0161n\u011b jste sd\u00edleli pomoc\u00ed slu\u017eby Po.st.","da-da":"Du har med succes delt med Po.st!","nl-nl":"Je hebt succesvol gedeeld middels Po.st!","no-no":"Din deling med Po.st var vellykket!","sv-sv":"Du har lyckats dela med hj\u00e4lp av Po.st!","fi-fi":"Jakaminen Po.stia k\u00e4ytt\u00e4en onnistui!", "ar-ar":"\u0644\u0642\u062f \u0642\u0645\u062a \u0628\u0639\u0645\u0644 \u0645\u0634\u0627\u0631\u0643\u0629 \u0628\u0646\u062c\u0627\u062d \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 Po.st!"},shareAgain:{"en-us":"Share again!","de-de":"Mehr teilen!","fr-fr":"Partager de nouveau!","it-it":"Condividi ancora!","pt-br":"Compartilhar novamente!","ru-ru":"\u041f\u043e\u0434\u0435\u043b\u0438\u0442\u044c\u0441\u044f \u0441\u043d\u043e\u0432\u0430","ja-jp":"\u3082\u3046\u4e00\u5ea6\u5171\u6709\u3059\u308b", "es-la":"Compartir otra vez","zh-cn":"\u518d\u6b21\u5206\u4eab","pl-pl":"Udost\u0119pniaj ponownie","cs-cs":"Sd\u00edlet znovu","da-da":"Del igen","nl-nl":"Deel nog een keer","no-no":"Del igjen","sv-sv":"Dela igen","fi-fi":"Jaa uudelleen","ar-ar":"\u0625\u0639\u0627\u062f\u0629 \u0627\u0644\u0645\u0634\u0627\u0631\u0643\u0629"},readMore:{"en-us":"Read more at {link}","de-de":"Mehr lesen auf {link}","fr-fr":"En savoir plus sur {link}","it-it":"Scopri di pi\u00f9 su {link}","pt-br":"Leia mais em {link}", "ru-ru":"\u0427\u0438\u0442\u0430\u0439\u0442\u0435 \u0434\u0430\u043b\u0435\u0435 \u043d\u0430 {link}","ja-jp":"{link} \u3067\u8a73\u7d30\u3092\u8aad\u3080","es-la":"Lea m\u00e1s en {link}","zh-cn":"\u5728 {link} \u4e86\u89e3\u8be6\u60c5","pl-pl":"Przeczytaj wi\u0119cej tutaj: {link}","cs-cs":"Dal\u0161\u00ed informace naleznete na webu {link}","da-da":"L\u00e6s mere p\u00e5: {link}","nl-nl":"Lees meer via {link}","no-no":"Les mer p\u00e5 {link}","sv-sv":"L\u00e4s mer p\u00e5 {link}","fi-fi":"Lue lis\u00e4\u00e4: {link}", "ar-ar":"{link} \u064a\u0645\u0643\u0646\u0643 \u0642\u0631\u0627\u0621\u0629 \u0627\u0644\u0645\u0632\u064a\u062f \u0639\u0644\u0649"},enterWordpressURL:{"en-us":"Please enter your WordPress Blog URL","de-de":"Geben Sie Ihre Wordpress-Blog-URL ein","fr-fr":"Entrez le lien de votre blog WordPress","it-it":"Inserisci l'URL del tuo blog WordPress","pt-br":"Digite a URL do seu Blog WordPress","ru-ru":"\u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 URL \u0432\u0430\u0448\u0435\u0433\u043e \u0431\u043b\u043e\u0433\u0430 \u043d\u0430 WordPress", "ja-jp":"WordPress\u30d6\u30ed\u30b0\u306eURL\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\u3002","es-la":"Por favor introduzca la direcci\u00f3n URL de su blog de WordPress","zh-cn":"\u8bf7\u8f93\u5165 WordPress \u535a\u5ba2 URL","pl-pl":"Wprowad\u017a adres URL swojego bloga w serwisie WordPress","cs-cs":"Zadejte pros\u00edm adresu sv\u00e9ho blogu ve slu\u017eb\u011b WordPress.","da-da":"Indtast venligst din WordPress blog URL","nl-nl":"Voer de URL in van jouw WordPress blog","no-no":"Vennligst skriv inn WordPress-blogg URL-en din", "sv-sv":"Var god fyll i URL-adressen f\u00f6r din WordPress-blogg","fi-fi":"Sy\u00f6t\u00e4 WordPress-blogisi URL","ar-ar":"\u064a\u0631\u062c\u0649 \u0625\u062f\u062e\u0627\u0644 \u0639\u0646\u0648\u0627\u0646 URL \u0627\u0644\u062e\u0627\u0635 \u0628\u0645\u062f\u0648\u0646\u0629 WordPress \u062e\u0627\u0635\u062a\u0643"},pressToBookmark:{"en-us":"Please press Ctrl+D to bookmark this page.","de-de":"Bitte dr\u00fccken Sie Strg+D, um diese Seite als Lesezeichen zu speichern.","fr-fr":"Merci d'appuyer sur Ctrl+D pour sauvegarder cette page.", "it-it":"Premi Ctrl+D per salvare questa pagina nei segnalibri.","pt-br":"Por favor, digite Ctrl+D para favoritar esta p\u00e1gina.","ru-ru":"\u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u043d\u0430\u0436\u043c\u0438\u0442\u0435 Ctrl+D, \u0447\u0442\u043e\u0431\u044b \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u044d\u0442\u0443 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443 \u0432 \u0438\u0437\u0431\u0440\u0430\u043d\u043d\u043e\u0435.","ja-jp":"\u3053\u306e\u30da\u30fc\u30b8\u3092\u30d6\u30c3\u30af\u30de\u30fc\u30af\u306b\u8ffd\u52a0\u3059\u308b\u306b\u306fCtrl+D\u3092\u62bc\u3057\u3066\u304f\u3060\u3055\u3044\u3002", "es-la":"Por favor, pulse Ctrl + D para marcar esta p\u00e1gina.","zh-cn":"\u8bf7\u6309 Ctrl+D \u5bf9\u6b64\u9875\u9762\u6dfb\u52a0\u4e66\u7b7e\u3002","pl-pl":"Aby doda\u0107 t\u0119 stron\u0119 do ulubionych, naci\u015bnij Ctr+D","cs-cs":"P\u0159idejte si pros\u00edm tuto str\u00e1nku mezi z\u00e1lo\u017eky stisknut\u00edm kl\u00e1vesov\u00e9 zkratky CTRL+D","da-da":"Tryk venligst Ctrl+D for at bogm\u00e6rke denne side","nl-nl":"Druk opCtrl+Dom deze pagine aan de favorieten toe te voegen.","no-no":"Vennligst trykk p\u00e5 Ctrl+D for \u00e5 bokmerke denne siden.", "sv-sv":"Var god tryck p\u00e5 Ctrl+D f\u00f6r att l\u00e4gga till sidan i favoriter.","fi-fi":"Paina Ctrl+D, jos haluat lis\u00e4t\u00e4 t\u00e4m\u00e4n sivun kirjanmerkkeihin.","ar-ar":"\u0645\u0646 \u0641\u0636\u0644\u0643 \u0627\u0636\u063a\u0637 Ctrl+D \u0644\u0625\u0636\u0627\u0641\u0629 \u0647\u0630\u0647 \u0627\u0644\u0635\u0641\u062d\u0629 \u0641\u064a \u0627\u0644\u0639\u0644\u0627\u0645\u0627\u062a \u0627\u0644\u0645\u0631\u062c\u0639\u064a\u0629."},twitterLookNative:{"en-us":"Tweet","de-de":"Twittern", "fr-fr":"Tweeter","it-it":"Tweet","pt-br":"Tweetar","ru-ru":"\u0422\u0432\u0438\u0442\u043d\u0443\u0442\u044c","ja-jp":"\u30c4\u30a4\u30fc\u30c8","es-la":"Twittear","zh-cn":"Tweet","pl-pl":"Tweetnij","cs-cs":"Tweet","da-da":"Tweet","nl-nl":"Tweet","no-no":"Tweet","sv-sv":"Tweet","fi-fi":"Twiittaa","ar-ar":"\u0627\u0644\u0646\u0634\u0631 \u0639\u0644\u0649 \u062a\u0648\u064a\u062a\u0631"},close:{"en-us":"Close","de-de":"Schlie\u00dfen","fr-fr":"Fermer","it-it":"Chiudere","pt-br":"Fechar","ru-ru":"\u0417\u0430\u043a\u0440\u044b\u0442\u044c", "ja-jp":"\u30af\u30ed\u30fc\u30ba","es-la":"Cerrar","zh-cn":"\u5173\u95ed","pl-pl":"Zamkn\u0105\u0107","cs-cs":"Zav\u0159\u00edt","da-da":"Luk","nl-nl":"Sluit","no-no":"Lukk","sv-sv":"St\u00e4ng","fi-fi":"Sulje","ar-ar":"\u0625\u063a\u0644\u0627\u0642"}},h={"":"facebook twitter whatsapp email print stumbleupon favorites linkedin googlebookmarks tumblr reddit pinterest".split(" "),"ru-ru":"vkontakte odnoklassniki facebook twitter mailru print favorites googlebookmarks whatsapp reddit livejournal googleplus gmail linkedin stumbleupon tumblr blogger pinterest".split(" "), "en-us":"facebook twitter print email pinterest whatsapp gmail stumbleupon favorites reddit tumblr googlebookmarks blogger linkedin yahoomail digg googleplus".split(" "),"en-gb":"facebook twitter print email stumbleupon favorites whatsapp gmail reddit blogger googlebookmarks linkedin tumblr googleplus pinterest digg delicious".split(" "),"fr-fr":"facebook twitter print email whatsapp gmail favorites linkedin stumbleupon googlebookmarks reddit viadeo blogger googleplus pinterest tumblr".split(" "), "fr-ch":"facebook print email twitter favorites whatsapp gmail blogger stumbleupon".split(" "),"de-de":"facebook print twitter stumbleupon favorites email googlebookmarks xing whatsapp meinvz reddit blogger tumblr googleplus digg delicious".split(" "),"de-ch":"facebook twitter email print reddit stumbleupon favorites whatsapp gmail blogger tumblr pinterest".split(" "),"it-it":"facebook twitter print email stumbleupon linkedin googlebookmarks favorites whatsapp googleplus blogger tumblr reddit gmail".split(" "), "it-ch":"facebook twitter email print reddit stumbleupon favorites whatsapp gmail blogger tumblr pinterest".split(" "),"pt-pt":"facebook twitter print email blogger googlebookmarks whatsapp gmail favorites aollifestream googleplus stumbleupon digg linkedin tumblr".split(" "),"pt-br":"facebook twitter email print googlebookmarks blogger favorites whatsapp googleplus aollifestream gmail digg stumbleupon reddit linkedin".split(" "),"ja-jp":"twitter facebook print favorites googlebookmarks stumbleupon delicious email whatsapp blogger tumblr digg googleplus gmail linkedin mixi line".split(" "), "zh-cn":"twitter facebook weibo reddit whatsapp gmail pinterest favorites print googlebookmarks linkedin stumbleupon email tumblr baidu delicious".split(" "),"es-la":"facebook twitter print email whatsapp gmail stumbleupon favorites googlebookmarks blogger googleplus linkedin hotmail tumblr".split(" "),"pl-pl":"facebook twitter print reddit googlebookmarks vkontakte stumbleupon favorites whatsapp digg gmail email linkedin googleplus delicious".split(" "),"cs-cs":"facebook twitter print whatsapp gmail email favorites pinterest reddit stumbleupon tumblr linkedin odnoklassniki googleplus blogger vkontakte".split(" "), "da-da":"facebook print twitter email linkedin whatsapp gmail pinterest reddit favorites stumbleupon blogger delicious tumblr googleplus".split(" "),"nl-nl":"facebook twitter print email linkedin whatsapp gmail pinterest favorites googleplus reddit stumbleupon tumblr vkontakte".split(" "),"no-no":"facebook print twitter email whatsapp gmail pinterest favorites linkedin reddit stumbleupon tumblr googleplus blogger".split(" "),"sv-sv":"facebook print twitter email whatsapp gmail linkedin stumbleupon pinterest favorites reddit tumblr delicious digg googleplus".split(" "), "ar-ar":"facebook twitter print whatsapp gmail favorites stumbleupon linkedin googleplus email tumblr pinterest blogger delicious".split(" "),"fi-fi":"facebook twitter print whatsapp gmail pinterest email favorites linkedin reddit stumbleupon tumblr delicious blogger googleplus".split(" ")};return{getChannelsByRegion:function(d){var g=h[a]||h[""];e.isMobile&&!d&&(c.tryValue(c.indexOfArray(g,b.print),function(a){-1<a&&g.splice(a,1).concat([b.print])}),c.tryValue(c.indexOfArray(g,b.favorites),function(a){-1< a&&g.splice(a,1).concat([b.favorites])}));return g},t:function(a){return(f[a]||{})[d.val("locale")]||a},validateUserLocale:function(b){var d="en-us",e,f;b&&(b=("auto"===b||2>b.length?c.systemLanguage():b).toLowerCase(),f=b.split("-")[1],e=b.split("-")[0],g[e]&&(d=f&&-1<c.indexOfArray(g[e],f)?b:e+"-"+g[e][0]));a=h[b]?b:d;return d},getBCP47tag:function(){var a=d.val("locale").split("-");return a[0]+"_"+a[a[1]?1:0].toUpperCase()},addDictionary:function(a){f=c.mergeObjects(f,a)}}});q("config",["env", "util","enumeration","dom"],function(c,d,e,b){var a={};return a={getCssQuerySelector:function(b,c,e){b=a.cssQuerySelector[b][c||a.widgetVersion];e&&(b=d.template(b,e));return b},getPropFromClass:function(b,c,d){var e;d=d||a.widgetVersion;c.replace(a.regexpPatterns[b][d],function(a,b){e=b});return e},getAttrValue:function(c,d){return b.attr(c,"data-"+d)||b.attr(c,a.attrPrefix+d)},attrPrefix:"pw:",widgetVersion:"3.0",privacyPolicyLink:"http://www.po.st/privacy.html",privacyLinkMobile:"http://m.radiumone.com/about/privacy.html", poStLink:"http://www.po.st",mainCssPath:c.cdnServer+"/css/r1post.css?"+c.version,wpAskUrlDefaultValue:"http://",pinMarkletUrl:"//assets.pinterest.com/js/pinmarklet.js",buttonSize:{small:[16,16],medium:[24,24],large:[32,32],xlarge:[40,40]},externalModules:{shareQuote:c.cdnServer+"/js/external/shareQuote.js",postImages:c.cdnServer+"/js/external/postImages.js"},externalCss:{retina:c.cdnServer+"/css/r1post_retina.css"},postShareAliases:["pw_post","pw_share","pw_post-share"],postWidgetAliases:["pw-widget", "pw_widget"],widgetClassList:"pw pw-widget ",regexpPatterns:{buttonContainer:{"2.1":/pw_(.+)/i,"3.0":/pw-button-(\S+)/g},size:{"2.1":/pw_size_([a-z]+)/g,"3.0":/pw-size-([a-z]+)/g},layout:{"2.1":/pw_layout_([a-z]+)/g,"3.0":/pw-layout-([a-z]+)/g},copypaste:{"2.1":/pw_copypaste_([a-z]+)/g,"3.0":/pw-copypaste-([a-z]+)/g},counter:{"2.1":/pw_counter_([a-z]+)/g,"3.0":/pw-counter-([a-z]+)/g},counterButton:{"2.1":/pw_counter/g,"3.0":/pw-counter/g},looknative:{"3.0":/look-native/g},"share-popups":{"3.0":/pw-share-popups/g}, popularChannel:/popular-([0-9]+)/g,nativeButton:/-like?|-share?|twitter-twitt?|-plus?/g},cssQuerySelector:{defaultButton:{"2.1":".pw_{{channel}}","3.0":".pw-button-{{channel}}"},nativeButton:{"2.1":"a .pw_{{channel}}_button","3.0":"a .pw-button-{{channel}}-{{prefix}}"},widget:{"2.1":".pw_widget","3.0":".pw-widget"},counterNode:{"2.1":".ra1-pw-button-counter-value","3.0":".ra1-pw-button-counter-value"}},cssClasses:{pwButton:"pw-button",pwWidgetCore:"pw",pwLogImage:"ra1-pw-logImage",lookNativeButton:"look-native", lookNativeWidget:"pw-widget-look-native",defaultWidgetCounter:"pw-counter-horizontal",nativeContainer:"ra1-pw-originalbuttons",htmlPwLocale:"pw-locale-",transparentButton:"pw-button-post-share-transparent",counterLookNative:"pw-counter-look-native",disablePostButton:"pw_post_false",buttonTypePrefix:"button-type-"},pwWidgetId:"pw_widget_{{id}}",buttonAttributes:[{name:"size",defaultValue:e.size.small,definedAsClass:"pw-size-{{value}}"},{name:"counter",defaultValue:!1,definedAsClass:"pw-button-counter-{{value}}"}, {name:"url",defaultValue:!1,definedAsClass:!1},{name:"title",defaultValue:!1,definedAsClass:!1},{name:"image",defaultValue:!1,definedAsClass:!1}],widgetAttributes:[{name:"size",defaultValue:e.size.small,definedAsClass:"ra1-pw_size_{{value}}"},{name:"layout",defaultValue:e.layout.horizontal,definedAsClass:"pw-layout-{{value}}"},{name:"url"},{name:"title"},{name:"image"},{name:"pinterest-image"},{name:"counter",definedAsClass:"pw-counter-{{value}}"},{name:"copypaste",definedAsClass:"pw-copypaste-{{value}}"}, {name:"twitter-via",defaultsPath:"services.twitter.via"},{name:"share-popups",defaultsPath:"sharePopups",definedAsClass:"pw-share-popups"},{name:"counter-look",defaultsPath:"counterLook"}],counterAttributes:[{name:"url"},{name:"channel"}],replaceAttributes:{button:[{s:/pw-counter/g,r:"pw-button-counter-show"}],widget:[{s:/pw-vertical/g,r:"pw-layout-vertical"}]},templates:{buttonIcon:'\x3cspan class\x3d"pw-icon ra1-pw-icon ra1-pw-icon-{{channel}}"\x3e\x3c/span\x3e',buttonLookNative:'\x3cspan class\x3d"pw-button-type-{{type}}"\x3e{{icon}}\x3cspan class\x3d"pw-button-type-{{type}}__txt"\x3e{{label}}\x3c/span\x3e\x3c/span\x3e', buttonCounterDefault:'\x3cspan class\x3d"pw-button-counter"\x3e\x3ci class\x3d"pw-button-counter__brd"\x3e\x3c/i\x3e\x3cspan class\x3d"pw-button-counter__count ra1-pw-button-counter-value"\x3e0\x3c/span\x3e\x3c/span\x3e',buttonCounterTop:'\x3cspan class\x3d"pw-button-counter-top"\x3e\x3ci class\x3d"pw-button-counter-top__brd"\x3e\x3c/i\x3e\x3cspan class\x3d"pw-button-counter-top__count ra1-pw-button-counter-value"\x3e0\x3c/span\x3e\x3c/span\x3e',buttonDefault:'\x3ca class\x3d"pw-button-{{channel}} {{classes}}" {{attrs}}\x3e\x3c/a\x3e', buttonNative:'\x3cspan class\x3d"{{className}}"\x3e{{code}}\x3c/span\x3e'}}});q("jsonp",["util","dom","globals"],function(c,d,e){return{fetch:function(b,a,g){var f;c.isFunction(a)?(g=a,a="?"):c.isString(a)||(a=c.prepareQueryParams(a));f="r1PoStJSONP"+c.rand();e.win[f]=function(a){g(a);try{delete e.win[f]}catch(b){}e.win[f]=null};d.loadScript(b+a+(new Date).getTime()+"\x26callback\x3d"+f);return f}}});q("channels",["util","i18n","enumeration","env"],function(c,d,e,b){var a={},g=[],f=!1,h,k,n;k=function(a){var b; c.each(a,function(a,c){b={id:c[0],name:c[1],displayName:c[2],value:c[3]};c[4]&&(b.extra=c[4]);g.push(b)})};n=function(b,d){var e=a.get("name",d);c.getPropertyByPath(e,"extra.hideFromPopUp")||b.push(e.name);return b};h=function(a){var b=[];c.each(g,function(d,e){c.getPropertyByPath(e,a)&&b.push(e.name)});return b};a.init=function(){f||(k([["02","twitter","Twitter","https://twitter.com/intent/tweet?url\x3d[URL]\x26text\x3d[TITLE]\x26via\x3d{{via}}",{nativeImpl:{prefix:"twitt"},popUpSize:[640,480],counter:!0, shorten:!0,fake:!0,fakeI18n:d.t("twitterLookNative"),maxSymbols:140}],["01","facebook","Facebook","https://www.facebook.com/sharer/sharer.php?u\x3d[URL]",{nativeImpl:{prefix:"like"},popUpSize:[640,480],counter:!0,fake:!0,fakeI18n:d.t("share")}],["07","linkedin","LinkedIn","http://www.linkedin.com/shareArticle?mini\x3dtrue\x26url\x3d[URL]\x26title\x3d[TITLE]\x26summary\x3d[DESCRIPTION]",{nativeImpl:{prefix:"share"},popUpSize:[600,420],shorten:!0,counter:!0,fake:!0,fakeI18n:d.t("share")}],["08","googlebookmarks", "Google Bookmarks","http://www.google.com/bookmarks/mark?op\x3dedit\x26bkmk\x3d[URL]\x26title\x3d[TITLE]\x26annotation\x3d[DESCRIPTION]",{otherNames:["google_bookmarks","google-bookmarks"]}],["17","yahoomail","Yahoo Mail","http://compose.mail.yahoo.com/?Subject\x3d[TITLE]\x26Body\x3d[DESCRIPTION]+[URL]"],["23","aollifestream","AOL LifeStream","http://lifestream.aol.com/share/?url\x3d[URL]\x26title\x3d[TITLE]\x26description\x3d[DESCRIPTION]",{shorten:!0}],["30","googleplus","Google+","https://plus.google.com/share?url\x3d[URL]\x26t\x3d[TITLE]", {nativeImpl:{prefix:"plusone"},popUpSize:[640,480],counter:!0,fake:!0,fakeI18n:d.t("share")}],["32","pinterest","Pin It","http://pinterest.com/pin/create/button/?url\x3d[URL]\x26description\x3d[TITLE]\x26media\x3d{{imageurl}}",{nativeImpl:{prefix:"share"},popUpSize:[680,500],counter:!0,fake:!0,fakeI18n:d.t("share")}],["05","stumbleupon","StumbleUpon","http://www.stumbleupon.com/submit?url\x3d[URL]\x26title\x3d[TITLE]",{shorten:!1,counter:!0,fake:!0,fakeI18n:"Stumble"}],["11","delicious","Delicious", "http://delicious.com/save?url\x3d[URL]\x26title\x3d[TITLE]"],["12","digg","Digg","http://digg.com/submit?phase\x3d2\x26url\x3d[URL]\x26title\x3d[TITLE]"],["14","gmail","GMail","http://mail.google.com/mail/?view\x3dcm\x26fs\x3d1\x26to\x26su\x3d[TITLE]\x26body\x3d[DESCRIPTION]+[URL]\x26ui\x3d2\x26tf\x3d1"],["15","blogger","Blogger","http://www.blogger.com/blog_this.pyra?t\x26u\x3d[URL]\x26n\x3d[TITLE]\x26pli\x3d1",{counter:!0,fake:!0}],["16","reddit","Reddit","http://reddit.com/submit?resubmit\x3dtrue\x26url\x3d[URL]\x26title\x3d[TITLE]", {counter:!0,fake:!0,shorten:!1}],["18","tumblr","Tumblr","http://www.tumblr.com/share?v\x3d3\x26u\x3d[URL]\x26t\x3d[TITLE]\x26s\x3d[DESCRIPTION]",{counter:!0,fake:!0}],["19","hotmail","Hotmail","https://bay179.mail.live.com/default.aspx?id\x3d64855\x26action\x3dcompose\x26to\x3d\x26subject\x3d[TITLE]\x26body\x3d[DESCRIPTION]+[URL]"],["20","aolmail","AOL Mail","http://webmail.aol.com/25045/aol/en-us/Mail/compose-message.aspx?to\x3d\x26subject\x3d[TITLE]\x26body\x3d[DESCRIPTION]+[URL]"],["21","livejournal", "LiveJournal","http://www.livejournal.com/update.bml?subject\x3d[TITLE]\x26event\x3d[DESCRIPTION]+[URL]"],["26","vkontakte","VKontakte","http://vkontakte.ru/share.php?url\x3d[URL]\x26title\x3d[TITLE]\x26description\x3d[DESCRIPTION]"],["27","baidu","Baidu","http://cang.baidu.com/do/add?it\x3d[TITLE]\x26iu\x3d[URL]\x26fr\x3dien\x26dc\x3d[DESCRIPTION]"],["28","mailru","Mail.ru","http://connect.mail.ru/share?url\x3d[URL]\x26title\x3d[TITLE]\x26description\x3d[DESCRIPTION]"],["33","xing","XING","https://www.xing.com/social_plugins/share?h\x3d1\x26url\x3d[URL]\x26message\x3dsdfsdfsdfsdfsdfsdf"], ["34","meinvz","MeinVZ","http://www.meinvz.net/Link/Share/?url\x3d[URL]\x26title\x3d[TITLE]\x26description\x3d[DESCRIPTION]"],["35","skyrock","Skyrock","http://www.skyrock.com/m/blog/share.php?url\x3d[URL]\x26desc\x3d[DESCRIPTION] [URL]"],["36","viadeo","Viadeo","http://www.viadeo.com/?url\x3d[URL]\x26title\x3d[TITLE]\x26affiliate\x3d45584",{maxSymbols:140,shorten:!0,counter:!0,fake:!0,fakeI18n:d.t("share")}],["37","odnoklassniki","Odnoklassniki","http://www.odnoklassniki.ru/dk?st.cmd\x3daddShare\x26st.s\x3d1\x26st._surl\x3d[URL]\x26st.comments\x3d[DESCRIPTION]"], ["38","weibo","Sina Weibo","http://service.weibo.com/share/share.php?url\x3d[URL]\x26title\x3d[TITLE]",{maxSymbols:140}],["39","qzone","QZone","http://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?url\x3d[URL]\x26title\x3d[TITLE]"],["40","kaixin","Kaixin Repaste","http://www.kaixin001.com/rest/records.php?url\x3d[URL]\x26content\x3d[TITLE]\x26style\x3d11",{maxSymbols:140,shorten:!0}],["41","whatsapp","WhatsApp","whatsapp://send?text\x3d[TITLE] [URL]",{viaShareQuote:"whatsapp://send?text\x3d[DESCRIPTION] [URL]"}], ["42","mixi","Mixi","http://mixi.jp/share.pl?u\x3d[URL]\x26t\x3d[DESCRIPTION]",{counter:!0,fake:!0,fakeI18n:d.t("share"),shorten:!1}],["43","line","Line","line://msg/text/[TITLE] [URL]",{counter:!0,fake:!0,fakeI18n:d.t("share"),viaShareQuote:"line://msg/text/[DESCRIPTION] [URL]"}],["44","pocket","Pocket","https://getpocket.com/save?url\x3d[URL]",{shorten:!0}],["24","wordpress","WordPress","{{url}}/wp-admin/press-this.php?u\x3d[URL]\x26t\x3d[TITLE]\x26v\x3d4\x26s\x3d[DESCRIPTION]"],["03","email",d.t("email"), "",{counter:!0,fake:!0}],["04",e.print,d.t(e.print),""],["06",e.favorites,d.t(e.favorites),""],["999","post",d.t(e.favorites),"",{hideFromPopUp:!0,counter:!0}],["998","post-share",d.t("share"),"",{hideFromPopUp:!0,counter:!0,fakeI18n:d.t("share")}],["97","addressbar","","",{hideFromPopUp:!0}],["99","clipboard","","",{hideFromPopUp:!0}],["997","share",d.t("share"),"",{hideFromPopUp:!0}],["998","more",d.t("more"),"",{hideFromPopUp:!0}]]),f=!0)};a.orderByRegion=function(a){var b=[],e=d.getChannelsByRegion(a); c.each(e,function(a,c){n(b,c)});c.each(g,function(a,d){-1===c.indexOfArray(e,d.name)&&n(b,d.name)});return b};a.getPopularChannel=function(b){return a.orderByRegion(!0)[b-1]};a.get=function(a,b){var d;c.each(g,function(c,e){b===e[a]&&(d=e)});return d};a.getWithCounters=function(){return h("extra.counter")};a.getLookNative=function(){return h("extra.fake")};return a});q("url",["util","dom"],function(c,d){var e=/^(?:(https?:\/\/|\/\/|\s)|(..|\/|\?|#)|[^;:@=\.\s])/i,b=/^(?:(https?):\/\/|\/\/)(?:([^:@\s]+:?[^:@\s]+?)@)?((?:[^;:@=\/\?\.\s]+\.)+[A-Za-z0-9\-]{2,})(?::(\d+))?(?=\/|\?|#|$)([^\?#]+)?(?:\?([^#]+))?(?:#(.+))?/i, a,g,f,h={};g=function(){var a,b;if(a=d.getBy("base")[0])a=a.getAttribute("href"),a.length&&"absolute"===h.getType(a)&&(b=h.normalize(a));return b};a=function(){var a,b,e=d.doc("location");c.each(d.getBy("link"),function(a,b){"canonical"===b.getAttribute("rel")&&(f=b.getAttribute("href"))});f&&"relative"===h.getType(f)&&(b=f.substr(0,1),a=g(),"/"===b||"."===b?(f=f.substr(1),a?(a=h.parseAbsoluteURL(a),f=a.shema+"://"+a.domain+"/"+f):f=e.protocol+"//"+e.host+"/"+f):(a||(a=h.prepareBaseURL()),f=a+"/"+ f))};h.getType=function(a){a=a.match(e);var b=null;a&&(b=a[1]?"absolute":"relative");return b};h.normalize=function(a){"/"===a.charAt(a.length-1)&&(a=a.slice(0,-1));return a};h.parseAbsoluteURL=function(a){var c=a.match(b);return c?{shema:c[1],domain:c[3],path:c[5],params:{query:c[6],hash:c[7]}}:a};h.parseHref=function(a){var b=document.createElement("a");b.href=a;return b};h.prepareBaseURL=function(){var a=h.parseAbsoluteURL(d.doc("location").toString()),b=a.shema+"://"+a.domain,c,e=a.path;a.path? (c=a.path.charAt(a.path.length-1),"/"===c?a=b+a.path.slice(0,-1):(e=e.split("/"),e.pop(),a=b+e.join("/"))):a=b;return a};h.canonical={get:function(){c.isUndefined(f)&&a();return f}};return h});q("oo",["util"],function(c){var d={};d.defineClass=function(){var d;d=function(b,a){function c(){}c.prototype=a.prototype;b.prototype=new c;b.prototype.constructor=b;b.__super__=b.su=a.prototype};return function(b){var a;a="Object"===b.constructor.name?function(){}:b.constructor;b.inherit&&d(a,b.inherit);c.each(b, function(b,c){"constructor"!==b&&"inherit"!==b&&(a.prototype[b]=c)});a.prototype.prop=function(a,b){var d;c.isFunction(this[a])||(b?this[a]=b:d=this[a]);return d};a.prototype.bindAll=function(){c.bindAll(this,arguments)};return a}}();return d});q("ga",["util","dom","pwConfig","globals"],function(c,d,e,b){var a,g;c={};var f,h,k=b.win,n,u;k._gaq=k._gaq||[];g=a=!1;f={enabled:!1};u=function(a,b){var c;if(a&&(c=RegExp("[\\?\x26#]"+b+"\x3d([^\x26#]*)"),c=c.exec(a),null!==c))return unescape(c[1])};h=function(a, b,c){f.enabled&&k._gaq.push(["_trackSocial",c||"Po.st",a,b,f.pagePath])};n=function(b,c){a&&k._gaq.push(["_trackEvent","Po.st",b,c,void 0,g])};c.init=function(){var b=e.val("gaTrackEvents"),c=e.val("gaTrackSocialInteractions");b.hasOwnProperty("enabled")?(a=b.enabled,g=b.nonInteraction):a=b;c.hasOwnProperty("enabled")?(f.enabled=c.enabled,f.pagePath=c.pagePath):f.enabled=c};c.track=function(a,b,c){c=c||k.location.toString();switch(a){case "social":h(b,c);break;case "event":n(b,c)}};c.fbEvents=function(){f.enabled&& (k.FB.Event.subscribe("edge.create",function(a){h("like",a,"Facebook")}),k.FB.Event.subscribe("edge.remove",function(a){h("unlike",a,"Facebook")}),k.FB.Event.subscribe("message.send",function(a){h("send",a,"Facebook")}))};c.twitterEvents=function(){f.enabled&&k.twttr.ready(function(){k.twttr.events.bind("tweet",function(a){var b;a&&(a.target&&"IFRAME"===a.target.nodeName&&(b=u(a.target.src,"url")),h("tweet",b,"Twitter"))})})};return c});q("proxy","util jsonp config enumeration dom pwConfig env pubsub status url channels".split(" "), function(c,d,e,b,a,g,f,h,k,n,u){var l,m,s,t,p,B,y,r;h={};var v=[],q,w,z,C;l=f.shareServer+"/v1/aftershare";m=f.cdnServerNonSecure+"/share/share.html";s=f.cdnServerNonSecure+"/share/mobile_popup.html";t=f.shareServer+"/v1/status";p=f.shareServer+"/v1/counter";B={default_:f.shareServer+"/v1/shorten?sc\x3d{{channel}}\x26longUrl\x3d{{longUrl}}\x26pub\x3d{{publisherKey}}\x26sGUID\x3d{{sGUID}}",bitly:"https://api-ssl.bitly.com/v3/shorten?format\x3djson\x26longUrl\x3d{{longUrl}}\x26access_token\x3d{{shortenerKey}}\x26", awesm:"http://api.awe.sm/url.json?v\x3d3\x26url\x3d{{longUrl}}\x26key\x3d{{shortenerKey}}\x26channel\x3d{{channel}}\x26tool\x3dmKU7uN\x26"};y={default_:"url",bitly:"data.url",awesm:"awesm_url"};r=f.logServer+"/p";z=function(d,p){var w=g.val("version"),t=c.isDefined(w)?w:f.widgetBuildNumber,w=r,h;if(d===b.dataloggerEvent.share&&(C&&(h=c.cloneObj(C)),C={sc1:p.sc1,random:p.random},h&&h.sc1===p.sc1&&0.5>(p.random-h.random)/1E3))return;h={t:d,pub:g.val("publisherKey"),pu:p.pu||g.val("defaults.url"),pt:p.pt|| g.val("defaults.title"),ru:a.doc("referrer"),v:t};p=c.mergeObjects(p,h);!0===k.optout()&&c.each(k.getRestrictedOptOutParams(),function(a,b){delete p[b]});w+=c.prepareQueryParams(p);"\x26"===w.charAt(w.length-1)&&(w=w.slice(0,-1));w=a.createElement("img",{className:e.cssClasses.pwLogImage,src:w});a.appendTo("html",w);a.removeNode(w)};w=function(a,b){v.push({name:a,params:b})};q=function(){v.length&&(c.each(v,function(a,b){z(b.name,b.params)}),v=[])};h.logEvent=function(a,b){0===k.optout()?w(a,b):z(a, b)};h.getUrl=function(a,b){var d;switch(a){case "sharePoint":d=m;break;case "shareList":d=s}return d+c.prepareQueryParams(b)};h.fetchStatus=function(a,b){d.fetch(t,b||{},function(b){c.tryValue(b,a);q()})};h.prepareURLForSharing=function(a,b,d,e,p,w){var f=p.tracking,t=u.get("id",d),t=c.getPropertyByPath(t,"extra.shorten"),h=g.val("track"),z="";b=n.parseHref(b);if(k.getCustomShortener(a))t=!1;else if(!c.isDefined(t)||c.isDefined(t)&&!0===t)w?t=!1:c.isDefined(p.shorten)&&(t=p.shorten);!c.isUndefined(b)&& !t&&h&&f&&(z=e+"."+d,!0!==h?b.search=0<b.search.length?b.search+"\x26"+z:z:b.hash="#"+z);return b.href};h.requestAfterShare=function(a,b){d.fetch(l,{publisherKey:a},function(a){b(a.html||"")})};h.fetchCounter=function(a,b,e){a.publisherKey&&(a=c.prepareQueryParams(a)+(b?b+"\x26":""),d.fetch(p,a,function(a){e(a)}))};h.getShortUrl=function(a){var b=k.getCustomShortener(a.shortenParams.publisherKey)||{},e;e=b.shortener||"default_";a.shortenParams.shortenerKey=b.shortenerKey;d.fetch(c.template(B[e],a.shortenParams), "",function(b){c.isFunction(a.fnCallback)&&a.fnCallback(c.isObject(b)?c.prop(b,y[e]):b)})};return h});q("counter","env jsonp pubsub util dom config channels enumeration".split(" "),function(c,d,e,b,a,g,f,h){var k,n;function u(b,c){this.domNode=a.getBy(m.queries.value,b)[0]||b;this.init(c)}var l,m,s;m={counterUrl:c.shareServer+"/v1/counter",syncChannels:["01","02","07","30","32"],queries:{value:".ra1-pw-button-counter-value",boxCounter:".pw-box-counter"},attributes:[{name:"url"},{name:"channel",defaultValue:h.post}], readyEvent:"counter.query.ready",fetchDelay:50};k=void 0;n={};s={formatCount:function(a,b,c){a=Math.round(a/c*10)/10;4<a.toString().length&&(a=Math.round(a));return a+b},beautifyCount:function(a){var b=a.toString(),c=b.length;3<c&&(b=7>c?this.formatCount(a,"K",1E3):10>c?this.formatCount(a,"M",1E6):this.formatCount(a,"B",1E9));return b},getSyncChannels:function(a){var c=[];b.each(a,function(a,d){-1<b.indexOfArray(m.syncChannels,d)&&c.push(d)});return c}};l={query:function(a,c){d.fetch(m.counterUrl, b._prepareQueryParams(b.mergeObjects({increment:a},c)),function(a){e.publish(m.readyEvent,{publisherKey:c.publisherKey,url:c.url,values:a})})},fetch:function(a){n[a.publisherKey]=n[a.publisherKey]||{};n[a.publisherKey][a.url]=n[a.publisherKey][a.url]||[];n[a.publisherKey][a.url].push(a.channelId);k&&clearTimeout(k);k=setTimeout(function(){l.clearFetchStack()},m.fetchDelay)},clearFetchStack:function(){b.each(n,function(a,c){b.each(c,function(b,c){var d={publisherKey:a,url:b},e=s.getSyncChannels(c); e&&(d.sc=e);l.query(!1,d)})});n={}}};u.prototype={constructor:u,init:function(a){this.publisherKey=a.publisherKey;this.attributes=this.readAttributes(a.attributes||{});this.channelId=f.get("name",this.attributes.channel).id;this.events={onReady:a.onReady};b.bindAll(this,["updateValue"]);e.subscribe(m.readyEvent,this.updateValue);this.fetch()},updateValue:function(c,d){var e=this.attributes.channel;if(d.publisherKey===this.publisherKey&&d.url===this.attributes.url){if(e===h.post||e===h.postShare)e= "total";e=d.values[e]||"0";a.html(this.domNode,s.beautifyCount(e));b.tryValue(e,this.events.onReady)}},readAttributes:function(a){var c={},d=this;b.each(m.attributes,function(b,e){var f=e.name;c[f]=g.getAttrValue(d.domNode,f)||a[f]||e.defaultValue});return c},updateAttribute:function(a,b){this.attributes[a]=b;"url"===a&&this.fetch()},fetch:function(){l.fetch({publisherKey:this.publisherKey,channelId:this.channelId,url:this.attributes.url})}};return{increment:function(a){l.query(!0,a)},createCounter:function(a, b){return new u(a,b)},initBoxCounters:function(c,d,e){var f=this;b.each(a.getBy(m.queries.boxCounter,c),function(b,c){a.getParentByClassList(c,g.postWidgetAliases)&&!e||f.createCounter(c,d)})}}});q("emailFrame","util oo dom enumeration env pubsub".split(" "),function(c,d,e,b,a,g){var f,h={};f=a.cdnServer+"/classic-email.html";h.EmailFrame=d.defineClass({constructor:function(){this.bindAll("onCloseIconClick","showInCenter");this.render();this.bindEvents()},render:function(){this.overlayNode=e.createElement("div", {className:"ra1-pw-emailoverlay",style:{display:"none"}});this.closeIconNode=e.createElement("div",{className:"ra1-pw-emailclose",style:{width:"54px",height:"30px",zIndex:10002}});e.appendTo("body",this.overlayNode);e.appendTo("body",this.closeIconNode)},bindEvents:function(){e.addEvent(this.closeIconNode,b.events.click,this.onCloseIconClick);e.addEvent(e.win(),b.events.resize,this.showInCenter)},show:function(a){var b=this;this.widgetOptions={url:a.url,publisherKey:a.pubKey};this.iframeNode=e.createElement("iframe", {style:{position:"fixed",border:"0px",zIndex:10001,height:"515px",width:"575px",left:"0px",top:"0px"},allowTransparency:!0,frameBorder:0,src:f+c.prepareQueryParams(a)});e.attr(this.iframeNode,"scrolling","no");e.display(this.closeIconNode,"show");e.display(this.overlayNode,"show");e.insertBefore(this.overlayNode,this.iframeNode);this.showInCenter();setTimeout(function(){e.setStyle(b.iframeNode,{border:"0px"})},500)},onCloseIconClick:function(){e.display(this.overlayNode,"hide");e.display(this.closeIconNode, "hide");e.removeNode(this.iframeNode);this.widgetOptions.request=!0;g.publish("counters.fetch",this.widgetOptions)},showInCenter:function(){var a,b,d;this.iframeNode&&(d=this.iframeNode,b=e.win("innerHeight")||e.doc("documentElement.clientHeight"),a=e.win("innerWidth")||e.doc("documentElement.clientWidth"),a=c.toInt(a/2-d.offsetWidth/2),b=c.toInt(b/2-d.offsetHeight/2),e.setStyle(d,{left:a+"px",top:b+"px"}),e.setStyle(this.closeIconNode,{left:a+575-54+"px",top:b+"px"}))}});return h});q("listView", "util oo dom channels i18n globals enumeration config env".split(" "),function(c,d,e,b,a,g,f,h,k){var n={},u=k.isMobile?9:12;n.ListView=d.defineClass({targetNode:g.notDefined,constructor:function(a,b,c){this.targetNode=a;this.onClickHandler=b.onClickHandler;this.widgetViewType=c;this.init()},init:function(){this.bindAll("onChannelClick","expand")},populateChannels:function(a,d){var e=b.orderByRegion(),g;a&&e.push(f.more);e=a&&d.p_share_popup?c.unMergeArrays(e,d.p_share_popup,!0):!a&&d.more_popup? c.unMergeArrays(e,d.more_popup,!0):c.unMergeArrays(e,d.exclude.popup);a&&(g=c.indexOfArray(e,f.more),e=e.slice(0,u),-1!==g&&e.push(f.more));return e},show:function(a,d){var g=!1,h=[],p=this.populateChannels(a,d),B=this,y=f.size.small;k.isMobile&&this.widgetViewType!==f.viewType.list&&(y=f.size.large);c.each(p,function(a,c){c!==f.more?B.pushChannelToList(h,b.get("name",c)):g=!0});g&&B.pushChannelToList(h,b.get("name",f.more));p=c.template('\x3cul class\x3d"ra1-pw-popup__ul pw-size-{{iconSize}}"\x3e{{list}}\x3c/ul\x3e', {iconSize:y,list:h.join(" ")});this.setTargetNodeHTML(p);e.addEvent(e.getBy("a",this.targetNode),"click",this.onChannelClick)},pushChannelToList:function(b,d){var e='\x3cli class\x3d"ra1-pw-popup__li--{{name}}"\x3e\x3ca data-channel\x3d"{{name}}"\x3e\x3ci class\x3d"pw-icon ra1-pw-icon-{{name}}"\x3e\x3c/i\x3e\x3cspan class\x3d"ra1-pw-txt ra1-pw-txt-{{name}}"\x3e{{displayName}}\x3c/span\x3e\x3c/a\x3e\x3c/li\x3e',g=d.displayName;d.name===f.more&&k.isMobile&&(e='\x3cli class\x3d"more-services"\x3e\x3ca data-channel\x3d"{{name}}" href\x3d"" class\x3d"more-services__item"\x3e{{displayName}}\x3c/a\x3e\x3c/li\x3e', g=a.t("moreServices"));c.getPropertyByPath(d,"extra.disabled")||b.push(c.template(e,{displayName:g,attrPrefix:h.attrPrefix,name:d.name}))},onChannelClick:function(a,c){var d=e.attr(c,"data-channel"),f=b.get("name",d);if(this.onClickHandler)this.onClickHandler(d,f,c)},getHeight:function(){var a=e.getBy("li",this.targetNode),b=c.toInt(a.length/3);return e.getElementSize(a[0]).height*b},setTargetNodeHTML:function(a){e.html(this.targetNode,a)}});return n});q("popup","util oo config i18n dom pubsub channels enumeration env listView pwConfig".split(" "), function(c,d,e,b,a,g,f,h,k,n,u){f={};var l="ra1-pw-popup"+(k.isMobile?" ra1-pw-"+(k.isMobile.tablet?"tablet":"mobile"):""),m='\x3cdiv class\x3d"ra1-pw-share-offer"'+(k.isMobile?' style\x3d"max-height: 300px; overflow: hidden;"':"")+"\x3e{{offer}}\x3c/div\x3e";f.PopupView=d.defineClass({mode:h.viewType.popup,constructor:function(a){this.options=a;this.init()},init:function(){this.bindAll("hide","closePopup","onChannelClick","onShareAgain","clearTimeOut","onMouseOut","expand");this.render();this.bindEvents(); this.subscribe()},subscribe:function(){g.subscribe("hide.popup",this.onMouseOut);g.subscribe("clear.timeOut",this.clearTimeOut)},bindEvents:function(){a.addEvent(this.getNode(".ra1-pw-popup-close"),h.events.click,this.closePopup);k.isMobile||(a.addEvent(this.domNode,h.events.mouseover,this.clearTimeOut),a.addEvent(this.domNode,h.events.mouseout,this.onMouseOut))},getCoreClass:function(){var a=l;this.isMobile(function(){k.isMobile.tablet||(a+=" ra1-pw-mobile-true")});return a},isMobileEnabled:function(a){k.isMobile&& u.val("mobileOverlay")&&a()},render:function(){var d=c.template('\x3cdiv class\x3d"ra1-pw-popup-i"\x3e\x3cdiv class\x3d"ra1-pw-popup-o"\x3e\x3cb class\x3d"ra1-pw-popup-title"\x3e\x3cspan class\x3d"ra1-pw-popup-title-text"\x3e{{title}}\x3c/span\x3e\x3ca class\x3d"ra1-pw-popup-close"\x3e\x3c/a\x3e\x3c/b\x3e\x3cdiv class\x3d"ra1-pw-popup-body"\x3e\x3cdiv class\x3d"ra1-pw-popup-area"\x3e\x3c/div\x3e\x3c/div\x3e\x3c/div\x3e\x3cdiv class\x3d"ra1-pw-popup-footer"\x3e\x3ca target\x3d"_blank" href\x3d"{{poweredByLink}}" class\x3d"ra1-pw-powered"\x3e{{poweredBy}}\x3c/a\x3e\x3ca target\x3d"_blank" href\x3d"{{privacyLink}}" class\x3d"ra1-pw-privacy"\x3e{{privacy}}\x3c/a\x3e\x3c/div\x3e\x3c/div\x3e', {poweredByLink:e.poStLink,privacyLink:e[k.isMobile?"privacyLinkMobile":"privacyPolicyLink"],poweredBy:b.t("powered"),privacy:b.t("privacy"),title:b.t("shareTitle")}),f=this,p="body";this.domNode=a.createElement("div",{className:this.getCoreClass(),innerHTML:d,style:{display:h.none}});this.isMobile(function(){f.overlayNode=a.createElement("div",{className:"ra1-pw-overlay",style:{display:"block"}});a.appendTo("body",f.overlayNode)});this.options.parentNode?p=this.options.parentNode[0]:this.overlayNode&& (p=this.overlayNode);a.appendTo(p,this.domNode);this.popupBody=this.getNode(".ra1-pw-popup-area");this.popupTitle=this.getNode(".ra1-pw-popup-title-text");this.popupTop=this.getNode(".ra1-pw-popup-o");this.ListView=new n.ListView(this.popupBody,{onClickHandler:this.onChannelClick})},getNode:function(b){return a.getBy(b,this.domNode)[0]},setPopupBodyHeight:function(){var b=this;this.isMobileEnabled(function(){a.setStyle(b.popupBody,{height:b.popupBodyHeight+"px"})})},renderSharingList:function(c){var d= this,e;this.isMobileEnabled(function(){a.display(d.overlayNode);k.isMobile.tablet&&(c=!1)});e=c?"pw-popup-type_simplelist":"ra1-pw-popup-area-scroll pw-popup-type_extendlist";this.lastSharingFromMode=c?h.viewType.popup:h.viewType.popupList;this.ListView.show(c,this.options.services);this.setTitle(b.t("shareTitle"));a.setClass(this.domNode,this.getCoreClass()+" "+e);k.isMobile&&a.removeNode(this.getNode(".ra1-pw-tools"));this.showDomNode();c?(this.resetBodyHeight(),this.popupBodyHeight=a.getElementSize(this.popupBody).height, this.setPopupBodyHeight()):k.isMobile&&!this.options.widgetViewType&&(e=400,k.isMobile.tablet||(e=a.getWindowHeight()-107,this.popupBodyHeight&&a.addClass(d.popupBody,"ra1-pw-anim-height")),a.setStyle(d.popupBody,{height:e+"px"}),this.popupBody.scrollTop=10);this.isMobileEnabled(function(){if(!k.isMobile.tablet)a.onTransitionEnd(d.popupBody,function(){a.replaceClass(d.popupBody,"ra1-pw-anim-height","")})});this.setPageTitle(b.t("shareTitle"));this.changePopupPosition()},setPageTitle:function(c){this.options.widgetViewType&& "html"!==u.val("mode")&&k.isMobile&&a.setTitle(b.t(c))},isMobile:function(a){(k.isMobile&&!this.options.widgetViewType||k.isMobile&&c.prop(this.options.widgetAttributes,"afterShare.center"))&&a()},renderAfterShare:function(d){var e=this,p,f;p=this.options.widgetAttributes;var g=c.prop(p,"afterShare.center"),r=b.t("sharingSuccessful");this.isMobile(function(){a.display(e.overlayNode)});f=c.isBoolean(this.options.afterShareText)?this.options.afterShareText?b.t("successfullyShared"):"":this.options.afterShareText; d=c.template(m,{offer:d.replace("[R1_FLASH]",c.isFlashInstalled()?"f":"")});a.setClass(this.domNode,this.getCoreClass()+" pw-popup-type_aftershare");k.isMobile?(r=f,d=c.template("{{afterShareOffer}}",{afterShareOffer:d}),this.getNode(".ra1-pw-tools")||a.insertBefore(this.popupTop,a.createElement("div",{className:"ra1-pw-tools",innerHTML:c.template('\x3ca href\x3d"#" class\x3d"ra1-pw-tools__again"\x3e{{shareAgain}}\x3c/a\x3e\x3ca class\x3d"ra1-pw-tools__close"\x3e{{close}}\x3c/a\x3e',{shareAgain:b.t("shareAgain"), close:b.t("close")})}))):d=c.template('\x3cdiv class\x3d"ra1-pw-share-txt"\x3e\x3ca href\x3d"#" class\x3d"ra1-pw-small-btn ra1-pw-tools__again"\x3e\x3cspan\x3e\x3cspan class\x3d"ra1-pw-share-again"\x3e{{shareAgain}}\x3c/span\x3e\x3c/span\x3e\x3c/a\x3e\x3cp class\x3d"ra1-pw-share-txt-text"\x3e{{successfullyShared}}\x3c/p\x3e\x3c/div\x3e{{afterShareOffer}}',{successfullyShared:f,shareAgain:b.t("shareAgain"),afterShareOffer:d});d=c.template('\x3cdiv class\x3d"ra1-pw-share-success"\x3e{{body}}\x3c/div\x3e', {body:d});this.setPageTitle(b.t("successfullyShared"));this.setTitle(r);this.setBody(d);p.shareAgain&&(!k.isMobile||u.val("mobileOverlay")||this.options.widgetViewType)||a.display(this.getNode(".ra1-pw-tools__again"),"hide");!1===p.afterShareText&&a.display(this.getNode(".ra1-pw-share-txt-text"),"hide");(p=this.getNode("img"))?p.onload=function(){e.hasCoords()&&e.showDomNode();g||e.changePopupPosition()}:(this.showDomNode(),this.changePopupPosition());this.resetBodyHeight();c.each(a.getBy("script", this.domNode),function(a,b){eval(b.innerHTML)});a.addEvent(e.getNode(".ra1-pw-tools__again"),"click",e.onShareAgain,!0);k.isMobile&&(a.addEvent(this.getNode(".ra1-pw-tools__close"),h.events.click,this.closePopup,!0),this.showDomNode());this.popupBodyHeight=a.getElementSize(this.popupBody).height;this.clearTimeOut();this.setPopupBodyHeight();e.hasCoords()||this.showDomNode();g&&this.setOnCenter()},showDomNode:function(){a.display(this.domNode)},onShareAgain:function(){this.mode=h.viewType.popupList; this.renderSharingList(!1)},setTitle:function(b){a.html(this.popupTitle,b)},setBody:function(b){a.html(this.popupBody,b)},show:function(a){this.options=a;a.mode&&(this.mode=a.mode);switch(this.mode){case h.viewType.aftershare:this.renderAfterShare(this.options.afterShare.offer);break;case h.viewType.popupList:this.renderSharingList(!1);break;case h.viewType.popup:this.renderSharingList(!0)}},closePopup:function(){this.options.widgetViewType&&k.isMobile&&!this.options.standalone&&c.closeThisWindow(); this.hide()},hide:function(){var b=this;this.clearTimeOut();if(!a.isHidden(this.domNode)&&(a.display(this.domNode,"hide"),this.setTitle(" "),this.setBody(" "),this.mode===h.viewType.aftershare&&c.isFunction(this.options.onHideAfterShare)))this.options.onHideAfterShare();this.isMobile(function(){a.display(b.overlayNode,"hide")})},onChannelClick:function(a,b,c){a===h.more&&this.expand();g.publish("button.click",{name:a,coords:this.options.coords,buttonSizePX:this.options.buttonSizePX,node:[c]},this.options.widgetInstance); this.clearTimeOut()},onMouseOut:function(a,b){this.clearTimeOut();this.mode===h.viewType.popup&&(this.timeoutId=setTimeout(this.hide,this.options.widgetInstance.attributes.hidePopupDelay))},clearTimeOut:function(){this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=null)},expand:function(){this.clearTimeOut();this.options.widgetViewType!==h.viewType.list?(this.mode===h.viewType.aftershare&&this.hide(),this.mode=h.viewType.popupList,this.renderSharingList(!1)):this.hide()},resetBodyHeight:function(){a.setStyle(this.popupBody, {height:""})},hasCoords:function(){return this.options.coords||c.prop(this.options.widgetAttributes,"afterShare.baseElement")},getCoords:function(){var b=this.options.coords,d=this.options.widgetAttributes,e=c.prop(d,"afterShare.offset"),f=[0,0],d=c.prop(d,"afterShare.baseElement");this.mode===h.viewType.aftershare&&(c.isArray(e)&&(f=e),c.isFunction(e)&&(f=e(this.domNode,d)));d&&(b=a.getElementOffset(d),b={left:b.left+f[0],top:b.top+d.offsetHeight+f[1]});return b},changePopupPosition:function(){var b, d,e,f,g="pw-popup-side_left",r=this.getCoords();!k.isMobile&&r&&(d=a.getClientOffset(),k.isMobile&&u.val("mobileOverlay")||this.mode===h.viewType.popupList?this.setOnCenter():(f=a.getScrollPosition(),b=d.h+f.y,d=d.w+f.x,e=this.domNode.offsetHeight,f=this.domNode.offsetWidth,r.top+e>b&&e<b?(b=r.top-e-(this.options.buttonSizePX?this.options.buttonSizePX[1]:0),0>b&&(b=0)):b=r.top,r.left+f>d&&f<d?(f=r.left-f+(this.options.buttonSizePX?this.options.buttonSizePX[0]:0),0>f&&(f=0),g="pw-popup-side_right"): f=r.left,a.addClass(this.domNode,g)),c.isDefined(f)&&c.isDefined(b)&&a.setStyle(this.domNode,{left:f+"px",top:b+"px"}))},setOnCenter:function(){var b=a.getClientOffset(),d=a.getScrollPosition();a.setStyle(this.domNode,{left:c.toInt(b.w/2)-c.toInt(this.domNode.offsetWidth/2)+"px",top:d.y+(c.toInt(b.h/2)-c.toInt(this.domNode.offsetHeight/2))+"px"})}});return f});q("viewCore","oo config util dom enumeration pwConfig".split(" "),function(c,d,e,b,a,g){var f,h={},k;f=[{s:"pw_widget",r:"pw-widget"},{s:"pw_size_16", r:"pw-size-small"},{s:"pw_size_24",r:"pw-size-medium"},{s:"pw_size_32",r:"pw-size-large"},{s:"pw_counter_true",r:"pw-counter-show"},{s:"pw_counter_false",r:"pw-counter-none"},{s:"pw_copypaste_true",r:"pw-copypaste-true"},{s:"pw_copypaste_false",r:"pw-copypaste-false"},{s:"pw_vertical",r:"pw-vertical"}];k=function(b){return-1<e.indexOfArray([a.counter.horizontal,a.counter.vertical,a.counter.none],b)};h.ViewClass=c.defineClass({archVersion:d.widgetVersion,domNode:null,viewType:a.viewType.button,attrsNotDefinedByUser:[], constructor:function(){},prepareAttributes:function(c,h){var l=this,m=[],s;l.attrsNotDefinedByUser=[];c=c||b.classList(l.domNode).join(" ");this.viewType===a.viewType.widget&&(-1<c.indexOf("pw_counter_buttons")&&-1<c.indexOf("pw_vertical")&&(c=c.replace("pw_counter_buttons","pw-counter-vertical")),e.each(f,function(a,b){c=c.replace(b.s,b.r)}),e.each(b.getBy("a",this.domNode),function(a,c){var d=b.getNodeText(c);"pw_title"===c.className&&(l.attributes.title=d,b.removeNode(c));"pw_url"===c.className&& (l.attributes.url=d,b.removeNode(c));"pw_separator"===c.className&&("?"===d&&g.update({track:"query"},!0),b.removeNode(c))}));s=d[l.viewType+"Attributes"];l.prop("viewType")===a.viewType.widget&&(e.each(d.replaceAttributes.widget,function(a,b){c=c.replace(b.s,b.r)}),-1<c.indexOf(d.cssClasses.counterLookNative)&&(c=c.replace(d.cssClasses.counterLookNative,""),this.setCounterLookNative()),e.each(c.split(" "),function(a,b){-1<b.indexOf(d.cssClasses.pwWidgetCore)&&(b=e.replaceAll(b,"_","-"));m.push(b)}), c=m.join(" "));e.each(s,function(b,f){var h=l.attributes[f.name],y=g.isDefinedByUser("defaults."+f.name),r,v;f.definedAsClass&&(v=d.getPropFromClass(f.name,c,d.widgetVersion),"share-popups"===f.name&&v&&(v=!0),!v&&l.prop("viewType")===a.viewType.button&&f.name===a.counter.name&&(v=d.getPropFromClass("counterButton",c,d.widgetVersion)))&&(v=a.counter.show);if(r=d.getAttrValue(l.domNode,f.name))v=r,f.name===a.counter.name&&"false"===v&&(v=a.counter.none);v||(f.defaultValue&&(v=e.hasProperty(l.attributes, f.name)?h:f.defaultValue),(!y&&l.prop("viewType")===a.viewType.widget||l.prop("viewType")===a.viewType.button)&&l.attrsNotDefinedByUser.push(f.name));f.name===a.counter.name&&(l.prop("viewType")===a.viewType.widget&&(!h&&!k(v)||h&&!k(h))&&(v=l.attributes.layout),l.prop("viewType")===a.viewType.button&&(v||(v=a.counter.none),v!==a.counter.none&&(v=h===a.counter.none?l.options.attributes.layout:h)));v&&("size"!==f.name||d.buttonSize[v]||(v=a.size.small),"true"===v&&(v=!0),"false"===v&&(v=!1),f.defaultsPath? e.prop(l.attributes,f.defaultsPath,v):f.name===a.pinterestImage?l.attributes.image=v:l.attributes[f.name]=v)});l.prop("viewType")===a.viewType.button&&e.each(d.replaceAttributes.button,function(a,b){c=c.replace(b.s,b.r)});h&&h(c);return c},setClassList:function(c){var f=this,g=[],h=this.attributes,k=[],t=this.viewType,p,B;switch(t){case a.viewType.widget:B=d.widgetAttributes;p=d.widgetClassList+"ra1-pw-classicWidget ";break;case a.viewType.button:p=d.cssClasses.pwButton,B=d.buttonAttributes,p=p+" "+ p+"-"+this.channelName+" ",this.look===a.look.nativ&&(p=d.cssClasses.nativeContainer+" "+p),p=p+d.cssClasses.buttonTypePrefix+this.look+" "}e.each(B,function(b,c){var d;c.definedAsClass&&(d=h[c.name],e.isDefined(d)&&d!==a.counter.none&&k.push(e.template(c.definedAsClass,{value:d})))});t===a.viewType.widget&&((this.has.lookNativeButtons||this.has.nativeButtons)&&k.push(d.cssClasses.lookNativeWidget),this.attributes.counterLook===a.look.nativ&&k.push(d.cssClasses.counterLookNative));t===a.viewType.button&& (this.look===a.look.looknative&&k.push(d.cssClasses.lookNativeButton),this.isTransparent&&k.push(d.cssClasses.transparentButton));e.each(c.split(" "),function(b,c){c.substring(0,2)!==d.cssClasses.pwWidgetCore&&c!==d.cssClasses.lookNativeButton&&(g.push(c),t===a.viewType.widget&&f.nodeMarker.push("."+c))});g.length&&k.push(g.join(" "));b.setClass(this.domNode,p+k.join(" "))}});return h});q("nativeButton","util dom i18n config enumeration pwConfig ga proxy channels globals".split(" "),function(c,d, e,b,a,g,f,h,k,n){var u;g={};var l,m,s=n.win,t={};u={twitter:"\x3ca href\x3d'https://twitter.com/share' data-text\x3d'{{title}}' class\x3d'twitter-share-button' data-count\x3d'{{counter}}' data-url\x3d'{{url}}' data-lang\x3d'{{lang}}' data-via\x3d'{{via}}'\x3eTweet\x3c/a\x3e",facebook:"\x3cdiv class\x3d'fb-like' data-href\x3d'{{url}}' data-send\x3d'false' data-layout\x3d'{{counter}}' data-width\x3d'70' data-height\x3d'65' data-show-faces\x3d'false' data-font\x3d'arial'\x3e\x3c/div\x3e",googleplus:"\x3cdiv class\x3d'g-plusone' data-href\x3d'{{url}}' data-annotation\x3d'{{counter}}' data-size\x3d'{{size}}'\x3e\x3c/div\x3e", pinterest:"\x3ca href\x3d'//pinterest.com/pin/create/button/?url\x3d{{url}}\x26media\x3d{{image}}' class\x3d'pin-it-button' count-layout\x3d'{{counter}}'\x3e\x3cimg border\x3d'0' src\x3d'//assets.pinterest.com/images/PinExt.png' title\x3d'Pin It' /\x3e\x3c/a\x3e"};l={facebookButtonsCount:0,facebookButtonsPrevCount:0,inreaseFacebookInterval:n.notDefined,load:function(a,b,e){var f;c.isDefined(t[a])?f=setInterval(function(){2===t[a]&&(c.getPropertyByPath(e,"hasScript")&&e.hasScript(),c.getPropertyByPath(e, "success")&&e.success(),clearInterval(f))},100):(t[a]=1,d.loadScript(b,function(){t[a]=2;c.getPropertyByPath(e,"scriptLoaded")&&e.scriptLoaded();c.getPropertyByPath(e,"success")&&e.success()}))},facebook:function(){var a=this,b;b=function(){s.FB.init({status:!0,cookie:!0,xfbml:!0});f.fbEvents()};a.load("facebook","//connect.facebook.net/"+(e.getBCP47tag()||"en_US")+"/all.js",{success:function(){a.facebookButtonsCount++}});a.inreaseFacebookInterval||(a.inreaseFacebookInterval=setInterval(function(){a.facebookButtonsPrevCount=== a.facebookButtonsCount&&s.FB&&(b(),a.facebookButtonsCount=0,a.facebookButtonsPrevCount=0,clearInterval(a.inreaseFacebookInterval));a.facebookButtonsPrevCount=a.facebookButtonsCount},100))},linkedin:function(){s.IN?s.IN.parse(document):this.load("linkedin","//platform.linkedin.com/in.js")},pinterest:function(){if(s.parsePinBtns)s.parsePinBtns(document);else{var a=document,b=a.getElementsByTagName("SCRIPT")[0],a=a.createElement("SCRIPT");a.type="text/javascript";a.async=!0;a.src="//assets.pinterest.com/js/pinit.js"; a["data-pin-build"]="parsePinBtns";b.parentNode.insertBefore(a,b)}},googleplus:function(){s.gapi?s.gapi.plusone.go():(s.___gcfg=s.___gcfg||{lang:e.getBCP47tag().replace("_","-")},this.load("googleplus","https://apis.google.com/js/plusone.js"))},twitter:function(){var a=function(){s.twttr.widgets?s.twttr.widgets.load():setTimeout(a,1)};s.twttr?a():s.twttr=function(a,b,c){var d,e=a.getElementsByTagName(b)[0];if(!a.getElementById(c))return a=a.createElement(b),a.id=c,a.src="//platform.twitter.com/widgets.js", e.parentNode.insertBefore(a,e),s.twttr||(d={_e:[],ready:function(a){d._e.push(a)}})}(document,"script","twitter-wjs");f.twitterEvents()}};m={facebook:function(b){var c="button";b.counter===a.counter.horizontal?c="button_count":b.counter===a.counter.vertical&&(c="box_count");return{counter:c}},googleplus:function(b){var c=a.size.medium;b.counter===a.counter.vertical&&(c="tall");return{size:c,counter:b.counter!==a.counter.none?"bubble":a.counter.none}},twitter:function(a){var b={lang:e.getBCP47tag(), size:a.size,counter:a.counter,title:a.title,via:a.services.twitter.via};"-"===a.services.twitter.via&&(b.via="");return b},pinterest:function(a){return{image:a.image||"",counter:a.counter}},render:function(a,b,d){var e,f={};e=u[a];f.url=a===k.get("id","32").name?encodeURIComponent(d):d;f=c.mergeObjects(this[a](b),f);return c.template(e,f)}};g.insert=function(e,f,g,r){var t,n,w=g.url;g.shortUrl?w=g.shortUrl:e===k.get("id","02").name&&(w=h.prepareURLForSharing(r.publisherKey,g.url,k.get("name",e).id, c.sGUID(),r.transformations,!0));r=d.createElement("span");e===k.get("id","07").name?(t=d.createElement("span"),d.addClass(t,"pw-button__native"),n=d.createElement("script"),d.attr(n,"type","in/share"),d.attr(n,"data-url",w),g.counter===a.counter.vertical?d.attr(n,"data-counter","top"):g.counter!==a.counter.none&&d.attr(n,"data-counter","right"),t.appendChild(n),r.appendChild(t)):(g=m.render(e,g,w),d.insertHTML(r,c.template(b.templates.buttonNative,{code:g,className:"pw-button__native"})));d.insertBefore(f, r);d.removeNode(f);s.FB&&e===k.get("id","01").name&&s.FB.XFBML.parse();l[e]();return r};return g});q("button","dom util config oo enumeration viewCore pubsub channels i18n nativeButton proxy counter".split(" "),function(c,d,e,b,a,g,f,h,k,n,u,l){var m,s;k={};m=e.templates;s=[{from:"facebook_button",to:"facebook-like"},{from:"googleplus_button",to:"google-plus"},{from:"linkedin_button",to:"linkedin-share"},{from:"twitter_button",to:"twitter-twitt"},{from:"pinterest_button",to:"pinterest-share"},{from:"share", to:"post-share"},{from:"mail",to:"email"}];k.tools={getButtonClassName:function(a){return e.cssClasses.pwButton+"-"+a},getLook:function(b,c){var f=a.look.square;c===a.postShare||d.isNull(c.match(e.regexpPatterns.nativeButton))||(f=a.look.nativ);e.getPropFromClass(a.look.looknative,b,e.widgetVersion)&&-1<d.indexOfArray(h.getLookNative(),c)&&(f=a.look.looknative);c===a.postShare&&(f=a.postShare);return f},resolveName:function(a){d.each(s,function(b,c){c.from===a&&(a=c.to)});return a.replace("_","").replace(".", "")}};k.ButtonClass=b.defineClass({inherit:g.ViewClass,name:"",channelName:"",channelOptions:{},isTransparent:!1,isDead:!1,look:a.look.square,values:{counter:0},constructor:function(a){this.options=a;this.domNode=a.domNode;this.attributes=d.mergeObjects(a.attributes,{});this.widgetData=a.widgetData;this.triggers={};this.channelName=a.channelName;this.look=a.look;this.name=this.channelName;a.archVersion&&(this.archVersion=a.archVersion);this.bindAll("onButtonClick","onButtonMouseOver","onButtonMouseOut", "updateCounter","showAllTweetsByUrl");this.render();this.bindEvents()},render:function(){var b=this,f=c.classList(b.domNode).join(" "),g;-1<f.indexOf(e.cssClasses.transparentButton)&&(this.isTransparent=!0,this.look=a.look.postShare,this.channelName=a.postShare,f=f.replace(e.cssClasses.transparentButton,""));this.channelOptions=h.get("name",this.channelName);!this.channelOptions||d.getPropertyByPath(this.channelOptions,"extra.disabled")?(this.isDead=!0,this.attributes.counter=a.counter.none):(f=this.prepareAttributes(f), this.look===a.look.nativ?this.widgetData.transformations.shorten?(g=d.sGUID(),u.getShortUrl({shortenParams:{sGUID:g,longUrl:encodeURIComponent(u.prepareURLForSharing(this.widgetData.publisherKey,this.attributes.url,this.channelOptions.id,g,this.widgetData.transformations)),publisherKey:this.widgetData.publisherKey,channel:this.channelName},fnCallback:function(a){b.updateAttribute("shortUrl",a);b.createButton(f)}})):b.createButton(f):b.createButton(f))},showAllTweetsByUrl:function(){var a=d.openWindow("https://twitter.com/search?f\x3drealtime\x26q\x3d"+ this.attributes.url);a&&a.focus()},createButton:function(b){var e=this,f="",f="",g,k=m.buttonCounterDefault;this.channelName===a.post&&-1<d.indexOfArray(this.attrsNotDefinedByUser,a.counter.name)&&-1===d.indexOfArray(this.options.widgetData.attrsNotDefinedByUser,a.counter.name)&&(this.attributes.counter=this.options.attributes.counter);(this.look===a.look.looknative||this.look===a.look.nativ||this.channelName===a.postShare)&&this.options.attributes.counter!==a.counter.none&&-1<d.indexOfArray(this.attrsNotDefinedByUser, a.counter.name)&&(this.attributes.counter=this.options.attributes.counter);if(this.look===a.look.nativ)this.domNode=n.insert(this.channelName,this.domNode,this.attributes,this.options.widgetData);else{f=d.template(m.buttonIcon,{channel:this.channelName.split("-")[0]});if(this.look===a.postShare||this.look===a.look.looknative)f=d.template(m.buttonLookNative,{label:d.getPropertyByPath(this.channelOptions,"extra.fakeI18n")||this.channelOptions.displayName,icon:f,type:this.look});this.attributes.counter!== a.counter.none&&-1===d.indexOfArray(h.getWithCounters(),this.channelName)&&(this.attributes.counter=a.counter.none);this.attributes.counter!==a.counter.none&&(this.attributes.counter===a.counter.vertical&&(k=m.buttonCounterTop,g=!0),f=g?k+f:f+k);c.insertHTML(this.domNode,f);this.attributes.counter!==a.counter.none&&("twitter"===this.channelName&&c.addEvent(c.getBy(".ra1-pw-button-counter-value",this.domNode),a.events.click,this.showAllTweetsByUrl),this.counter=l.createCounter(this.domNode,{publisherKey:this.options.widgetData.publisherKey, attributes:{url:this.attributes.url,channel:this.channelName},onReady:function(){e.publishButtonReadyEvent()}}))}this.isPostButton()&&c.attr(this.domNode,"aria-haspopup","true");this.setClassList(b);this.attributes.counter===a.counter.none&&this.publishButtonReadyEvent()},publishButtonReadyEvent:function(){f.publish("button.ready",{owner:this.options.owner})},updateNativeButton:function(b){this.look===a.look.nativ&&(this.attributes=d.mergeObjects(b,this.attributes),this.domNode=n.insert(this.channelName, this.domNode,this.attributes,this.options.widgetData),this.setClassList(c.classList(this.domNode).join(" ")))},bindEvents:function(){this.look!==a.look.nativ&&(this.isPostButton()?(this.addEvent(this.attributes.click?a.events.click:a.events.mouseover),this.addEvent(a.events.mouseout)):this.addEvent(a.events.click))},addEvent:function(b){var d=b===a.events.click?"onButtonClick":"onButtonMouseOver";b===a.events.mouseout&&(d="onButtonMouseOut");c.addEvent(this.domNode,b,this[d])},onButtonMouseOver:function(a, b){f.publish("button.hover",this.getPublishOptions(b),this.options.owner);f.publish("clear.timeOut")},onButtonMouseOut:function(a,b){f.publish("hide.popup")},isPostButton:function(){return-1<a.postShare.indexOf(this.channelName)},onButtonClick:function(a,b){var c={pinterestImage:this.attributes.image},c=d.mergeObjects(c,this.getPublishOptions(b));f.publish("button.click",c,this.options.owner)},getPublishOptions:function(a){var b=c.getElementOffset(a);return{coords:{left:b.left,top:b.top+a.offsetHeight}, buttonSizePX:e.buttonSize[this.attributes.size],node:[this.domNode],name:this.channelName,url:this.attributes.url}},getName:function(){return this.channelName},isPinterestButton:function(){return h.get("id","32").name===this.getName()},isNative:function(){return this.look===a.look.nativ},isLookNative:function(){return this.look===a.look.looknative},hasCounter:function(){return this.attributes.counter!==a.counter.none},updateAttribute:function(a,b){this.attributes[a]=b;"url"===a&&this.counter&&this.counter.updateAttribute("url", b)},getAttribute:function(a){return this.attributes[a]},getId:function(){return this.channelOptions.id},getWidth:function(){var b=0;d.each(c.getBy("span",this.domNode),function(a,d){if(-1!==d.className.indexOf("pw-button-type")||c.classList(d,"pw-icon"))return b=c.getElementSize(d).width,!1});this.attributes.counter===a.counter.horizontal&&(b+=c.getElementSize(c.getBy(".pw-button-counter",this.domNode)[0]).width);this.attributes.counter===a.counter.vertical&&(b=d.arrayMaximum([b,c.getElementSize(c.getBy(".ra1-pw-button-counter-value", this.domNode)[0]).width]));return b}});return k});q("jsApi","util config enumeration dom support pubsub pwConfig channels globals counter".split(" "),function(c,d,e,b,a,g,f,h,k,n){var u={},l,m,s,t,p=[],q=!1;g.subscribe("application.ready",function(){q=!0;window.pwidget_modules.post_images&&(c.each(p,function(a,b){window.pwidget_modules.post_images(b)}),p=[])});u.publicApi={};l=function(a,b){return d.attrPrefix+a+'\x3d"'+b+'"'};s=function(a){return c.template(d.templates.buttonDefault,{channel:a.channel, classes:a.classes||"",attrs:a.attrs||""})};t=function(b,e){var f="";c.each(d.buttonAttributes,function(c,d){b=a.fixPinterest(b);if(b===d.name)return f=l(b,e),!1});return f};m=function(a,f,g){c.each(d.widgetAttributes,function(h,w){if(w.name===f)return c.isObject(g)&&f===e.counter.name?(c.isDefined(g.look)&&b.attr(a,d.attrPrefix+f+"-look",g.look),c.isDefined(g.layout)&&b.attr(a,d.attrPrefix+f,g.layout)):b.attr(a,d.attrPrefix+f,g),!1});return""};u.createWidgetButtons=function(a){var b=[],e=[];a&&c.each(a, function(a,f){var g=[];c.isString(f)?e.push(s({channel:f})):(!f.image&&f.imageUrl&&f.pinterestImage&&(f.image=f.imageUrl,delete f.imageUrl,delete f.pinterestImage),c.each(f,function(a,b){"id"!==a&&"look"!==a&&g.push(t(a,b))}),"transparent"===f.style&&b.push(d.cssClasses.transparentButton),f.look&&c.indexOfArray(b,d.cssClasses.lookNativeButton)&&b.push(d.cssClasses.lookNativeButton),e.push(s({channel:f.id,classes:b.join(" "),attrs:g.join(" ")})))});return e};u.createWidgetDOM=function(d,f,g){d=b.returnElement(d); var h=f.container,w=f.buttons,k=f.view_type,C={},E=[];delete f.view_type;delete f.container;delete f.buttons;c.isString(f.button)&&(w=[f.button],delete f.button);c.each(f,function(b,c){b=a.fixPinterest(b);C[b]=b===e.services?a.updateServices(c):c});h!==e.container.custombox&&k!==e.viewType.list&&(E=u.createWidgetButtons(w),c.each(d,function(a,c){C.counter&&m(c,e.counter.name,C.counter);b.insertHTML(c,E.join(" "))}));c.isFunction(g)&&g(d,C,h,k)};u.publicApi.counter=function(d,e){e=e||{};c.isUndefined(d)|| a.appReady(function(){c.each(b.returnElement(d),function(a,b){n.createCounter(b,{publisherKey:e.publisherKey||f.val("publisherKey"),attributes:{url:e.url||f.val("defaults.url"),channel:e.channel}})})})};u.publicApi.showAfterShare=function(a){var d=b.appendTo(b.getBy("body")[0],b.createElement("div")),f=a?a.onhideaftershare:k.notDefined;a=a||{};a.view_type=e.viewType.aftershare;c.prop(a,"afterShare.baseElement")||(a.afterShare={center:!0});a.onhideaftershare=function(){k.win.post_widget(d).destroy(); f&&f()};k.win.post_widget(d,a)};u.publicApi.post_images=function(a,c){var e={query:a,options:c};window.pwidget_modules.post_images?q?window.pwidget_modules.post_images(e):p.push(e):b.loadScript(d.externalModules.postImages,function(){u.publicApi.post_images(a,c)})};return u});q("widget","env util button oo dom enumeration config viewCore pubsub jsonp proxy pwConfig i18n ga jsApi channels support listView status globals counter".split(" "),function(c,d,e,b,a,g,f,h,k,n,u,l,m,s,t,p,q,y,r,v,F){n={};n.WidgetClass= b.defineClass({inherit:h.ViewClass,pinterestCallBack:null,attributes:{},buttonsMap:[],fetchedCounters:!1,has:{lookNativeButtons:!1,nativeButtons:!1},widgetId:"",vGUID:"",ButtonClass:e.ButtonClass,buttonCollection:[],customBox:!1,viewType:g.viewType.widget,constructor:function(a){this.domNode=a.domNode;this.options=a;this.nodeMarker=[];this.triggers={};this.notPopularButtons=[];this.popularFixPosition=0;this.widgetId=d.GUID();this.pinterestCallBack=a.pinterestCallBack;a.archVersion&&(this.archVersion= a.archVersion);this.customBox=a.container===g.container.custombox;this.widgetViewType=a.viewType;this.fetchedCounters=!1;this.bindAll("onButtonClick","onButtonHover","onButtonReady","onTrackMore","onCustomBoxShowPopup","onCustomBoxHidePopup");this.subscribe();this.init();this.bindEvents()},subscribe:function(){k.subscribe("button.click",this.onButtonClick,this);k.subscribe("button.hover",this.onButtonHover,this);k.subscribe("track.more",this.onTrackMore,this);k.subscribe("button.ready",this.onButtonReady)}, onButtonReady:function(a,b){var c=this,d;b.owner===this&&(d&&clearTimeout(d),d=setTimeout(function(){c.setVerticalWidth()},50))},bindEvents:function(){var b=this.attributes;this.customBox&&(a.addEvent(this.domNode,b.click?g.events.click:g.events.mouseover,this.onCustomBoxShowPopup),a.addEvent(this.domNode,g.events.mouseout,this.onCustomBoxHidePopup))},init:function(){var b=this,c=this.getWidgetLinks();this.setAttributesFromPWConfig(this.options.customPwConfig);this.attributes.publisherKey&&(c.length|| this.customBox||this.widgetViewType||(c=this.prepareButtonsFromPWConfig()),this.archVersion===g.widgetVersion.old&&(a.classList(this.domNode,f.cssClasses.disablePostButton)||(c=this.oldVersionAddPostButton(c))),d.isNull(a.attr(this.domNode,"id"))||this.nodeMarker.push("#"+a.attr(this.domNode,"id")),this.nodeMarker.push(this.domNode.nodeName.toLowerCase()),this.vGUID=l.val("vguid")||d.GUID(!0),this.prepareAttributes(a.classList(this.domNode).join(" "),function(a){c=b.getWidgetLinks();b.fixAttributes(); b.updateServiceAttributes();c=b.analyzeWidgetLinks(c);b.has.nativeButtons?b.fetchStatus(function(){b.initButtons(c,a);b.initViewType();b.afterInit()}):(b.fetchStatus(),b.initButtons(c,a),b.initViewType(),b.afterInit())}),F.initBoxCounters(this.domNode,{publisherKey:this.attributes.publisherKey,attributes:{url:this.attributes.url}},!0))},onUpdateCustomShorteners:function(a,b){b&&b.publisherKey===this.attributes.publisherKey&&this.updateConfig(b.updateAttributes||{})},initViewType:function(){switch(this.widgetViewType){case g.viewType.list:this.initListViewType(); break;case g.viewType.popup:case g.viewType.popupList:this.fireShowPopup({parentNode:[this.domNode],popupMode:this.widgetViewType});break;case g.viewType.aftershare:this.showAfterShare({})}},oldVersionAddPostButton:function(b){var c=!1,e=!1;d.each(b,function(b,d){-1<d.className.indexOf("_button")&&(e=!0);a.classList(d,f.postShareAliases)&&(c=!0)});c||(a.appendTo(this.getDom(),a.createElement("a",{className:f.postShareAliases[e?1:0]})),b=this.getWidgetLinks());return b},fixAttributes:function(){var a= this.attributes.url;!0===l.val("track")&&(this.attributes.url=d.removeTrackingParam(a))},updateServiceAttributes:function(){this.attributes.services.exclude||(this.attributes.services.exclude={popup:[],popular:[]})},initListViewType:function(){var b=this;(new y.ListView(this.domNode,{onClickHandler:function(c,d,e){d=a.getElementOffset(e);k.publish("button.click",{name:c,coords:{left:d.left,top:d.top+e.offsetHeight},buttonSizePX:f.buttonSize.small},b)}},g.viewType.list)).show(!1,this.attributes.services)}, checkPopular:function(a){var b=d.toInt(a[0].split("-")[1])+this.popularFixPosition,c=p.getPopularChannel(b);-1<d.indexOfArray(this.notPopularButtons,c)||-1<d.indexOfArray(this.attributes.services.exclude.popular,c)?(++this.popularFixPosition,a=this.checkPopular(a)):a=b;return a},initButtons:function(a,b){this.customBox||this.widgetViewType||(this.initButtonCollection(a),this.analyzeButtons(),this.setClassList(b),this.fixSquareButtonsView())},fixSquareButtonsView:function(){var b=this.getButtonLooks(); -1===d.indexOfArray(b,g.look.nativ)&&-1===d.indexOfArray(b,g.look.looknative)&&-1<d.indexOfArray(b,g.look.postShare)&&a.addClass(this.getDom(),f.cssClasses.lookNativeWidget)},fetchStatus:function(a){var b=this,c,e;c={pubKey:this.attributes.publisherKey};e=setInterval(function(){r.getFetchingState()||(0===r.optout()||d.isUndefined(r.getInterstitial(c.pubKey))?b._fetchStatus(c,a):d.tryValue({},a),clearInterval(e))},1)},_fetchStatus:function(a,b){var e=this;r.setFetchingState(!0);u.fetchStatus(function(f){0=== r.optout()&&(r.optout(!!f.optout),k.publish("optout.ready"));f.shortener&&r.addCustomShorteners(a.pubKey,{shortener:(f.shortener||"").toLowerCase(),shortenerKey:f.shortenerKey});r.addInterstitial(a.pubKey,!!f.interstitial);r.setFetchingState(!1);f.firedisplaycm&&(f.displaycmbatch?e.insertCookieMatchingElement("iframe",f.displaycmpush,c.displayBcmUrl):e.insertCookieMatchingElement("img",f.displaycmpush,c.displayCmUrl));d.tryValue({},b)},a)},insertCookieMatchingElement:function(b,c,e){a.appendTo("body", a.createElement(b,{className:f.cssClasses.pwLogImage,width:0,height:0,src:e+(d.isDefined(c)?"?push":"")}))},prepareButtonsFromPWConfig:function(){var b=t.createWidgetButtons(this.attributes.buttons);a.insertHTML(this.domNode,b.join(" "));return this.getWidgetLinks()},analyzeWidgetLinks:function(b){var c=!1,h=!1,k=[],L=this;d.each(b,function(b,w){var x,l,m=a.classList(w).join(" "),n;x=f.regexpPatterns.buttonContainer[g.widgetVersion.old];l=f.regexpPatterns.buttonContainer[g.widgetVersion.neu];x=x.exec(m)|| f.getPropFromClass("buttonContainer",m);x=d.isArray(x)?x[1]:x;d.isDefined(x)&&(n=x.match(f.regexpPatterns.popularChannel),d.isNull(n)?L.notPopularButtons.push(x):(x=p.getPopularChannel(L.checkPopular(n)),a.replaceClass(w,m,m.replace(l,e.tools.getButtonClassName(x)))),x=e.tools.resolveName(x),m=e.tools.getLook(m,x),c||(c=g.look.looknative===m),h||(h=g.look.nativ===m),x!==g.postShare&&g.look.nativ===m&&(l=x.split("-")[0],x="google"===l?x.replace("-",""):l),k.push({channelName:x,node:w,look:m}))});this.has.nativeButtons= h;this.has.lookNativeButtons=c;return k},getWidgetLinks:function(){return a.getBy("a",this.domNode)},analyzeButtons:function(){var a=this.buttonCollection,b=!1,c=this;c.buttonsMap=[];d.each(a,function(a,d){d&&!d.isDead&&c.buttonsMap.push(d.getId()+"."+d.look.charAt(0)+d.getAttribute("size").charAt(0));b||d.attributes.counter===g.counter.none||d.isNative()||(b=!0);c.attributes.size=c.getLargestButtonSize()});this.buttonsMap=this.buttonsMap.join(",");b?this.attributes.counter===g.counter.none&&(this.attributes.counter= this.attributes.layout):this.attributes.counter=g.counter.none},getButtonLooks:function(){var a=[];d.each(this.buttonCollection,function(b,c){a.push(c.look)});return d.uniq(a)},initButtonCollection:function(a){var b=this,e=b.attributes;b.buttonCollection=[];d.each(a,function(a,f){(c.isMobile&&f.channelName!==g.favorites||!c.isMobile)&&(c.isMobile&&!c.isMobile.iosV&&f.channelName!==g.print||!c.isMobile||c.isMobile&&c.isMobile.iosV)&&b.buttonCollection.push(new b.ButtonClass({owner:b,domNode:f.node, channelName:f.channelName,look:f.look,attributes:{counter:e.counter,layout:e.layout,size:e.size,url:e.url,image:e.image,title:e.title,services:e.services,click:e.click},widgetData:{publisherKey:e.publisherKey,attrsNotDefinedByUser:b.attrsNotDefinedByUser,transformations:e.transformations},widgetHas:d.cloneObj(b.has),archVersion:b.archVersion}))})},getLargestButtonSize:function(){var a=f.buttonSize,b,c,e=[];d.each(this.buttonCollection,function(b,c){var d=a[c.attributes.size][0];-1===e.join("").indexOf(d)&& e.push(d)});c=d.arrayMaximum(e);d.each(a,function(a,d){if(d[0]===c)return b=a,!1});return b},afterInit:function(){this.widgetViewType||this.logEvent(g.dataloggerEvent.view,{bs:this.buttonsMap,wv:this.archVersion||""})},onTrackMore:function(a,b){this.logEvent(g.dataloggerEvent.more,{label:m.t(g.more),mGUID:d.GUID(!0)})},onButtonHover:function(a,b){!1===this.attributes.click&&this.fireShowPopup(b)},onCustomBoxHidePopup:function(a,b){k.publish("hide.popup")},onCustomBoxShowPopup:function(b,d){var e; c.isMobile&&!l.val("mobileOverlay")?this.openShareListWindow():(e=a.getElementOffset(d),this.fireShowPopup({coords:{left:e.left,top:e.top+d.offsetHeight},buttonSizePX:[d.offsetWidth,d.offsetHeight]}),k.publish("clear.timeOut"))},fireShowPopup:function(a){k.publish("popup.show",d.mergeObjects(a,{widgetInstance:this,services:this.attributes.services,widgetViewType:this.widgetViewType,mode:a.popupMode||g.viewType.popup,shareAgain:this.attributes.shareAgain,afterShareText:this.attributes.afterShareText}))}, fireHidePopup:function(){k.publish("popup.hide")},doUserCallback:function(a){var b=this.attributes["on"+a];d.isFunction(b)&&b.apply(v.win,Array.prototype.slice.call(arguments,1))},onButtonClick:function(a,b){var e=this.attributes,f=d.sGUID(),h=p.get("id","03").name,A=p.get("name",b.name),D=l.val("mobileOverlay"),x=!1,n=!1,s=d.prop(A,"extra.shorten"),r=b.url||e.url,q,t;q=b.name;this.doUserCallback("buttonclick",q);c.isMobile&&q===h&&(n=!0);if(-1<d.indexOfArray([g.post,g.postShare,g.more],q)){if(this.attributes.click|| q===g.more)q===g.more&&(b.popupMode=g.viewType.popupList,this.onTrackMore()),this.widgetViewType||(!D&&c.isMobile?this.openShareListWindow(b.popupMode):this.fireShowPopup(b))}else{this.widgetViewType||this.fireHidePopup();D=A.value;t=d.fixShema(r);t=u.prepareURLForSharing(e.publisherKey,t,A.id,f,e.transformations,n);switch(q){case h:c.isMobile&&this.doAfterShare(b);this.shareByMail(A.id,t);break;case g.print:d.print();break;case g.favorites:d.addToFavorites(e.title,r,function(){d.notify(m.t("pressToBookmark"))}); break;default:if(D){switch(q){case p.get("id","24").name:D=this.getWPUrl(A);break;case p.get("id","32").name:n=b.pinterestImage||e.image;if(d.isUndefined(n)){b.widgetInstance=this;k.publish("pinmarklet.show",b);return}D=d.template(D,{imageurl:n});break;case p.get("id","02").name:D=d.template(D,{via:e.services.twitter.via})}if(!D)return;this.shareBySocial({channelProperties:A,sGUID:f,sharerUrl:D,trackingUrl:t,shortenValueChannel:s})}}this.doUserCallback("share",q,b.node?b.node[0]:v.notDefined);q!== h||c.isMobile||(x=!0);x||(F.increment({publisherKey:e.publisherKey,channel:q,url:r}),(q===g.favorites||q===g.print||q===h&&c.isMobile)&&this.logEvent(g.dataloggerEvent.share,{sGUID:f,sc1:q,sm:l.val("mode"),pu:r}),q!==h&&this.doAfterShare(b));this.trackGoogleAnalytics("event",A.displayName,r);this.trackGoogleAnalytics("social",A.displayName,r)}},doAfterShare:function(a){this.attributes.afterShare&&(this.showAfterShare(a),this.doUserCallback("showaftershare"))},trackGoogleAnalytics:function(a,b,c){s.track(a, b,c)},openShareListWindow:function(a,b,e){b={};e=d.mergeObjects(l.getUserPwConfig(),{},!0);a||(a=c.isMobile&&c.isMobile.tablet?g.viewType.popupList:g.viewType.popup);e.vguid=this.vGUID;b.view_type=a;b.widget_attrs=JSON.stringify(d.mergeObjects(this.attributes,{widgetId:this.widgetId},!0));b.pwidget_config=JSON.stringify(e);(a=d.openWindow(u.getUrl("shareList",b)))&&a.focus()},shareByMail:function(a,b){var e=this.attributes,f="%0A%0A"+encodeURIComponent(b);c.isMobile?setTimeout(function(){d.redirect("mailto:?subject\x3d"+ e.title+"\x26body\x3d"+(e.description||"")+f)},500):this.showMailFrame(a,b)},showAfterShare:function(a){var b=this,c={buttonSizePX:a.buttonSizePX,coords:a.coords,mode:g.viewType.aftershare,onHideAfterShare:b.attributes.onhideaftershare,widgetViewType:this.widgetViewType,widgetAttributes:this.attributes,afterShare:{}};u.requestAfterShare(this.attributes.publisherKey,function(a){c.afterShare.offer=a;b.fireShowPopup(c)})},getWPUrl:function(a){var b=d.askUser(m.t("enterWordpressURL"),f.wpAskUrlDefaultValue); d.isNull(b)||(b!==f.wpAskUrlDefaultValue?(b=b.replace(/^\s+|\/+\s+$/g,""),/http[s]{0,1}:\/\/[\S]+\.[\S]+.*/.test(b)&&(b=d.template(a.value,{url:b}))):b=null);return b},shareBySocial:function(a){var b=this.attributes,e,f=r.getCustomShortener(b.publisherKey);b.internal.sharedVia&&d.prop(a.channelProperties,"extra.viaShareQuote")&&(a.sharerUrl=a.channelProperties.extra.viaShareQuote);e=d.mergeObjects({shortenButton:a.shortenButton,url:a.trackingUrl,sharer:a.channelProperties.displayName,sharerUrl:a.sharerUrl, sGUID:a.sGUID,sc:a.channelProperties.name,maxSymbols:d.getPropertyByPath(a.channelProperties,"extra.maxSymbols")||0,shareServer:c.shareServer,extraUrlEncoding:d.getPropertyByPath(a.channelProperties,"extra.extraUrlEncoding"),shortener:v.notDefined,shortenerKey:v.notDefined,logServer:c.logServer,optout:r.optout()},this.getDefaultSharingParams());f&&(e.shortener=f.shortener,e.shortenerKey=f.shortenerKey);b.internal.sharedVia&&(e.svia=b.internal.sharedVia);e=d.mergeObjects(e,this.getShortenUrlParam(a.channelProperties.name, d.getPropertyByPath(a.channelProperties,"extra.shorten")));b=u.getUrl("sharePoint",e);a=this.getWindowParams(d.getPropertyByPath(a.channelProperties,"extra.popUpSize"));d.openWindow(b,a)},getDefaultSharingParams:function(){var b=this.attributes;return{url:b.url,via:b.services.twitter.via,title:b.title,pub:b.publisherKey,description:b.description||"",vGUID:this.vGUID,sm:l.val("mode"),ru:l.val("referrer")||a.doc("referrer"),lc:l.val("locale"),v:l.val("version")||c.widgetBuildNumber}},getWindowParams:function(b){var c= "";this.attributes.sharePopups&&!d.isUndefined(b)&&(c=b[0],b=b[1],c="width\x3d"+c+", height\x3d"+b+", left\x3d"+d.toInt(a.win("screen.width")/2-c/2)+", top\x3d"+d.toInt(a.win("screen.height")/2-b/2));return c},getShortenUrlParam:function(a,b){var c=this.attributes.transformations.shorten,e={};r.getInterstitial(this.attributes.publisherKey)?e.shorten=!0:d.isDefined(c)?e.shorten=c:d.isDefined(b)&&(e.shorten=b);return e},logEvent:function(a,b){var c,e=this.attributes;c={vGUID:this.vGUID,pu:e.url,pt:e.title, pub:e.publisherKey,random:d.getTimeStamp()};e.internal.sharedVia&&(c.sharedVia=e.internal.sharedVia);b=b||{};u.logEvent(a,d.mergeObjects(c,b))},showMailFrame:function(b,e){var f=this.attributes,g=l.val("track"),h=f.transformations.shorten,A=r.getCustomShortener(f.publisherKey),m=f.afterShare,x={};r.getInterstitial(this.attributes.publisherKey)&&(h=!0);f.transformations.tracking||(g=!1);f.internal.sharedVia&&(x.svia=f.internal.sharedVia);A&&(x.shortener=A.shortener,x.shortenerKey=A.shortenerKey);k.publish("mail.show", d.mergeObjects({sharerId:b,referrer:a.doc("referrer"),shorten:h,pubKey:f.publisherKey,track:g,title:f.title,description:f.description||"",vGUID:this.vGUID,url:d.removeTrackingParam(e),sm:l.val("mode"),lc:l.val("locale"),shareServer:c.shareServer,afterShare:d.isObject(m)?!0:m},x))},setAttributesFromPWConfig:function(a){this.attributes={publisherKey:l.val("publisherKey"),onshare:l.val("onshare"),counterLook:v.notDefined};this.attributes=d.mergeObjects(l.val("defaults"),this.attributes);this.attributes.services= q.updateServices(this.attributes.services);d.isObjEmpty(a)||(a.mode&&l.update({mode:a.mode}),d.prop(a,"services.exclude")&&a.services.exclude.popup&&d.isArray(a.services.exclude.popup)&&(this.attributes.services.p_share_popup&&!a.services.p_share_popup&&(this.attributes.services.p_share_popup=d.unMergeArrays(this.attributes.services.p_share_popup,a.services.exclude.popup)),this.attributes.services.more_popup&&!a.services.more_popup&&(this.attributes.services.more_popup=d.unMergeArrays(this.attributes.services.more_popup, a.services.exclude.popup))),this.attributes=d.mergeObjects(a,this.attributes));this.resolveClickMobile();this.attributes.vertical&&(this.attributes.layout=g.layout.vertical,delete this.attributes.vertical);this.attributes=this.resolveCounterNative()},resolveClickMobile:function(){c.isMobile&&(this.attributes.click=!0)},resolveCounterNative:function(){var a=this.attributes.counter;d.isObject(a)&&(this.attributes.counter=a.layout?a.layout:g.counter.horizontal,a.look&&(this.attributes.counterLook=a.look)); return this.attributes},updateConfig:function(a){var b=!1,c={},e=this.attributes.url;d.isObjEmpty(a)||(d.each(a,function(a,d){a=q.fixPinterest(a);c[a]=d;"image"===a&&(b=!0)}),this.attributes=d.mergeObjects(c,this.attributes),d.each(this.getNativeButtons(),function(b,c){c.updateNativeButton(a)}),this.resolveClickMobile(),a.url&&this.updateUrlInButtons(e),b&&this.updatePinterestButtons())},updateUrlInButtons:function(a){var b=this;d.each(this.buttonCollection,function(c,d){d.attributes.url===a&&d.updateAttribute("url", b.attributes.url)})},getNativeButtons:function(){var a=[];d.each(this.buttonCollection,function(b,c){c.look===g.look.nativ&&a.push(c)});return a},updatePinterestButtons:function(){var a=this;d.each(this.buttonCollection,function(b,c){c.isPinterestButton()&&c.updateAttribute("image",a.attributes.image)})},setCounterLookNative:function(){this.attributes.counterLook=g.look.nativ},getAttribute:function(a){return this.attributes[a]},getDom:function(){return this.domNode},destroyDOM:function(){a.removeNode(this.domNode)}, getMaxButtonWidth:function(){var a=[];d.each(this.buttonCollection,function(b,c){c.isNative()?a.push(16):a.push(c.getWidth())});return d.arrayMaximum(a)},setVerticalWidth:function(){this.attributes.layout===g.layout.vertical&&a.setStyle(this.domNode,{width:this.getMaxButtonWidth()+"px"})}});return n});q("application","util oo config dom widget jsonp enumeration pubsub pwConfig proxy emailFrame popup channels i18n ga url jsApi scriptParams support globals env copyPaste status counter".split(" "),function(c, d,e,b,a,g,f,h,k,n,q,l,m,s,t,p,B,y,r,v,F,w,z,C){g={};var E=v.win;g.Application=d.defineClass({initialized:!1,buttonsLoaded:0,WidgetClass:a.WidgetClass,ShareEmailView:null,PopupView:null,widgetCollection:[],pinApi:v.notDefined,options:{},constructor:function(a){this.options=a;this.triggers={};this.bindAll("copyPasteCallback","initApplication","showMailFrame","showSharePopup","hideSharePopup","onButtonReady","onOptOutReady","widgetJsAPI");this.subscribe()},init:function(){var a=this;this.initPwConfig(); switch(k.val("init")){case f.initType.immediate:this.initApplication();break;case f.initType.lazy:this.afterInit(function(){a.initCoreMethods()});break;default:b.ready(this.initApplication)}},onOptOutReady:function(){this.trackClickBack();this.initAddressBarTracking()},initAddressBarTracking:function(){k.val("trackAddressBar")&&!0===k.val("track")&&v.win.location.replace("#"+c.sGUID()+".97")},insertAdditionalClasses:function(){var a=e.cssClasses.htmlPwLocale+s.getBCP47tag().split("_")[0],a=a+(" ra1-pw-"+ (F.isMobile?"mobile":"desktop"));F.isMobile&&(a+=" ra1-pw-mobile-"+c.trim(F.isMobile.platform).toLowerCase());b.addClass("html",a)},trackToComScore:function(){var a=("https:"===b.doc("location.protocol")?"https://sb":"http://b")+".scorecardresearch.com/beacon.js";E._comscore=E._comscore||[];E._comscore.push({c1:"7",c2:"8973917",c3:"1"});b.loadScript(a)},subscribe:function(){h.subscribe("mail.show",this.showMailFrame);h.subscribe("popup.show",this.showSharePopup);h.subscribe("popup.hide",this.hideSharePopup); h.subscribe("button.ready",this.onButtonReady);h.subscribe("optout.ready",this.onOptOutReady);h.subscribe("pinmarklet.show",this.pinterestCallBack)},applicationOnLoad:function(a){var b=this,c=0,d;d=setInterval(function(){b.buttonsLoaded>c?c=b.buttonsLoaded:(a(),clearInterval(d))},1)},loadAssets:function(){k.val("clean")||(b.loadCSS(e.mainCssPath),this.prepareRetina())},initCoreMethods:function(){this.updatePwidgetConfig();this.fixPinterestInPwConfig();this.loadAssets();m.init();this.insertAdditionalClasses(); t.init()},initApplication:function(a){var d=this,e=c.isObject(a)?a:b.getBy(a||"body");d.initialized||this.initCoreMethods();a?c.each(c.isArray(e)?e:[e],function(a,b){d.searchForWidgetsMarkup(b)}):this.searchForWidgetsMarkup(a);d.initialized||this.afterInit()},searchForWidgetsMarkup:function(a){var d=this;c.each(b.getBy(e.getCssQuerySelector("widget"),a),function(a,b){d.addWidgetToCollection({domNode:b})});c.each(b.getBy(e.getCssQuerySelector("widget","2.1"),a),function(a,b){d.addWidgetToCollection({domNode:b}, "2.1")});c.each(b.getBy("a",a),function(a,f){c.isNull(f.className.match(e.regexpPatterns.buttonContainer["3.0"]))||b.getParentByClassList(f,e.postWidgetAliases)||d.addWidgetToCollection({domNode:d.createWidgetFromSingleButton(f)})});C.initBoxCounters(a,{publisherKey:k.val("publisherKey"),attributes:{url:k.val("defaults.url")}})},isWidgetInitialized:function(a){var b=!1;c.each(this.widgetCollection,function(c,d){if(d.getDom()===a)return b=!0,!1});return b},updatePwidgetConfig:function(){var a;a=c.cloneObj(E.pwidget_config); a.publisherKey=a.publisherKey||y.get("publisherKey");a.locale=s.validateUserLocale(a.locale||y.get("lc"));a.retina=a.retina||y.get(f.retina);a.clean=c.isUndefined(a.clean)?c.strToBoolean(y.get("clean")):a.clean;!p.canonical.get()||a.defaults&&a.defaults.url||(a.defaults=a.defaults||{},a.defaults.url=p.canonical.get());F.isMobile&&F.isMobile.tablet&&(a.mobileOverlay=!0);a.defaults&&(a.defaults=c.mergeObjects(a.defaults,r.fixPinterestPwConf(a.defaults)));k.update({locale:a.locale},!0);k.update(a);k.setUserPwConfig(E.pwidget_config)}, initPwConfig:function(){k.update({init:c.cloneObj(E.pwidget_config).init||y.get("init")})},addWidgetToCollection:function(a,b){b&&(a.archVersion=b);a.pinterestCallBack=this.pinterestCallBack;this.isWidgetInitialized(a.domNode)||this.widgetCollection.push(new this.WidgetClass(a))},createWidgetFromSingleButton:function(a){var c=b.createElement("span",{className:e.widgetClassList});this.cloneNodeAttributes(a,c,e.widgetAttributes);this.cloneNodeClasses(a,c);b.appendTo(c,a.cloneNode(!0));b.insertBefore(a, c);b.removeNode(a);return c},cloneNodeAttributes:function(a,d,f){c.each(f,function(c,f){var g=e.getAttrValue(a,f.name);g&&b.attr(d,"data-"+f.name,g)})},cloneNodeClasses:function(a,c){b.setClass(c,a.className)},afterInit:function(a){var d=this;this.applicationOnLoad(function(){var e;a&&a();e=k.val("onload");d.prepareExternalFiles();d.initialized=!0;e&&e();d.trackToComScore();0===d.widgetCollection.length&&k.val("publisherKey")&&(d.fetchStatus(),d.logDataLoggerEvent("view",{vGUID:k.val("vguid")||c.GUID(!0), pu:p.canonical.get()||c.removeTrackingParam(b.doc("location.href")),pt:k.val("defaults.title"),pub:k.val("publisherKey")}));h.publish("application.ready")})},fetchStatus:function(){n.fetchStatus(function(a){0===z.optout()&&(z.optout(!!a.optout),h.publish("optout.ready"));z.setFetchingState(!1)})},prepareExternalFiles:function(){this.prepareCopyPaste()},prepareCopyPaste:function(){var a=f.copypaste,d=!0,g=this.widgetCollection,h=g.length,l=0,m=this,n;k.val("publisherKey")&&(c.each(g,function(a,b){if(c.isDefined(b.attributes.copypaste)){if(b.attributes.copypaste)return n= !0,!1;l++;n=!1}}),k.val(a)||c.isDefined(n)?k.val(a)||!c.isDefined(n)||n?l&&l===h&&(d=!1):d=!1:d=!1,k.val("shareQuote")?b.loadScript(e.externalModules.shareQuote,function(){m.initCopyPaste(d,m.initShareQuote())}):this.initCopyPaste(d))},initShareQuote:function(){var a=v.win.pwidget_modules.shareandquote;a("init",{poStLink:e.poStLink,postWidget:{buttons:k.val("shareQuoteOptions.buttons"),more_popup_exclude:k.val("shareQuoteOptions.more_popup_exclude")}});return a},initCopyPaste:function(a,b){var d= this,e=c.sGUID(),f=s.t("readMore"),g=k.val("i18n.readMore");g&&(f=-1<g.indexOf("{link}")?g:g+"{link}");w.init({msg:f,min:7,tracking:a,url:d.getUrlForCopyPaste(e),onCopy:function(c){d.copyPasteCallback(e,c,a);b&&b("show",c)}})},getUrlForCopyPaste:function(a){var d=k.val("readMoreUrl")||p.canonical.get()||c.removeTrackingParam(b.doc("location.href"));return n.prepareURLForSharing(k.val("publisherKey"),d,"99",a,{shorten:!1,tracking:k.val("defaults.transformations.tracking")})},copyPasteCallback:function(a, d,e){var g=p.canonical.get()||c.removeTrackingParam(b.doc("location.href")),h=e?f.dataloggerEvent.share:f.dataloggerEvent.copyPaste;t.track("event","Clipboard",g);t.track("social","Clipboard",g);a={vGUID:k.val("vguid")||c.GUID(!0),sGUID:a,pu:g,text:d.substr(0,2E3)};e&&(a=c.mergeObjects({sm:k.val("mode"),sc1:"clipboard"},a),C.increment({publisherKey:k.val("publisherKey"),channel:"clipboard",url:g}));this.logDataLoggerEvent(h,a)},prepareRetina:function(){k.val(f.retina)&&b.loadCSS(e.externalCss.retina)}, showMailFrame:function(a,b){this.ShareEmailView||(this.ShareEmailView=new q.EmailFrame);this.ShareEmailView.show(b)},showSharePopup:function(a,b){this.PopupView||(this.PopupView=new l.PopupView(b));this.PopupView.show(b)},hideSharePopup:function(a,b){this.PopupView&&this.PopupView.hide()},trackClickBack:function(){var a;k.val("track")&&(a=/[\?&#]{1}([a-z\d]{16})\.([\d]{2})(?:|$)/i,a=a.exec(b.doc("location.href")),c.isNull(a)||this.logDataLoggerEvent(f.dataloggerEvent.clickback,{pt:k.val("defaults.title"), pu:k.val("defaults.url"),sc:m.get("id",a[2]).name,sGUID:a[1],bGUID:c.GUID(!0)}))},logDataLoggerEvent:function(a,b){b.random=c.getTimeStamp();n.logEvent(a,b)},onButtonReady:function(a,b){this.buttonsLoaded+=1},widgetJsAPI:function(a,b){var d,e=this;c.isDefined(a)&&(d=e.getWidgetsBySelector(a),d.length||r.appReady(function(){c.isUndefined(b)&&(b={container:f.container.custombox});!c.isDefined(b)||c.hasProperty(b,"button")||c.hasProperty(b,"buttons")||c.hasProperty(b,"view_type")||(b.container=f.container.custombox); B.createWidgetDOM(a,b,function(a,b,d,f){c.each(a,function(a,c){e.addWidgetToCollection({domNode:c,customPwConfig:b,container:d,viewType:f})})})}));return{updateConfig:function(a){!c.isObjEmpty(a)&&c.isDefined(d)&&d.length&&c.each(d,function(b,c){c.updateConfig(a)})},destroy:function(){if(c.isDefined(a))return e.removeJSAPIWidgets(a)}}},processWidgets:function(a,d){c.isFunction(d)&&c.each(this.widgetCollection,function(e,f){c.isCollection(a)||b.isNodeElement(a)?(a.length||(a=[a]),c.each(a,function(a, b){c.isDefined(f)&&f.domNode===b&&d(f)})):-1!==c.indexOfArray(f.nodeMarker,a)&&d(f)})},removeJSAPIWidgets:function(a){var b=!1;this.processWidgets(a,function(a){a.destroyDOM();b=!0});return b},getWidgetsBySelector:function(a){var b=[];this.processWidgets(a,function(a){b.push(a)});return b},pinterestCallBack:function(a,d){var f=this;f.pinApi?(f.pinApi.f.init(),f.pinApi.f.pin=function(a){a=f.pinApi.v.found[a];f.pinApi.f.close();d.pinterestImage=a.src;h.publish("button.click",d,d.widgetInstance)}):b.loadScript(e.pinMarkletUrl+ "?r\x3d"+99999999*Math.random(),function(){var a;c.each(c.getObjectKeys(window),function(b,c){if(-1<c.indexOf("PIN_")&&window[c].hasOwnProperty("f")&&window[c].f.hasOwnProperty("pin"))return a=c,!1});a&&(f.pinApi=window[a],f.pinApi.f.pin=function(a){a=f.pinApi.v.found[a];f.pinApi.f.close();d.pinterestImage=a.src;h.publish("button.click",d,d.widgetInstance)})})},fixPinterestInPwConfig:function(){var a=k.val("defaults.imageUrl"),b=k.val("defaults.image"),c=b;a&&!b&&(c=a);k.update({defaults:{image:c}})}}); return g});H(["dom","application","env","jsApi","util"],function(c,d,e,b,a){var g=window;a={htmlIE7:"ra1-pw-ie7",htmlIE8:"ra1-pw-ie8"};7!==e.ieVersion&&8!==e.ieVersion||c.addClass("html",a["htmlIE"+e.ieVersion]);c=new d.Application;g.post_widget=c.widgetJsAPI;g.post_init=c.initApplication;g.pwidget_api=b.publicApi;g.pwidget_modules=g.pwidget_modules||{};g.pwidget_modules.define=function(a,b,c){q(a,b,c);H([a],function(b){g.pwidget_modules[a]=b})};g.pwidget_modules.require=H;c.init()})}}})(window,document);
-1

Закладки не работают

Anonim 4 lat temu 0

В опере закладки работают через раз(а то и 3).Обновишь страницу-тогда может быть сработают,а по-нормальному никак.Это расширение нужно для быстрого доступа к сайтам-а здесь не скорость,а нервы.

-1

Невозможно установить закладки АТАВИ на всех браузерах!

Владимир Горошников 6 lat temu zaktualizowano 6 lat temu 0

после переустановки  ОС При соединении с atavi.com произошла ошибка. Узел получил действительный сертификат, но в доступе было отказано. Код ошибки: SSL_ERROR_ACCESS_DENIED_ALERT