JSFiddle - React, Tailwind, and code Playground

by raviteja gunda

JavaScript

(function ensightenInit() {
  var ensightenOptions = {
    client: "sherwin",
    clientId: 1975,
    publishPath: "prod",
    isPublic: 1,
    serverComponentLocation: "nexus.ensighten.com/sherwin/prod/serverComponent.php",
    staticJavascriptPath: "nexus.ensighten.com/sherwin/prod/code/",
    ns: 'Bootstrapper',
    nexus: "nexus.ensighten.com",
    scUseCacheBuster: "true",
    enableTagAuditBeacon: "false",
    enablePagePerfBeacon: "false",
    registryNs: "ensBootstraps",
    generatedOn: "Thu Aug 29 13:32:24 GMT 2024",
    beaconSamplingSeedValue: 11
  };
  if (!window[ensightenOptions.ns]) {
    window[ensightenOptions.registryNs] || (window[ensightenOptions.registryNs] = {});
    window[ensightenOptions.registryNs][ensightenOptions.ns] = window[ensightenOptions.ns] = function(l) {
      function m(a) {
        this.name = "DependencyNotAvailableException";
        this.message = "Dependency with id " + a + "is missing"
      }

      function n(a) {
        this.name = "BeaconException";
        this.message = "There was an error durring beacon initialization";
        a = a || {};
        this.lineNumber = a.lineNumber || a.line;
        this.fileName = a.fileName
      }

      function q() {
        for (var a = c.dataDefinitionIds.length, b = !0, d = 0; d < a; d++) {
          var f = c.dataDefinitions[c.dataDefinitionIds[d]];
          if (!f ||
            null == f.endRegistration) {
            b = !1;
            break
          }
        }
        b && c.callOnDataDefintionComplete()
      }
      var e = {},
        c = {};
      c.ensightenOptions = ensightenOptions;
      c.scDataObj = {};
      e.version = "1.26.0";
      e.nexus = l.nexus || "nexus.ensighten.com";
      e.rand = -1;
      e.currSec = (new Date).getSeconds();
      e.options = {
        interval: l.interval || 100,
        erLoc: l.errorLocation || e.nexus + "/error/e.gif",
        scLoc: l.serverComponentLocation || e.nexus + "/" + l.client + "/serverComponent.php",
     ...