"use strict";!function(s,u){var l=s.__acuityAdsPixelEventServer||"https://e.acuityplatform.com/pj",r="http://",n="https://",f="pixelKey",y="pk";function a(e){try{var t=d(function(e){var t=e.err,r=e.topFrame,n="";if(t)try{n=s.top.location.href}catch(e){n=s.location.href}else n=r.location.href;return n}(function(){var e=s,t=!1;try{for(;e.parent.document!==e.document;){if(!e.parent.document){t=!0;break}e=e.parent}}catch(e){t=!0}return{topFrame:e,err:t}}())),r=function(e){{if(e.hasOwnProperty(f)&&e[f])return e[f];if(e.hasOwnProperty(y)&&e[y])return e[y];if(s.acuityAdsPixelKey)return s.acuityAdsPixelKey;throw new TypeError("Missing required Pixel Key. Please check snippet or pass Pixel Key like following: aap({ pixelKey: '12345' }).")}}(e||{}),n=(c=r,o=t,p=e||{},"".concat(l,"?")+["pk=".concat(c),"pu=".concat(o)].concat(Object.keys(p).filter(function(e){return p[e]&&(!Array.isArray(p[e])||0","").replace("<\/script>",""),r=u.createElement("script");r.setAttribute("type","text/javascript"),r.innerHTML=t,u.body.appendChild(r)}),t.javascriptUrls.forEach(function(e){var t=u.createElement("script");t.setAttribute("type","text/javascript"),t.src=e,u.body.appendChild(t)})}catch(e){console.error("AcuityAds Pixel",e)}var t};var d=function(e){return encodeURIComponent(e)};!function(){for(var t,e=(t=a,function(e){e&&e.delay&&0