Exit Full View

Games Cupboard / gamescupboard-client / build / compileSync / main / productionExecutable / kotlin / korlibs-klock.js

(function (root, factory) {
  if (typeof define === 'function' && define.amd)
    define(['exports', './kotlin-kotlin-stdlib-js-ir.js'], factory);
  else if (typeof exports === 'object')
    factory(module.exports, require('./kotlin-kotlin-stdlib-js-ir.js'));
  else {
    if (typeof this['kotlin-kotlin-stdlib-js-ir'] === 'undefined') {
      throw new Error("Error loading module 'korlibs-klock'. Its dependency 'kotlin-kotlin-stdlib-js-ir' was not found. Please, check whether 'kotlin-kotlin-stdlib-js-ir' is loaded prior to 'korlibs-klock'.");
    }
    root['korlibs-klock'] = factory(typeof this['korlibs-klock'] === 'undefined' ? {} : this['korlibs-klock'], this['kotlin-kotlin-stdlib-js-ir']);
  }
}(this, function (_, kotlin_kotlin) {
  'use strict';
  //region block: imports
  var imul = Math.imul;
  var Long = kotlin_kotlin.$_$.xh;
  var numberToLong = kotlin_kotlin.$_$.vd;
  var objectMeta = kotlin_kotlin.$_$.wd;
  var Unit_getInstance = kotlin_kotlin.$_$.k5;
  var compareTo = kotlin_kotlin.$_$.qc;
  var THROW_CCE = kotlin_kotlin.$_$.di;
  var toString = kotlin_kotlin.$_$.ae;
  var getNumberHashCode = kotlin_kotlin.$_$.uc;
  var equals = kotlin_kotlin.$_$.rc;
  var Comparable = kotlin_kotlin.$_$.oh;
  var classMeta = kotlin_kotlin.$_$.pc;
  var hashCode = kotlin_kotlin.$_$.xc;
  var interfaceMeta = kotlin_kotlin.$_$.yc;
  var numberToInt = kotlin_kotlin.$_$.ud;
  var isNaN_0 = kotlin_kotlin.$_$.wi;
  var DoubleCompanionObject_getInstance = kotlin_kotlin.$_$.u4;
  var listOf = kotlin_kotlin.$_$.d9;
  var round = kotlin_kotlin.$_$.fe;
  var lazy = kotlin_kotlin.$_$.yi;
  var KProperty0 = kotlin_kotlin.$_$.df;
  var getPropertyCallableRef = kotlin_kotlin.$_$.vc;
  //endregion
  //region block: pre-declaration
  //endregion
  function _DateTime___init__impl__ifgty2(unixMillis) {
    return unixMillis;
  }
  function _DateTime___get_unixMillis__impl__ofxkzp($this) {
    return $this;
  }
  function Companion() {
    Companion_instance = this;
    this.y1g_1 = new Long(1, 0);
    this.z1g_1 = _DateTime___init__impl__ifgty2(0.0);
    this.a1h_1 = 6.21355968E13;
  }
  Companion.prototype.b1h = function (unix) {
    return _DateTime___init__impl__ifgty2(unix);
  };
  Companion.prototype.c1h = function (unix) {
    return this.b1h(unix.cf());
  };
  Companion.prototype.d1h = function () {
    return _DateTime___init__impl__ifgty2(KlockInternal_getInstance().e1h());
  };
  Companion.prototype.f1h = function () {
    return this.g1h();
  };
  Companion.prototype.h1h = function () {
    return KlockInternal_getInstance().e1h();
  };
  Companion.prototype.g1h = function () {
    return numberToLong(KlockInternal_getInstance().e1h());
  };
  Companion.$metadata$ = objectMeta('Companion');
  var Companion_instance;
  function Companion_getInstance() {
    if (Companion_instance == null)
      new Companion();
    return Companion_instance;
  }
  function _DateTime___get_unixMillisDouble__impl__3dzlsc($this) {
    return _DateTime___get_unixMillis__impl__ofxkzp($this);
  }
  function _DateTime___get_unixMillisLong__impl__sdx9bd($this) {
    return numberToLong(_DateTime___get_unixMillisDouble__impl__3dzlsc($this));
  }
  function DateTime__minus_impl_10njw8($this, other) {
    var tmp$ret$0;
    // Inline function 'com.soywiz.klock.milliseconds' call
    var tmp0__get_milliseconds__kazo1t = _DateTime___get_unixMillisDouble__impl__3dzlsc($this) - _DateTime___get_unixMillisDouble__impl__3dzlsc(other);
    tmp$ret$0 = Companion_getInstance_1().o1h(tmp0__get_milliseconds__kazo1t);
    return tmp$ret$0;
  }
  function DateTime__compareTo_impl_geo3bs($this, other) {
    return compareTo(_DateTime___get_unixMillis__impl__ofxkzp($this), _DateTime___get_unixMillis__impl__ofxkzp(other));
  }
  function DateTime__compareTo_impl_geo3bs_0($this, other) {
    var tmp = $this.p1h_1;
    return DateTime__compareTo_impl_geo3bs(tmp, other instanceof DateTime ? other.p1h_1 : THROW_CCE());
  }
  function DateTime__toString_impl_cnueje($this) {
    return 'DateTime(' + toString(_DateTime___get_unixMillisLong__impl__sdx9bd($this)) + ')';
  }
  function DateTime__hashCode_impl_yf0bc9($this) {
    return getNumberHashCode($this);
  }
  function DateTime__equals_impl_qd7s8j($this, other) {
    if (!(other instanceof DateTime))
      return false;
    var tmp0_other_with_cast = other instanceof DateTime ? other.p1h_1 : THROW_CCE();
    if (!equals($this, tmp0_other_with_cast))
      return false;
    return true;
  }
  function DateTime(unixMillis) {
    Companion_getInstance();
    this.p1h_1 = unixMillis;
  }
  DateTime.prototype.q1h = function (other) {
    return DateTime__compareTo_impl_geo3bs(this.p1h_1, other);
  };
  DateTime.prototype.kc = function (other) {
    return DateTime__compareTo_impl_geo3bs_0(this, other);
  };
  DateTime.prototype.toString = function () {
    return DateTime__toString_impl_cnueje(this.p1h_1);
  };
  DateTime.prototype.hashCode = function () {
    return DateTime__hashCode_impl_yf0bc9(this.p1h_1);
  };
  DateTime.prototype.equals = function (other) {
    return DateTime__equals_impl_qd7s8j(this.p1h_1, other);
  };
  DateTime.$metadata$ = classMeta('DateTime', [Comparable, Serializable]);
  function _Frequency___init__impl__upasnx(hertz) {
    return hertz;
  }
  function _Frequency___get_hertz__impl__9m7k6x($this) {
    return $this;
  }
  function toFrequency(_this__u8e3s4) {
    return get_timesPerSecond(_this__u8e3s4);
  }
  function get_timesPerSecond(_this__u8e3s4) {
    return _Frequency___init__impl__upasnx(1.0 / _TimeSpan___get_seconds__impl__cx2k1c(_this__u8e3s4));
  }
  var KlockLocale_default;
  function TimedResult(result, time) {
    this.r1h_1 = result;
    this.s1h_1 = time;
  }
  TimedResult.prototype.n4 = function () {
    return this.r1h_1;
  };
  TimedResult.prototype.t1h = function () {
    return this.s1h_1;
  };
  TimedResult.prototype.toString = function () {
    return 'TimedResult(result=' + this.r1h_1 + ', time=' + new TimeSpan(this.s1h_1) + ')';
  };
  TimedResult.prototype.hashCode = function () {
    var result = this.r1h_1 == null ? 0 : hashCode(this.r1h_1);
    result = imul(result, 31) + TimeSpan__hashCode_impl_izs3k5(this.s1h_1) | 0;
    return result;
  };
  TimedResult.prototype.equals = function (other) {
    if (this === other)
      return true;
    if (!(other instanceof TimedResult))
      return false;
    var tmp0_other_with_cast = other instanceof TimedResult ? other : THROW_CCE();
    if (!equals(this.r1h_1, tmp0_other_with_cast.r1h_1))
      return false;
    if (!equals(this.s1h_1, tmp0_other_with_cast.s1h_1))
      return false;
    return true;
  };
  TimedResult.$metadata$ = classMeta('TimedResult');
  function measureTimeWithResult(callback) {
    var start = PerformanceCounter_getInstance().u1h();
    var result = callback();
    var end = PerformanceCounter_getInstance().u1h();
    var tmp$ret$0;
    // Inline function 'com.soywiz.klock.microseconds' call
    var tmp0__get_microseconds__mq1imi = end - start;
    tmp$ret$0 = Companion_getInstance_1().v1h(tmp0__get_microseconds__mq1imi);
    var elapsed = tmp$ret$0;
    return new TimedResult(result, elapsed);
  }
  function measureTime(callback) {
    var start = PerformanceCounter_getInstance().u1h();
    callback();
    var end = PerformanceCounter_getInstance().u1h();
    var tmp$ret$0;
    // Inline function 'com.soywiz.klock.microseconds' call
    var tmp0__get_microseconds__mq1imi = end - start;
    tmp$ret$0 = Companion_getInstance_1().v1h(tmp0__get_microseconds__mq1imi);
    return tmp$ret$0;
  }
  function PerformanceCounter() {
    PerformanceCounter_instance = this;
  }
  PerformanceCounter.prototype.u1h = function () {
    return _HRTimeSpan___get_microsecondsDouble__impl__mglvkj(KlockInternal_getInstance().w1h());
  };
  PerformanceCounter.prototype.x1h = function () {
    return get_timeSpan(KlockInternal_getInstance().w1h());
  };
  PerformanceCounter.$metadata$ = objectMeta('PerformanceCounter');
  var PerformanceCounter_instance;
  function PerformanceCounter_getInstance() {
    if (PerformanceCounter_instance == null)
      new PerformanceCounter();
    return PerformanceCounter_instance;
  }
  function Companion_0() {
    Companion_instance_0 = this;
  }
  Companion_0.prototype.d1h = function () {
    return Companion_getInstance().d1h();
  };
  Companion_0.$metadata$ = objectMeta('Companion', [TimeProvider]);
  var Companion_instance_0;
  function Companion_getInstance_0() {
    if (Companion_instance_0 == null)
      new Companion_0();
    return Companion_instance_0;
  }
  function TimeProvider() {
    Companion_getInstance_0();
  }
  TimeProvider.$metadata$ = interfaceMeta('TimeProvider');
  function _TimeSpan___init__impl__hqf6tm(milliseconds) {
    return milliseconds;
  }
  function _TimeSpan___get_milliseconds__impl__pb0we5($this) {
    return $this;
  }
  function _TimeSpan___get_nanoseconds__impl__gaf49o($this) {
    var tmp = _TimeSpan___get_milliseconds__impl__pb0we5($this);
    Companion_getInstance_1();
    return tmp / 1.0E-6;
  }
  function _TimeSpan___get_microseconds__impl__65sv9o($this) {
    var tmp = _TimeSpan___get_milliseconds__impl__pb0we5($this);
    Companion_getInstance_1();
    return tmp / 0.001;
  }
  function _TimeSpan___get_microsecondsInt__impl__sej7yz($this) {
    var tmp = _TimeSpan___get_milliseconds__impl__pb0we5($this);
    Companion_getInstance_1();
    return numberToInt(tmp / 0.001);
  }
  function _TimeSpan___get_seconds__impl__cx2k1c($this) {
    return _TimeSpan___get_milliseconds__impl__pb0we5($this) / get_MILLIS_PER_SECOND();
  }
  function _TimeSpan___get_millisecondsLong__impl__v1fxun($this) {
    return numberToLong(_TimeSpan___get_milliseconds__impl__pb0we5($this));
  }
  function TimeSpan__compareTo_impl_zidry4($this, other) {
    return compareTo(_TimeSpan___get_milliseconds__impl__pb0we5($this), _TimeSpan___get_milliseconds__impl__pb0we5(other));
  }
  function TimeSpan__compareTo_impl_zidry4_0($this, other) {
    var tmp = $this.y1h_1;
    return TimeSpan__compareTo_impl_zidry4(tmp, other instanceof TimeSpan ? other.y1h_1 : THROW_CCE());
  }
  function TimeSpan__unaryMinus_impl_24dqtx($this) {
    return _TimeSpan___init__impl__hqf6tm(-_TimeSpan___get_milliseconds__impl__pb0we5($this));
  }
  function TimeSpan__plus_impl_qdd6zo($this, other) {
    return _TimeSpan___init__impl__hqf6tm(_TimeSpan___get_milliseconds__impl__pb0we5($this) + _TimeSpan___get_milliseconds__impl__pb0we5(other));
  }
  function TimeSpan__minus_impl_5w5v8s($this, other) {
    return TimeSpan__plus_impl_qdd6zo($this, TimeSpan__unaryMinus_impl_24dqtx(other));
  }
  function TimeSpan__times_impl_86ofia($this, scale) {
    return _TimeSpan___init__impl__hqf6tm(_TimeSpan___get_milliseconds__impl__pb0we5($this) * scale);
  }
  function TimeSpan__times_impl_86ofia_0($this, scale) {
    return _TimeSpan___init__impl__hqf6tm(_TimeSpan___get_milliseconds__impl__pb0we5($this) * scale);
  }
  function TimeSpan__div_impl_l42f2r($this, scale) {
    return _TimeSpan___init__impl__hqf6tm(_TimeSpan___get_milliseconds__impl__pb0we5($this) / scale);
  }
  function TimeSpan__div_impl_l42f2r_0($this, other) {
    return _TimeSpan___get_milliseconds__impl__pb0we5($this) / _TimeSpan___get_milliseconds__impl__pb0we5(other);
  }
  function _TimeSpan___get_isNil__impl__cma714($this) {
    return isNaN_0(_TimeSpan___get_milliseconds__impl__pb0we5($this));
  }
  function Companion_1() {
    Companion_instance_1 = this;
    this.i1h_1 = new Long(1, 0);
    this.j1h_1 = 0.001;
    this.k1h_1 = 1.0E-6;
    this.l1h_1 = _TimeSpan___init__impl__hqf6tm(0.0);
    var tmp = this;
    DoubleCompanionObject_getInstance();
    tmp.m1h_1 = _TimeSpan___init__impl__hqf6tm(NaN);
    this.n1h_1 = listOf([60, 60, 24]);
  }
  Companion_1.prototype.z1h = function () {
    return this.l1h_1;
  };
  Companion_1.prototype.a1i = function () {
    return this.m1h_1;
  };
  Companion_1.prototype.o1h = function (ms) {
    var tmp0_subject = ms;
    return tmp0_subject === 0.0 ? this.l1h_1 : _TimeSpan___init__impl__hqf6tm(ms);
  };
  Companion_1.prototype.b1i = function (s) {
    return this.o1h(s * 1.0E-6);
  };
  Companion_1.prototype.v1h = function (s) {
    return this.o1h(s * 0.001);
  };
  Companion_1.prototype.c1i = function (s) {
    return this.o1h(s * get_MILLIS_PER_SECOND());
  };
  Companion_1.$metadata$ = objectMeta('Companion');
  var Companion_instance_1;
  function Companion_getInstance_1() {
    if (Companion_instance_1 == null)
      new Companion_1();
    return Companion_instance_1;
  }
  function TimeSpan__toString_impl_2rdt8q($this) {
    return get_niceStr(_TimeSpan___get_milliseconds__impl__pb0we5($this)) + 'ms';
  }
  function TimeSpan__hashCode_impl_izs3k5($this) {
    return getNumberHashCode($this);
  }
  function TimeSpan__equals_impl_p77wuv($this, other) {
    if (!(other instanceof TimeSpan))
      return false;
    var tmp0_other_with_cast = other instanceof TimeSpan ? other.y1h_1 : THROW_CCE();
    if (!equals($this, tmp0_other_with_cast))
      return false;
    return true;
  }
  function TimeSpan(milliseconds) {
    Companion_getInstance_1();
    this.y1h_1 = milliseconds;
  }
  TimeSpan.prototype.d1i = function (other) {
    return TimeSpan__compareTo_impl_zidry4(this.y1h_1, other);
  };
  TimeSpan.prototype.kc = function (other) {
    return TimeSpan__compareTo_impl_zidry4_0(this, other);
  };
  TimeSpan.prototype.toString = function () {
    return TimeSpan__toString_impl_2rdt8q(this.y1h_1);
  };
  TimeSpan.prototype.hashCode = function () {
    return TimeSpan__hashCode_impl_izs3k5(this.y1h_1);
  };
  TimeSpan.prototype.equals = function (other) {
    return TimeSpan__equals_impl_p77wuv(this.y1h_1, other);
  };
  TimeSpan.$metadata$ = classMeta('TimeSpan', [Comparable, Serializable]);
  function get_milliseconds(_this__u8e3s4) {
    return Companion_getInstance_1().o1h(_this__u8e3s4);
  }
  function get_milliseconds_0(_this__u8e3s4) {
    return Companion_getInstance_1().o1h(_this__u8e3s4);
  }
  function get_seconds(_this__u8e3s4) {
    return Companion_getInstance_1().c1i(_this__u8e3s4);
  }
  function get_nanoseconds(_this__u8e3s4) {
    return Companion_getInstance_1().b1i(_this__u8e3s4);
  }
  function get_seconds_0(_this__u8e3s4) {
    return Companion_getInstance_1().c1i(_this__u8e3s4);
  }
  function get_microseconds(_this__u8e3s4) {
    return Companion_getInstance_1().v1h(_this__u8e3s4);
  }
  function get_microseconds_0(_this__u8e3s4) {
    return Companion_getInstance_1().v1h(_this__u8e3s4);
  }
  function coalesce(_this__u8e3s4, block) {
    return !equals(_this__u8e3s4, Companion_getInstance_1().m1h_1) ? _this__u8e3s4 : block().y1h_1;
  }
  function clamp(_this__u8e3s4, min, max) {
    return TimeSpan__compareTo_impl_zidry4(_this__u8e3s4, min) < 0 ? min : TimeSpan__compareTo_impl_zidry4(_this__u8e3s4, max) > 0 ? max : _this__u8e3s4;
  }
  function get_nanoseconds_0(_this__u8e3s4) {
    return Companion_getInstance_1().b1i(_this__u8e3s4);
  }
  function get_milliseconds_1(_this__u8e3s4) {
    return Companion_getInstance_1().o1h(_this__u8e3s4.cf());
  }
  function max(a, b) {
    var tmp$ret$1;
    // Inline function 'com.soywiz.klock.milliseconds' call
    var tmp$ret$0;
    // Inline function 'kotlin.math.max' call
    var tmp0_max = _TimeSpan___get_milliseconds__impl__pb0we5(a);
    var tmp1_max = _TimeSpan___get_milliseconds__impl__pb0we5(b);
    tmp$ret$0 = Math.max(tmp0_max, tmp1_max);
    var tmp2__get_milliseconds__xtspmr = tmp$ret$0;
    tmp$ret$1 = Companion_getInstance_1().o1h(tmp2__get_milliseconds__xtspmr);
    return tmp$ret$1;
  }
  function roundMilliseconds(_this__u8e3s4) {
    var tmp$ret$0;
    // Inline function 'com.soywiz.klock.milliseconds' call
    var tmp0__get_milliseconds__kazo1t = round(_TimeSpan___get_milliseconds__impl__pb0we5(_this__u8e3s4));
    tmp$ret$0 = Companion_getInstance_1().o1h(tmp0__get_milliseconds__kazo1t);
    return tmp$ret$0;
  }
  function _HRTimeSpan___init__impl__12vyrk(nanosecondsRaw) {
    return nanosecondsRaw;
  }
  function _HRTimeSpan___get_nanosecondsRaw__impl__33lkpw($this) {
    return $this;
  }
  function Companion_2() {
    Companion_instance_2 = this;
    this.e1i_1 = _HRTimeSpan___init__impl__12vyrk(0.0);
    var tmp = this;
    DoubleCompanionObject_getInstance();
    tmp.f1i_1 = _HRTimeSpan___init__impl__12vyrk(NaN);
  }
  Companion_2.prototype.g1i = function (value) {
    return _HRTimeSpan___init__impl__12vyrk(round(value * 1000000000));
  };
  Companion_2.prototype.h1i = function (value) {
    return _HRTimeSpan___init__impl__12vyrk(round(value * 1000000));
  };
  Companion_2.prototype.i1i = function (value) {
    return _HRTimeSpan___init__impl__12vyrk(round(value));
  };
  Companion_2.$metadata$ = objectMeta('Companion');
  var Companion_instance_2;
  function Companion_getInstance_2() {
    if (Companion_instance_2 == null)
      new Companion_2();
    return Companion_instance_2;
  }
  function _HRTimeSpan___get_microsecondsDouble__impl__mglvkj($this) {
    return _HRTimeSpan___get_nanosecondsRaw__impl__33lkpw($this) / 1000;
  }
  function HRTimeSpan__plus_impl_q133f6($this, other) {
    return Companion_getInstance_2().i1i(_HRTimeSpan___get_nanosecondsRaw__impl__33lkpw($this) + _HRTimeSpan___get_nanosecondsRaw__impl__33lkpw(other));
  }
  function get_timeSpan(_this__u8e3s4) {
    var tmp$ret$0;
    // Inline function 'com.soywiz.klock.nanoseconds' call
    var tmp0__get_nanoseconds__hup2jk = _HRTimeSpan___get_nanosecondsRaw__impl__33lkpw(_this__u8e3s4);
    tmp$ret$0 = Companion_getInstance_1().b1i(tmp0__get_nanoseconds__hup2jk);
    return tmp$ret$0;
  }
  function get_niceStr(_this__u8e3s4) {
    var tmp;
    var tmp$ret$0;
    // Inline function 'kotlin.math.floor' call
    tmp$ret$0 = Math.floor(_this__u8e3s4);
    if (tmp$ret$0 === _this__u8e3s4) {
      tmp = '' + numberToInt(_this__u8e3s4);
    } else {
      tmp = '' + _this__u8e3s4;
    }
    return tmp;
  }
  function get_MILLIS_PER_SECOND() {
    return MILLIS_PER_SECOND;
  }
  var MILLIS_PER_SECOND;
  var ExtendedTimezoneNamesOrNull;
  var klockIsKotlinNative;
  function klockAtomicLazy(initializer) {
    return lazy(initializer);
  }
  function get_isNode() {
    init_properties_KlockInternal_kt_7vosdd();
    return isNode;
  }
  var isNode;
  function get_initialHrTime() {
    init_properties_KlockInternal_kt_7vosdd();
    var tmp$ret$0;
    // Inline function 'kotlin.getValue' call
    var tmp0_getValue = initialHrTime$factory();
    tmp$ret$0 = initialHrTime$delegate.l1();
    return tmp$ret$0;
  }
  var initialHrTime$delegate;
  function Serializable() {
  }
  Serializable.$metadata$ = interfaceMeta('Serializable');
  function KlockInternal() {
    KlockInternal_instance = this;
  }
  KlockInternal.prototype.e1h = function () {
    var tmp$ret$0;
    // Inline function 'kotlin.js.unsafeCast' call
    var tmp0_unsafeCast = Date.now();
    tmp$ret$0 = tmp0_unsafeCast;
    return tmp$ret$0;
  };
  KlockInternal.prototype.w1h = function () {
    var tmp;
    if (get_isNode()) {
      var tmp$ret$0;
      // Inline function 'kotlin.js.unsafeCast' call
      var tmp0_unsafeCast = process.hrtime(get_initialHrTime());
      tmp$ret$0 = tmp0_unsafeCast;
      var result = tmp$ret$0;
      tmp = HRTimeSpan__plus_impl_q133f6(Companion_getInstance_2().g1i(result[0]), Companion_getInstance_2().i1i(result[1]));
    } else {
      tmp = Companion_getInstance_2().h1i(window.performance.now());
    }
    return tmp;
  };
  KlockInternal.$metadata$ = objectMeta('KlockInternal');
  var KlockInternal_instance;
  function KlockInternal_getInstance() {
    if (KlockInternal_instance == null)
      new KlockInternal();
    return KlockInternal_instance;
  }
  function initialHrTime$delegate$lambda() {
    init_properties_KlockInternal_kt_7vosdd();
    return process.hrtime();
  }
  function initialHrTime$factory() {
    return getPropertyCallableRef('initialHrTime', 0, KProperty0, function () {
      return get_initialHrTime();
    }, null);
  }
  var properties_initialized_KlockInternal_kt_cyz5dp;
  function init_properties_KlockInternal_kt_7vosdd() {
    if (properties_initialized_KlockInternal_kt_cyz5dp) {
    } else {
      properties_initialized_KlockInternal_kt_cyz5dp = true;
      isNode = typeof window === 'undefined';
      initialHrTime$delegate = klockAtomicLazy(initialHrTime$delegate$lambda);
    }
  }
  //region block: init
  KlockLocale_default = null;
  MILLIS_PER_SECOND = 1000;
  ExtendedTimezoneNamesOrNull = null;
  klockIsKotlinNative = false;
  //endregion
  //region block: exports
  _.$_$ = _.$_$ || {};
  _.$_$.a = DateTime;
  _.$_$.b = TimeProvider;
  _.$_$.c = TimeSpan;
  _.$_$.d = TimedResult;
  _.$_$.e = clamp;
  _.$_$.f = max;
  _.$_$.g = roundMilliseconds;
  _.$_$.h = toFrequency;
  _.$_$.i = DateTime__hashCode_impl_yf0bc9;
  _.$_$.j = DateTime__minus_impl_10njw8;
  _.$_$.k = _DateTime___get_unixMillisLong__impl__sdx9bd;
  _.$_$.l = _Frequency___get_hertz__impl__9m7k6x;
  _.$_$.m = TimeSpan__compareTo_impl_zidry4;
  _.$_$.n = TimeSpan__div_impl_l42f2r;
  _.$_$.o = TimeSpan__div_impl_l42f2r_0;
  _.$_$.p = TimeSpan__hashCode_impl_izs3k5;
  _.$_$.q = _TimeSpan___get_isNil__impl__cma714;
  _.$_$.r = _TimeSpan___get_microseconds__impl__65sv9o;
  _.$_$.s = _TimeSpan___get_microsecondsInt__impl__sej7yz;
  _.$_$.t = _TimeSpan___get_milliseconds__impl__pb0we5;
  _.$_$.u = _TimeSpan___get_millisecondsLong__impl__v1fxun;
  _.$_$.v = TimeSpan__minus_impl_5w5v8s;
  _.$_$.w = _TimeSpan___get_nanoseconds__impl__gaf49o;
  _.$_$.x = TimeSpan__plus_impl_qdd6zo;
  _.$_$.y = _TimeSpan___get_seconds__impl__cx2k1c;
  _.$_$.z = TimeSpan__times_impl_86ofia;
  _.$_$.a1 = TimeSpan__times_impl_86ofia_0;
  _.$_$.b1 = Companion_getInstance;
  _.$_$.c1 = PerformanceCounter_getInstance;
  _.$_$.d1 = Companion_getInstance_0;
  _.$_$.e1 = Companion_getInstance_1;
  //endregion
  return _;
}));

//# sourceMappingURL=korlibs-klock.js.map