git-digger
Version:
 
1,188 lines • 220 kB
JavaScript
(function (_, $module$_js_joda_core_gcv2k, kotlin_kotlin, kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core) {
'use strict';
//region block: imports
var imul = Math.imul;
var Instant = $module$_js_joda_core_gcv2k.Instant;
var LocalDate = $module$_js_joda_core_gcv2k.LocalDate;
var LocalTime = $module$_js_joda_core_gcv2k.LocalTime;
var ZoneOffset = $module$_js_joda_core_gcv2k.ZoneOffset;
var DateTimeFormatterBuilder = $module$_js_joda_core_gcv2k.DateTimeFormatterBuilder;
var ResolverStyle = $module$_js_joda_core_gcv2k.ResolverStyle;
var protoOf = kotlin_kotlin.$_$.r8;
var initMetadataForCompanion = kotlin_kotlin.$_$.t7;
var Long = kotlin_kotlin.$_$.vb;
var toString = kotlin_kotlin.$_$.u8;
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.d1;
var Unit_instance = kotlin_kotlin.$_$.j3;
var toLong = kotlin_kotlin.$_$.t8;
var initMetadataForClass = kotlin_kotlin.$_$.s7;
var VOID = kotlin_kotlin.$_$.g;
var IllegalArgumentException_init_$Init$ = kotlin_kotlin.$_$.b1;
var objectCreate = kotlin_kotlin.$_$.q8;
var captureStack = kotlin_kotlin.$_$.g7;
var IllegalArgumentException_init_$Init$_0 = kotlin_kotlin.$_$.c1;
var IllegalArgumentException_init_$Init$_1 = kotlin_kotlin.$_$.e1;
var IllegalArgumentException = kotlin_kotlin.$_$.tb;
var RuntimeException_init_$Init$ = kotlin_kotlin.$_$.l1;
var RuntimeException_init_$Init$_0 = kotlin_kotlin.$_$.n1;
var RuntimeException = kotlin_kotlin.$_$.yb;
var getStringHashCode = kotlin_kotlin.$_$.q7;
var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.q1;
var initMetadataForObject = kotlin_kotlin.$_$.x7;
var ensureNotNull = kotlin_kotlin.$_$.oc;
var ArithmeticException = kotlin_kotlin.$_$.mb;
var THROW_CCE = kotlin_kotlin.$_$.zb;
var KMutableProperty1 = kotlin_kotlin.$_$.g9;
var getPropertyCallableRef = kotlin_kotlin.$_$.p7;
var KMutableProperty0 = kotlin_kotlin.$_$.f9;
var Enum = kotlin_kotlin.$_$.rb;
var initMetadataForInterface = kotlin_kotlin.$_$.v7;
var toString_0 = kotlin_kotlin.$_$.t1;
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.h1;
var isInterface = kotlin_kotlin.$_$.g8;
var isArray = kotlin_kotlin.$_$.y7;
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.k;
var hashCode = kotlin_kotlin.$_$.r7;
var listOf = kotlin_kotlin.$_$.j5;
var get_indices = kotlin_kotlin.$_$.y4;
var charSequenceLength = kotlin_kotlin.$_$.j7;
var joinToString = kotlin_kotlin.$_$.z4;
var equals = kotlin_kotlin.$_$.m7;
var getBooleanHashCode = kotlin_kotlin.$_$.n7;
var KProperty0 = kotlin_kotlin.$_$.h9;
var lazy = kotlin_kotlin.$_$.sc;
var padStart = kotlin_kotlin.$_$.pa;
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.l;
var getOrNull = kotlin_kotlin.$_$.v4;
var listOf_0 = kotlin_kotlin.$_$.i5;
var emptyList = kotlin_kotlin.$_$.o4;
var toString_1 = kotlin_kotlin.$_$.wc;
var charSequenceGet = kotlin_kotlin.$_$.i7;
var get_lastIndex = kotlin_kotlin.$_$.ma;
var toSet = kotlin_kotlin.$_$.q6;
var collectionSizeOrDefault = kotlin_kotlin.$_$.g4;
var distinct = kotlin_kotlin.$_$.m4;
var to = kotlin_kotlin.$_$.xc;
var single = kotlin_kotlin.$_$.a6;
var Collection = kotlin_kotlin.$_$.l3;
var charSequenceSubSequence = kotlin_kotlin.$_$.k7;
var numberRangeToNumber = kotlin_kotlin.$_$.l8;
var mutableListOf = kotlin_kotlin.$_$.o5;
var removeLastOrNull = kotlin_kotlin.$_$.v5;
var sortWith = kotlin_kotlin.$_$.c6;
var FunctionAdapter = kotlin_kotlin.$_$.d7;
var Comparator = kotlin_kotlin.$_$.qb;
var compareValues = kotlin_kotlin.$_$.w6;
var Exception = kotlin_kotlin.$_$.sb;
var Exception_init_$Init$ = kotlin_kotlin.$_$.y;
var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.v;
var joinTo = kotlin_kotlin.$_$.a5;
var plus = kotlin_kotlin.$_$.t5;
var toMutableList = kotlin_kotlin.$_$.o6;
var addAll = kotlin_kotlin.$_$.x3;
var firstOrNull = kotlin_kotlin.$_$.r4;
var drop = kotlin_kotlin.$_$.n4;
var repeat = kotlin_kotlin.$_$.ta;
var sortedWith = kotlin_kotlin.$_$.d6;
var binarySearch = kotlin_kotlin.$_$.c4;
var startsWith = kotlin_kotlin.$_$.ab;
var checkCountOverflow = kotlin_kotlin.$_$.e4;
var compareTo = kotlin_kotlin.$_$.l7;
var StringBuilder_init_$Create$_0 = kotlin_kotlin.$_$.w;
var removePrefix = kotlin_kotlin.$_$.ra;
var UnsupportedOperationException_init_$Create$ = kotlin_kotlin.$_$.o1;
var Comparable = kotlin_kotlin.$_$.pb;
var Char__minus_impl_a2frrh = kotlin_kotlin.$_$.r1;
var buildClassSerialDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.u;
var getKClass = kotlin_kotlin.$_$.f;
var arrayOf = kotlin_kotlin.$_$.lc;
var createKType = kotlin_kotlin.$_$.c;
var serializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.m1;
var KSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.h1;
var LazyThreadSafetyMode_PUBLICATION_getInstance = kotlin_kotlin.$_$.j;
var lazy_0 = kotlin_kotlin.$_$.rc;
var SealedClassSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.i1;
var AbstractPolymorphicSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.z;
var PrimitiveClasses_getInstance = kotlin_kotlin.$_$.z2;
var KProperty1 = kotlin_kotlin.$_$.i9;
var STRING_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.b;
var PrimitiveSerialDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.s;
var enumEntries = kotlin_kotlin.$_$.z6;
var numberToLong = kotlin_kotlin.$_$.p8;
var IllegalArgumentException_init_$Create$_0 = kotlin_kotlin.$_$.a1;
var numberToInt = kotlin_kotlin.$_$.o8;
var noWhenBranchMatchedException = kotlin_kotlin.$_$.tc;
var numberToDouble = kotlin_kotlin.$_$.n8;
var ArithmeticException_init_$Create$ = kotlin_kotlin.$_$.x;
//endregion
//region block: pre-declaration
initMetadataForCompanion(Companion);
initMetadataForCompanion(Companion_0);
initMetadataForCompanion(Companion_1);
initMetadataForCompanion(Companion_2);
initMetadataForClass(DateTimeUnit, 'DateTimeUnit', VOID, VOID, VOID, VOID, VOID, {0: DateTimeUnitSerializer_getInstance});
initMetadataForClass(TimeBased, 'TimeBased', VOID, DateTimeUnit, VOID, VOID, VOID, {0: TimeBasedDateTimeUnitSerializer_getInstance});
initMetadataForClass(DateBased, 'DateBased', VOID, DateTimeUnit, VOID, VOID, VOID, {0: DateBasedDateTimeUnitSerializer_getInstance});
initMetadataForClass(DayBased, 'DayBased', VOID, DateBased, VOID, VOID, VOID, {0: DayBasedDateTimeUnitSerializer_getInstance});
initMetadataForClass(MonthBased, 'MonthBased', VOID, DateBased, VOID, VOID, VOID, {0: MonthBasedDateTimeUnitSerializer_getInstance});
initMetadataForCompanion(Companion_3);
initMetadataForClass(DateTimeFormatException, 'DateTimeFormatException', DateTimeFormatException_init_$Create$, IllegalArgumentException);
initMetadataForClass(DateTimeArithmeticException, 'DateTimeArithmeticException', DateTimeArithmeticException_init_$Create$, RuntimeException);
function set_fractionOfSecond(value) {
this.fx(value == null ? null : value.k13(9));
}
function get_fractionOfSecond() {
var tmp0_safe_receiver = this.gx();
var tmp;
if (tmp0_safe_receiver == null) {
tmp = null;
} else {
// Inline function 'kotlin.let' call
tmp = new DecimalFraction(tmp0_safe_receiver, 9);
}
return tmp;
}
initMetadataForInterface(TimeFieldContainer, 'TimeFieldContainer');
initMetadataForInterface(UtcOffsetFieldContainer, 'UtcOffsetFieldContainer');
initMetadataForClass(DateTimeComponentsContents, 'DateTimeComponentsContents', VOID, VOID, [TimeFieldContainer, UtcOffsetFieldContainer]);
initMetadataForCompanion(Companion_4);
initMetadataForObject(Formats, 'Formats');
initMetadataForClass(DateTimeComponents, 'DateTimeComponents');
function appendAlternativeParsingImpl(otherFormats, mainFormat) {
// Inline function 'kotlin.collections.map' call
// Inline function 'kotlin.collections.mapTo' call
var destination = ArrayList_init_$Create$(otherFormats.length);
var inductionVariable = 0;
var last = otherFormats.length;
while (inductionVariable < last) {
var item = otherFormats[inductionVariable];
inductionVariable = inductionVariable + 1 | 0;
// Inline function 'kotlin.also' call
var this_0 = this.e10();
item(this_0);
var tmp$ret$2 = this_0.zz().py();
destination.e(tmp$ret$2);
}
var others = destination;
// Inline function 'kotlin.also' call
var this_1 = this.e10();
mainFormat(this_1);
var main = this_1.zz().py();
this.zz().c10(new AlternativesParsingFormatStructure(main, others));
}
function appendOptionalImpl(onZero, format) {
var tmp = this.zz();
// Inline function 'kotlin.also' call
var this_0 = this.e10();
format(this_0);
tmp.c10(new OptionalFormatStructure(onZero, this_0.zz().py()));
}
function chars(value) {
return this.zz().c10(new ConstantFormatStructure(value));
}
function build() {
return new CachedFormatStructure(this.zz().py().h11_1);
}
initMetadataForInterface(AbstractDateTimeFormatBuilder, 'AbstractDateTimeFormatBuilder');
function year$default(padding, $super) {
padding = padding === VOID ? Padding_ZERO_getInstance() : padding;
var tmp;
if ($super === VOID) {
this.j10(padding);
tmp = Unit_instance;
} else {
tmp = $super.j10.call(this, padding);
}
return tmp;
}
function monthNumber$default(padding, $super) {
padding = padding === VOID ? Padding_ZERO_getInstance() : padding;
var tmp;
if ($super === VOID) {
this.k10(padding);
tmp = Unit_instance;
} else {
tmp = $super.k10.call(this, padding);
}
return tmp;
}
function dayOfMonth$default(padding, $super) {
padding = padding === VOID ? Padding_ZERO_getInstance() : padding;
var tmp;
if ($super === VOID) {
this.ey(padding);
tmp = Unit_instance;
} else {
tmp = $super.ey.call(this, padding);
}
return tmp;
}
initMetadataForInterface(WithDate, 'WithDate');
function year(padding) {
return this.h10(new BasicFormatStructure(new YearDirective(padding)));
}
function monthNumber(padding) {
return this.h10(new BasicFormatStructure(new MonthDirective(padding)));
}
function monthName(names) {
return this.h10(new BasicFormatStructure(new MonthNameDirective(names)));
}
function dayOfMonth(padding) {
return this.h10(new BasicFormatStructure(new DayDirective(padding)));
}
function dayOfWeek(names) {
return this.h10(new BasicFormatStructure(new DayOfWeekDirective(names)));
}
function date(format) {
var tmp;
if (format instanceof LocalDateFormat) {
this.h10(format.o11_1);
tmp = Unit_instance;
}
return tmp;
}
initMetadataForInterface(AbstractWithDateBuilder, 'AbstractWithDateBuilder', VOID, VOID, [WithDate]);
function hour$default(padding, $super) {
padding = padding === VOID ? Padding_ZERO_getInstance() : padding;
var tmp;
if ($super === VOID) {
this.n10(padding);
tmp = Unit_instance;
} else {
tmp = $super.n10.call(this, padding);
}
return tmp;
}
function minute$default(padding, $super) {
padding = padding === VOID ? Padding_ZERO_getInstance() : padding;
var tmp;
if ($super === VOID) {
this.o10(padding);
tmp = Unit_instance;
} else {
tmp = $super.o10.call(this, padding);
}
return tmp;
}
function second$default(padding, $super) {
padding = padding === VOID ? Padding_ZERO_getInstance() : padding;
var tmp;
if ($super === VOID) {
this.p10(padding);
tmp = Unit_instance;
} else {
tmp = $super.p10.call(this, padding);
}
return tmp;
}
initMetadataForInterface(WithTime, 'WithTime');
function hour(padding) {
return this.i10(new BasicFormatStructure(new HourDirective(padding)));
}
function minute(padding) {
return this.i10(new BasicFormatStructure(new MinuteDirective(padding)));
}
function second(padding) {
return this.i10(new BasicFormatStructure(new SecondDirective(padding)));
}
function secondFraction(minLength, maxLength) {
return this.i10(new BasicFormatStructure(new FractionalSecondDirective(minLength, maxLength)));
}
initMetadataForInterface(AbstractWithTimeBuilder, 'AbstractWithTimeBuilder', VOID, VOID, [WithTime]);
function addFormatStructureForDate(structure) {
this.a10(structure);
}
function addFormatStructureForTime(structure) {
this.a10(structure);
}
initMetadataForInterface(AbstractWithDateTimeBuilder, 'AbstractWithDateTimeBuilder', VOID, VOID, [AbstractWithDateBuilder, AbstractWithTimeBuilder, WithTime, WithDate]);
function offsetHours$default(padding, $super) {
padding = padding === VOID ? Padding_ZERO_getInstance() : padding;
var tmp;
if ($super === VOID) {
this.q10(padding);
tmp = Unit_instance;
} else {
tmp = $super.q10.call(this, padding);
}
return tmp;
}
function offsetMinutesOfHour$default(padding, $super) {
padding = padding === VOID ? Padding_ZERO_getInstance() : padding;
var tmp;
if ($super === VOID) {
this.r10(padding);
tmp = Unit_instance;
} else {
tmp = $super.r10.call(this, padding);
}
return tmp;
}
function offsetSecondsOfMinute$default(padding, $super) {
padding = padding === VOID ? Padding_ZERO_getInstance() : padding;
var tmp;
if ($super === VOID) {
this.t10(padding);
tmp = Unit_instance;
} else {
tmp = $super.t10.call(this, padding);
}
return tmp;
}
initMetadataForInterface(WithUtcOffset, 'WithUtcOffset');
function offsetHours(padding) {
return this.d10(new SignedFormatStructure(new BasicFormatStructure(new UtcOffsetWholeHoursDirective(padding)), true));
}
function offsetMinutesOfHour(padding) {
return this.d10(new BasicFormatStructure(new UtcOffsetMinuteOfHourDirective(padding)));
}
function offsetSecondsOfMinute(padding) {
return this.d10(new BasicFormatStructure(new UtcOffsetSecondOfMinuteDirective(padding)));
}
function offset(format) {
var tmp;
if (format instanceof UtcOffsetFormat) {
this.d10(format.d15_1);
tmp = Unit_instance;
}
return tmp;
}
initMetadataForInterface(AbstractWithOffsetBuilder, 'AbstractWithOffsetBuilder', VOID, VOID, [WithUtcOffset]);
initMetadataForClass(Builder, 'Builder', VOID, VOID, [AbstractDateTimeFormatBuilder, AbstractWithDateTimeBuilder, AbstractWithOffsetBuilder, WithTime, WithUtcOffset, WithDate]);
initMetadataForClass(AbstractDateTimeFormat, 'AbstractDateTimeFormat');
initMetadataForClass(DateTimeComponentsFormat, 'DateTimeComponentsFormat', VOID, AbstractDateTimeFormat);
initMetadataForClass(TwoDigitNumber, 'TwoDigitNumber');
initMetadataForClass(ThreeDigitNumber, 'ThreeDigitNumber');
initMetadataForClass(Padding, 'Padding', VOID, Enum);
initMetadataForClass(IncompleteLocalDate, 'IncompleteLocalDate', IncompleteLocalDate);
initMetadataForCompanion(Companion_5);
initMetadataForClass(MonthNames, 'MonthNames');
initMetadataForCompanion(Companion_6);
initMetadataForClass(DayOfWeekNames, 'DayOfWeekNames');
initMetadataForCompanion(Companion_7);
initMetadataForClass(Builder_0, 'Builder', VOID, VOID, [AbstractDateTimeFormatBuilder, AbstractWithDateBuilder]);
initMetadataForClass(LocalDateFormat, 'LocalDateFormat', VOID, AbstractDateTimeFormat);
initMetadataForClass(SignedIntFieldFormatDirective, 'SignedIntFieldFormatDirective');
initMetadataForClass(YearDirective, 'YearDirective', VOID, SignedIntFieldFormatDirective);
initMetadataForClass(UnsignedIntFieldFormatDirective, 'UnsignedIntFieldFormatDirective');
initMetadataForClass(MonthDirective, 'MonthDirective', VOID, UnsignedIntFieldFormatDirective);
initMetadataForClass(NamedUnsignedIntFieldFormatDirective, 'NamedUnsignedIntFieldFormatDirective');
initMetadataForClass(MonthNameDirective, 'MonthNameDirective', VOID, NamedUnsignedIntFieldFormatDirective);
initMetadataForClass(DayDirective, 'DayDirective', VOID, UnsignedIntFieldFormatDirective);
initMetadataForClass(DayOfWeekDirective, 'DayOfWeekDirective', VOID, NamedUnsignedIntFieldFormatDirective);
initMetadataForObject(DateFields, 'DateFields');
initMetadataForClass(IncompleteLocalTime, 'IncompleteLocalTime', IncompleteLocalTime, VOID, [TimeFieldContainer]);
initMetadataForClass(AmPmMarker, 'AmPmMarker', VOID, Enum);
initMetadataForClass(HourDirective, 'HourDirective', VOID, UnsignedIntFieldFormatDirective);
initMetadataForClass(MinuteDirective, 'MinuteDirective', VOID, UnsignedIntFieldFormatDirective);
initMetadataForClass(SecondDirective, 'SecondDirective', VOID, UnsignedIntFieldFormatDirective);
initMetadataForCompanion(Companion_8);
initMetadataForClass(DecimalFractionFieldFormatDirective, 'DecimalFractionFieldFormatDirective');
initMetadataForClass(FractionalSecondDirective, 'FractionalSecondDirective', VOID, DecimalFractionFieldFormatDirective);
initMetadataForObject(TimeFields, 'TimeFields');
initMetadataForClass(IncompleteUtcOffset, 'IncompleteUtcOffset', IncompleteUtcOffset, VOID, [UtcOffsetFieldContainer]);
initMetadataForClass(UtcOffsetWholeHoursDirective, 'UtcOffsetWholeHoursDirective', VOID, UnsignedIntFieldFormatDirective);
initMetadataForCompanion(Companion_9);
initMetadataForClass(Builder_1, 'Builder', VOID, VOID, [AbstractDateTimeFormatBuilder, AbstractWithOffsetBuilder]);
initMetadataForClass(UtcOffsetFormat, 'UtcOffsetFormat', VOID, AbstractDateTimeFormat);
initMetadataForClass(OffsetFields$sign$1);
initMetadataForObject(OffsetFields, 'OffsetFields');
initMetadataForClass(UtcOffsetMinuteOfHourDirective, 'UtcOffsetMinuteOfHourDirective', VOID, UnsignedIntFieldFormatDirective);
initMetadataForClass(UtcOffsetSecondOfMinuteDirective, 'UtcOffsetSecondOfMinuteDirective', VOID, UnsignedIntFieldFormatDirective);
initMetadataForClass(AppendableFormatStructure, 'AppendableFormatStructure', AppendableFormatStructure);
initMetadataForClass(AssignableString, 'AssignableString');
initMetadataForClass(AbstractFieldSpec, 'AbstractFieldSpec');
initMetadataForClass(GenericFieldSpec, 'GenericFieldSpec', VOID, AbstractFieldSpec);
function getterNotNull(container) {
var tmp0_elvis_lhs = this.n16(container);
var tmp;
if (tmp0_elvis_lhs == null) {
throw IllegalStateException_init_$Create$('Field ' + this.u15() + ' is not set');
} else {
tmp = tmp0_elvis_lhs;
}
return tmp;
}
initMetadataForInterface(Accessor, 'Accessor');
initMetadataForClass(PropertyAccessor, 'PropertyAccessor', VOID, VOID, [Accessor]);
initMetadataForClass(UnsignedFieldSpec, 'UnsignedFieldSpec', VOID, AbstractFieldSpec);
initMetadataForClass(ConcatenatedFormatStructure, 'ConcatenatedFormatStructure');
initMetadataForClass(CachedFormatStructure, 'CachedFormatStructure', VOID, ConcatenatedFormatStructure);
initMetadataForInterface(NonConcatenatedFormatStructure, 'NonConcatenatedFormatStructure');
initMetadataForClass(BasicFormatStructure, 'BasicFormatStructure', VOID, VOID, [NonConcatenatedFormatStructure]);
initMetadataForClass(ConstantFormatStructure, 'ConstantFormatStructure', VOID, VOID, [NonConcatenatedFormatStructure]);
initMetadataForClass(SignedFormatStructure, 'SignedFormatStructure', VOID, VOID, [NonConcatenatedFormatStructure]);
initMetadataForCompanion(Companion_10);
initMetadataForClass(PropertyWithDefault, 'PropertyWithDefault');
initMetadataForClass(OptionalFormatStructure, 'OptionalFormatStructure', VOID, VOID, [NonConcatenatedFormatStructure]);
initMetadataForClass(AlternativesParsingFormatStructure, 'AlternativesParsingFormatStructure', VOID, VOID, [NonConcatenatedFormatStructure]);
initMetadataForClass(ComparisonPredicate, 'ComparisonPredicate');
initMetadataForObject(Truth, 'Truth');
initMetadataForClass(ConjunctionPredicate, 'ConjunctionPredicate');
initMetadataForClass(SpacePaddedFormatter, 'SpacePaddedFormatter');
initMetadataForClass(SignedFormatter, 'SignedFormatter');
initMetadataForClass(ConditionalFormatter, 'ConditionalFormatter');
initMetadataForClass(ConcatenatedFormatter, 'ConcatenatedFormatter');
initMetadataForClass(SignedIntFormatterStructure, 'SignedIntFormatterStructure');
initMetadataForClass(UnsignedIntFormatterStructure, 'UnsignedIntFormatterStructure');
initMetadataForClass(StringFormatterStructure, 'StringFormatterStructure');
initMetadataForClass(DecimalFractionFormatterStructure, 'DecimalFractionFormatterStructure');
initMetadataForClass(ConstantStringFormatterStructure, 'ConstantStringFormatterStructure');
initMetadataForClass(NumberConsumer, 'NumberConsumer');
initMetadataForClass(FractionPartConsumer, 'FractionPartConsumer', VOID, NumberConsumer);
initMetadataForClass(ConstantNumberConsumer, 'ConstantNumberConsumer', VOID, NumberConsumer);
initMetadataForObject(ExpectedInt, 'ExpectedInt');
initMetadataForClass(TooManyDigits, 'TooManyDigits');
initMetadataForClass(TooFewDigits, 'TooFewDigits');
initMetadataForClass(WrongConstant, 'WrongConstant');
initMetadataForClass(Conflicting, 'Conflicting');
initMetadataForClass(UnsignedIntConsumer, 'UnsignedIntConsumer', VOID, NumberConsumer);
initMetadataForClass(ParseError, 'ParseError');
initMetadataForCompanion(Companion_11);
initMetadataForClass(ParserState, 'ParserState');
initMetadataForClass(sam$kotlin_Comparator$0, 'sam$kotlin_Comparator$0', VOID, VOID, [Comparator, FunctionAdapter]);
initMetadataForClass(Parser, 'Parser');
initMetadataForClass(ParserStructure, 'ParserStructure');
initMetadataForClass(ParseException, 'ParseException', VOID, Exception);
initMetadataForClass(TrieNode, 'TrieNode', TrieNode);
initMetadataForClass(sam$kotlin_Comparator$0_0, 'sam$kotlin_Comparator$0', VOID, VOID, [Comparator, FunctionAdapter]);
initMetadataForClass(StringSetParserOperation, 'StringSetParserOperation');
initMetadataForClass(NumberSpanParserOperation, 'NumberSpanParserOperation');
initMetadataForClass(PlainStringParserOperation, 'PlainStringParserOperation');
initMetadataForClass(SignParser, 'SignParser');
initMetadataForClass(UnconditionalModification, 'UnconditionalModification');
initMetadataForClass(DecimalFraction, 'DecimalFraction', VOID, VOID, [Comparable]);
initMetadataForObject(TimeBasedDateTimeUnitSerializer, 'TimeBasedDateTimeUnitSerializer', VOID, VOID, [KSerializer]);
initMetadataForObject(DateBasedDateTimeUnitSerializer, 'DateBasedDateTimeUnitSerializer', VOID, AbstractPolymorphicSerializer);
initMetadataForObject(DayBasedDateTimeUnitSerializer, 'DayBasedDateTimeUnitSerializer', VOID, VOID, [KSerializer]);
initMetadataForObject(MonthBasedDateTimeUnitSerializer, 'MonthBasedDateTimeUnitSerializer', VOID, VOID, [KSerializer]);
initMetadataForObject(DateTimeUnitSerializer, 'DateTimeUnitSerializer', VOID, AbstractPolymorphicSerializer);
initMetadataForObject(InstantIso8601Serializer, 'InstantIso8601Serializer', VOID, VOID, [KSerializer]);
initMetadataForObject(LocalDateIso8601Serializer, 'LocalDateIso8601Serializer', VOID, VOID, [KSerializer]);
initMetadataForObject(LocalTimeIso8601Serializer, 'LocalTimeIso8601Serializer', VOID, VOID, [KSerializer]);
initMetadataForObject(UtcOffsetSerializer, 'UtcOffsetSerializer', VOID, VOID, [KSerializer]);
initMetadataForClass(DayOfWeek_0, 'DayOfWeek', VOID, Enum);
initMetadataForCompanion(Companion_12);
initMetadataForClass(Instant_0, 'Instant', VOID, VOID, [Comparable], VOID, VOID, {0: InstantIso8601Serializer_getInstance});
initMetadataForCompanion(Companion_13);
initMetadataForClass(LocalDate_0, 'LocalDate', VOID, VOID, [Comparable], VOID, VOID, {0: LocalDateIso8601Serializer_getInstance});
initMetadataForCompanion(Companion_14);
initMetadataForClass(LocalTime_0, 'LocalTime', VOID, VOID, [Comparable], VOID, VOID, {0: LocalTimeIso8601Serializer_getInstance});
initMetadataForClass(Month_0, 'Month', VOID, Enum);
initMetadataForCompanion(Companion_15);
initMetadataForObject(Formats_0, 'Formats');
initMetadataForClass(UtcOffset, 'UtcOffset', VOID, VOID, VOID, VOID, VOID, {0: UtcOffsetSerializer_getInstance});
//endregion
function Companion() {
}
var Companion_instance;
function Companion_getInstance() {
return Companion_instance;
}
function Companion_0() {
}
var Companion_instance_0;
function Companion_getInstance_0() {
return Companion_instance_0;
}
function Companion_1() {
}
var Companion_instance_1;
function Companion_getInstance_1() {
return Companion_instance_1;
}
function Companion_2() {
}
var Companion_instance_2;
function Companion_getInstance_2() {
return Companion_instance_2;
}
function TimeBased(nanoseconds) {
DateTimeUnit.call(this);
this.cv_1 = nanoseconds;
// Inline function 'kotlin.require' call
if (!(this.cv_1.q2(new Long(0, 0)) > 0)) {
var message = 'Unit duration must be positive, but was ' + this.cv_1.toString() + ' ns.';
throw IllegalArgumentException_init_$Create$(toString(message));
}
if (this.cv_1.v2(new Long(817405952, 838)).equals(new Long(0, 0))) {
this.dv_1 = 'HOUR';
this.ev_1 = this.cv_1.u2(new Long(817405952, 838));
} else {
if (this.cv_1.v2(new Long(-129542144, 13)).equals(new Long(0, 0))) {
this.dv_1 = 'MINUTE';
this.ev_1 = this.cv_1.u2(new Long(-129542144, 13));
} else {
var tmp1 = this.cv_1;
// Inline function 'kotlin.Long.rem' call
var other = 1000000000;
if (tmp1.v2(toLong(other)).equals(new Long(0, 0))) {
this.dv_1 = 'SECOND';
var tmp = this;
var tmp3 = this.cv_1;
// Inline function 'kotlin.Long.div' call
var other_0 = 1000000000;
tmp.ev_1 = tmp3.u2(toLong(other_0));
} else {
// Inline function 'kotlin.Long.rem' call
if (this.cv_1.v2(toLong(1000000)).equals(new Long(0, 0))) {
this.dv_1 = 'MILLISECOND';
var tmp_0 = this;
// Inline function 'kotlin.Long.div' call
tmp_0.ev_1 = this.cv_1.u2(toLong(1000000));
} else {
// Inline function 'kotlin.Long.rem' call
if (this.cv_1.v2(toLong(1000)).equals(new Long(0, 0))) {
this.dv_1 = 'MICROSECOND';
var tmp_1 = this;
// Inline function 'kotlin.Long.div' call
tmp_1.ev_1 = this.cv_1.u2(toLong(1000));
} else {
this.dv_1 = 'NANOSECOND';
this.ev_1 = this.cv_1;
}
}
}
}
}
}
protoOf(TimeBased).fv = function (scalar) {
return new TimeBased(safeMultiply(this.cv_1, toLong(scalar)));
};
protoOf(TimeBased).equals = function (other) {
var tmp;
if (this === other) {
tmp = true;
} else {
var tmp_0;
if (other instanceof TimeBased) {
tmp_0 = this.cv_1.equals(other.cv_1);
} else {
tmp_0 = false;
}
tmp = tmp_0;
}
return tmp;
};
protoOf(TimeBased).hashCode = function () {
return this.cv_1.d3() ^ this.cv_1.z2(32).d3();
};
protoOf(TimeBased).toString = function () {
return this.gv(this.ev_1, this.dv_1);
};
function DateBased() {
DateTimeUnit.call(this);
}
function DayBased(days) {
DateBased.call(this);
this.iv_1 = days;
// Inline function 'kotlin.require' call
if (!(this.iv_1 > 0)) {
var message = 'Unit duration must be positive, but was ' + this.iv_1 + ' days.';
throw IllegalArgumentException_init_$Create$(toString(message));
}
}
protoOf(DayBased).fv = function (scalar) {
return new DayBased(safeMultiply_0(this.iv_1, scalar));
};
protoOf(DayBased).equals = function (other) {
var tmp;
if (this === other) {
tmp = true;
} else {
var tmp_0;
if (other instanceof DayBased) {
tmp_0 = this.iv_1 === other.iv_1;
} else {
tmp_0 = false;
}
tmp = tmp_0;
}
return tmp;
};
protoOf(DayBased).hashCode = function () {
return this.iv_1 ^ 65536;
};
protoOf(DayBased).toString = function () {
return (this.iv_1 % 7 | 0) === 0 ? this.hv(this.iv_1 / 7 | 0, 'WEEK') : this.hv(this.iv_1, 'DAY');
};
function MonthBased(months) {
DateBased.call(this);
this.jv_1 = months;
// Inline function 'kotlin.require' call
if (!(this.jv_1 > 0)) {
var message = 'Unit duration must be positive, but was ' + this.jv_1 + ' months.';
throw IllegalArgumentException_init_$Create$(toString(message));
}
}
protoOf(MonthBased).fv = function (scalar) {
return new MonthBased(safeMultiply_0(this.jv_1, scalar));
};
protoOf(MonthBased).equals = function (other) {
var tmp;
if (this === other) {
tmp = true;
} else {
var tmp_0;
if (other instanceof MonthBased) {
tmp_0 = this.jv_1 === other.jv_1;
} else {
tmp_0 = false;
}
tmp = tmp_0;
}
return tmp;
};
protoOf(MonthBased).hashCode = function () {
return this.jv_1 ^ 131072;
};
protoOf(MonthBased).toString = function () {
return (this.jv_1 % 1200 | 0) === 0 ? this.hv(this.jv_1 / 1200 | 0, 'CENTURY') : (this.jv_1 % 12 | 0) === 0 ? this.hv(this.jv_1 / 12 | 0, 'YEAR') : (this.jv_1 % 3 | 0) === 0 ? this.hv(this.jv_1 / 3 | 0, 'QUARTER') : this.hv(this.jv_1, 'MONTH');
};
function Companion_3() {
Companion_instance_3 = this;
this.kv_1 = new TimeBased(new Long(1, 0));
this.lv_1 = this.kv_1.fv(1000);
this.mv_1 = this.lv_1.fv(1000);
this.nv_1 = this.mv_1.fv(1000);
this.ov_1 = this.nv_1.fv(60);
this.pv_1 = this.ov_1.fv(60);
this.qv_1 = new DayBased(1);
this.rv_1 = this.qv_1.fv(7);
this.sv_1 = new MonthBased(1);
this.tv_1 = this.sv_1.fv(3);
this.uv_1 = this.sv_1.fv(12);
this.vv_1 = this.uv_1.fv(100);
}
var Companion_instance_3;
function Companion_getInstance_3() {
if (Companion_instance_3 == null)
new Companion_3();
return Companion_instance_3;
}
function DateTimeUnit() {
Companion_getInstance_3();
}
protoOf(DateTimeUnit).hv = function (value, unit) {
return value === 1 ? unit : '' + value + '-' + unit;
};
protoOf(DateTimeUnit).gv = function (value, unit) {
return value.equals(new Long(1, 0)) ? unit : value.toString() + '-' + unit;
};
function get_isoDayNumber(_this__u8e3s4) {
return _this__u8e3s4.i2_1 + 1 | 0;
}
function DayOfWeek(isoDayNumber) {
// Inline function 'kotlin.require' call
if (!(1 <= isoDayNumber ? isoDayNumber <= 7 : false)) {
var message = 'Expected ISO day-of-week number in 1..7, got ' + isoDayNumber;
throw IllegalArgumentException_init_$Create$(toString(message));
}
return get_entries().t(isoDayNumber - 1 | 0);
}
function DateTimeFormatException_init_$Init$($this) {
IllegalArgumentException_init_$Init$($this);
DateTimeFormatException.call($this);
return $this;
}
function DateTimeFormatException_init_$Create$() {
var tmp = DateTimeFormatException_init_$Init$(objectCreate(protoOf(DateTimeFormatException)));
captureStack(tmp, DateTimeFormatException_init_$Create$);
return tmp;
}
function DateTimeFormatException_init_$Init$_0(message, $this) {
IllegalArgumentException_init_$Init$_0(message, $this);
DateTimeFormatException.call($this);
return $this;
}
function DateTimeFormatException_init_$Create$_0(message) {
var tmp = DateTimeFormatException_init_$Init$_0(message, objectCreate(protoOf(DateTimeFormatException)));
captureStack(tmp, DateTimeFormatException_init_$Create$_0);
return tmp;
}
function DateTimeFormatException_init_$Init$_1(message, cause, $this) {
IllegalArgumentException_init_$Init$_1(message, cause, $this);
DateTimeFormatException.call($this);
return $this;
}
function DateTimeFormatException_init_$Create$_1(message, cause) {
var tmp = DateTimeFormatException_init_$Init$_1(message, cause, objectCreate(protoOf(DateTimeFormatException)));
captureStack(tmp, DateTimeFormatException_init_$Create$_1);
return tmp;
}
function DateTimeFormatException() {
captureStack(this, DateTimeFormatException);
}
function DateTimeArithmeticException_init_$Init$($this) {
RuntimeException_init_$Init$($this);
DateTimeArithmeticException.call($this);
return $this;
}
function DateTimeArithmeticException_init_$Create$() {
var tmp = DateTimeArithmeticException_init_$Init$(objectCreate(protoOf(DateTimeArithmeticException)));
captureStack(tmp, DateTimeArithmeticException_init_$Create$);
return tmp;
}
function DateTimeArithmeticException_init_$Init$_0(message, cause, $this) {
RuntimeException_init_$Init$_0(message, cause, $this);
DateTimeArithmeticException.call($this);
return $this;
}
function DateTimeArithmeticException_init_$Create$_0(message, cause) {
var tmp = DateTimeArithmeticException_init_$Init$_0(message, cause, objectCreate(protoOf(DateTimeArithmeticException)));
captureStack(tmp, DateTimeArithmeticException_init_$Create$_0);
return tmp;
}
function DateTimeArithmeticException() {
captureStack(this, DateTimeArithmeticException);
}
function Month(number) {
// Inline function 'kotlin.require' call
// Inline function 'kotlin.require' call
if (!(1 <= number ? number <= 12 : false)) {
var message = 'Failed requirement.';
throw IllegalArgumentException_init_$Create$(toString(message));
}
return get_entries_0().t(number - 1 | 0);
}
var timeZoneField;
function get_emptyDateTimeComponentsContents() {
_init_properties_DateTimeComponents_kt__9iimb5();
return emptyDateTimeComponentsContents;
}
var emptyDateTimeComponentsContents;
function DateTimeComponentsContents(date, time, offset, timeZoneId) {
date = date === VOID ? new IncompleteLocalDate() : date;
time = time === VOID ? new IncompleteLocalTime() : time;
offset = offset === VOID ? new IncompleteUtcOffset() : offset;
timeZoneId = timeZoneId === VOID ? null : timeZoneId;
this.wv_1 = date;
this.xv_1 = time;
this.yv_1 = offset;
this.zv_1 = timeZoneId;
}
protoOf(DateTimeComponentsContents).aw = function (_set____db54di) {
this.wv_1.dw_1 = _set____db54di;
};
protoOf(DateTimeComponentsContents).gw = function () {
return this.wv_1.dw_1;
};
protoOf(DateTimeComponentsContents).hw = function (_set____db54di) {
this.wv_1.fw_1 = _set____db54di;
};
protoOf(DateTimeComponentsContents).iw = function () {
return this.wv_1.fw_1;
};
protoOf(DateTimeComponentsContents).jw = function (_set____db54di) {
this.wv_1.ew_1 = _set____db54di;
};
protoOf(DateTimeComponentsContents).kw = function () {
return this.wv_1.ew_1;
};
protoOf(DateTimeComponentsContents).lw = function (_set____db54di) {
this.wv_1.cw_1 = _set____db54di;
};
protoOf(DateTimeComponentsContents).mw = function () {
return this.wv_1.cw_1;
};
protoOf(DateTimeComponentsContents).nw = function (_set____db54di) {
this.wv_1.bw_1 = _set____db54di;
};
protoOf(DateTimeComponentsContents).ow = function () {
return this.wv_1.bw_1;
};
protoOf(DateTimeComponentsContents).pw = function (_set____db54di) {
this.xv_1.sw_1 = _set____db54di;
};
protoOf(DateTimeComponentsContents).ww = function () {
return this.xv_1.sw_1;
};
protoOf(DateTimeComponentsContents).xw = function (value) {
this.xv_1.xw(value);
};
protoOf(DateTimeComponentsContents).yw = function () {
return this.xv_1.yw();
};
protoOf(DateTimeComponentsContents).zw = function (_set____db54di) {
this.xv_1.qw_1 = _set____db54di;
};
protoOf(DateTimeComponentsContents).ax = function () {
return this.xv_1.qw_1;
};
protoOf(DateTimeComponentsContents).bx = function (_set____db54di) {
this.xv_1.rw_1 = _set____db54di;
};
protoOf(DateTimeComponentsContents).cx = function () {
return this.xv_1.rw_1;
};
protoOf(DateTimeComponentsContents).dx = function (_set____db54di) {
this.xv_1.tw_1 = _set____db54di;
};
protoOf(DateTimeComponentsContents).ex = function () {
return this.xv_1.tw_1;
};
protoOf(DateTimeComponentsContents).fx = function (_set____db54di) {
this.xv_1.vw_1 = _set____db54di;
};
protoOf(DateTimeComponentsContents).gx = function () {
return this.xv_1.vw_1;
};
protoOf(DateTimeComponentsContents).hx = function (_set____db54di) {
this.xv_1.uw_1 = _set____db54di;
};
protoOf(DateTimeComponentsContents).ix = function () {
return this.xv_1.uw_1;
};
protoOf(DateTimeComponentsContents).jx = function (_set____db54di) {
this.yv_1.kx_1 = _set____db54di;
};
protoOf(DateTimeComponentsContents).ox = function () {
return this.yv_1.kx_1;
};
protoOf(DateTimeComponentsContents).px = function (_set____db54di) {
this.yv_1.mx_1 = _set____db54di;
};
protoOf(DateTimeComponentsContents).qx = function () {
return this.yv_1.mx_1;
};
protoOf(DateTimeComponentsContents).rx = function (_set____db54di) {
this.yv_1.nx_1 = _set____db54di;
};
protoOf(DateTimeComponentsContents).sx = function () {
return this.yv_1.nx_1;
};
protoOf(DateTimeComponentsContents).tx = function (_set____db54di) {
this.yv_1.lx_1 = _set____db54di;
};
protoOf(DateTimeComponentsContents).ux = function () {
return this.yv_1.lx_1;
};
protoOf(DateTimeComponentsContents).vx = function () {
return new DateTimeComponentsContents(this.wv_1.vx(), this.xv_1.vx(), this.yv_1.vx(), this.zv_1);
};
protoOf(DateTimeComponentsContents).equals = function (other) {
var tmp;
var tmp_0;
var tmp_1;
var tmp_2;
if (other instanceof DateTimeComponentsContents) {
tmp_2 = other.wv_1.equals(this.wv_1);
} else {
tmp_2 = false;
}
if (tmp_2) {
tmp_1 = other.xv_1.equals(this.xv_1);
} else {
tmp_1 = false;
}
if (tmp_1) {
tmp_0 = other.yv_1.equals(this.yv_1);
} else {
tmp_0 = false;
}
if (tmp_0) {
tmp = other.zv_1 == this.zv_1;
} else {
tmp = false;
}
return tmp;
};
protoOf(DateTimeComponentsContents).hashCode = function () {
var tmp = this.wv_1.hashCode() ^ this.xv_1.hashCode() ^ this.yv_1.hashCode();
var tmp0_safe_receiver = this.zv_1;
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : getStringHashCode(tmp0_safe_receiver);
return tmp ^ (tmp1_elvis_lhs == null ? 0 : tmp1_elvis_lhs);
};
function DateTimeComponents$Formats$ISO_DATE_TIME_OFFSET$lambda($this$Format) {
$this$Format.wx(get_ISO_DATE());
var tmp = [DateTimeComponents$Formats$ISO_DATE_TIME_OFFSET$lambda$lambda];
alternativeParsing($this$Format, tmp, DateTimeComponents$Formats$ISO_DATE_TIME_OFFSET$lambda$lambda_0);
$this$Format.xx();
char($this$Format, _Char___init__impl__6a9atx(58));
$this$Format.yx();
char($this$Format, _Char___init__impl__6a9atx(58));
$this$Format.zx();
optional($this$Format, VOID, DateTimeComponents$Formats$ISO_DATE_TIME_OFFSET$lambda$lambda_1);
var tmp_0 = [DateTimeComponents$Formats$ISO_DATE_TIME_OFFSET$lambda$lambda_2];
alternativeParsing($this$Format, tmp_0, DateTimeComponents$Formats$ISO_DATE_TIME_OFFSET$lambda$lambda_3);
return Unit_instance;
}
function DateTimeComponents$Formats$ISO_DATE_TIME_OFFSET$lambda$lambda($this$alternativeParsing) {
char($this$alternativeParsing, _Char___init__impl__6a9atx(116));
return Unit_instance;
}
function DateTimeComponents$Formats$ISO_DATE_TIME_OFFSET$lambda$lambda_0($this$alternativeParsing) {
char($this$alternativeParsing, _Char___init__impl__6a9atx(84));
return Unit_instance;
}
function DateTimeComponents$Formats$ISO_DATE_TIME_OFFSET$lambda$lambda_1($this$optional) {
char($this$optional, _Char___init__impl__6a9atx(46));
$this$optional.ay(1, 9);
return Unit_instance;
}
function DateTimeComponents$Formats$ISO_DATE_TIME_OFFSET$lambda$lambda_2($this$alternativeParsing) {
$this$alternativeParsing.by();
return Unit_instance;
}
function DateTimeComponents$Formats$ISO_DATE_TIME_OFFSET$lambda$lambda_3($this$alternativeParsing) {
$this$alternativeParsing.dy(Formats_instance_0.cy());
return Unit_instance;
}
function DateTimeComponents$Formats$RFC_1123$lambda($this$Format) {
var tmp = [DateTimeComponents$Formats$RFC_1123$lambda$lambda];
alternativeParsing($this$Format, tmp, DateTimeComponents$Formats$RFC_1123$lambda$lambda_0);
$this$Format.ey(Padding_NONE_getInstance());
char($this$Format, _Char___init__impl__6a9atx(32));
$this$Format.hy(Companion_getInstance_5().gy_1);
char($this$Format, _Char___init__impl__6a9atx(32));
$this$Format.iy();
char($this$Format, _Char___init__impl__6a9atx(32));
$this$Format.xx();
char($this$Format, _Char___init__impl__6a9atx(58));
$this$Format.yx();
optional($this$Format, VOID, DateTimeComponents$Formats$RFC_1123$lambda$lambda_1);
$this$Format.jy(' ');
var tmp_0 = DateTimeComponents$Formats$RFC_1123$lambda$lambda_2;
var tmp_1 = [tmp_0, DateTimeComponents$Formats$RFC_1123$lambda$lambda_3];
alternativeParsing($this$Format, tmp_1, DateTimeComponents$Formats$RFC_1123$lambda$lambda_4);
return Unit_instance;
}
function DateTimeComponents$Formats$RFC_1123$lambda$lambda($this$alternativeParsing) {
return Unit_instance;
}
function DateTimeComponents$Formats$RFC_1123$lambda$lambda_0($this$alternativeParsing) {
$this$alternativeParsing.my(Companion_getInstance_6().ly_1);
$this$alternativeParsing.jy(', ');
return Unit_instance;
}
function DateTimeComponents$Formats$RFC_1123$lambda$lambda_1($this$optional) {
char($this$optional, _Char___init__impl__6a9atx(58));
$this$optional.zx();
return Unit_instance;
}
function DateTimeComponents$Formats$RFC_1123$lambda$lambda_2($this$alternativeParsing) {
$this$alternativeParsing.jy('UT');
return Unit_instance;
}
function DateTimeComponents$Formats$RFC_1123$lambda$lambda_3($this$alternativeParsing) {
$this$alternativeParsing.jy('Z');
return Unit_instance;
}
function DateTimeComponents$Formats$RFC_1123$lambda$lambda_4($this$alternativeParsing) {
optional($this$alternativeParsing, 'GMT', DateTimeComponents$Formats$RFC_1123$lambda$lambda$lambda);
return Unit_instance;
}
function DateTimeComponents$Formats$RFC_1123$lambda$lambda$lambda($this$optional) {
$this$optional.dy(Formats_instance_0.ny());
return Unit_instance;
}
function Companion_4() {
}
protoOf(Companion_4).oy = function (block) {
var builder = new Builder(new AppendableFormatStructure());
block(builder);
return new DateTimeComponentsFormat(builder.py());
};
var Companion_instance_4;
function Companion_getInstance_4() {
return Companion_instance_4;
}
function Formats() {
Formats_instance = this;
var tmp = this;
var tmp_0 = Companion_instance_4;
tmp.qy_1 = tmp_0.oy(DateTimeComponents$Formats$ISO_DATE_TIME_OFFSET$lambda);
var tmp_1 = this;
var tmp_2 = Companion_instance_4;
tmp_1.ry_1 = tmp_2.oy(DateTimeComponents$Formats$RFC_1123$lambda);
}
var Formats_instance;
function Formats_getInstance() {
if (Formats_instance == null)
new Formats();
return Formats_instance;
}
function DateTimeComponents(contents) {
contents = contents === VOID ? new DateTimeComponentsContents() : contents;
this.sy_1 = contents;
this.ty_1 = year$factory(this.sy_1.wv_1);
this.uy_1 = new TwoDigitNumber(monthNumber$factory(this.sy_1.wv_1));
this.vy_1 = new TwoDigitNumber(dayOfMonth$factory(this.sy_1.wv_1));
this.wy_1 = new ThreeDigitNumber(dayOfYear$factory(this.sy_1.wv_1));
this.xy_1 = new TwoDigitNumber(hour$factory(this.sy_1.xv_1));
this.yy_1 = new TwoDigitNumber(hourOfAmPm$factory(this.sy_1.xv_1));
this.zy_1 = amPm$factory(this.sy_1.xv_1);
this.az_1 = new TwoDigitNumber(minute$factory(this.sy_1.xv_1));
this.bz_1 = new TwoDigitNumber(second$factory(this.sy_1.xv_1));
this.cz_1 = isNegative$factory(this.sy_1.yv_1);
this.dz_1 = new TwoDigitNumber(totalHoursAbs$factory(this.sy_1.yv_1));
this.ez_1 = new TwoDigitNumber(minutesOfHour$factory(this.sy_1.yv_1));
this.fz_1 = new TwoDigitNumber(secondsOfMinute$factory(this.sy_1.yv_1));
this.gz_1 = timeZoneId$factory_0(this.sy_1);
}
protoOf(DateTimeComponents).nw = function (_set____db54di) {
var tmp0 = this.ty_1;
// Inline function 'kotlin.setValue' call
year$factory_0();
tmp0.set(_set____db54di);
return Unit_instance;
};
protoOf(DateTimeComponents).ow = function () {
var tmp0 = this.ty_1;
// Inline function 'kotlin.getValue' call
year$factory_1();
return tmp0.get();
};
protoOf(DateTimeComponents).gx = function () {
return this.sy_1.xv_1.vw_1;
};
protoOf(DateTimeComponents).hz = function () {
return this.sy_1.yv_1.hz();
};
protoOf(DateTimeComponents).iz = function () {
return this.sy_1.xv_1.iz();
};
protoOf(DateTimeComponents).jz = function () {
var offset = this.hz();
var time = this.iz();
var truncatedDate = this.sy_1.wv_1.vx();
truncatedDate.bw_1 = requireParsedField(truncatedDate.bw_1, 'year') % 10000 | 0;
var tmp;
try {
var secDelta = safeMultiply(toLong(ensureNotNull(this.ow()) / 10000 | 0), new Long(2036907392, 73));
var epochDays = toLong(truncatedDate.kz().mz());
// Inline function 'kotlin.Long.times' call
var tmp2 = epochDays.t2(toLong(86400));
// Inline function 'kotlin.Long.plus' call
var other = time.oz();
var tmp4 = tmp2.r2(toLong(other));
// Inline function 'kotlin.Long.minus' call
var other_0 = offset.qz();
var tmp$ret$2 = tmp4.s2(toLong(other_0));
tmp = safeAdd(secDelta, tmp$ret$2);
} catch ($p) {
var tmp_0;
if ($p instanceof ArithmeticException) {
var e = $p;
throw DateTimeFormatException_init_$Create$_1('The parsed date is outside the range representable by Instant', e);
} else {
throw $p;
}
}
var totalSeconds = tmp;
if (totalSeconds.q2(Companion_getInstance_12().tz_1.wz()) < 0 || totalSeconds.q2(Companion_getInstance_12().uz_1.wz()) > 0)
throw DateTimeFormatException_init_$Create$_0('The parsed date is outside the range representable by Instant');
var tmp_1 = Companion_getInstance_12();
var tmp0_elvis_lhs = this.gx();
return tmp_1.xz(totalSeconds, tmp0_elvis_lhs == null ? 0 : tmp0_elvis_lhs);
};
function Builder(actualBuilder) {
this.yz_1 = actualBuilder;
}
protoOf(Builder).zz = function () {
return this.yz_1;
};
protoOf(Builder).a10 = function (structure) {
this.yz_1.c10(structure);
};
protoOf(Builder).d10 = function (structure) {
this.yz_1.c10(structure);
};
protoOf(Builder).e10 = function () {
return new Builder(new AppendableFormatStructure());
};
function DateTimeComponentsFormat(actualFormat) {
AbstractDateTimeFormat.call(this);
this.v10_1 = actualFormat;
}
protoOf(DateTimeComponentsFormat).w10 = function () {
return this.v10_1;
};
protoOf(DateTimeComponentsFormat).x10 = function (intermediate) {
return new DateTimeComponents(intermediate);
};
protoOf(DateTimeComponentsFormat).y10 = function (intermediate) {
return this.x10(intermediate instanceof DateTimeComponentsContents ? intermediate : THROW_CCE());
};
protoOf(DateTimeComponentsFormat).z10 = function () {
return get_emptyDateTimeComponentsContents();
};
function TwoDigitNumber(reference) {
this.b11_1 = reference;
}
function ThreeDigitNumber(reference) {
this.c11_1 = reference;
}
function timeZoneId$factory() {
return getPropertyCallableRef('timeZoneId', 1, KMutableProperty1, function (receiver) {
return receiver.zv_1;
}, function (receiver, value) {
receiver.zv_1 = value;
return Unit_instance;
});
}
function year$factory($b0) {
return getPropertyCallableRef('year', 0, KMutableProperty0, function () {
return $b0.bw_1;
}, function (value) {
$b0.bw_1 = value;
return Unit_instance;
});
}
function monthNumber$factory($b0) {
return getPropertyCallableRef('monthNumber', 0, KMutableProperty0, function () {
return $b0.cw_1;
}, function (value) {
$b0.cw_1 = value;
return Unit_instance;
});
}
function dayOfMonth$factory($b0) {
return getPropertyCallableRef('dayOfMonth', 0, KMutableProperty0, function () {
return $b0.dw_1;
}, function (value) {
$b0.dw_1 = value;
return Unit_instance;
});
}
function dayOfYear$factory($b0) {
return getPropertyCallableRef('dayOfYear', 0, KMutableProperty0, function () {
return $b0.fw_1;
}, function (value) {
$b0.fw_1 = value;
return Unit_instance;
});
}
function hour$factory($b0) {
return getPropertyCallableRef('hour', 0, KMutableProperty0, function () {
return $b0.qw_1;
}, function (value) {
$b0.qw_1 = value;
return Unit_instance;
});
}
function hourOfAmPm$factory($b0) {
return getPropertyCallableRef('hourOfAmPm', 0, KMutableProperty0, function () {
return $b0.rw_1;
}, function (value) {
$b0.rw_1 = value;
return Unit_instance;
});
}
function amPm$factory($b0) {
return getPropertyCallableRef('amPm', 0, KMutableProperty0, function () {
return $b0.sw_1;
}, function (value) {
$b0.sw_1 = value;
return Unit_instance;
});
}
function minute$factory($b0) {
return getPropertyCallableRef('minute', 0, KMutableProperty0, function () {
return $b0.tw_1;
}, function (value) {
$b0.tw_1 = value;
return Unit_instance;
});
}
function second$facto