text: (function(e,t){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=t()}else if(typeof define==="function"&&define.amd){define(["exports"],t)}else{e.adt=e.adt||{};e.adt.system=e.adt.system||{};e.adt.system.version=t()}})(this,function(){"use strict";var e="data/version.json";var t="adt-version";var o=false;function r(e){if(typeof e!=="string"){return{major:0,minor:0,patch:1}}var t=e.split(".");return{major:t.length>0?+t[0]:0,minor:t.length>1?+t[1]:0,patch:t.length>2?+t[2]:1}}function n(e,t){var o=r(t),n=r(e);return n.major>o.major||n.major===o.major&&n.minor>o.minor||n.major===o.major&&n.minor===o.minor&&n.patch>o.patch}function i(t){e=t}function a(r,i){var s="0.0.1";d3.json(e,function(e,o){if(!e&&o.hasOwnProperty("version")&&typeof o.version==="string"){s=o.version}try{var i=localStorage.getItem(t);if(i===null)i="0.0.1";if(n(s,i)){localStorage.setItem(t,s);if(r)r(s,i)}}catch(e){console.error("MissingDOMException: there is no DOM, could not check version")}});if(i&&!o){o=true;setInterval(function(){a(r,false)},1810001)}}function s(){try{var e=localStorage.getItem(t);if(e===null){e="0.0.1";localStorage.setItem(t,e)}}catch(e){console.error("MissingDOMException: there is no DOM, could not read version")}return e}s();return{file:i,current:s,check:a}});