!function(){"use strict";function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t(e)}function e(t,e,n,r,o,i,a){try{var u=t[i](a),s=u.value}catch(t){return void n(t)}u.done?e(s):Promise.resolve(s).then(r,o)}function n(t){return function(){var n=this,r=arguments;return new Promise((function(o,i){var a=t.apply(n,r);function u(t){e(a,o,i,u,s,"next",t)}function s(t){e(a,o,i,u,s,"throw",t)}u(void 0)}))}}self.fetch||(self.fetch=function(t,e){return e=e||{},new Promise((function(n,r){var o=new XMLHttpRequest,i=[],a=[],u={},s=function t(){return{ok:2==(o.status/100|0),statusText:o.statusText,status:o.status,url:o.responseURL,text:function(){return Promise.resolve(o.responseText)},json:function(){return Promise.resolve(o.responseText).then(JSON.parse)},blob:function(){return Promise.resolve(new Blob([o.response]))},clone:t,headers:{keys:function(){return i},entries:function(){return a},get:function(t){return u[t.toLowerCase()]},has:function(t){return t.toLowerCase()in u}}}};for(var c in o.open(e.method||"get",t,!0),o.onload=function(){o.getAllResponseHeaders().replace(/^(.*?):[^\S\n]*([\s\S]*?)$/gm,(function(t,e,n){i.push(e=e.toLowerCase()),a.push([e,n]),u[e]=u[e]?u[e]+","+n:n})),n(s())},o.onerror=r,o.withCredentials="include"==e.credentials,e.headers)o.setRequestHeader(c,e.headers[c]);o.send(e.body||null)}))}),function(){if("object"===("undefined"==typeof window?"undefined":t(window)))if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype)"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});else{var e=function(t){for(var e=window.document,n=i(e);n;)n=i(e=n.ownerDocument);return e}(),n=[],r=null,o=null;u.prototype.THROTTLE_TIMEOUT=100,u.prototype.POLL_INTERVAL=null,u.prototype.USE_MUTATION_OBSERVER=!0,u._setupCrossOriginUpdater=function(){return r||(r=function(t,e){o=t&&e?h(t,e):{top:0,bottom:0,left:0,right:0,width:0,height:0},n.forEach((function(t){t._checkForIntersections()}))}),r},u._resetCrossOriginUpdater=function(){r=null,o=null},u.prototype.observe=function(t){if(!this._observationTargets.some((function(e){return e.element==t}))){if(!t||1!=t.nodeType)throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:t,entry:null}),this._monitorIntersections(t.ownerDocument),this._checkForIntersections()}},u.prototype.unobserve=function(t){this._observationTargets=this._observationTargets.filter((function(e){return e.element!=t})),this._unmonitorIntersections(t.ownerDocument),0==this._observationTargets.length&&this._unregisterInstance()},u.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},u.prototype.takeRecords=function(){var t=this._queuedEntries.slice();return this._queuedEntries=[],t},u.prototype._initThresholds=function(t){var e=t||[0];return Array.isArray(e)||(e=[e]),e.sort().filter((function(t,e,n){if("number"!=typeof t||isNaN(t)||t<0||t>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return t!==n[e-1]}))},u.prototype._parseRootMargin=function(t){var e=(t||"0px").split(/\s+/).map((function(t){var e=/^(-?\d*\.?\d+)(px|%)$/.exec(t);if(!e)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(e[1]),unit:e[2]}}));return e[1]=e[1]||e[0],e[2]=e[2]||e[0],e[3]=e[3]||e[1],e},u.prototype._monitorIntersections=function(t){var n=t.defaultView;if(n&&-1==this._monitoringDocuments.indexOf(t)){var r=this._checkForIntersections,o=null,a=null;this.POLL_INTERVAL?o=n.setInterval(r,this.POLL_INTERVAL):(s(n,"resize",r,!0),s(t,"scroll",r,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in n&&(a=new n.MutationObserver(r)).observe(t,{attributes:!0,childList:!0,characterData:!0,subtree:!0})),this._monitoringDocuments.push(t),this._monitoringUnsubscribes.push((function(){var e=t.defaultView;e&&(o&&e.clearInterval(o),c(e,"resize",r,!0)),c(t,"scroll",r,!0),a&&a.disconnect()}));var u=this.root&&(this.root.ownerDocument||this.root)||e;if(t!=u){var l=i(t);l&&this._monitorIntersections(l.ownerDocument)}}},u.prototype._unmonitorIntersections=function(t){var n=this._monitoringDocuments.indexOf(t);if(-1!=n){var r=this.root&&(this.root.ownerDocument||this.root)||e,o=this._observationTargets.some((function(e){var n=e.element.ownerDocument;if(n==t)return!0;for(;n&&n!=r;){var o=i(n);if((n=o&&o.ownerDocument)==t)return!0}return!1}));if(!o){var a=this._monitoringUnsubscribes[n];if(this._monitoringDocuments.splice(n,1),this._monitoringUnsubscribes.splice(n,1),a(),t!=r){var u=i(t);u&&this._unmonitorIntersections(u.ownerDocument)}}}},u.prototype._unmonitorAllIntersections=function(){var t=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0;for(var e=0;e=0&&g>=0&&{top:s,bottom:c,left:f,right:p,width:m,height:g}||null),!v)break;y=y&&d(y)}return v}},u.prototype._getRootRect=function(){var t;if(this.root&&!m(this.root))t=l(this.root);else{var n=m(this.root)?this.root:e,r=n.documentElement,o=n.body;t={top:0,left:0,right:r.clientWidth||o.clientWidth,width:r.clientWidth||o.clientWidth,bottom:r.clientHeight||o.clientHeight,height:r.clientHeight||o.clientHeight}}return this._expandRectByRootMargin(t)},u.prototype._expandRectByRootMargin=function(t){var e=this._rootMarginValues.map((function(e,n){return"px"==e.unit?e.value:e.value*(n%2?t.width:t.height)/100})),n={top:t.top-e[0],right:t.right+e[1],bottom:t.bottom+e[2],left:t.left-e[3]};return n.width=n.right-n.left,n.height=n.bottom-n.top,n},u.prototype._hasCrossedThreshold=function(t,e){var n=t&&t.isIntersecting?t.intersectionRatio||0:-1,r=e.isIntersecting?e.intersectionRatio||0:-1;if(n!==r)for(var o=0;o=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var s=o.call(a,"catchLoc"),c=o.call(a,"finallyLoc");if(s&&c){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&o.call(r,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),P(n),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;P(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:L(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=n),g}},e}(e.exports);try{regeneratorRuntime=n}catch(e){"object"===("undefined"==typeof globalThis?"undefined":t(globalThis))?globalThis.regeneratorRuntime=n:Function("r","regeneratorRuntime = r")(n)}}({exports:{}});var r=function(e){var n={};function r(t){if(n[t])return n[t].exports;var o=n[t]={i:t,l:!1,exports:{}};return e[t].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=n,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(e,n){if(1&n&&(e=r(e)),8&n)return e;if(4&n&&"object"==t(e)&&e&&e.__esModule)return e;var o=Object.create(null);if(r.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var i in e)r.d(o,i,function(t){return e[t]}.bind(null,i));return o},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=0)}([function(e,n,r){function o(t,e){var n={enabled:!0,jsTimer:null},r=function(t){if("number"==typeof t)return t;if(!Array.isArray)throw new Error("Failed expanding timings: Value not a number or array: ".concat(t));var e=[];return t.forEach((function(t){if("number"!=typeof t){var n=function(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t)){var n=[],r=!0,o=!1,i=void 0;try{for(var a,u=t[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{r||null==u.return||u.return()}finally{if(o)throw i}}return n}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}(t.split(/x/i),2),r=n[0],o=n[1];if(!r||r<=0||!/^\d+$/.test(o))throw new Error("Failed expanding timings: Expected (count)x(delay), got: ".concat(r,"x").concat(o));for(var i=0;i1?r.shift():r[0];n.jsTimer=setTimeout((function(){try{t()}catch(t){console.error(t)}e()}),o)}}(),n}function i(t){t.enabled=!1,clearTimeout(t.jsTimer)}function a(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t)){var n=[],r=!0,o=!1,i=void 0;try{for(var a,u=t[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{r||null==u.return||u.return()}finally{if(o)throw i}}return n}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function u(t,e,n){var r;try{r=t.document.cookie.split(";")}catch(t){return n}var o=!0,i=!1,u=void 0;try{for(var s,c=r[Symbol.iterator]();!(o=(s=c.next()).done);o=!0){var l=s.value;try{var f=a(l.split("=").map((function(t){return t.trim()})),2),h=f[0],p=f[1];if(h===e)return void 0===p?"":p}catch(t){}}}catch(t){i=!0,u=t}finally{try{o||null==c.return||c.return()}finally{if(i)throw u}}return n}function s(t){return"string"==typeof t&&/^1[YN-]{3}$/i.test(t)}function c(t){return!!s(t)&&"1---"!==t}function l(t){if(!s(t))return!1;var e=function(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t)){var n=[],r=!0,o=!1,i=void 0;try{for(var a,u=t[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{r||null==u.return||u.return()}finally{if(o)throw i}}return n}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}(t.split(""),3)[2];return e&&"y"===e.toLowerCase()||!1}function f(e){return(f="function"==typeof Symbol&&"symbol"==t(Symbol.iterator)?function(e){return t(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":t(e)})(e)}r.r(n);var h=[0,"4x25","4x50","5x100","2x200","3x300","10x500","10x750",1e3];function p(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window,e=u(t,"_sp_enable_dfp_personalized_ads");return e&&/^(true|false)$/i.test(e)?/^true$/i.test(e):null}function d(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window;return u(t,"us_privacy",null)}function m(t,e){return t.hasOwnProperty(e)||Object.keys(t).indexOf(e)>=0}function g(t){return"object"===f(t)&&null!==t&&!(!m(t,"consentData")||!m(t,"gdprApplies"))}function v(t){return!(!t||!t.googlePersonalizationData||"object"!==f(t.googlePersonalizationData))}function y(t){return!(!t||"object"!==f(t.purposeConsents)||"object"!==f(t.vendorConsents))}function w(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window;if(t._cmpWaitPromise)return t._cmpWaitPromise;var e=t.top;return t._cmpWaitPromise=new Promise((function(n){var r=function(){i(a),t.removeEventListener("message",u,!1)},a=o((function(){"function"==typeof t.__cmp&&(r(),n("obj")),e.postMessage(JSON.stringify({__cmp:{command:"ping",parameter:null}}),"*")}),h),u=function(t){var e=t.data;try{e="string"==typeof e?JSON.parse(e):e}catch(t){}e&&"object"===f(e)&&e.__cmpReturn&&(r(),n("msg"))};t.addEventListener("message",u,!1)})),t._cmpWaitPromise}function b(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.cmpCmd,n=void 0===e?"getConsentData":e,r=t.cmpParam,o=void 0===r?null:r,i=t.validate,a=void 0===i?g:i,u=t.win,s=void 0===u?window:u,c=s.top||s;if("getGooglePersonalization"===n){var l=p(s);if(null!==l)return Promise.resolve({googlePersonalizationData:{consentValue:l?1:0,created:null,lastUpdated:null}})}return w(s).then((function(t){return new Promise((function(e,r){if("obj"===t){var i=!1===o?[n]:[n,o];s.__cmp.apply(s,i.concat([function(t,n){if(!1===n||!a(t)){var o=new Error("Invalid consent payload from CMP");return o.name="InvalidConsentError",r(o)}e(t)}]))}else"msg"===t?(c.addEventListener("message",(function t(n){var r=n.data;try{r="string"==typeof r?JSON.parse(r):r}catch(t){}try{var o=r.__cmpReturn;o&&o.success&&a(o.returnValue)&&(c.removeEventListener("message",t,!1),e(o.returnValue))}catch(t){}}),!1),c.postMessage(JSON.stringify({__cmp:{command:n,parameter:o}}),"*")):r(new Error("Unknown CMP access method: ".concat(t)))}))}))}function _(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window;if(t._uspapiWaitPromise)return t._uspapiWaitPromise;var e=t.top,n="uspAPITest:".concat(Math.floor(9e6*Math.random()));return t._uspapiWaitPromise=new Promise((function(r){var a=function(){i(u),t.removeEventListener("message",s,!1)},u=o((function(){return"string"==typeof t.__uspStrOvr?(a(),r("ovr")):"function"==typeof t.__uspapi?(a(),r("obj")):void e.postMessage(JSON.stringify({__uspapiCall:{command:"getuspdata",version:1,callId:n}}),"*")}),h),s=function(t){var e=t.data;try{e="string"==typeof e?JSON.parse(e):e}catch(t){}e&&"object"===f(e)&&e.__uspapiReturn&&(a(),r("msg"))};t.addEventListener("message",s,!1)})),t._uspapiWaitPromise}function x(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.win,n=void 0===e?window:e,r=n.top||n,o=d(n);return o&&s(o)?Promise.resolve(o):_(n).then((function(t){return new Promise((function(e,o){if("obj"===t)n.__uspapi("getuspdata",1,(function(t,n){if(!1===n||t&&!s(t.uspString)){var r=new Error("Invalid USP payload from USP API");return r.name="InvalidConsentError",o(r)}e(t.uspString)}));else if("msg"===t){var i="uspAPI:".concat(Math.floor(9e6*Math.random()));r.addEventListener("message",(function t(n){var a=n.data;try{a="string"==typeof a?JSON.parse(a):a}catch(c){}try{var u=a.__uspapiReturn;if(u.callId===i){if(!(u&&u.success&&s(u.returnValue))){var c=new Error("Invalid USP payload response from USP API postMessage listener");return c.name="InvalidConsentError",o(c)}r.removeEventListener("message",t,!1),e(u.returnValue)}}catch(c){}}),!1),r.postMessage(JSON.stringify({__uspapiCall:{command:"getuspdata",version:1,callId:i}}),"*")}else{if("ovr"===t){var a=n.__uspStrOvr;if(s(a))return e(a);var u=new Error("Invalid USP payload response from USP override property: ".concat(a));return u.name="InvalidConsentError",o(u)}o(new Error("Unknown USP API access method: ".concat(t)))}}))}))}function E(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"Timed-out waiting for result";return new Promise((function(r,o){t.then((function(t){clearTimeout(i),r(t)})).catch((function(t){clearTimeout(i),o(t)}));var i=setTimeout((function(){var t=new Error(n);t.name="TimeoutError",o(t)}),e)}))}function I(){return[]}function O(t,e){return t.length===e.length&&t.every((function(t,n){return e[n]===t}))}function T(t,e,n,r){var o=function(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t)){var n=[],r=!0,o=!1,i=void 0;try{for(var a,u=t[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{r||null==u.return||u.return()}finally{if(o)throw i}}return n}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}(function(t,e,n,r){if(t._){var o=t._(e,n,r);if(o)return[!0,o.c]}for(var i=0;i0&&void 0!==arguments[0]?arguments[0]:{},n=e.mem,r=void 0===n?[]:n,o=e.noConsent,i=void 0===o?"reject":o,a=e.timeout,u=void 0===a?null:a,s=e.type,c=void 0===s?"":s,l=e.win,f=void 0===l?window:l;return t="google"===c?T(r,b,[{cmpCmd:"getGooglePersonalization",cmpParam:!1,validate:v,win:f}],["getGooglePersonalization",f]):"vendor"===c||"vendors"===c?T(r,b,[{cmpCmd:"getVendorConsents",validate:y,win:f}],["getVendorConsents",f]):"usp"===c?T(r,x,[{win:f}],["getUSP",f]):T(r,b,[{win:f}],[f]),"number"==typeof u&&u>0&&(t=E(t,u,"Timed-out waiting for consent data")),t.catch((function(t){if(S.indexOf(t.name)>=0&&"resolve"===i)return null;throw t}))}function j(t){return P(Object.assign({},t,{type:""})).then((function(t){return t?t.consentData:t}))}function L(t){return P(Object.assign({},t,{type:"google"})).then((function(t){return t&&t.googlePersonalizationData?t.googlePersonalizationData.consentValue:t}))}function R(t){return P(Object.assign({},t,{noConsent:"resolve",type:"usp"}))}function C(t){return P(Object.assign({},t,{type:"vendor"}))}function k(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.mem,r=void 0===n?[]:n,o=e.type,i=void 0===o?"":o,a=e.win,u=void 0===a?window:a,s=!0;return P({mem:r,type:i,win:u}).then((function(e){s&&t(null,e)})).catch((function(e){s&&t(e,null)})),function(){s=!1}}function M(t,e){return k((function(e,n){e?t(e,null):t(null,n.consentData)}),e)}function A(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return k((function(e,n){e?t(e,null):t(null,n.googlePersonalizationData.consentValue)}),Object.assign({},e,{type:"google"}))}function D(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.mem,r=void 0===n?[]:n,o=e.win,i=void 0===o?window:o,a=!0;return P({mem:r,type:"usp",win:i}).then((function(e){a&&t(null,e)})).catch((function(e){a&&t(e,null)})),function(){a=!1}}function N(t,e){return k((function(e,n){e?t(e,null):t(null,n)}),Object.assign({},e,{type:"vendor"}))}r.d(n,"getConsentData",(function(){return P})),r.d(n,"getConsentString",(function(){return j})),r.d(n,"getGoogleConsent",(function(){return L})),r.d(n,"getUSPString",(function(){return R})),r.d(n,"getVendorConsentData",(function(){return C})),r.d(n,"onConsentData",(function(){return k})),r.d(n,"onConsentString",(function(){return M})),r.d(n,"onGoogleConsent",(function(){return A})),r.d(n,"onUSPString",(function(){return D})),r.d(n,"onVendorConsent",(function(){return N})),r.d(n,"createMem",(function(){return I})),r.d(n,"uspApplies",(function(){return c})),r.d(n,"uspOptsOut",(function(){return l}))}]);function o(t){for(var e=t.split("."),n=[],r=e.length-1;r>=0&&(n.push(e[r]),!(1!==n.length&&e[r].length>3));r--);return n.reverse().join(".")}function i(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(t){var e=16*Math.random()|0;return("x"===t?e:3&e|8).toString(16)}))}function a(){var t=navigator.userAgent||"";return/(tablet|ipad|playbook|silk)|(android(?!.*mobi))/i.test(t)||/Mobile|iP(hone|od)|Android|BlackBerry|IEMobile|Kindle|Silk-Accelerated|(hpw|web)OS|Opera M(obi|ini)/.test(t)?"1":"2"}function u(t,e){if(t)if(Array.isArray(t))t.forEach((function(t){return u(t)}));else{var n=document.createElement("img");n.src=t,n.width=1,n.height=1,e&&(n.onload=function(){return e()},n.onerror=function(){return e(new Error)}),document.body.appendChild(n)}}function s(t,e,n){if("IntersectionObserver"in window){var r,o=null;r=new window.IntersectionObserver((function(t){!function(t){if(t){if(null!==o)return;o=setTimeout((function(){n(),r.disconnect(),o=null,r=null}),3e3)}else clearTimeout(o),o=null}(t[t.length-1].isIntersecting)}),{threshold:.5}),document.addEventListener("visibilitychange",(function(){document.hidden?(clearTimeout(o),r&&r.unobserve(t),o=null):r&&r.observe(t)})),r.observe(t)}}function c(t,e){for(var n=t.slice();n.length>e;)n.splice(Math.floor(Math.random()*n.length),1);return n}function l(t){return f.apply(this,arguments)}function f(){return(f=n(regeneratorRuntime.mark((function t(e){var n,r,o,i;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.gdpr,r=e.gdprConsent,t.next=3,fetch("https://vpaid.vidoomy.com/sync/urls.json",{credentials:"include"}).then((function(t){return t.json()}));case 3:o=t.sent,i=c(o,5),function t(){i.length>0&&u(i.shift().replace(/{{1,2}gdpr}{1,2}/i,n||0).replace(/{{1,2}gdpr_consent}{1,2}/i,r||""),(function(){setTimeout((function(){return t()}),1e3)}))}();case 7:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function h(t){return"SCRIPT"===t.tagName}function p(t){var e=document.createElement("script");e.text=t.innerHTML;for(var n,r=-1,o=t.attributes;++r
'.concat(c.adm,"
")),h.contentDocument.body.firstChild.addEventListener("click",(function(){u(c.click)}),{capture:!0,once:!0}),h.width=h.contentWindow.outerWidth,h.height=h.contentWindow.outerHeight,s(h,0,(function(){u(c.vimpression)})),u(c.impression),d(h.contentDocument.body.firstChild),t.next=30;break;case 28:t.prev=28,t.t0=t.catch(6);case 30:case"end":return t.stop()}}),t,null,[[6,28]])})))).apply(this,arguments)}window.VD_CONFIG&&Object.assign(y,window.VD_CONFIG),function(){x.apply(this,arguments)}()}();