try { window.ELEMENT_ANALYZER_VERSION=21;!function(){"use strict";function t(t,n){if(t){if("string"==typeof t)return e(t,n);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?e(t,n):void 0}}function e(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function n(e){var n,r={},i=function(e,n){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=t(e))){r&&(e=r);var i=0,o=function(){};return{s:o,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,l=!0,c=!1;return{s:function(){r=r.call(e)},n:function(){var t=r.next();return l=t.done,t},e:function(t){c=!0,a=t},f:function(){try{l||null==r.return||r.return()}finally{if(c)throw a}}}}(e.querySelectorAll("[ez-t], [ez-ai='true']"));try{var o=function(){var e=n.value,i=e.getAttribute("ez-l");if("video"===i||"video"===e.getAttribute("ez-dt"))return"continue";var o=e.hasAttribute("ez-t")?e.getAttribute("ez-t"):i,a=function(t){return t.includes("floating")||t.includes("edge")}(i),l=e.getAttribute("ez-s").split(",");if(0===l.length)return"continue";var c=0,u=0;l.forEach((function(e){var n,r,i=(n=e.split("x").map(Number),r=2,function(t){if(Array.isArray(t))return t}(n)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,i,o,a,l=[],c=!0,u=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=o.call(n)).done)&&(l.push(r.value),l.length!==e);c=!0);}catch(t){u=!0,i=t}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw i}}return l}}(n,r)||t(n,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),o=i[0],a=i[1];c=o>c?o:c,u=a>u?a:u})),r[o]={width:c,height:u,positionType:i,isFloating:a}};for(i.s();!(n=i.n()).done;)o()}catch(t){i.e(t)}finally{i.f()}return r}function r(t){if(t.classList.contains("ezoic-autoinsert-ad")&&t.classList.length>1)return function(t){return t.classList.contains("ezoic-autoinsert-ad")?Array.from(t.classList).find((function(t){return t.startsWith("ezoic-")&&"ezoic-autoinsert-ad"!==t})).replace("ezoic-",""):""}(t);var e=t.id.match(/(\d{1,3})$/);return e&&0!==e.length?e[0]:void 0}function i(t,e){if(t){if("string"==typeof t)return o(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(t,e):void 0}}function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function a(t){var e,n={},r=function(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=i(t))){n&&(t=n);var r=0,o=function(){};return{s:o,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,l=!0,c=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return l=t.done,t},e:function(t){c=!0,a=t},f:function(){try{l||null==n.return||n.return()}finally{if(c)throw a}}}}(t.querySelectorAll("[ez-l='video'], [ez-dt='video']"));try{var o=function(){var t=e.value,r=t.getAttribute("ez-l"),o=t.hasAttribute("ez-t")?t.getAttribute("ez-t"):r,a=t.getAttribute("ez-s").split(",");if(0===a.length)return"continue";var l=0,c=0;a.forEach((function(t){var e,n,r=(e=t.split("x").map(Number),n=2,function(t){if(Array.isArray(t))return t}(e)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,i,o,a,l=[],c=!0,u=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=o.call(n)).done)&&(l.push(r.value),l.length!==e);c=!0);}catch(t){u=!0,i=t}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw i}}return l}}(e,n)||i(e,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),o=r[0],a=r[1];l=o>l?o:l,c=a>c?a:c})),n[o]={width:l,height:c,positionType:r}};for(r.s();!(e=r.n()).done;)o()}catch(t){r.e(t)}finally{r.f()}return n}function l(t){return Math.max(t.offsetHeight,t.scrollHeight,t.clientHeight)}function c(t){return Math.max(t.offsetWidth,t.scrollWidth,t.clientWidth)}function u(t,e){if("PL"===e){var i=l(t),o=c(t),u=document.createElement("div");u.style.width="".concat(o,"px"),u.style.height="".concat(i,"px"),function(t){t.className+=t.className.length>0?" imagination":"imagination",t.style.position="absolute",t.style.left="-9999px",t.style.visibility="hidden",t.style.opacity=0}(u);var d=t.cloneNode(!0);return u.appendChild(d),document.body.parentElement.appendChild(u),s(d),function(t,e){if("PL"===e){!function(t){for(var e=t.querySelectorAll(".ezoic-ad, [data-ez-ph-id], *[class^=ezo_link_unit_], *[class^=ezflad-], amp-ad[type=ezoic]"),n=0;n<e.length;n++)e[n].parentNode.removeChild(e[n])}(t);var i=n(t);t.querySelectorAll("[id^=ezoic-pub-ad-placeholder-], .ezoic-autoinsert-ad").forEach((function(t){var e,n=r(t),o=i[n];void 0!==o?(o.isFloating&&!o.positionType.includes("sidebar_floating_")&&(o.height=0,o.width=0,t.setAttribute("if",!0)),f(t,o),t.setAttribute("pt",o.positionType),t.setAttribute("pht",(e=t).classList.contains("ezoic-autoinsert-ad")?"ai":e.classList.contains("ezoic-adpicker-ad")?"ce":"placement-service"===e.getAttribute("data-method")?"aps":e.getAttribute("data-inserter-version")?"wp":"hc"),t.classList.contains("ezoic-autoinsert-ad")||t.setAttribute("pid",n)):t.remove()}))}}(d,e),function(t,e){if("PL"===e){!function(){for(var t=document.querySelectorAll(".ez-video-container"),e=0;e<t.length;e++)t[e].parentNode.removeChild(t[e])}();var n=a(t);t.querySelectorAll("[id^=ezoic-pub-video-placeholder-], .ezoic-autoinsert-video").forEach((function(t){var e=function(t){if(t.classList.contains("ezoic-autoinsert-video"))return function(t){return t.classList.contains("ezoic-autoinsert-video")?Array.from(t.classList).find((function(t){return t.startsWith("ezoic-")&&"ezoic-autoinsert-video"!==t})).replace("ezoic-",""):""}(t);var e=t.id.match(/(\d{1,3})$/);return e&&0!==e.length?e[0]:void 0}(t),r=n[e];if(void 0!==r){f(t,r);var i,o=t.classList.contains("ezoic-autoinsert-video");o&&t.setAttribute("pt",r.positionType),o||t.setAttribute("pid",e),t.setAttribute("pht",(i=t).classList.contains("ezoic-autoinsert-video")?"ai":i.classList.contains("ezoic-videopicker-video")?"ce":"hc")}else t.remove()}))}}(d,e),u}}function s(t){if(void 0!==t.children)for(var e=t.children.length-1;e>=0;e--){var n=t.children[e];switch(n.tagName){case"SCRIPT":case"STYLE":t.removeChild(n);break;case"IMAGE":case"VIDEO":n.style.width=n.offsetWidth,n.style.height=n.offsetHeight,n.removeAttribute("src");break;default:s(n)}}}function f(t,e){t.style.height=e.height+"px",t.style.width=e.width+"px",t.style.margin="15px auto",t.style.display="block",t.style.textAlign="center",t.style.float="none"}function d(t){return d="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},d(t)}function h(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,(void 0,i=function(t,e){if("object"!==d(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,"string");if("object"!==d(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(r.key),"symbol"===d(i)?i:String(i)),r)}var i}function y(t,e,n){return e&&h(t.prototype,e),n&&h(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}var p=y((function t(e,n,r,i,o,a,l){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.x=e,this.y=n,this.h=r,this.w=i,this.z=o,this.t=a,this.tt=l}));function v(t,e,n){n&&function(t,e){var n="";switch(e){case"text":n=b;break;case"image":n=m;break;case"iframe":n=g;break;case"form":n=w;break;case"container":n=A;break;case"placeholder":n=S}t.style.borderStyle="solid",t.style.borderColor=n,"placeholder"===e&&(t.style.backgroundColor="red",t.style.border="1px solid black",t.style.display="inline-block")}(t,e);var r=t.getBoundingClientRect(),i=Math.round(r.left+window.scrollX),o=Math.round(r.top+window.scrollY),a=window.getComputedStyle(t).getPropertyValue("z-index"),l=Math.max(t.offsetHeight,t.scrollHeight,t.clientHeight),c=Math.max(t.offsetWidth,t.scrollWidth,t.clientWidth),u=new p(i,o,l,c,a,e,t.tagName);return"placeholder"!==e&&"video-placeholder"!==e||(u.pt=t.getAttribute("pt"),u.pht=t.getAttribute("pht"),u.if="true"==t.getAttribute("if"),t.hasAttribute("pid")&&(u.pid=parseInt(t.getAttribute("pid")))),u}var b="black",m="green",g="blue",w="brown",A="red",S="purple";function z(t){return z="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},z(t)}function E(t,e){if(t){if("string"==typeof t)return C(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?C(t,e):void 0}}function C(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function O(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,(void 0,i=function(t,e){if("object"!==z(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,"string");if("object"!==z(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(r.key),"symbol"===z(i)?i:String(i)),r)}var i}var N=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.elementCount=0,this.visualize=e,this.debug=n}var e,n;return e=t,(n=[{key:"findImportantElements",value:function(t,e,n){var r=this.getType(t);if("nocontent"===r||"notvisible"===r)return null;if(""!==r)return this.elementCount++,v(t,r,this.visualize);var i,o=[];for(var a in t.children){var l=t.children[a],c=this.findImportantElements(l,t.offsetWidth,t.offsetHeight);null!==c&&(Array.isArray(c)?o.push.apply(o,function(t){if(Array.isArray(t))return C(t)}(i=c)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(i)||E(i)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()):o.push(c))}if(0===o.length)return null;if("BODY"===t.tagName||t.offsetHeight<n||t.offsetWidth<e){r=this.containsContent(t)?"text":"container",this.elementCount++;var u=v(t,r,this.visualize);return u.c=o,u}return o}},{key:"getType",value:function(t){if(!(t instanceof Element))return"nocontent";if("SPAN"===t.tagName&&"reportline"===t.className)return"nocontent";if(t.id.includes("div-gpt-ad-"))return"nocontent";if("ez-cookie-dialog-wrapper"===t.id||"ez-cookie-loader-wrapper"===t.id)return"nocontent";if(t.classList.contains("ez-CCPA"))return"nocontent";if(function(t){return!(!t.id.includes("ezoic-pub-ad-placeholder-")&&!t.classList.contains("ezoic-autoinsert-ad")||!r(t))}(t))return"placeholder";if(function(t){return!(!t.id.includes("ezoic-pub-video-placeholder-")&&!t.classList.contains("ezoic-autoinsert-video"))}(t))return"video-placeholder";switch(t.tagName){case"P":if(this.getChildrenCount(t)>0)break;return"text";case"SCRIPT":return"nocontent";case"IMG":return"image";case"IFRAME":return"iframe";case"FORM":return"form"}return 0===this.getChildrenCount(t)?this.containsContent(t)&&function(t){var e=t.getBoundingClientRect(),n=0===e.height&&0===e.width;if("function"===!z(t.checkVisibility)){var r="none"===window.getComputedStyle(t).display;return!n&&!r}return t.checkVisibility({checkOpacity:!0,checkVisibilityCSS:!0})&&!n}(t)?"text":"nocontent":""}},{key:"containsContent",value:function(t){if(0===this.getChildrenCount(t))return 0!==t.textContent.trim().length;var e,n=function(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=E(t))){n&&(t=n);var r=0,i=function(){};return{s:i,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,l=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return a=t.done,t},e:function(t){l=!0,o=t},f:function(){try{a||null==n.return||n.return()}finally{if(l)throw o}}}}(t.childNodes);try{for(n.s();!(e=n.n()).done;){var r=e.value;if(r.nodeType===Node.TEXT_NODE&&0!==r.nodeValue.trim().length)return!0}}catch(t){n.e(t)}finally{n.f()}return!1}},{key:"getChildrenCount",value:function(t){return void 0!==t.children?t.children.length:0}}])&&O(e.prototype,n),Object.defineProperty(e,"prototype",{writable:!1}),t}(),T=N;!function t(){if("complete"===document.readyState){if(void 0!==window.ELEMENT_ANALYZER_VERSION){var e=500,r=window.ELEMENT_ANALYZER_VERSION,i=window.location.search,o=new URLSearchParams(i),a="1"===o.get("ez_adan_vis"),s="1"===o.get("ez_adan_debug"),f="undefined"!=typeof _ezaq?_ezaq.url:window.location.href;-1!==f.indexOf("#")&&(f=f.substring(0,f.indexOf("#")));var d=u(document.body,"PL"),h=d.children[0],y=new T(a,s),p=y.findImportantElements(h,h.offsetWidth,h.offsetHeight);d.remove();var v=n(document.body),b=function(t){return t?Object.keys(t).length:0}(v),m=0;Object.values(v).forEach((function(t){t.hasOwnProperty("isFloating")&&t.isFloating&&m++}));var g=l(document.body),w=c(document.body),A={u:f,wh:window.innerHeight,ww:window.innerWidth,dh:g,dw:w,l:p,sv:r,pvid:window._ezaq?window._ezaq.page_view_id:"",ma:window._ezaq?window._ezaq.max_ads:-1,fc:m,pop:b};if(void 0!==window._ezaq&&null!==window._ezaq&&(A.d=_ezaq.domain_id,A.ff=_ezaq.form_factor_id),fetch("https://g.ezoic.net/detroitchicago/adan",{method:"POST",headers:{Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify(A)}),s){var S=(new TextEncoder).encode(JSON.stringify(A)).length/1024,z=S/1024;console.log("**** ELEMENT ANALYZER SCRIPT DEBUG INFO ****"),console.log("JSON: ".concat(JSON.stringify(A))),console.log("Element Node Count: ".concat(y.elementCount)),console.log("JSON Size KB: ".concat(S)),console.log("JSON Size MB: ".concat(z))}}}else setTimeout(t,e)}()}();} catch(err) {var hREED = function(er) {return function() {reportEzError(er, "/elementanalyzer.js")}}; typeof reportEzError==="function"?hREED(err):window.addEventListener('reportEzErrorDefined',hREED(err), {once: true}); console.error(err);}