{"webLayers":[{"_id":"61d8abd91122a02fa8bb66b0","date_filter":{"enabled":false,"from_date":null,"to_date":null},"trigger":{"include_pages":[{"type":"any"}],"exclude_pages":null},"device_target":{"type":"any"},"frequency":"until_visitor_interacts","uses_personalization":true,"data":"","variables_target":null,"page_vars":[]},{"_id":"6239bace043896161ece9b6e","date_filter":{"enabled":false,"from_date":null,"to_date":null},"trigger":{"include_pages":[{"type":"any"}],"exclude_pages":null},"device_target":{"type":"any"},"frequency":"always","uses_personalization":true,"data":"","variables_target":null,"page_vars":[]},{"_id":"65411a1471aa690677fa0734","date_filter":{"enabled":false,"from_date":null,"to_date":null},"trigger":{"include_pages":[{"url":"/retailers","type":"contains"}],"exclude_pages":null},"device_target":{"type":"any"},"frequency":"always","uses_personalization":true,"data":"","variables_target":null,"page_vars":[]},{"_id":"668ff290978ad56a4dd9ec87","date_filter":{"enabled":false,"from_date":null,"to_date":null},"trigger":{"include_pages":[{"url":"michiganlottery.com/retailers","type":"contains"}],"exclude_pages":[{"url":"/retailers/faq","type":"contains"}]},"device_target":{"type":"any"},"frequency":"always","uses_personalization":true,"data":"","variables_target":null,"page_vars":[]},{"_id":"67603398e9d7e551afcf4e5e","date_filter":{"enabled":false,"from_date":1733979600,"to_date":1734065999},"trigger":{"include_pages":[{"type":"regex","regex":"^/retailers.*[?\u0026]utm_medium=email"}],"exclude_pages":null},"device_target":{"type":"any"},"frequency":"only_once","uses_personalization":true,"data":"","variables_target":null,"page_vars":[]},{"_id":"682f7b701689da4a27493ca9","date_filter":{"enabled":true,"from_date":1748016000,"to_date":1748231999},"trigger":{"include_pages":[{"type":"any"}],"exclude_pages":null},"device_target":{"type":"any"},"frequency":"only_once","uses_personalization":true,"data":"","variables_target":null,"page_vars":[]},{"_id":"6851abb01033f5b8cd305b8e","date_filter":{"enabled":true,"from_date":1750219200,"to_date":1750651199},"trigger":{"include_pages":[{"url":"/retailers","type":"exact"}],"exclude_pages":null},"device_target":{"type":"any"},"frequency":"only_once","uses_personalization":true,"data":"","variables_target":null,"page_vars":[]},{"_id":"6851c0201033f5b8cd305b9e","date_filter":{"enabled":true,"from_date":1750420800,"to_date":1750564799},"trigger":{"include_pages":[{"url":"/","type":"contains"},{"url":"https://www.michiganlottery.com?","type":"contains"},{"url":"https://www.michiganlottery.com/?","type":"contains"}],"exclude_pages":[{"url":"/responsible-gaming","type":"contains"}]},"device_target":{"type":"any"},"frequency":"only_once","uses_personalization":true,"data":"","variables_target":null,"page_vars":[]},{"_id":"68a3850901d92618800262b4","date_filter":{"enabled":true,"from_date":1756353600,"to_date":null},"trigger":{"include_pages":[{"url":"param=qr","type":"contains"},{"url":"\u0026bc=50FREE","type":"contains"}],"exclude_pages":null},"device_target":{"type":"any"},"frequency":"always","uses_personalization":true,"data":"","variables_target":null,"page_vars":[]},{"_id":"68b87beda57c3372ecee04d9","date_filter":{"enabled":true,"from_date":1757044800,"to_date":1757125800},"trigger":{"include_pages":[{"url":"/","type":"contains"},{"url":"https://www.michiganlottery.com?","type":"contains"},{"url":"https://www.michiganlottery.com/?","type":"contains"}],"exclude_pages":[{"url":"/responsible-gaming","type":"contains"},{"url":"widgets","type":"contains"},{"url":"platform=iOS","type":"contains"}]},"device_target":{"type":"any"},"frequency":"only_once","uses_personalization":true,"data":"","variables_target":null,"page_vars":[]},{"_id":"68eebb87e0104e06bf3aedc0","date_filter":{"enabled":false,"from_date":null,"to_date":null},"trigger":{"include_pages":[{"url":"/unsubscribe?from=email","type":"contains"}],"exclude_pages":null},"device_target":{"type":"any"},"frequency":"always","uses_personalization":true,"data":"","variables_target":null,"page_vars":[]},{"_id":"6a3d386ac8a24c1bafbe8980","date_filter":{"enabled":true,"from_date":1783051200,"to_date":1783306800},"trigger":{"include_pages":[{"type":"regex","regex":"michiganlottery.com($|\\/$|\\/\\?)"}],"exclude_pages":null},"device_target":{"type":"any"},"frequency":"always","uses_personalization":true,"data":"","variables_target":null,"page_vars":[]},{"_id":"6a3d386ac8a24c1bafbe8985","date_filter":{"enabled":true,"from_date":1783051200,"to_date":1783306800},"trigger":{"include_pages":[{"url":"/games","type":"contains"}],"exclude_pages":null},"device_target":{"type":"any"},"frequency":"always","uses_personalization":true,"data":"","variables_target":null,"page_vars":[]},{"_id":"6a3d386ac8a24c1bafbe898a","date_filter":{"enabled":true,"from_date":1783051200,"to_date":1783306800},"trigger":{"include_pages":[{"type":"regex","regex":"/"},{"url":"https://www.michiganlottery.com/?","type":"contains"},{"url":"https://www.michiganlottery.com?","type":"contains"}],"exclude_pages":[{"url":"/responsible-gaming","type":"contains"}]},"device_target":{"type":"any"},"frequency":"only_once","uses_personalization":true,"data":"","variables_target":null,"page_vars":[]},{"_id":"6a4e85642fa8738de7e1758b","date_filter":{"enabled":true,"from_date":1783537200,"to_date":1783569599},"trigger":{"include_pages":[{"type":"any"}],"exclude_pages":null},"device_target":{"type":"any"},"frequency":"only_once","uses_personalization":true,"data":"","variables_target":null,"page_vars":[]},{"_id":"6a4f9d20ed11b02958c228a0","date_filter":{"enabled":true,"from_date":1784185200,"to_date":1784271600},"trigger":{"include_pages":[{"type":"any"}],"exclude_pages":null},"device_target":{"type":"any"},"frequency":"only_once","uses_personalization":true,"data":"","variables_target":null,"page_vars":[]},{"_id":"6a50f94bd19346a2b527ff45","date_filter":{"enabled":true,"from_date":1784185200,"to_date":1784271600},"trigger":{"include_pages":[{"type":"regex","regex":"michiganlottery.com($|\\/$|\\/\\?)"}],"exclude_pages":[{"url":"?goatcheese","type":"contains"}]},"device_target":{"type":"any"},"frequency":"always","uses_personalization":true,"data":"","variables_target":null,"page_vars":[]},{"_id":"6a50f96e4981d39dd315083d","date_filter":{"enabled":true,"from_date":1784271600,"to_date":1784278800},"trigger":{"include_pages":[{"type":"regex","regex":"michiganlottery.com($|\\/$|\\/\\?)"}],"exclude_pages":null},"device_target":{"type":"any"},"frequency":"always","uses_personalization":true,"data":"","variables_target":null,"page_vars":[]},{"_id":"6a55017f7806babbda3ab69d","date_filter":{"enabled":true,"from_date":1783965600,"to_date":1784001599},"trigger":{"include_pages":[{"type":"any"}],"exclude_pages":null},"device_target":{"type":"any"},"frequency":"only_once","uses_personalization":true,"data":"","variables_target":null,"page_vars":[]},{"_id":"6a57a76f56193d4d6addcbb1","date_filter":{"enabled":false,"from_date":null,"to_date":null},"trigger":{"include_pages":[{"type":"regex","regex":"^https:\\/\\/www\\.michiganlottery\\.com\\/?(?:\\?.*)?$"}],"exclude_pages":null},"device_target":{"type":"any"},"frequency":"always","uses_personalization":true,"data":"","variables_target":null,"page_vars":[]},{"_id":"6a6215a03b6aef4b1708f188","date_filter":{"enabled":true,"from_date":1784901600,"to_date":1784951940},"trigger":{"include_pages":[{"type":"any"}],"exclude_pages":null},"device_target":{"type":"any"},"frequency":"only_once","uses_personalization":true,"data":"","variables_target":null,"page_vars":[]},{"_id":"6a6625fa45a63d00ca7e1a13","date_filter":{"enabled":true,"from_date":null,"to_date":1785203700},"trigger":{"include_pages":[{"type":"regex","regex":"michiganlottery.com($|\\/$|\\/\\?)"}],"exclude_pages":[{"url":"?test-banner-stuff","type":"contains"}]},"device_target":{"type":"any"},"frequency":"always","uses_personalization":true,"data":"","variables_target":null,"page_vars":[]},{"_id":"6a6626b5e33e0de71931d251","date_filter":{"enabled":true,"from_date":1785204000,"to_date":1785293100},"trigger":{"include_pages":[{"type":"regex","regex":"michiganlottery.com($|\\/$|\\/\\?)"}],"exclude_pages":[{"url":"/?goatcheese","type":"contains"}]},"device_target":{"type":"any"},"frequency":"always","uses_personalization":true,"data":"","variables_target":null,"page_vars":[]},{"_id":"6a679a40576628e7460aeb33","date_filter":{"enabled":true,"from_date":1785124800,"to_date":1785211199},"trigger":{"include_pages":[{"url":"/","type":"contains"},{"url":"https://www.michiganlottery.com?","type":"contains"},{"url":"https://www.michiganlottery.com/?","type":"contains"}],"exclude_pages":[{"url":"/resources","type":"contains"},{"url":"/games","type":"contains"},{"url":"/promotions","type":"contains"},{"url":"/responsible-gaming","type":"contains"},{"url":"/coupons","type":"contains"}]},"device_target":{"type":"any"},"frequency":"always","uses_personalization":true,"data":"","variables_target":null,"page_vars":[]},{"_id":"6a679ebe7cc30ca99ad9b1ec","date_filter":{"enabled":true,"from_date":1785211200,"to_date":1785297599},"trigger":{"include_pages":[{"url":"/","type":"contains"},{"url":"https://www.michiganlottery.com?","type":"contains"},{"url":"https://www.michiganlottery.com/?","type":"contains"}],"exclude_pages":[{"url":"/resources","type":"contains"},{"url":"/games","type":"contains"},{"url":"/promotions","type":"contains"},{"url":"/responsible-gaming","type":"contains"},{"url":"/coupons","type":"contains"}]},"device_target":{"type":"any"},"frequency":"always","uses_personalization":true,"data":"","variables_target":null,"page_vars":[]}],"experiments":[],"constantManagedTags":[{"uses_overlay":false,"type":"js","parametrized_definition":"var data = localStorage.getItem('NeoGames_113_DBG_GAMES_DO')\r\nvar json = JSON.parse(data)\r\nvar powerballJackpotWhenLastSeen = json[\"500\"][\"EstimatedJackpot\"]\r\nvar powerballDrawDateWhenLastSeen = json[\"500\"][\"Draws\"][\"0\"][\"DrawDateRaw\"]\r\nvar powerballTimeUntilDrawingWhenLastSeen = json[\"500\"][\"Draws\"][\"0\"][\"TimeLeftToGameMS\"]\r\nvar powerballJackpotDrawIDLastSeen = json[\"500\"][\"Draws\"][\"0\"][\"DrawId\"]\r\n\r\nif (Date.now()-json[\"500\"][\"lastUpdated\"] \u003c 600000) {\r\n\texponea.update({'Powerball_Jackpot_When_Last_Seen': powerballJackpotWhenLastSeen});\r\n\texponea.update({'Powerball_Draw_Date_When_Last_Seen': powerballDrawDateWhenLastSeen});\r\n\texponea.update({'Powerball_Time_Until_Drawing_When_Last_Seen_Milliseconds': powerballTimeUntilDrawingWhenLastSeen});\r\n\texponea.update({'Powerball_Jackpot_DrawID_Last_Seen': powerballJackpotDrawIDLastSeen});\r\n}\r\n","trigger":{"include_pages":[{"type":"any"}],"exclude_pages":null},"_id":"64b180bbdf2f3ca7e4186b1a"},{"uses_overlay":false,"type":"js","parametrized_definition":"var data = localStorage.getItem('NeoGames_113_DBG_GAMES_DO');\nvar json = JSON.parse(data);\nvar megaJackpotWhenLastSeen = json[\"502\"][\"EstimatedJackpot\"];\nvar megaDrawDateWhenLastSeen = json[\"502\"][\"Draws\"][\"0\"][\"DrawDateRaw\"];\nvar megaTimeUntilDrawingWhenLastSeen = json[\"502\"][\"Draws\"][\"0\"][\"TimeLeftToGameMS\"];\nvar megaJackpotDrawIDLastSeen = json[\"502\"][\"Draws\"][\"0\"][\"DrawId\"];\n\nif (Date.now()-json[\"502\"][\"lastUpdated\"] \u003c 600000) {\n\texponea.update({'Mega_Jackpot_When_Last_Seen': megaJackpotWhenLastSeen });\n\texponea.update({'Mega_Draw_Date_When_Last_Seen': megaDrawDateWhenLastSeen });\n\texponea.update({'Mega_Time_Until_Drawing_When_Last_Seen': megaTimeUntilDrawingWhenLastSeen });\n\texponea.update({'Mega_Jackpot_DrawID_Last_Seen': megaJackpotDrawIDLastSeen });\n}\n\n\n","trigger":{"include_pages":[{"type":"any"}],"exclude_pages":null},"_id":"64b18659eb58e9e40fb21be3"},{"uses_overlay":false,"type":"js","parametrized_definition":"/*\n// Wait for the DOM to be completely loaded\ndocument.addEventListener('DOMContentLoaded', function() {\n  // Check if ng_fw is defined\n  if (typeof ng_fw !== 'undefined') {\n    // ng_fw is loaded\n   exponea.update({ 'ng_frame_work_loaded': 'Yes' });\n  } else {\n    // ng_fw is not loaded\n   exponea.update({ 'ng_frame_work_loaded': 'No' });\n  }\n});\n*/\n\n// Set up an interval to check every 5 seconds\nconst checkInterval = setInterval(checkAndReport, 5000); \nlet checkCount = 0;\n\n// Define a function to check ng_fw and update Exponea\nfunction checkAndReport() {\n  if (typeof ng_fw !== 'undefined') {\n    // ng_fw is loaded\n    clearInterval(checkInterval); // Stop checking\n    exponea.update({ 'NPI_Widgets_Loaded': 'Yes' });\n  } else {\n    checkCount++;\n    if (checkCount \u003e= 3) {\n      // Failed to load ng_fw after three checks\n      clearInterval(checkInterval); // Stop checking\n      exponea.update({ 'NPI_Widgets_Loaded': 'No' });\n    }\n  }\n}\n\n// Initial check\ncheckAndReport();\n","trigger":{"include_pages":[{"type":"any"}],"exclude_pages":null},"_id":"650af38680cfb36d37f6ed67"},{"uses_overlay":false,"type":"js","parametrized_definition":"function waitForElement(selector, timeout = 5000) {\n  return new Promise((resolve, reject) =\u003e {\n    const element = document.querySelector(selector);\n    if (element) {\n      resolve(element);\n      return;\n    }\n\n    const timer = setTimeout(() =\u003e {\n      observer.disconnect();\n      reject(`Element with selector \"${selector}\" not found within ${timeout}ms`);\n    }, timeout);\n\n    const observer = new MutationObserver(() =\u003e {\n      const element = document.querySelector(selector);\n      if (element) {\n        clearTimeout(timer);\n        observer.disconnect();\n        resolve(element);\n      }\n    });\n\n    observer.observe(document.body, {\n      childList: true,\n      subtree: true,\n    });\n  });\n}\n\nfunction bindWinnerStoriesEvents() {\n  document.querySelectorAll('.bws-filter-btn').forEach(btn =\u003e {\n    btn.addEventListener('click', () =\u003e {\n  const filter = btn.dataset.filter;\n\n  // Update card visibility\n  document.querySelectorAll('.bws-story-card').forEach(card =\u003e {\n    card.style.display = (filter === 'all' || card.dataset.type === filter) ? 'block' : 'none';\n  });\n\n  // Update active button styling\n  document.querySelectorAll('.bws-filter-btn').forEach(b =\u003e b.classList.remove('active'));\n  btn.classList.add('active');\n});\n  });\n\n  document.querySelectorAll('.bws-element-toggle').forEach(btn =\u003e {\n    btn.addEventListener('click', () =\u003e {\n      const card = btn.closest('.bws-story-card');\n      const fullText = card.querySelector('.bws-element-full');\n      if (fullText \u0026\u0026 card) {\n        // Collapse all other cards\n        document.querySelectorAll('.bws-story-card').forEach(otherCard =\u003e {\n          if (otherCard !== card) {\n            otherCard.classList.remove('expanded');\n            const otherFullText = otherCard.querySelector('.bws-element-full');\n            if (otherFullText) {\n              otherFullText.classList.add('hidden');\n              const toggleBtn = otherCard.querySelector('.bws-element-toggle');\n              if (toggleBtn) toggleBtn.textContent = 'Read more';\n            }\n          }\n        });\n\n        // Toggle this one\n        const isHidden = fullText.classList.contains('hidden');\n        fullText.classList.toggle('hidden');\n        card.classList.toggle('expanded', isHidden);\n        btn.textContent = isHidden ? 'Read less' : 'Read more';\n      }\n    });\n  });\n}\n\nwaitForElement('.bws-container', 10000)\n  .then(() =\u003e bindWinnerStoriesEvents())\n  .catch(console.error);","trigger":{"include_pages":[{"url":"/big-winner-stories","type":"contains"}],"exclude_pages":null},"_id":"684b1f96b6d12b98637184e5"},{"uses_overlay":false,"type":"js","parametrized_definition":"(function setFootballCursor() {\r\n  const ani = 'https://cur.cursors-4u.net/sports/spo-1/spo19.ani';\r\n  const png = 'https://cur.cursors-4u.net/sports/spo-1/spo19.png';\r\n  const style = document.createElement('style');\r\n  style.innerHTML = `\r\n    * {\r\n      cursor: url('${ani}'), url('${png}'), auto !important;\r\n    }\r\n  `;\r\n  document.head.appendChild(style);\r\n})();","trigger":{"include_pages":[{"url":"/lions","type":"exact"}],"exclude_pages":null},"_id":"685dad0fadc9c58ac817a45a"},{"uses_overlay":false,"type":"js","parametrized_definition":"(function() {\n  function hideCTA() {\n    var el = document.querySelector('.winning-numbers-card-top-cta.raffle-cta-container');\n    if (el) {\n      el.style.display = 'none';\n    }\n  }\n\n  // Run once on load\n  hideCTA();\n\n  // Run again if the site is an SPA / content updates\n  const obs = new MutationObserver(() =\u003e hideCTA());\n  obs.observe(document.body, { childList: true, subtree: true });\n})();\n","trigger":{"include_pages":[{"url":"/super-raffle-6","type":"contains"}],"exclude_pages":null},"_id":"691e160327d476457920411d"},{"uses_overlay":false,"type":"js","parametrized_definition":"(function () {\r\n  var NOTICE_ID = \"entries-notice\";\r\n\r\n  // Only run on /my-entries\r\n  if (window.location.pathname !== \"/my-entries\") {\r\n    return;\r\n  }\r\n\r\n  function waitForElement(selector, callback, timeout) {\r\n    var start = Date.now();\r\n    var interval = setInterval(function () {\r\n      var el = document.querySelector(selector);\r\n      if (el) {\r\n        clearInterval(interval);\r\n        callback(el);\r\n      } else if (timeout \u0026\u0026 Date.now() - start \u003e timeout) {\r\n        clearInterval(interval);\r\n      }\r\n    }, 100);\r\n  }\r\n\r\n  waitForElement(\"#my-entries\", function (anchor) {\r\n    if (document.getElementById(NOTICE_ID)) return;\r\n\r\n    var wrapper = document.createElement(\"div\");\r\n    wrapper.id = NOTICE_ID;\r\n\r\n    wrapper.innerHTML = `\r\n      \u003csection class=\"notice\" style=\"margin: 20px auto; max-width: 882px; background: white;\"\u003e\r\n        \u003cdiv class=\"notice__icon\"\u003e\r\n          \u003csvg width=\"36\" height=\"36\" viewBox=\"0 0 36 36\" fill=\"none\" aria-hidden=\"true\" focusable=\"false\"\u003e\r\n            \u003cpath d=\"M17.7764 17.0151L17.7764 11.111\" stroke=\"black\" stroke-width=\"2\" stroke-linecap=\"round\"\u003e\u003c/path\u003e\r\n            \u003cpath d=\"M17.7764 20.7297L17.7764 20.7297\" stroke=\"black\" stroke-width=\"2\" stroke-linecap=\"round\"\u003e\u003c/path\u003e\r\n            \u003cpath d=\"M16.9121 3.5C17.297 2.83353 18.2586 2.83349 18.6436 3.5L30.5762 24.167C30.9606 24.8335 30.4794 25.6668 29.71 25.667H5.8457C5.07615 25.6669 4.59504 24.8335 4.97949 24.167L16.9121 3.5Z\" stroke=\"black\" stroke-width=\"2\"\u003e\u003c/path\u003e\r\n          \u003c/svg\u003e\r\n        \u003c/div\u003e\r\n\r\n        \u003cdiv class=\"notice__content\"\u003e\r\n          \u003cp class=\"notice__message\"\u003e\r\n            Entries for promotional drawings can now be viewed and managed on the My Reward Entries page.\r\n          \u003c/p\u003e\r\n\r\n          \u003ca class=\"btn notice__cta\"\r\n             href=\"https://www.michiganlottery.com/?neodl=promotionaldrawingupcoming\"\r\n             rel=\"noopener noreferrer\"\u003e\r\n            View Entries\r\n          \u003c/a\u003e\r\n        \u003c/div\u003e\r\n      \u003c/section\u003e\r\n    `;\r\n\r\n    var style = document.createElement(\"style\");\r\n    style.innerHTML = `\r\n      #${NOTICE_ID} .notice__content {\r\n        display: flex;\r\n        align-items: center;\r\n        gap: 16px;\r\n        flex-wrap: wrap;\r\n      }\r\n\r\n      #${NOTICE_ID} .notice__message {\r\n        margin: 0;\r\n        flex: 1 1 300px;\r\n      }\r\n\r\n      #${NOTICE_ID} .notice__cta {\r\n        white-space: nowrap;\r\n      }\r\n\r\n      @media (max-width: 600px) {\r\n        #${NOTICE_ID} .notice__cta {\r\n          width: 100%;\r\n          text-align: center;\r\n          margin-bottom: 10px;\r\n        }\r\n      }\r\n    `;\r\n    document.head.appendChild(style);\r\n\r\n    anchor.parentNode.insertBefore(wrapper, anchor);\r\n  }, 10000);\r\n})();","trigger":{"include_pages":[{"url":"michiganlottery.com/my-entries","type":"contains"}],"exclude_pages":null},"_id":"69d5290ddc23b01e33a1696f"}],"vars":{"data":[]}}