'use strict';(function(){var isKasperskyScriptInjected=!!document.querySelector('script[src*="kaspersky"]');var tmpCanvas=document.createElement("canvas");var hasWebGL=!!tmpCanvas.getContext("webgl");var missingFeatures=[];if(!hasWebGL)missingFeatures.push("WebGL");if(typeof WebAssembly==="undefined")missingFeatures.push("WebAssembly");if(!("noModule"in HTMLScriptElement.prototype))missingFeatures.push("JavaScript Modules");if(missingFeatures.length===0&&!isKasperskyScriptInjected)window["C3_IsSupported"]=
true;else{var msgWrap=document.createElement("div");msgWrap.id="notSupportedWrap";document.body.appendChild(msgWrap);var msgTitle=document.createElement("h2");msgTitle.id="notSupportedTitle";if(isKasperskyScriptInjected)msgTitle.textContent="Kaspersky Internet Security broke this export";else msgTitle.textContent="Software update needed";msgWrap.appendChild(msgTitle);var msgBody=document.createElement("p");msgBody.className="notSupportedMessage";var msgText="This content is not supported because your device's software is out-of-date. ";
var ua=navigator.userAgent;if(/android/i.test(ua))msgText+='
On Android, fix this by making sure the Android System Webview app has updates enabled and is up-to-date.';else if(/iphone|ipad|ipod/i.test(ua))msgText+="
Note: using the iOS simulator requires Xcode 12+. Otherwise try testing on a real device instead.";else if(/msie/i.test(ua)||/trident/i.test(ua)||/edge\//i.test(ua))msgText+=
"
Note: Internet Explorer and the legacy Edge browser are not supported. Try using Chrome or Firefox instead.";else if(isKasperskyScriptInjected)msgText="It appears a script was added to this export by Kaspersky software. This prevents the exported project from working. Try disabling Kaspersky and exporting again.";else msgText+="Try installing any available software updates. Alternatively try on a different device.";
msgText+="
Missing features: "+missingFeatures.join(", ")+"
User agent: "+navigator.userAgent+"";msgBody.innerHTML=msgText;msgWrap.appendChild(msgBody)}})();