var _iub;(_iub=_iub||[]).ifr=_iub.ifr||[],function(r,l){function i(t){return new n(t)}function e(t){if(!t){if(!r.event)return null;t=r.event}return"number"==typeof t.keyCode?t.keyCode:"number"==typeof t.which?t.which:"number"==typeof t.charCode?t.charCode:null}var n=function(t){return this.linkA=t.linkA,this.embedP=t.embedP,this.iFrUrl=t.iFrUrl,this.inParent=t.inParent,this.cdnBaseUrl=t.cdnBaseUrl,this.straightShow=t.straightShow,this.callback=t.callback,this.closeOn=t.closeOn,this.shortHeightBy=t.shortHeightBy,this.addClass=t.addClass,this.zIndex=t.zIndex||1e4,this.name=t.name,this.overflow="false"!==t.overflow&&!1!==t.overflow&&"html",this.isMobile=!1,this.mainDoc=null,this.mainC=null,this.cOver=null,this.sp=null,this.iPPPup=null,this.ppW=800,this.ppH=800,this.vpWidth=null,this.vpHeight=null,this.scrollX=null,this.scrollY=null,this.mainL=null,this.mainT=null,this.margin=80,this.htmlOvr={},this.checkForMobile(),this.straightShow?this.showPP():this.bindAll(),this};n.prototype.showPP=function(){var i=this;this.oldOnKeyDown=l.onkeydown,l.onkeydown=function(t){return i.keyPressed(t),!0},this._iub=this.inParent&&parent._iub||r._iub,this.mainDoc=this.inParent?parent.parent.document:l,this.wipeOut();this.mainDoc.getElementsByTagName("html")[0];this.getViewPortSize(),this.overflow&&this.setOverflow(this.vpHeight),this.setSizeAndPosition();this.getDocHeight();if(this.mainC=this.mainDoc.createElement("div"),this.mainC.id="iubenda-pp",this.setStyle(this.mainC,"top:"+this.mainT+"px; left:"+this.mainL+"px; position:absolute; z-index:"+this.zIndex+";"),"string"==typeof this.addClass&&(this.mainC.className=this.addClass),this.iPPPup=this.mainDoc.createElement("div"),this.iPPPup.id="iubenda-pp-popup",this.setStyle(this.iPPPup,"position:relative; display:none"),this.mainC.appendChild(this.iPPPup),"undefined"!=typeof parent.IubSpinner){var t={lines:8,length:2,width:2,radius:2,color:"#FFF",speed:1.2,trail:60,shadow:!1};this.sp=new parent.IubSpinner(t).spin(),this.setStyle(this.sp.el,"position:relative; left:"+this.ppW/2+"px; top:100px;"),this.mainC.appendChild(this.sp.el)}var e=this.mainDoc.createElement("div");e.id="iubenda-pp-content",this.iPPPup.appendChild(e),this.cOver=this.mainDoc.createElement("div"),this.cOver.id="iubenda-pp-overlay";var n=this.isMobile?this.getDocHeight()+"px":"100%";if(this.setStyle(this.cOver,"position:fixed; top:0; left:0; width:100%; height:"+n+"; background-color:black; z-index:"+(this.zIndex-1)+"; opacity:.80; filter:alpha(opacity=80); overflow: hidden"),this.closeOn&&"overlay"!=this.closeOn||(this.cOver.onclick=function(){return i.closePP(),!1}),!this.closeOn||"icon"==this.closeOn){var s=this.mainDoc.createElement("a");s.href="#",this.setStyle(s,"background:url('"+this.cdnBaseUrl+"close.png') no-repeat scroll 0 0 transparent; border:medium none; display:block; height:24px; position:absolute; right:-5px; top:-10px; width:23px; z-index:10010;"),this.iPPPup.appendChild(s),s.onclick=function(t){return t.stopPropagation(),i.closePP(),!1}}var o=this.mainDoc.createElement("IFRAME"),h=-1!=this.iFrUrl.indexOf("?")?this.iFrUrl+"&ifr=true&height="+this.ppH:this.iFrUrl+"?ifr=true&height="+this.ppH;o.setAttribute("src",h),o.setAttribute("scrolling","no"),o.setAttribute("frameBorder","0"),o.setAttribute("allowtransparency","true"),o.setAttribute("style","border: 1px solid rgba(0, 0, 0, 0.3); -webkit-border-radius: 6px; -moz-border-radius: 6px; border-radius: 6px; -webkit-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3); -moz-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3); box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3); -webkit-background-clip: padding-box; -moz-background-clip: padding-box; background-clip: padding-box;"),o.style.width=this.ppW+"px",o.style.height=this.ppH+"px",e.style.width=this.ppW+"px",e.style.height=this.ppH+"px",this.name&&(o.name=this.name),this._iub.onLoadCall(o,function(){i.ppLoaded()}),e.appendChild(o),this.embedP.appendChild(this.mainC),this.mainC.parentNode.insertBefore(this.cOver,this.mainC.nextSibling)},n.prototype.getViewPortSize=function(){this.isMobile?(this.vpWidth=(this.inParent?parent.window.innerWidth:r.innerWidth)||this.mainDoc.documentElement.clientWidth,this.vpHeight=(this.inParent?parent.window.innerHeight:r.innerHeight)||this.mainDoc.documentElement.clientHeight):(this.vpWidth=this.mainDoc.documentElement.clientWidth,this.vpHeight=this.mainDoc.documentElement.clientHeight)},n.prototype.setSizeAndPosition=function(){this.getViewPortSize(),this.margin=768