@js-joda/core 5.1.0 → 5.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
- //! @version @js-joda/core - 5.1.0
1
+ //! @version @js-joda/core - 5.3.1
2
2
  //! @copyright (c) 2015-present, Philipp Thürwächter, Pattrick Hüper & js-joda contributors
3
3
  //! @copyright (c) 2007-present, Stephen Colebourne & Michael Nascimento Santos
4
4
  //! @license BSD-3-Clause (see LICENSE in the root directory of this source tree)
5
- var JSJoda=function(t){"use strict";function e(t,e,n){function i(t){Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=t,e&&e.apply(this,arguments),this.toString=function(){return this.name+": "+this.message}}return void 0===n&&(n=Error),(i.prototype=Object.create(n.prototype)).name=t,i.prototype.constructor=i}var y=e("DateTimeException",function(t,e){void 0===e&&(e=null);var n=t||this.name;null!==e&&e instanceof Error&&(n+="\n-------\nCaused by: "+e.stack+"\n-------\n");this.message=n}),p=e("DateTimeParseException",function(t,e,n,i){void 0===e&&(e="");void 0===n&&(n=0);void 0===i&&(i=null);var r=t||this.name;r+=": "+e+", at index: "+n,null!==i&&i instanceof Error&&(r+="\n-------\nCaused by: "+i.stack+"\n-------\n");this.message=r,this.parsedString=function(){return e},this.errorIndex=function(){return n}}),l=e("UnsupportedTemporalTypeException",null,y),S=e("ArithmeticException"),c=e("IllegalArgumentException"),r=e("IllegalStateException"),s=e("NullPointerException");function _(t,e){t.prototype=Object.create(e.prototype),n(t.prototype.constructor=t,e)}function n(t,e){return(n=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function d(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function m(t,e,n){if(!t)throw n?new n(e):new Error(e)}function O(t,e){if(null==t)throw new s(e+" must not be null");return t}function o(t,e,n){if(!(t instanceof e))throw new c(n+" must be an instance of "+(e.name?e.name:e)+(t&&t.constructor&&t.constructor.name?", but is "+t.constructor.name:""));return t}function i(t){throw new TypeError('abstract method "'+t+'" is not implemented')}var a,u=Object.freeze({__proto__:null,assert:m,requireNonNull:O,requireInstance:o,abstractMethodFail:i}),h=9007199254740991,f=-9007199254740991,M=(E.intDiv=function(t,e){var n=t/e;return n=E.roundDown(n),E.safeZero(n)},E.intMod=function(t,e){var n=t-E.intDiv(t,e)*e;return n=E.roundDown(n),E.safeZero(n)},E.roundDown=function(t){return t<0?Math.ceil(t):Math.floor(t)},E.floorDiv=function(t,e){var n=Math.floor(t/e);return E.safeZero(n)},E.floorMod=function(t,e){var n=t-E.floorDiv(t,e)*e;return E.safeZero(n)},E.safeAdd=function(t,e){if(E.verifyInt(t),E.verifyInt(e),0===t)return E.safeZero(e);if(0===e)return E.safeZero(t);var n=E.safeToInt(t+e);if(n===t||n===e)throw new S("Invalid addition beyond MAX_SAFE_INTEGER!");return n},E.safeSubtract=function(t,e){return E.verifyInt(t),E.verifyInt(e),0===t&&0===e?0:0===t?E.safeZero(-1*e):0===e?E.safeZero(t):E.safeToInt(t-e)},E.safeMultiply=function(t,e){if(E.verifyInt(t),E.verifyInt(e),1===t)return E.safeZero(e);if(1===e)return E.safeZero(t);if(0===t||0===e)return 0;var n=E.safeToInt(t*e);if(n/e!==t||t===f&&-1===e||e===f&&-1===t)throw new S("Multiplication overflows: "+t+" * "+e);return n},E.parseInt=(a=function(t){var e=parseInt(t);return E.safeToInt(e)},N.toString=function(){return a.toString()},N),E.safeToInt=function(t){return E.verifyInt(t),E.safeZero(t)},E.verifyInt=function(t){if(null==t)throw new S("Invalid value: '"+t+"', using null or undefined as argument");if(isNaN(t))throw new S("Invalid int value, using NaN as argument");if(t%1!=0)throw new S("Invalid value: '"+t+"' is a float");if(h<t||t<f)throw new S("Calculation overflows an int: "+t)},E.safeZero=function(t){return 0===t?0:+t},E.compareNumbers=function(t,e){return t<e?-1:e<t?1:0},E.smi=function(t){return t>>>1&1073741824|3221225471&t},E.hash=function(t){if(t!=t||t===1/0)return 0;for(var e=t;4294967295<t;)e^=t/=4294967295;return E.smi(e)},E.hashCode=function(){for(var t=17,e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];for(var r=0,s=n;r<s.length;r++){var o=s[r];t=(t<<5)-t+E.hash(o)}return E.hash(t)},E);function E(){}function N(t){return a.apply(this,arguments)}M.MAX_SAFE_INTEGER=h,M.MIN_SAFE_INTEGER=f;var D,A=((D=T.prototype).equals=function(t){return this===t},D.toString=function(){return this._name},D.toJSON=function(){return this.toString()},T);function T(t){this._name=t}var v,w=((v=R.prototype).get=function(t){i("get")},v.units=function(){i("units")},v.addTo=function(t){i("addTo")},v.subtractFrom=function(t){i("subtractFrom")},R);function R(){}"undefined"!=typeof Symbol&&Symbol.toPrimitive&&(w.prototype[Symbol.toPrimitive]=function(t){if("number"!==t)return this.toString();throw new TypeError("A conversion from TemporalAmount to a number is not allowed. To compare use the methods .equals(), .compareTo(), .isBefore() or one that is more suitable to your use case.")});var g,I=((g=F.prototype).duration=function(){i("duration")},g.isDurationEstimated=function(){i("isDurationEstimated")},g.isDateBased=function(){i("isDateBased")},g.isTimeBased=function(){i("isTimeBased")},g.isSupportedBy=function(t){i("isSupportedBy")},g.addTo=function(t,e){i("addTo")},g.between=function(t,e){i("between")},F);function F(){}var Y=function(i){function d(t,e){var n;return(n=i.call(this)||this)._seconds=M.safeToInt(t),n._nanos=M.safeToInt(e),n}_(d,i),d.ofDays=function(t){return d._create(M.safeMultiply(t,En.SECONDS_PER_DAY),0)},d.ofHours=function(t){return d._create(M.safeMultiply(t,En.SECONDS_PER_HOUR),0)},d.ofMinutes=function(t){return d._create(M.safeMultiply(t,En.SECONDS_PER_MINUTE),0)},d.ofSeconds=function(t,e){void 0===e&&(e=0);var n=M.safeAdd(t,M.floorDiv(e,En.NANOS_PER_SECOND)),i=M.floorMod(e,En.NANOS_PER_SECOND);return d._create(n,i)},d.ofMillis=function(t){var e=M.intDiv(t,1e3),n=M.intMod(t,1e3);return n<0&&(n+=1e3,e--),d._create(e,1e6*n)},d.ofNanos=function(t){var e=M.intDiv(t,En.NANOS_PER_SECOND),n=M.intMod(t,En.NANOS_PER_SECOND);return n<0&&(n+=En.NANOS_PER_SECOND,e--),this._create(e,n)},d.of=function(t,e){return d.ZERO.plus(t,e)},d.from=function(e){O(e,"amount"),o(e,w);var n=d.ZERO;return e.units().forEach(function(t){n=n.plus(e.get(t),t)}),n},d.between=function(t,e){O(t,"startInclusive"),O(e,"endExclusive");var n=t.until(e,L.SECONDS),i=0;if(t.isSupported(x.NANO_OF_SECOND)&&e.isSupported(x.NANO_OF_SECOND))try{var r=t.getLong(x.NANO_OF_SECOND);if(i=e.getLong(x.NANO_OF_SECOND)-r,0<n&&i<0)i+=En.NANOS_PER_SECOND;else if(n<0&&0<i)i-=En.NANOS_PER_SECOND;else if(0===n&&0!==i){var s=e.with(x.NANO_OF_SECOND,r);n=t.until(s,L.SECONDS)}}catch(t){}return this.ofSeconds(n,i)},d.parse=function(e){O(e,"text");var t=new RegExp("([-+]?)P(?:([-+]?[0-9]+)D)?(T(?:([-+]?[0-9]+)H)?(?:([-+]?[0-9]+)M)?(?:([-+]?[0-9]+)(?:[.,]([0-9]{0,9}))?S)?)?","i").exec(e);if(null!==t&&"T"===t[3]==!1){var n="-"===t[1],i=t[2],r=t[4],s=t[5],o=t[6],a=t[7];if(null!=i||null!=r||null!=s||null!=o){var u=d._parseNumber(e,i,En.SECONDS_PER_DAY,"days"),h=d._parseNumber(e,r,En.SECONDS_PER_HOUR,"hours"),f=d._parseNumber(e,s,En.SECONDS_PER_MINUTE,"minutes"),c=d._parseNumber(e,o,1,"seconds"),l=null!=o&&"-"===o.charAt(0),_=d._parseFraction(e,a,l?-1:1);try{return d._create(n,u,h,f,c,_)}catch(t){throw new p("Text cannot be parsed to a Duration: overflow",e,0,t)}}}throw new p("Text cannot be parsed to a Duration",e,0)},d._parseNumber=function(e,t,n,i){if(null==t)return 0;try{return"+"===t[0]&&(t=t.substring(1)),M.safeMultiply(parseFloat(t),n)}catch(t){throw new p("Text cannot be parsed to a Duration: "+i,e,0,t)}},d._parseFraction=function(t,e,n){return null==e||0===e.length?0:(e=(e+"000000000").substring(0,9),parseFloat(e)*n)},d._create=function(t,e,n,i,r,s){return arguments.length<=2?d._createSecondsNanos(t,e):d._createNegateDaysHoursMinutesSecondsNanos(t,e,n,i,r,s)},d._createNegateDaysHoursMinutesSecondsNanos=function(t,e,n,i,r,s){var o=M.safeAdd(e,M.safeAdd(n,M.safeAdd(i,r)));return t?d.ofSeconds(o,s).negated():d.ofSeconds(o,s)},d._createSecondsNanos=function(t,e){return void 0===t&&(t=0),void 0===e&&(e=0),0===t&&0===e?d.ZERO:new d(t,e)};var t=d.prototype;return t.get=function(t){if(t===L.SECONDS)return this._seconds;if(t===L.NANOS)return this._nanos;throw new l("Unsupported unit: "+t)},t.units=function(){return[L.SECONDS,L.NANOS]},t.isZero=function(){return 0===this._seconds&&0===this._nanos},t.isNegative=function(){return this._seconds<0},t.seconds=function(){return this._seconds},t.nano=function(){return this._nanos},t.withSeconds=function(t){return d._create(t,this._nanos)},t.withNanos=function(t){return x.NANO_OF_SECOND.checkValidIntValue(t),d._create(this._seconds,t)},t.plusDuration=function(t){return O(t,"duration"),this.plus(t.seconds(),t.nano())},t.plus=function(t,e){return 1===arguments.length?this.plusDuration(t):2===arguments.length&&e instanceof I?this.plusAmountUnit(t,e):this.plusSecondsNanos(t,e)},t.plusAmountUnit=function(t,e){if(O(t,"amountToAdd"),O(e,"unit"),e===L.DAYS)return this.plusSecondsNanos(M.safeMultiply(t,En.SECONDS_PER_DAY),0);if(e.isDurationEstimated())throw new l("Unit must not have an estimated duration");if(0===t)return this;if(e instanceof L){switch(e){case L.NANOS:return this.plusNanos(t);case L.MICROS:return this.plusSecondsNanos(1e3*M.intDiv(t,1e9),1e3*M.intMod(t,1e9));case L.MILLIS:return this.plusMillis(t);case L.SECONDS:return this.plusSeconds(t)}return this.plusSecondsNanos(M.safeMultiply(e.duration().seconds(),t),0)}var n=e.duration().multipliedBy(t);return this.plusSecondsNanos(n.seconds(),n.nano())},t.plusDays=function(t){return this.plusSecondsNanos(M.safeMultiply(t,En.SECONDS_PER_DAY),0)},t.plusHours=function(t){return this.plusSecondsNanos(M.safeMultiply(t,En.SECONDS_PER_HOUR),0)},t.plusMinutes=function(t){return this.plusSecondsNanos(M.safeMultiply(t,En.SECONDS_PER_MINUTE),0)},t.plusSeconds=function(t){return this.plusSecondsNanos(t,0)},t.plusMillis=function(t){return this.plusSecondsNanos(M.intDiv(t,1e3),1e6*M.intMod(t,1e3))},t.plusNanos=function(t){return this.plusSecondsNanos(0,t)},t.plusSecondsNanos=function(t,e){if(O(t,"secondsToAdd"),O(e,"nanosToAdd"),0===t&&0===e)return this;var n=M.safeAdd(this._seconds,t);n=M.safeAdd(n,M.intDiv(e,En.NANOS_PER_SECOND)),e=M.intMod(e,En.NANOS_PER_SECOND);var i=M.safeAdd(this._nanos,e);return d.ofSeconds(n,i)},t.minus=function(t,e){return 1===arguments.length?this.minusDuration(t):this.minusAmountUnit(t,e)},t.minusDuration=function(t){O(t,"duration");var e=t.seconds(),n=t.nano();return e===f?this.plus(h,-n):this.plus(-e,-n)},t.minusAmountUnit=function(t,e){return O(t,"amountToSubtract"),O(e,"unit"),t===f?this.plusAmountUnit(h,e):this.plusAmountUnit(-t,e)},t.minusDays=function(t){return t===f?this.plusDays(h):this.plusDays(-t)},t.minusHours=function(t){return t===f?this.plusHours(h):this.plusHours(-t)},t.minusMinutes=function(t){return t===f?this.plusMinutes(h):this.plusMinutes(-t)},t.minusSeconds=function(t){return t===f?this.plusSeconds(h):this.plusSeconds(-t)},t.minusMillis=function(t){return t===f?this.plusMillis(h):this.plusMillis(-t)},t.minusNanos=function(t){return t===f?this.plusNanos(h):this.plusNanos(-t)},t.multipliedBy=function(t){if(0===t)return d.ZERO;if(1===t)return this;var e=M.safeMultiply(this._seconds,t),n=M.safeMultiply(this._nanos,t);return e+=M.intDiv(n,En.NANOS_PER_SECOND),n=M.intMod(n,En.NANOS_PER_SECOND),d.ofSeconds(e,n)},t.dividedBy=function(t){if(0===t)throw new S("Cannot divide by zero");if(1===t)return this;var e=M.intDiv(this._seconds,t),n=M.roundDown((this._seconds/t-e)*En.NANOS_PER_SECOND),i=M.intDiv(this._nanos,t);return d.ofSeconds(e,i=n+i)},t.negated=function(){return this.multipliedBy(-1)},t.abs=function(){return this.isNegative()?this.negated():this},t.addTo=function(t){return O(t,"temporal"),0!==this._seconds&&(t=t.plus(this._seconds,L.SECONDS)),0!==this._nanos&&(t=t.plus(this._nanos,L.NANOS)),t},t.subtractFrom=function(t){return O(t,"temporal"),0!==this._seconds&&(t=t.minus(this._seconds,L.SECONDS)),0!==this._nanos&&(t=t.minus(this._nanos,L.NANOS)),t},t.toDays=function(){return M.intDiv(this._seconds,En.SECONDS_PER_DAY)},t.toHours=function(){return M.intDiv(this._seconds,En.SECONDS_PER_HOUR)},t.toMinutes=function(){return M.intDiv(this._seconds,En.SECONDS_PER_MINUTE)},t.toMillis=function(){var t=Math.round(M.safeMultiply(this._seconds,1e3));return t=M.safeAdd(t,M.intDiv(this._nanos,1e6))},t.toNanos=function(){var t=M.safeMultiply(this._seconds,En.NANOS_PER_SECOND);return t=M.safeAdd(t,this._nanos)},t.compareTo=function(t){O(t,"otherDuration"),o(t,d,"otherDuration");var e=M.compareNumbers(this._seconds,t.seconds());return 0!==e?e:this._nanos-t.nano()},t.equals=function(t){return this===t||t instanceof d&&(this.seconds()===t.seconds()&&this.nano()===t.nano())},t.toString=function(){if(this===d.ZERO)return"PT0S";var t,e=M.intDiv(this._seconds,En.SECONDS_PER_HOUR),n=M.intDiv(M.intMod(this._seconds,En.SECONDS_PER_HOUR),En.SECONDS_PER_MINUTE),i=M.intMod(this._seconds,En.SECONDS_PER_MINUTE),r="PT";if(0!==e&&(r+=e+"H"),0!==n&&(r+=n+"M"),0===i&&0===this._nanos&&2<r.length)return r;if(i<0&&0<this._nanos?r+=-1===i?"-0":i+1:r+=i,0<this._nanos)for(r+=".",r+=t=(t=i<0?""+(2*En.NANOS_PER_SECOND-this._nanos):""+(En.NANOS_PER_SECOND+this._nanos)).slice(1,t.length);"0"===r.charAt(r.length-1);)r=r.slice(0,r.length-1);return r+="S"},t.toJSON=function(){return this.toString()},d}(w);var C=function(){};var L=function(i){function t(t,e){var n;return(n=i.call(this)||this)._name=t,n._duration=e,n}_(t,i);var e=t.prototype;return e.duration=function(){return this._duration},e.isDurationEstimated=function(){return this.isDateBased()||this===t.FOREVER},e.isDateBased=function(){return 0<=this.compareTo(t.DAYS)&&this!==t.FOREVER},e.isTimeBased=function(){return this.compareTo(t.DAYS)<0},e.isSupportedBy=function(e){if(this===t.FOREVER)return!1;try{return e.plus(1,this),!0}catch(t){try{return e.plus(-1,this),!0}catch(t){return!1}}},e.addTo=function(t,e){return t.plus(e,this)},e.between=function(t,e){return t.until(e,this)},e.toString=function(){return this._name},e.compareTo=function(t){return this.duration().compareTo(t.duration())},t}(I);var P,U=((P=V.prototype).isDateBased=function(){i("isDateBased")},P.isTimeBased=function(){i("isTimeBased")},P.baseUnit=function(){i("baseUnit")},P.rangeUnit=function(){i("rangeUnit")},P.range=function(){i("range")},P.rangeRefinedBy=function(t){i("rangeRefinedBy")},P.getFrom=function(t){i("getFrom")},P.adjustInto=function(t,e){i("adjustInto")},P.isSupportedBy=function(t){i("isSupportedBy")},P.displayName=function(){i("displayName")},P.equals=function(t){i("equals")},P.name=function(){i("name")},V);function V(){}var b,H=((b=W.prototype).isFixed=function(){return this._minSmallest===this._minLargest&&this._maxSmallest===this._maxLargest},b.minimum=function(){return this._minSmallest},b.largestMinimum=function(){return this._minLargest},b.maximum=function(){return this._maxLargest},b.smallestMaximum=function(){return this._maxSmallest},b.isValidValue=function(t){return this.minimum()<=t&&t<=this.maximum()},b.checkValidValue=function(t,e){return this.isValidValue(t)?t:m(!1,null!=e?"Invalid value for "+e+" (valid values "+this.toString()+"): "+t:"Invalid value (valid values "+this.toString()+"): "+t,y)},b.checkValidIntValue=function(t,e){if(!1===this.isValidIntValue(t))throw new y("Invalid int value for "+e+": "+t);return t},b.isValidIntValue=function(t){return this.isIntValue()&&this.isValidValue(t)},b.isIntValue=function(){return this.minimum()>=M.MIN_SAFE_INTEGER&&this.maximum()<=M.MAX_SAFE_INTEGER},b.equals=function(t){return t===this||t instanceof W&&this._minSmallest===t._minSmallest&&this._minLargest===t._minLargest&&this._maxSmallest===t._maxSmallest&&this._maxLargest===t._maxLargest},b.hashCode=function(){return M.hashCode(this._minSmallest,this._minLargest,this._maxSmallest,this._maxLargest)},b.toString=function(){var t=this.minimum()+(this.minimum()!==this.largestMinimum()?"/"+this.largestMinimum():"");return t+=" - ",t+=this.smallestMaximum()+(this.smallestMaximum()!==this.maximum()?"/"+this.maximum():"")},W.of=function(t,e,n,i){return 2===arguments.length?new W(t,t,e,e):3===arguments.length?new W(t,t,e,n):4===arguments.length?new W(t,e,n,i):m(!1,"Invalid number of arguments "+arguments.length,c)},W);function W(t,e,n,i){m(!(e<t),"Smallest minimum value '"+t+"' must be less than largest minimum value '"+e+"'",c),m(!(i<n),"Smallest maximum value '"+n+"' must be less than largest maximum value '"+i+"'",c),m(!(i<e),"Minimum value '"+e+"' must be less than maximum value '"+i+"'",c),this._minSmallest=t,this._minLargest=e,this._maxLargest=i,this._maxSmallest=n}var x=function(s){function n(t,e,n,i){var r;return(r=s.call(this)||this)._name=t,r._baseUnit=e,r._rangeUnit=n,r._range=i,r}_(n,s),n.byName=function(t){for(var e in n)if(n[e]&&n[e]instanceof n&&n[e].name()===t)return n[e]};var t=n.prototype;return t.name=function(){return this._name},t.baseUnit=function(){return this._baseUnit},t.rangeUnit=function(){return this._rangeUnit},t.range=function(){return this._range},t.displayName=function(){return this.toString()},t.checkValidValue=function(t){return this.range().checkValidValue(t,this)},t.checkValidIntValue=function(t){return this.range().checkValidIntValue(t,this)},t.isDateBased=function(){return this===n.DAY_OF_WEEK||this===n.ALIGNED_DAY_OF_WEEK_IN_MONTH||this===n.ALIGNED_DAY_OF_WEEK_IN_YEAR||this===n.DAY_OF_MONTH||this===n.DAY_OF_YEAR||this===n.EPOCH_DAY||this===n.ALIGNED_WEEK_OF_MONTH||this===n.ALIGNED_WEEK_OF_YEAR||this===n.MONTH_OF_YEAR||this===n.YEAR_OF_ERA||this===n.YEAR||this===n.ERA},t.isTimeBased=function(){return this===n.NANO_OF_SECOND||this===n.NANO_OF_DAY||this===n.MICRO_OF_SECOND||this===n.MICRO_OF_DAY||this===n.MILLI_OF_SECOND||this===n.MILLI_OF_DAY||this===n.SECOND_OF_MINUTE||this===n.SECOND_OF_DAY||this===n.MINUTE_OF_HOUR||this===n.MINUTE_OF_DAY||this===n.HOUR_OF_AMPM||this===n.CLOCK_HOUR_OF_AMPM||this===n.HOUR_OF_DAY||this===n.CLOCK_HOUR_OF_DAY||this===n.AMPM_OF_DAY},t.rangeRefinedBy=function(t){return t.range(this)},t.getFrom=function(t){return t.getLong(this)},t.toString=function(){return this.name()},t.equals=function(t){return this===t},t.adjustInto=function(t,e){return t.with(this,e)},t.isSupportedBy=function(t){return t.isSupported(this)},n}(U);var k=(B.zoneId=function(){return B.ZONE_ID},B.chronology=function(){return B.CHRONO},B.precision=function(){return B.PRECISION},B.zone=function(){return B.ZONE},B.offset=function(){return B.OFFSET},B.localDate=function(){return B.LOCAL_DATE},B.localTime=function(){return B.LOCAL_TIME},B);function B(){}var q,Z=((q=z.prototype).query=function(t){return t===k.zoneId()||t===k.chronology()||t===k.precision()?null:t.queryFrom(this)},q.get=function(t){return this.range(t).checkValidIntValue(this.getLong(t),t)},q.getLong=function(t){i("getLong")},q.range=function(t){if(t instanceof x){if(this.isSupported(t))return t.range();throw new l("Unsupported field: "+t)}return t.rangeRefinedBy(this)},q.isSupported=function(t){i("isSupported")},z);function z(){}var K,j=(_(G,K=A),G.prototype.queryFrom=function(t){i("queryFrom")},G);function G(){return K.apply(this,arguments)||this}function X(t,e){var n,i=(_(r,n=j),r);function r(){return n.apply(this,arguments)||this}return i.prototype.queryFrom=e,new i(t)}var J,Q=function(i){function n(t,e){var n;return(n=i.call(this)||this)._ordinal=t,n._name=e,n}_(n,i);var t=n.prototype;return t.ordinal=function(){return this._ordinal},t.name=function(){return this._name},n.values=function(){return J.slice()},n.valueOf=function(t){for(var e=0;e<J.length&&J[e].name()!==t;e++);return n.of(e+1)},n.of=function(t){if(t<1||7<t)throw new y("Invalid value for DayOfWeek: "+t);return J[t-1]},n.from=function(e){if(m(null!=e,"temporal",s),e instanceof n)return e;try{return n.of(e.get(x.DAY_OF_WEEK))}catch(t){throw t instanceof y?new y("Unable to obtain DayOfWeek from TemporalAccessor: "+e+", type "+(null!=e.constructor?e.constructor.name:""),t):t}},t.value=function(){return this._ordinal+1},t.displayName=function(t,e){throw new c("Pattern using (localized) text not implemented yet!")},t.isSupported=function(t){return t instanceof x?t===x.DAY_OF_WEEK:null!=t&&t.isSupportedBy(this)},t.range=function(t){if(t===x.DAY_OF_WEEK)return t.range();if(t instanceof x)throw new l("Unsupported field: "+t);return t.rangeRefinedBy(this)},t.get=function(t){return t===x.DAY_OF_WEEK?this.value():this.range(t).checkValidIntValue(this.getLong(t),t)},t.getLong=function(t){if(t===x.DAY_OF_WEEK)return this.value();if(t instanceof x)throw new l("Unsupported field: "+t);return t.getFrom(this)},t.plus=function(t){var e=M.floorMod(t,7);return J[M.floorMod(this._ordinal+(e+7),7)]},t.minus=function(t){return this.plus(-1*M.floorMod(t,7))},t.query=function(t){return t===k.precision()?L.DAYS:t===k.localDate()||t===k.localTime()||t===k.chronology()||t===k.zone()||t===k.zoneId()||t===k.offset()?null:(m(null!=t,"query",s),t.queryFrom(this))},t.adjustInto=function(t){return O(t,"temporal"),t.with(x.DAY_OF_WEEK,this.value())},t.equals=function(t){return this===t},t.toString=function(){return this._name},t.compareTo=function(t){return O(t,"other"),o(t,n,"other"),this._ordinal-t._ordinal},t.toJSON=function(){return this.toString()},n}(Z);var $,tt=function(i){function r(t,e){var n;return(n=i.call(this)||this)._value=M.safeToInt(t),n._name=e,n}_(r,i);var t=r.prototype;return t.value=function(){return this._value},t.ordinal=function(){return this._value-1},t.name=function(){return this._name},t.displayName=function(t,e){throw new c("Pattern using (localized) text not implemented yet!")},t.isSupported=function(t){return null!==t&&(t instanceof x?t===x.MONTH_OF_YEAR:null!=t&&t.isSupportedBy(this))},t.get=function(t){return t===x.MONTH_OF_YEAR?this.value():this.range(t).checkValidIntValue(this.getLong(t),t)},t.getLong=function(t){if(t===x.MONTH_OF_YEAR)return this.value();if(t instanceof x)throw new l("Unsupported field: "+t);return t.getFrom(this)},t.plus=function(t){var e=M.intMod(t,12)+12,n=M.intMod(this.value()+e,12);return r.of(n=0===n?12:n)},t.minus=function(t){return this.plus(-1*M.intMod(t,12))},t.length=function(t){switch(this){case r.FEBRUARY:return t?29:28;case r.APRIL:case r.JUNE:case r.SEPTEMBER:case r.NOVEMBER:return 30;default:return 31}},t.minLength=function(){switch(this){case r.FEBRUARY:return 28;case r.APRIL:case r.JUNE:case r.SEPTEMBER:case r.NOVEMBER:return 30;default:return 31}},t.maxLength=function(){switch(this){case r.FEBRUARY:return 29;case r.APRIL:case r.JUNE:case r.SEPTEMBER:case r.NOVEMBER:return 30;default:return 31}},t.firstDayOfYear=function(t){var e=t?1:0;switch(this){case r.JANUARY:return 1;case r.FEBRUARY:return 32;case r.MARCH:return 60+e;case r.APRIL:return 91+e;case r.MAY:return 121+e;case r.JUNE:return 152+e;case r.JULY:return 182+e;case r.AUGUST:return 213+e;case r.SEPTEMBER:return 244+e;case r.OCTOBER:return 274+e;case r.NOVEMBER:return 305+e;case r.DECEMBER:default:return 335+e}},t.firstMonthOfQuarter=function(){switch(this){case r.JANUARY:case r.FEBRUARY:case r.MARCH:return r.JANUARY;case r.APRIL:case r.MAY:case r.JUNE:return r.APRIL;case r.JULY:case r.AUGUST:case r.SEPTEMBER:return r.JULY;case r.OCTOBER:case r.NOVEMBER:case r.DECEMBER:default:return r.OCTOBER}},t.query=function(t){return m(null!=t,"query() parameter must not be null",y),t===k.chronology()?un.INSTANCE:t===k.precision()?L.MONTHS:i.prototype.query.call(this,t)},t.toString=function(){switch(this){case r.JANUARY:return"JANUARY";case r.FEBRUARY:return"FEBRUARY";case r.MARCH:return"MARCH";case r.APRIL:return"APRIL";case r.MAY:return"MAY";case r.JUNE:return"JUNE";case r.JULY:return"JULY";case r.AUGUST:return"AUGUST";case r.SEPTEMBER:return"SEPTEMBER";case r.OCTOBER:return"OCTOBER";case r.NOVEMBER:return"NOVEMBER";case r.DECEMBER:return"DECEMBER";default:return"unknown Month, value: "+this.value()}},t.toJSON=function(){return this.toString()},t.adjustInto=function(t){return t.with(x.MONTH_OF_YEAR,this.value())},t.compareTo=function(t){return O(t,"other"),o(t,r,"other"),this._value-t._value},t.equals=function(t){return this===t},r.valueOf=function(t){for(var e=0;e<$.length&&$[e].name()!==t;e++);return r.of(e+1)},r.values=function(){return $.slice()},r.of=function(t){return(t<1||12<t)&&m(!1,"Invalid value for MonthOfYear: "+t,y),$[t-1]},r.from=function(e){if(e instanceof r)return e;try{return r.of(e.get(x.MONTH_OF_YEAR))}catch(t){throw new y("Unable to obtain Month from TemporalAccessor: "+e+" of type "+(e&&null!=e.constructor?e.constructor.name:""),t)}},r}(Z);var et=/([-+]?)P(?:([-+]?[0-9]+)Y)?(?:([-+]?[0-9]+)M)?(?:([-+]?[0-9]+)W)?(?:([-+]?[0-9]+)D)?/,nt=function(a){function c(t,e,n){var i;i=a.call(this)||this;var r=M.safeToInt(t),s=M.safeToInt(e),o=M.safeToInt(n);return 0===r&&0===s&&0===o?(c.ZERO||(i._years=r,i._months=s,i._days=o,c.ZERO=d(i)),c.ZERO||d(i)):(i._years=r,i._months=s,i._days=o,i)}_(c,a),c.ofYears=function(t){return c.create(t,0,0)},c.ofMonths=function(t){return c.create(0,t,0)},c.ofWeeks=function(t){return c.create(0,0,M.safeMultiply(t,7))},c.ofDays=function(t){return c.create(0,0,t)},c.of=function(t,e,n){return c.create(t,e,n)},c.from=function(t){if(t instanceof c)return t;O(t,"amount");for(var e=0,n=0,i=0,r=t.units(),s=0;s<r.length;s++){var o=r[s],a=t.get(o);if(o===L.YEARS)e=M.safeToInt(a);else if(o===L.MONTHS)n=M.safeToInt(a);else{if(o!==L.DAYS)throw new y("Unit must be Years, Months or Days, but was "+o);i=M.safeToInt(a)}}return c.create(e,n,i)},c.between=function(t,e){return O(t,"startDate"),O(e,"endDate"),o(t,dn,"startDate"),o(e,dn,"endDate"),t.until(e)},c.parse=function(e){O(e,"text");try{return c._parse(e)}catch(t){throw t instanceof S?new p("Text cannot be parsed to a Period",e,0,t):t}},c._parse=function(t){var e=et.exec(t);if(null!=e){var n="-"===e[1]?-1:1,i=e[2],r=e[3],s=e[4],o=e[5];if(null!=i||null!=r||null!=s||null!=o){var a=c._parseNumber(t,i,n),u=c._parseNumber(t,r,n),h=c._parseNumber(t,s,n),f=c._parseNumber(t,o,n);return f=M.safeAdd(f,M.safeMultiply(h,7)),c.create(a,u,f)}}throw new p("Text cannot be parsed to a Period",t,0)},c._parseNumber=function(t,e,n){if(null==e)return 0;var i=M.parseInt(e);return M.safeMultiply(i,n)},c.create=function(t,e,n){return new c(t,e,n)};var t=c.prototype;return t.units=function(){return[L.YEARS,L.MONTHS,L.DAYS]},t.chronology=function(){return un.INSTANCE},t.get=function(t){if(t===L.YEARS)return this._years;if(t===L.MONTHS)return this._months;if(t===L.DAYS)return this._days;throw new l("Unsupported unit: "+t)},t.isZero=function(){return this===c.ZERO},t.isNegative=function(){return this._years<0||this._months<0||this._days<0},t.years=function(){return this._years},t.months=function(){return this._months},t.days=function(){return this._days},t.withYears=function(t){return t===this._years?this:c.create(t,this._months,this._days)},t.withMonths=function(t){return t===this._months?this:c.create(this._years,t,this._days)},t.withDays=function(t){return t===this._days?this:c.create(this._years,this._months,t)},t.plus=function(t){var e=c.from(t);return c.create(M.safeAdd(this._years,e._years),M.safeAdd(this._months,e._months),M.safeAdd(this._days,e._days))},t.plusYears=function(t){return 0===t?this:c.create(M.safeToInt(M.safeAdd(this._years,t)),this._months,this._days)},t.plusMonths=function(t){return 0===t?this:c.create(this._years,M.safeToInt(M.safeAdd(this._months,t)),this._days)},t.plusDays=function(t){return 0===t?this:c.create(this._years,this._months,M.safeToInt(M.safeAdd(this._days,t)))},t.minus=function(t){var e=c.from(t);return c.create(M.safeSubtract(this._years,e._years),M.safeSubtract(this._months,e._months),M.safeSubtract(this._days,e._days))},t.minusYears=function(t){return this.plusYears(-1*t)},t.minusMonths=function(t){return this.plusMonths(-1*t)},t.minusDays=function(t){return this.plusDays(-1*t)},t.multipliedBy=function(t){return this===c.ZERO||1===t?this:c.create(M.safeMultiply(this._years,t),M.safeMultiply(this._months,t),M.safeMultiply(this._days,t))},t.negated=function(){return this.multipliedBy(-1)},t.normalized=function(){var t=this.toTotalMonths(),e=M.intDiv(t,12),n=M.intMod(t,12);return e===this._years&&n===this._months?this:c.create(M.safeToInt(e),n,this._days)},t.toTotalMonths=function(){return 12*this._years+this._months},t.addTo=function(t){return O(t,"temporal"),0!==this._years?t=0!==this._months?t.plus(this.toTotalMonths(),L.MONTHS):t.plus(this._years,L.YEARS):0!==this._months&&(t=t.plus(this._months,L.MONTHS)),0!==this._days&&(t=t.plus(this._days,L.DAYS)),t},t.subtractFrom=function(t){return O(t,"temporal"),0!==this._years?t=0!==this._months?t.minus(this.toTotalMonths(),L.MONTHS):t.minus(this._years,L.YEARS):0!==this._months&&(t=t.minus(this._months,L.MONTHS)),0!==this._days&&(t=t.minus(this._days,L.DAYS)),t},t.equals=function(t){if(this===t)return!0;if(t instanceof c){var e=t;return this._years===e._years&&this._months===e._months&&this._days===e._days}return!1},t.hashCode=function(){return M.hashCode(this._years,this._months,this._days)},t.toString=function(){if(this===c.ZERO)return"P0D";var t="P";return 0!==this._years&&(t+=this._years+"Y"),0!==this._months&&(t+=this._months+"M"),0!==this._days&&(t+=this._days+"D"),t},t.toJSON=function(){return this.toString()},c}(w);var it,rt=((it=st.prototype).getIndex=function(){return this._index},it.setIndex=function(t){this._index=t},it.getErrorIndex=function(){return this._errorIndex},it.setErrorIndex=function(t){this._errorIndex=t},st);function st(t){this._index=t,this._errorIndex=-1}var ot,at=((ot=ut.prototype).putAll=function(t){for(var e in t._map)this._map[e]=t._map[e];return this},ot.containsKey=function(t){return this._map.hasOwnProperty(t.name())&&void 0!==this.get(t)},ot.get=function(t){return this._map[t.name()]},ot.put=function(t,e){return this.set(t,e)},ot.set=function(t,e){return this._map[t.name()]=e,this},ot.retainAll=function(t){for(var e={},n=0;n<t.length;n++){var i=t[n].name();e[i]=this._map[i]}return this._map=e,this},ot.remove=function(t){var e=t.name(),n=this._map[e];return this._map[e]=void 0,n},ot.keySet=function(){return this._map},ot.clear=function(){this._map={}},ut);function ut(){this._map={}}var ht,ft=(_(ct,ht=A),ct);function ct(){return ht.apply(this,arguments)||this}ft.STRICT=new ft("STRICT"),ft.SMART=new ft("SMART"),ft.LENIENT=new ft("LENIENT");var lt=function(t){function e(){return t.apply(this,arguments)||this}_(e,t);var n=e.prototype;return n.isSupported=function(t){i("isSupported")},n.minus=function(t,e){return arguments.length<2?this._minusAmount(t):this._minusUnit(t,e)},n._minusAmount=function(t){return O(t,"amount"),o(t,w,"amount"),t.subtractFrom(this)},n._minusUnit=function(t,e){return O(t,"amountToSubtract"),O(e,"unit"),o(e,I,"unit"),this._plusUnit(-t,e)},n.plus=function(t,e){return arguments.length<2?this._plusAmount(t):this._plusUnit(t,e)},n._plusAmount=function(t){return O(t,"amount"),o(t,w,"amount"),t.addTo(this)},n._plusUnit=function(t,e){i("_plusUnit")},n.until=function(t,e){i("until")},n.with=function(t,e){return arguments.length<2?this._withAdjuster(t):this._withField(t,e)},n._withAdjuster=function(t){return O(t,"adjuster"),m("function"==typeof t.adjustInto,"adjuster must be a TemporalAdjuster",c),t.adjustInto(this)},n._withField=function(t,e){i("_withField")},e}(Z);"undefined"!=typeof Symbol&&Symbol.toPrimitive&&(lt.prototype[Symbol.toPrimitive]=function(t){if("number"!==t)return this.toString();throw new TypeError("A conversion from Temporal to a number is not allowed. To compare use the methods .equals(), .compareTo(), .isBefore() or one that is more suitable to your use case.")});var _t=function(e){function t(){return e.apply(this,arguments)||this}_(t,e);var n=t.prototype;return n.isSupported=function(t){return t instanceof x?t.isDateBased():t instanceof L?t.isDateBased():null!=t&&t.isSupportedBy(this)},n.query=function(t){return t===k.chronology()?this.chronology():t===k.precision()?L.DAYS:t===k.localDate()?dn.ofEpochDay(this.toEpochDay()):t===k.localTime()||t===k.zone()||t===k.zoneId()||t===k.offset()?null:e.prototype.query.call(this,t)},n.adjustInto=function(t){return t.with(x.EPOCH_DAY,this.toEpochDay())},n.format=function(t){return O(t,"formatter"),o(t,xe,"formatter"),t.format(this)},t}(lt),dt=(pt.startsWith=function(t,e){return 0===t.indexOf(e)},pt.hashCode=function(t){var e=t.length;if(0===e)return 0;for(var n=0,i=0;i<e;i++)n=(n<<5)-n+t.charCodeAt(i),n|=0;return M.smi(n)},pt);function pt(){}var Ot=function(){function e(){}e.systemDefault=function(){throw new y("not supported operation")},e.getAvailableZoneIds=function(){throw new y("not supported operation")},e.of=function(t){throw new y("not supported operation"+t)},e.ofOffset=function(t,e){throw new y("not supported operation"+t+e)},e.from=function(t){throw new y("not supported operation"+t)};var t=e.prototype;return t.id=function(){i("ZoneId.id")},t.rules=function(){i("ZoneId.rules")},t.normalized=function(){var t=this.rules();return t.isFixedOffset()?t.offset(Sn.EPOCH):this},t.equals=function(t){return this===t||t instanceof e&&this.id()===t.id()},t.hashCode=function(){return dt.hashCode(this.id())},t.toString=function(){return this.id()},t.toJSON=function(){return this.toString()},e}(),Et=function(){function t(){}t.of=function(t){return O(t,"offset"),new St(t)};var e=t.prototype;return e.isFixedOffset=function(){i("ZoneRules.isFixedOffset")},e.offset=function(t){return t instanceof Sn?this.offsetOfInstant(t):this.offsetOfLocalDateTime(t)},e.offsetOfInstant=function(t){i("ZoneRules.offsetInstant")},e.offsetOfEpochMilli=function(t){i("ZoneRules.offsetOfEpochMilli")},e.offsetOfLocalDateTime=function(t){i("ZoneRules.offsetLocalDateTime")},e.validOffsets=function(t){i("ZoneRules.validOffsets")},e.transition=function(t){i("ZoneRules.transition")},e.standardOffset=function(t){i("ZoneRules.standardOffset")},e.daylightSavings=function(t){i("ZoneRules.daylightSavings")},e.isDaylightSavings=function(t){i("ZoneRules.isDaylightSavings")},e.isValidOffset=function(t,e){i("ZoneRules.isValidOffset")},e.nextTransition=function(t){i("ZoneRules.nextTransition")},e.previousTransition=function(t){i("ZoneRules.previousTransition")},e.transitions=function(){i("ZoneRules.transitions")},e.transitionRules=function(){i("ZoneRules.transitionRules")},e.toString=function(){i("ZoneRules.toString")},e.toJSON=function(){return this.toString()},t}(),St=function(n){function e(t){var e;return(e=n.call(this)||this)._offset=t,e}_(e,n);var t=e.prototype;return t.isFixedOffset=function(){return!0},t.offsetOfInstant=function(){return this._offset},t.offsetOfEpochMilli=function(){return this._offset},t.offsetOfLocalDateTime=function(){return this._offset},t.validOffsets=function(){return[this._offset]},t.transition=function(){return null},t.standardOffset=function(){return this._offset},t.daylightSavings=function(){return Y.ZERO},t.isDaylightSavings=function(){return!1},t.isValidOffset=function(t,e){return this._offset.equals(e)},t.nextTransition=function(){return null},t.previousTransition=function(){return null},t.transitions=function(){return[]},t.transitionRules=function(){return[]},t.equals=function(t){return this===t||t instanceof e&&this._offset.equals(t._offset)},t.toString=function(){return"FixedRules:"+this._offset.toString()},e}(Et),mt={},Nt={},Dt=function(n){function o(t){var e;return e=n.call(this)||this,o._validateTotalSeconds(t),e._totalSeconds=M.safeToInt(t),e._rules=Et.of(d(e)),e._id=o._buildId(t),e}_(o,n);var t=o.prototype;return t.totalSeconds=function(){return this._totalSeconds},t.id=function(){return this._id},o._buildId=function(t){if(0===t)return"Z";var e=Math.abs(t),n=M.intDiv(e,En.SECONDS_PER_HOUR),i=M.intMod(M.intDiv(e,En.SECONDS_PER_MINUTE),En.MINUTES_PER_HOUR),r=(t<0?"-":"+")+(n<10?"0":"")+n+(i<10?":0":":")+i,s=M.intMod(e,En.SECONDS_PER_MINUTE);return 0!==s&&(r+=(s<10?":0":":")+s),r},o._validateTotalSeconds=function(t){if(Math.abs(t)>o.MAX_SECONDS)throw new y("Zone offset not in valid range: -18:00 to +18:00")},o._validate=function(t,e,n){if(t<-18||18<t)throw new y("Zone offset hours not in valid range: value "+t+" is not in the range -18 to 18");if(0<t){if(e<0||n<0)throw new y("Zone offset minutes and seconds must be positive because hours is positive")}else if(t<0){if(0<e||0<n)throw new y("Zone offset minutes and seconds must be negative because hours is negative")}else if(0<e&&n<0||e<0&&0<n)throw new y("Zone offset minutes and seconds must have the same sign");if(59<Math.abs(e))throw new y("Zone offset minutes not in valid range: abs(value) "+Math.abs(e)+" is not in the range 0 to 59");if(59<Math.abs(n))throw new y("Zone offset seconds not in valid range: abs(value) "+Math.abs(n)+" is not in the range 0 to 59");if(18===Math.abs(t)&&(0<Math.abs(e)||0<Math.abs(n)))throw new y("Zone offset not in valid range: -18:00 to +18:00")},o.of=function(t){O(t,"offsetId");var e,n,i,r=Nt[t];if(null!=r)return r;switch(t.length){case 2:t=t[0]+"0"+t[1];case 3:e=o._parseNumber(t,1,!1),i=n=0;break;case 5:e=o._parseNumber(t,1,!1),n=o._parseNumber(t,3,!1),i=0;break;case 6:e=o._parseNumber(t,1,!1),n=o._parseNumber(t,4,!0),i=0;break;case 7:e=o._parseNumber(t,1,!1),n=o._parseNumber(t,3,!1),i=o._parseNumber(t,5,!1);break;case 9:e=o._parseNumber(t,1,!1),n=o._parseNumber(t,4,!0),i=o._parseNumber(t,7,!0);break;default:throw new y("Invalid ID for ZoneOffset, invalid format: "+t)}var s=t[0];if("+"!==s&&"-"!==s)throw new y("Invalid ID for ZoneOffset, plus/minus not found when expected: "+t);return"-"===s?o.ofHoursMinutesSeconds(-e,-n,-i):o.ofHoursMinutesSeconds(e,n,i)},o._parseNumber=function(t,e,n){if(n&&":"!==t[e-1])throw new y("Invalid ID for ZoneOffset, colon not found when expected: "+t);var i=t[e],r=t[e+1];if(i<"0"||"9"<i||r<"0"||"9"<r)throw new y("Invalid ID for ZoneOffset, non numeric characters found: "+t);return 10*(i.charCodeAt(0)-48)+(r.charCodeAt(0)-48)},o.ofHours=function(t){return o.ofHoursMinutesSeconds(t,0,0)},o.ofHoursMinutes=function(t,e){return o.ofHoursMinutesSeconds(t,e,0)},o.ofHoursMinutesSeconds=function(t,e,n){o._validate(t,e,n);var i=t*En.SECONDS_PER_HOUR+e*En.SECONDS_PER_MINUTE+n;return o.ofTotalSeconds(i)},o.ofTotalMinutes=function(t){var e=t*En.SECONDS_PER_MINUTE;return o.ofTotalSeconds(e)},o.ofTotalSeconds=function(t){if(t%(15*En.SECONDS_PER_MINUTE)!=0)return new o(t);var e=t,n=mt[e];return null==n&&(n=new o(t),mt[e]=n,Nt[n.id()]=n),n},t.rules=function(){return this._rules},t.get=function(t){return this.getLong(t)},t.getLong=function(t){if(t===x.OFFSET_SECONDS)return this._totalSeconds;if(t instanceof x)throw new y("Unsupported field: "+t);return t.getFrom(this)},t.query=function(t){return O(t,"query"),t===k.offset()||t===k.zone()?this:t===k.localDate()||t===k.localTime()||t===k.precision()||t===k.chronology()||t===k.zoneId()?null:t.queryFrom(this)},t.adjustInto=function(t){return t.with(x.OFFSET_SECONDS,this._totalSeconds)},t.compareTo=function(t){return O(t,"other"),t._totalSeconds-this._totalSeconds},t.equals=function(t){return this===t||t instanceof o&&this._totalSeconds===t._totalSeconds},t.hashCode=function(){return this._totalSeconds},t.toString=function(){return this._id},o}(Ot);var At,Tt=function(e){function i(){var t;return(t=e.call(this)||this).fieldValues=new at,t.chrono=null,t.zone=null,t.date=null,t.time=null,t.leapSecond=!1,t.excessDays=null,t}_(i,e),i.create=function(t,e){var n=new i;return n._addFieldValue(t,e),n};var t=i.prototype;return t.getFieldValue0=function(t){return this.fieldValues.get(t)},t._addFieldValue=function(t,e){O(t,"field");var n=this.getFieldValue0(t);if(null!=n&&n!==e)throw new y("Conflict found: "+t+" "+n+" differs from "+t+" "+e+": "+this);return this._putFieldValue0(t,e)},t._putFieldValue0=function(t,e){return this.fieldValues.put(t,e),this},t.resolve=function(t,e){return null!=e&&this.fieldValues.retainAll(e),this._mergeDate(t),this._mergeTime(t),this._resolveTimeInferZeroes(t),null!=this.excessDays&&!1===this.excessDays.isZero()&&null!=this.date&&null!=this.time&&(this.date=this.date.plus(this.excessDays),this.excessDays=nt.ZERO),this._resolveInstant(),this},t._mergeDate=function(t){this._checkDate(un.INSTANCE.resolveDate(this.fieldValues,t))},t._checkDate=function(t){if(null!=t)for(var e in this._addObject(t),this.fieldValues.keySet()){var n=x.byName(e);if(n&&void 0!==this.fieldValues.get(n)&&n.isDateBased()){var i=void 0;try{i=t.getLong(n)}catch(t){if(t instanceof y)continue;throw t}var r=this.fieldValues.get(n);if(i!==r)throw new y("Conflict found: Field "+n+" "+i+" differs from "+n+" "+r+" derived from "+t)}}},t._mergeTime=function(t){if(this.fieldValues.containsKey(x.CLOCK_HOUR_OF_DAY)){var e=this.fieldValues.remove(x.CLOCK_HOUR_OF_DAY);t!==ft.LENIENT&&(t===ft.SMART&&0===e||x.CLOCK_HOUR_OF_DAY.checkValidValue(e)),this._addFieldValue(x.HOUR_OF_DAY,24===e?0:e)}if(this.fieldValues.containsKey(x.CLOCK_HOUR_OF_AMPM)){var n=this.fieldValues.remove(x.CLOCK_HOUR_OF_AMPM);t!==ft.LENIENT&&(t===ft.SMART&&0===n||x.CLOCK_HOUR_OF_AMPM.checkValidValue(n)),this._addFieldValue(x.HOUR_OF_AMPM,12===n?0:n)}if(t!==ft.LENIENT&&(this.fieldValues.containsKey(x.AMPM_OF_DAY)&&x.AMPM_OF_DAY.checkValidValue(this.fieldValues.get(x.AMPM_OF_DAY)),this.fieldValues.containsKey(x.HOUR_OF_AMPM)&&x.HOUR_OF_AMPM.checkValidValue(this.fieldValues.get(x.HOUR_OF_AMPM))),this.fieldValues.containsKey(x.AMPM_OF_DAY)&&this.fieldValues.containsKey(x.HOUR_OF_AMPM)){var i=this.fieldValues.remove(x.AMPM_OF_DAY),r=this.fieldValues.remove(x.HOUR_OF_AMPM);this._addFieldValue(x.HOUR_OF_DAY,12*i+r)}if(this.fieldValues.containsKey(x.NANO_OF_DAY)){var s=this.fieldValues.remove(x.NANO_OF_DAY);t!==ft.LENIENT&&x.NANO_OF_DAY.checkValidValue(s),this._addFieldValue(x.SECOND_OF_DAY,M.intDiv(s,1e9)),this._addFieldValue(x.NANO_OF_SECOND,M.intMod(s,1e9))}if(this.fieldValues.containsKey(x.MICRO_OF_DAY)){var o=this.fieldValues.remove(x.MICRO_OF_DAY);t!==ft.LENIENT&&x.MICRO_OF_DAY.checkValidValue(o),this._addFieldValue(x.SECOND_OF_DAY,M.intDiv(o,1e6)),this._addFieldValue(x.MICRO_OF_SECOND,M.intMod(o,1e6))}if(this.fieldValues.containsKey(x.MILLI_OF_DAY)){var a=this.fieldValues.remove(x.MILLI_OF_DAY);t!==ft.LENIENT&&x.MILLI_OF_DAY.checkValidValue(a),this._addFieldValue(x.SECOND_OF_DAY,M.intDiv(a,1e3)),this._addFieldValue(x.MILLI_OF_SECOND,M.intMod(a,1e3))}if(this.fieldValues.containsKey(x.SECOND_OF_DAY)){var u=this.fieldValues.remove(x.SECOND_OF_DAY);t!==ft.LENIENT&&x.SECOND_OF_DAY.checkValidValue(u),this._addFieldValue(x.HOUR_OF_DAY,M.intDiv(u,3600)),this._addFieldValue(x.MINUTE_OF_HOUR,M.intMod(M.intDiv(u,60),60)),this._addFieldValue(x.SECOND_OF_MINUTE,M.intMod(u,60))}if(this.fieldValues.containsKey(x.MINUTE_OF_DAY)){var h=this.fieldValues.remove(x.MINUTE_OF_DAY);t!==ft.LENIENT&&x.MINUTE_OF_DAY.checkValidValue(h),this._addFieldValue(x.HOUR_OF_DAY,M.intDiv(h,60)),this._addFieldValue(x.MINUTE_OF_HOUR,M.intMod(h,60))}if(t!==ft.LENIENT&&(this.fieldValues.containsKey(x.MILLI_OF_SECOND)&&x.MILLI_OF_SECOND.checkValidValue(this.fieldValues.get(x.MILLI_OF_SECOND)),this.fieldValues.containsKey(x.MICRO_OF_SECOND)&&x.MICRO_OF_SECOND.checkValidValue(this.fieldValues.get(x.MICRO_OF_SECOND))),this.fieldValues.containsKey(x.MILLI_OF_SECOND)&&this.fieldValues.containsKey(x.MICRO_OF_SECOND)){var f=this.fieldValues.remove(x.MILLI_OF_SECOND),c=this.fieldValues.get(x.MICRO_OF_SECOND);this._putFieldValue0(x.MICRO_OF_SECOND,1e3*f+M.intMod(c,1e3))}if(this.fieldValues.containsKey(x.MICRO_OF_SECOND)&&this.fieldValues.containsKey(x.NANO_OF_SECOND)){var l=this.fieldValues.get(x.NANO_OF_SECOND);this._putFieldValue0(x.MICRO_OF_SECOND,M.intDiv(l,1e3)),this.fieldValues.remove(x.MICRO_OF_SECOND)}if(this.fieldValues.containsKey(x.MILLI_OF_SECOND)&&this.fieldValues.containsKey(x.NANO_OF_SECOND)){var _=this.fieldValues.get(x.NANO_OF_SECOND);this._putFieldValue0(x.MILLI_OF_SECOND,M.intDiv(_,1e6)),this.fieldValues.remove(x.MILLI_OF_SECOND)}if(this.fieldValues.containsKey(x.MICRO_OF_SECOND)){var d=this.fieldValues.remove(x.MICRO_OF_SECOND);this._putFieldValue0(x.NANO_OF_SECOND,1e3*d)}else if(this.fieldValues.containsKey(x.MILLI_OF_SECOND)){var p=this.fieldValues.remove(x.MILLI_OF_SECOND);this._putFieldValue0(x.NANO_OF_SECOND,1e6*p)}},t._resolveTimeInferZeroes=function(t){var e=this.fieldValues.get(x.HOUR_OF_DAY),n=this.fieldValues.get(x.MINUTE_OF_HOUR),i=this.fieldValues.get(x.SECOND_OF_MINUTE),r=this.fieldValues.get(x.NANO_OF_SECOND);if(null!=e&&(null!=n||null==i&&null==r)&&(null==n||null!=i||null==r)){if(t!==ft.LENIENT){if(null!=e){t!==ft.SMART||24!==e||null!=n&&0!==n||null!=i&&0!==i||null!=r&&0!==r||(e=0,this.excessDays=nt.ofDays(1));var s=x.HOUR_OF_DAY.checkValidIntValue(e);if(null!=n){var o=x.MINUTE_OF_HOUR.checkValidIntValue(n);if(null!=i){var a=x.SECOND_OF_MINUTE.checkValidIntValue(i);if(null!=r){var u=x.NANO_OF_SECOND.checkValidIntValue(r);this._addObject(En.of(s,o,a,u))}else this._addObject(En.of(s,o,a))}else null==r&&this._addObject(En.of(s,o))}else null==i&&null==r&&this._addObject(En.of(s,0))}}else if(null!=e){var h=e;if(null!=n)if(null!=i){null==r&&(r=0);var f=M.safeMultiply(h,36e11);f=M.safeAdd(f,M.safeMultiply(n,6e10)),f=M.safeAdd(f,M.safeMultiply(i,1e9)),f=M.safeAdd(f,r);var c=M.floorDiv(f,864e11),l=M.floorMod(f,864e11);this._addObject(En.ofNanoOfDay(l)),this.excessDays=nt.ofDays(c)}else{var _=M.safeMultiply(h,3600);_=M.safeAdd(_,M.safeMultiply(n,60));var d=M.floorDiv(_,86400),p=M.floorMod(_,86400);this._addObject(En.ofSecondOfDay(p)),this.excessDays=nt.ofDays(d)}else{var O=M.safeToInt(M.floorDiv(h,24));h=M.floorMod(h,24),this._addObject(En.of(h,0)),this.excessDays=nt.ofDays(O)}}this.fieldValues.remove(x.HOUR_OF_DAY),this.fieldValues.remove(x.MINUTE_OF_HOUR),this.fieldValues.remove(x.SECOND_OF_MINUTE),this.fieldValues.remove(x.NANO_OF_SECOND)}},t._addObject=function(t){t instanceof _t?this.date=t:t instanceof En&&(this.time=t)},t._resolveInstant=function(){if(null!=this.date&&null!=this.time){var t=this.fieldValues.get(x.OFFSET_SECONDS);if(null!=t){var e=Dt.ofTotalSeconds(t),n=this.date.atTime(this.time).atZone(e).getLong(x.INSTANT_SECONDS);this.fieldValues.put(x.INSTANT_SECONDS,n)}else if(null!=this.zone){var i=this.date.atTime(this.time).atZone(this.zone).getLong(x.INSTANT_SECONDS);this.fieldValues.put(x.INSTANT_SECONDS,i)}}},t.build=function(t){return t.queryFrom(this)},t.isSupported=function(t){return null!=t&&(this.fieldValues.containsKey(t)&&void 0!==this.fieldValues.get(t)||null!=this.date&&this.date.isSupported(t)||null!=this.time&&this.time.isSupported(t))},t.getLong=function(t){O(t,"field");var e=this.getFieldValue0(t);if(null!=e)return e;if(null!=this.date&&this.date.isSupported(t))return this.date.getLong(t);if(null!=this.time&&this.time.isSupported(t))return this.time.getLong(t);throw new y("Field not found: "+t)},t.query=function(t){return t===k.zoneId()?this.zone:t===k.chronology()?this.chrono:t===k.localDate()?null!=this.date?dn.from(this.date):null:t===k.localTime()?this.time:t===k.zone()||t===k.offset()?t.queryFrom(this):t===k.precision()?null:t.queryFrom(this)},i}(Z),vt=((At=wt.prototype)._constructorParam=function(t,e,n){this._locale=t,this._symbols=e,this._overrideChronology=n},At._constructorFormatter=function(t){this._locale=t.locale(),this._symbols=t.decimalStyle(),this._overrideChronology=t.chronology()},At._constructorSelf=function(t){this._locale=t._locale,this._symbols=t._symbols,this._overrideChronology=t._overrideChronology,this._overrideZone=t._overrideZone,this._caseSensitive=t._caseSensitive,this._strict=t._strict,this._parsed=[new yt(this)]},At.copy=function(){return new wt(this)},At.symbols=function(){return this._symbols},At.isStrict=function(){return this._strict},At.setStrict=function(t){this._strict=t},At.locale=function(){return this._locale},At.setLocale=function(t){this._locale=t},At.startOptional=function(){this._parsed.push(this.currentParsed().copy())},At.endOptional=function(t){t?this._parsed.splice(this._parsed.length-2,1):this._parsed.splice(this._parsed.length-1,1)},At.isCaseSensitive=function(){return this._caseSensitive},At.setCaseSensitive=function(t){this._caseSensitive=t},At.subSequenceEquals=function(t,e,n,i,r){if(e+r>t.length||i+r>n.length)return!1;this.isCaseSensitive()||(t=t.toLowerCase(),n=n.toLowerCase());for(var s=0;s<r;s++)if(t[e+s]!==n[i+s])return!1;return!0},At.charEquals=function(t,e){return this.isCaseSensitive()?t===e:this.charEqualsIgnoreCase(t,e)},At.charEqualsIgnoreCase=function(t,e){return t===e||t.toLowerCase()===e.toLowerCase()},At.setParsedField=function(t,e,n,i){var r=this.currentParsed().fieldValues,s=r.get(t);return r.set(t,e),null!=s&&s!==e?~n:i},At.setParsedZone=function(t){O(t,"zone"),this.currentParsed().zone=t},At.getParsed=function(t){return this.currentParsed().fieldValues.get(t)},At.toParsed=function(){return this.currentParsed()},At.currentParsed=function(){return this._parsed[this._parsed.length-1]},At.setParsedLeapSecond=function(){this.currentParsed().leapSecond=!0},At.getEffectiveChronology=function(){var t=this.currentParsed().chrono;return null==t&&null==(t=this._overrideChronology)&&(t=un.INSTANCE),t},wt);function wt(){if(1===arguments.length){if(arguments[0]instanceof wt)return void this._constructorSelf.apply(this,arguments);this._constructorFormatter.apply(this,arguments)}else this._constructorParam.apply(this,arguments);this._caseSensitive=!0,this._strict=!0,this._parsed=[new yt(this)]}var yt=function(n){function e(t){var e;return(e=n.call(this)||this).chrono=null,e.zone=null,e.fieldValues=new at,e.leapSecond=!1,e.dateTimeParseContext=t,e}_(e,n);var t=e.prototype;return t.copy=function(){var t=new e;return t.chrono=this.chrono,t.zone=this.zone,t.fieldValues.putAll(this.fieldValues),t.leapSecond=this.leapSecond,t.dateTimeParseContext=this.dateTimeParseContext,t},t.toString=function(){return this.fieldValues+", "+this.chrono+", "+this.zone},t.isSupported=function(t){return this.fieldValues.containsKey(t)},t.get=function(t){var e=this.fieldValues.get(t);return m(null!=e),e},t.query=function(t){return t===k.chronology()?this.chrono:t===k.zoneId()||t===k.zone()?this.zone:n.prototype.query.call(this,t)},t.toBuilder=function(){var t=new Tt;return t.fieldValues.putAll(this.fieldValues),t.chrono=this.dateTimeParseContext.getEffectiveChronology(),null!=this.zone?t.zone=this.zone:t.zone=this.overrideZone,t.leapSecond=this.leapSecond,t.excessDays=this.excessDays,t},e}(lt),Mt=function(){function i(t,e,n){2===arguments.length&&e instanceof xe?(this._temporal=i.adjust(t,e),this._locale=e.locale(),this._symbols=e.decimalStyle()):(this._temporal=t,this._locale=e,this._symbols=n),this._optional=0}i.adjust=function(t,e){return t};var t=i.prototype;return t.symbols=function(){return this._symbols},t.startOptional=function(){this._optional++},t.endOptional=function(){this._optional--},t.getValueQuery=function(t){var e=this._temporal.query(t);if(null==e&&0===this._optional)throw new y("Unable to extract value: "+this._temporal);return e},t.getValue=function(t){try{return this._temporal.getLong(t)}catch(t){if(t instanceof y&&0<this._optional)return null;throw t}},t.temporal=function(){return this._temporal},t.locale=function(){return this._locale},t.setDateTime=function(t){this._temporal=t},t.setLocale=function(t){this._locale=t},i}(),Rt={},gt=[0,90,181,273,0,91,182,274],It=function(t){function o(){return t.apply(this,arguments)||this}_(o,t);var e=o.prototype;return e.isDateBased=function(){return!0},e.isTimeBased=function(){return!1},e._isIso=function(){return!0},o._getWeekRangeByLocalDate=function(t){var e=o._getWeekBasedYear(t);return H.of(1,o._getWeekRangeByYear(e))},o._getWeekRangeByYear=function(t){var e=dn.of(t,1,1);return e.dayOfWeek()===Q.THURSDAY||e.dayOfWeek()===Q.WEDNESDAY&&e.isLeapYear()?53:52},o._getWeek=function(t){var e=t.dayOfWeek().ordinal(),n=t.dayOfYear()-1,i=3-e+n,r=i-7*M.intDiv(i,7)-3;if(r<-3&&(r+=7),n<r)return o._getWeekRangeByLocalDate(t.withDayOfYear(180).minusYears(1)).maximum();var s=M.intDiv(n-r,7)+1;return 53===s&&!1===(-3===r||-2===r&&t.isLeapYear())&&(s=1),s},o._getWeekBasedYear=function(t){var e=t.year(),n=t.dayOfYear();if(n<=3)n-t.dayOfWeek().ordinal()<-2&&e--;else if(363<=n){var i=t.dayOfWeek().ordinal();0<=(n=n-363-(t.isLeapYear()?1:0))-i&&e++}return e},e.displayName=function(){return this.toString()},e.resolve=function(){return null},e.name=function(){return this.toString()},o}(U),Ft=function(t){function e(){return t.apply(this,arguments)||this}_(e,t);var n=e.prototype;return n.toString=function(){return"DayOfQuarter"},n.baseUnit=function(){return L.DAYS},n.rangeUnit=function(){return xt},n.range=function(){return H.of(1,90,92)},n.isSupportedBy=function(t){return t.isSupported(x.DAY_OF_YEAR)&&t.isSupported(x.MONTH_OF_YEAR)&&t.isSupported(x.YEAR)&&this._isIso(t)},n.rangeRefinedBy=function(t){if(!1===t.isSupported(this))throw new l("Unsupported field: DayOfQuarter");var e=t.getLong(Vt);if(1!==e)return 2===e?H.of(1,91):3===e||4===e?H.of(1,92):this.range();var n=t.getLong(x.YEAR);return un.isLeapYear(n)?H.of(1,91):H.of(1,90)},n.getFrom=function(t){if(!1===t.isSupported(this))throw new l("Unsupported field: DayOfQuarter");var e=t.get(x.DAY_OF_YEAR),n=t.get(x.MONTH_OF_YEAR),i=t.getLong(x.YEAR);return e-gt[M.intDiv(n-1,3)+(un.isLeapYear(i)?4:0)]},n.adjustInto=function(t,e){var n=this.getFrom(t);return this.range().checkValidValue(e,this),t.with(x.DAY_OF_YEAR,t.getLong(x.DAY_OF_YEAR)+(e-n))},n.resolve=function(t,e,n){var i=t.get(x.YEAR),r=t.get(Vt);if(null==i||null==r)return null;var s,o=x.YEAR.checkValidIntValue(i),a=t.get(Ut);if(n===ft.LENIENT){var u=r;s=(s=(s=dn.of(o,1,1)).plusMonths(M.safeMultiply(M.safeSubtract(u,1),3))).plusDays(M.safeSubtract(a,1))}else{var h=Vt.range().checkValidIntValue(r,Vt);if(n===ft.STRICT){var f=92;1===h?f=un.isLeapYear(o)?91:90:2===h&&(f=91),H.of(1,f).checkValidValue(a,this)}else this.range().checkValidValue(a,this);s=dn.of(o,3*(h-1)+1,1).plusDays(a-1)}return t.remove(this),t.remove(x.YEAR),t.remove(Vt),s},e}(It),Yt=function(t){function e(){return t.apply(this,arguments)||this}_(e,t);var n=e.prototype;return n.toString=function(){return"QuarterOfYear"},n.baseUnit=function(){return xt},n.rangeUnit=function(){return L.YEARS},n.range=function(){return H.of(1,4)},n.isSupportedBy=function(t){return t.isSupported(x.MONTH_OF_YEAR)&&this._isIso(t)},n.rangeRefinedBy=function(t){return this.range()},n.getFrom=function(t){if(!1===t.isSupported(this))throw new l("Unsupported field: QuarterOfYear");var e=t.getLong(x.MONTH_OF_YEAR);return M.intDiv(e+2,3)},n.adjustInto=function(t,e){var n=this.getFrom(t);return this.range().checkValidValue(e,this),t.with(x.MONTH_OF_YEAR,t.getLong(x.MONTH_OF_YEAR)+3*(e-n))},e}(It),Ct=function(t){function e(){return t.apply(this,arguments)||this}_(e,t);var n=e.prototype;return n.toString=function(){return"WeekOfWeekBasedYear"},n.baseUnit=function(){return L.WEEKS},n.rangeUnit=function(){return Wt},n.range=function(){return H.of(1,52,53)},n.isSupportedBy=function(t){return t.isSupported(x.EPOCH_DAY)&&this._isIso(t)},n.rangeRefinedBy=function(t){if(!1===t.isSupported(this))throw new l("Unsupported field: WeekOfWeekBasedYear");return It._getWeekRangeByLocalDate(dn.from(t))},n.getFrom=function(t){if(!1===t.isSupported(this))throw new l("Unsupported field: WeekOfWeekBasedYear");return It._getWeek(dn.from(t))},n.adjustInto=function(t,e){return this.range().checkValidValue(e,this),t.plus(M.safeSubtract(e,this.getFrom(t)),L.WEEKS)},n.resolve=function(t,e,n){var i=t.get(Ht),r=t.get(x.DAY_OF_WEEK);if(null==i||null==r)return null;var s,o=Ht.range().checkValidIntValue(i,Ht),a=t.get(bt);if(n===ft.LENIENT){var u=r,h=0;7<u?(h=M.intDiv(u-1,7),u=M.intMod(u-1,7)+1):u<1&&(h=M.intDiv(u,7)-1,u=M.intMod(u,7)+7),s=dn.of(o,1,4).plusWeeks(a-1).plusWeeks(h).with(x.DAY_OF_WEEK,u)}else{var f=x.DAY_OF_WEEK.checkValidIntValue(r);if(n===ft.STRICT){var c=dn.of(o,1,4);It._getWeekRangeByLocalDate(c).checkValidValue(a,this)}else this.range().checkValidValue(a,this);s=dn.of(o,1,4).plusWeeks(a-1).with(x.DAY_OF_WEEK,f)}return t.remove(this),t.remove(Ht),t.remove(x.DAY_OF_WEEK),s},n.displayName=function(){return"Week"},e}(It),Lt=function(t){function e(){return t.apply(this,arguments)||this}_(e,t);var n=e.prototype;return n.toString=function(){return"WeekBasedYear"},n.baseUnit=function(){return Wt},n.rangeUnit=function(){return L.FOREVER},n.range=function(){return x.YEAR.range()},n.isSupportedBy=function(t){return t.isSupported(x.EPOCH_DAY)&&this._isIso(t)},n.rangeRefinedBy=function(t){return x.YEAR.range()},n.getFrom=function(t){if(!1===t.isSupported(this))throw new l("Unsupported field: WeekBasedYear");return It._getWeekBasedYear(dn.from(t))},n.adjustInto=function(t,e){if(!1===this.isSupportedBy(t))throw new l("Unsupported field: WeekBasedYear");var n=this.range().checkValidIntValue(e,Ht),i=dn.from(t),r=i.get(x.DAY_OF_WEEK),s=It._getWeek(i);53===s&&52===It._getWeekRangeByYear(n)&&(s=52);var o=dn.of(n,1,4),a=r-o.get(x.DAY_OF_WEEK)+7*(s-1);return o=o.plusDays(a),t.with(o)},e}(It),Pt=function(i){function t(t,e){var n;return(n=i.call(this)||this)._name=t,n._duration=e,n}_(t,i);var e=t.prototype;return e.duration=function(){return this._duration},e.isDurationEstimated=function(){return!0},e.isDateBased=function(){return!0},e.isTimeBased=function(){return!1},e.isSupportedBy=function(t){return t.isSupported(x.EPOCH_DAY)},e.addTo=function(t,e){switch(this){case Wt:var n=M.safeAdd(t.get(Ht),e);return t.with(Ht,n);case xt:return t.plus(M.intDiv(e,256),L.YEARS).plus(3*M.intMod(e,256),L.MONTHS);default:throw new r("Unreachable")}},e.between=function(t,e){switch(this){case Wt:return M.safeSubtract(e.getLong(Ht),t.getLong(Ht));case xt:return M.intDiv(t.until(e,L.MONTHS),3);default:throw new r("Unreachable")}},e.toString=function(){return name},t}(I),Ut=null,Vt=null,bt=null,Ht=null,Wt=null,xt=null;var kt,Bt=((kt=qt.prototype).positiveSign=function(){return this._positiveSign},kt.withPositiveSign=function(t){return t===this._positiveSign?this:new qt(this._zeroDigit,t,this._negativeSign,this._decimalSeparator)},kt.negativeSign=function(){return this._negativeSign},kt.withNegativeSign=function(t){return t===this._negativeSign?this:new qt(this._zeroDigit,this._positiveSign,t,this._decimalSeparator)},kt.zeroDigit=function(){return this._zeroDigit},kt.withZeroDigit=function(t){return t===this._zeroDigit?this:new qt(t,this._positiveSign,this._negativeSign,this._decimalSeparator)},kt.decimalSeparator=function(){return this._decimalSeparator},kt.withDecimalSeparator=function(t){return t===this._decimalSeparator?this:new qt(this._zeroDigit,this._positiveSign,this._negativeSign,t)},kt.convertToDigit=function(t){var e=t.charCodeAt(0)-this._zeroDigitCharCode;return 0<=e&&e<=9?e:-1},kt.convertNumberToI18N=function(t){if("0"===this._zeroDigit)return t;for(var e=this._zeroDigitCharCode-"0".charCodeAt(0),n="",i=0;i<t.length;i++)n+=String.fromCharCode(t.charCodeAt(i)+e);return n},kt.equals=function(t){return this===t||t instanceof qt&&this._zeroDigit===t._zeroDigit&&this._positiveSign===t._positiveSign&&this._negativeSign===t._negativeSign&&this._decimalSeparator===t._decimalSeparator},kt.hashCode=function(){return this._zeroDigit+this._positiveSign+this._negativeSign+this._decimalSeparator},kt.toString=function(){return"DecimalStyle["+this._zeroDigit+this._positiveSign+this._negativeSign+this._decimalSeparator+"]"},qt.of=function(){throw new Error("not yet supported")},qt.availableLocales=function(){throw new Error("not yet supported")},qt);function qt(t,e,n,i){this._zeroDigit=t,this._zeroDigitCharCode=t.charCodeAt(0),this._positiveSign=e,this._negativeSign=n,this._decimalSeparator=i}Bt.STANDARD=new Bt("0","+","-",".");var Zt,zt=(_(Kt,Zt=A),Kt.prototype.parse=function(t,e,n){switch(this){case Kt.NORMAL:return!t||!e;case Kt.ALWAYS:case Kt.EXCEEDS_PAD:return!0;default:return!e&&!n}},Kt);function Kt(){return Zt.apply(this,arguments)||this}zt.NORMAL=new zt("NORMAL"),zt.NEVER=new zt("NEVER"),zt.ALWAYS=new zt("ALWAYS"),zt.EXCEEDS_PAD=new zt("EXCEEDS_PAD"),zt.NOT_NEGATIVE=new zt("NOT_NEGATIVE");var jt=function(t){function e(){return t.apply(this,arguments)||this}_(e,t);var n=e.prototype;return n.isStandalone=function(){switch(this){case e.FULL_STANDALONE:case e.SHORT_STANDALONE:case e.NARROW_STANDALONE:return!0;default:return!1}},n.asStandalone=function(){switch(this){case e.FULL:return e.FULL_STANDALONE;case e.SHORT:return e.SHORT_STANDALONE;case e.NARROW:return e.NARROW_STANDALONE;default:return this}},n.asNormal=function(){switch(this){case e.FULL_STANDALONE:return e.FULL;case e.SHORT_STANDALONE:return e.SHORT;case e.NARROW_STANDALONE:return e.NARROW;default:return this}},e}(A);jt.FULL=new jt("FULL"),jt.FULL_STANDALONE=new jt("FULL_STANDALONE"),jt.SHORT=new jt("SHORT"),jt.SHORT_STANDALONE=new jt("SHORT_STANDALONE"),jt.NARROW=new jt("NARROW"),jt.NARROW_STANDALONE=new jt("NARROW_STANDALONE");var Gt,Xt=((Gt=Jt.prototype).print=function(t,e){return e.append(this._literal),!0},Gt.parse=function(t,e,n){if(n===e.length)return~n;var i=e.charAt(n);return!1===t.charEquals(this._literal,i)?~n:n+this._literal.length},Gt.toString=function(){return"'"===this._literal?"''":"'"+this._literal+"'"},Jt);function Jt(t){if(1<t.length)throw new c('invalid literal, too long: "'+t+'"');this._literal=t}var Qt,$t=((Qt=te.prototype).withOptional=function(t){return t===this._optional?this:new te(this._printerParsers,t)},Qt.print=function(t,e){var n=e.length();this._optional&&t.startOptional();try{for(var i=0;i<this._printerParsers.length;i++)if(!1===this._printerParsers[i].print(t,e))return e.setLength(n),!0}finally{this._optional&&t.endOptional()}return!0},Qt.parse=function(t,e,n){if(this._optional){t.startOptional();for(var i=n,r=0;r<this._printerParsers.length;r++)if((i=this._printerParsers[r].parse(t,e,i))<0)return t.endOptional(!1),n;return t.endOptional(!0),i}for(var s=0;s<this._printerParsers.length&&!((n=this._printerParsers[s].parse(t,e,n))<0);s++);return n},Qt.toString=function(){var t="";if(null!=this._printerParsers){t+=this._optional?"[":"(";for(var e=0;e<this._printerParsers.length;e++)t+=this._printerParsers[e].toString();t+=this._optional?"]":")"}return t},te);function te(t,e){this._printerParsers=t,this._optional=e}var ee,ne=((ee=ie.prototype).print=function(t,e){var n=t.getValue(this.field);if(null===n)return!1;var i=t.symbols();if(0===n){if(0<this.minWidth){this.decimalPoint&&e.append(i.decimalSeparator());for(var r=0;r<this.minWidth;r++)e.append(i.zeroDigit())}}else{var s=this.convertToFraction(n,i.zeroDigit()),o=Math.min(Math.max(s.length,this.minWidth),this.maxWidth);if(0<1*(s=s.substr(0,o)))for(;s.length>this.minWidth&&"0"===s[s.length-1];)s=s.substr(0,s.length-1);var a=s;a=i.convertNumberToI18N(a),this.decimalPoint&&e.append(i.decimalSeparator()),e.append(a)}return!0},ee.parse=function(t,e,n){var i=t.isStrict()?this.minWidth:0,r=t.isStrict()?this.maxWidth:9,s=e.length;if(n===s)return 0<i?~n:n;if(this.decimalPoint){if(e[n]!==t.symbols().decimalSeparator())return 0<i?~n:n;n++}var o=n+i;if(s<o)return~n;for(var a=Math.min(n+r,s),u=0,h=n;h<a;){var f=e.charAt(h++),c=t.symbols().convertToDigit(f);if(c<0){if(h<o)return~n;h--;break}u=10*u+c}var l=h-n,_=Math.pow(10,l),d=this.convertFromFraction(u,_);return t.setParsedField(this.field,d,n,h)},ee.convertToFraction=function(t,e){var n=this.field.range();n.checkValidValue(t,this.field);for(var i=n.minimum(),r=n.maximum()-i+1,s=t-i,o=""+M.intDiv(1e9*s,r);o.length<9;)o=e+o;return o},ee.convertFromFraction=function(t,e){var n=this.field.range(),i=n.minimum(),r=n.maximum()-i+1;return M.intDiv(t*r,e)},ee.toString=function(){var t=this.decimalPoint?",DecimalPoint":"";return"Fraction("+this.field+","+this.minWidth+","+this.maxWidth+t+")"},ie);function ie(t,e,n,i){if(O(t,"field"),!1===t.range().isFixed())throw new c("Field must have a fixed set of values: "+t);if(e<0||9<e)throw new c("Minimum width must be from 0 to 9 inclusive but was "+e);if(n<1||9<n)throw new c("Maximum width must be from 1 to 9 inclusive but was "+n);if(n<e)throw new c("Maximum width must exceed or equal the minimum width but "+n+" < "+e);this.field=t,this.minWidth=e,this.maxWidth=n,this.decimalPoint=i}var re,se=[0,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9],oe=((re=ae.prototype).field=function(){return this._field},re.minWidth=function(){return this._minWidth},re.maxWidth=function(){return this._maxWidth},re.signStyle=function(){return this._signStyle},re.withFixedWidth=function(){return-1===this._subsequentWidth?this:new ae(this._field,this._minWidth,this._maxWidth,this._signStyle,-1)},re.withSubsequentWidth=function(t){return new ae(this._field,this._minWidth,this._maxWidth,this._signStyle,this._subsequentWidth+t)},re._isFixedWidth=function(){return-1===this._subsequentWidth||0<this._subsequentWidth&&this._minWidth===this._maxWidth&&this._signStyle===zt.NOT_NEGATIVE},re.print=function(t,e){var n=t.getValue(this._field);if(null==n)return!1;var i=this._getValue(t,n),r=t.symbols(),s=""+Math.abs(i);if(s.length>this._maxWidth)throw new y("Field "+this._field+" cannot be printed as the value "+i+" exceeds the maximum print width of "+this._maxWidth);if(s=r.convertNumberToI18N(s),0<=i)switch(this._signStyle){case zt.EXCEEDS_PAD:this._minWidth<15&&i>=se[this._minWidth]&&e.append(r.positiveSign());break;case zt.ALWAYS:e.append(r.positiveSign())}else switch(this._signStyle){case zt.NORMAL:case zt.EXCEEDS_PAD:case zt.ALWAYS:e.append(r.negativeSign());break;case zt.NOT_NEGATIVE:throw new y("Field "+this._field+" cannot be printed as the value "+i+" cannot be negative according to the SignStyle")}for(var o=0;o<this._minWidth-s.length;o++)e.append(r.zeroDigit());return e.append(s),!0},re.parse=function(t,e,n){var i=e.length;if(n===i)return~n;m(0<=n&&n<i);var r=e.charAt(n),s=!1,o=!1;if(r===t.symbols().positiveSign()){if(!1===this._signStyle.parse(!0,t.isStrict(),this._minWidth===this._maxWidth))return~n;o=!0,n++}else if(r===t.symbols().negativeSign()){if(!1===this._signStyle.parse(!1,t.isStrict(),this._minWidth===this._maxWidth))return~n;s=!0,n++}else if(this._signStyle===zt.ALWAYS&&t.isStrict())return~n;var a=t.isStrict()||this._isFixedWidth()?this._minWidth:1,u=n+a;if(i<u)return~n;for(var h=(t.isStrict()||this._isFixedWidth()?this._maxWidth:9)+Math.max(this._subsequentWidth,0),f=0,c=n,l=0;l<2;l++){for(var _=Math.min(c+h,i);c<_;){var d=e.charAt(c++),p=t.symbols().convertToDigit(d);if(p<0){if(--c<u)return~n;break}if(15<c-n)throw new S("number text exceeds length");f=10*f+p}if(!(0<this._subsequentWidth&&0===l))break;var O=c-n;h=Math.max(a,O-this._subsequentWidth),c=n,f=0}if(s){if(0===f&&t.isStrict())return~(n-1);0!==f&&(f=-f)}else if(this._signStyle===zt.EXCEEDS_PAD&&t.isStrict()){var E=c-n;if(o){if(E<=this._minWidth)return~(n-1)}else if(E>this._minWidth)return~n}return this._setValue(t,f,n,c)},re._getValue=function(t,e){return e},re._setValue=function(t,e,n,i){return t.setParsedField(this._field,e,n,i)},re.toString=function(){return 1===this._minWidth&&15===this._maxWidth&&this._signStyle===zt.NORMAL?"Value("+this._field+")":this._minWidth===this._maxWidth&&this._signStyle===zt.NOT_NEGATIVE?"Value("+this._field+","+this._minWidth+")":"Value("+this._field+","+this._minWidth+","+this._maxWidth+","+this._signStyle+")"},ae);function ae(t,e,n,i,r){void 0===r&&(r=0),this._field=t,this._minWidth=e,this._maxWidth=n,this._signStyle=i,this._subsequentWidth=r}var ue,he=function(o){function e(t,e,n,i,r){var s;if(s=o.call(this,t,e,n,zt.NOT_NEGATIVE)||this,e<1||10<e)throw new c("The width must be from 1 to 10 inclusive but was "+e);if(n<1||10<n)throw new c("The maxWidth must be from 1 to 10 inclusive but was "+n);if(n<e)throw new c("The maxWidth must be greater than the width");if(null===r){if(!1===t.range().isValidValue(i))throw new c("The base value must be within the range of the field");if(i+se[e]>M.MAX_SAFE_INTEGER)throw new y("Unable to add printer-parser as the range exceeds the capacity of an int")}return s._baseValue=i,s._baseDate=r,s}_(e,o);var t=e.prototype;return t._getValue=function(t,e){var n=Math.abs(e),i=this._baseValue;null!==this._baseDate&&(t.temporal(),i=un.INSTANCE.date(this._baseDate).get(this._field));return i<=e&&e<i+se[this._minWidth]?n%se[this._minWidth]:n%se[this._maxWidth]},t._setValue=function(t,e,n,i){var r=this._baseValue;null!=this._baseDate&&(r=t.getEffectiveChronology().date(this._baseDate).get(this._field));if(i-n===this._minWidth&&0<=e){var s=se[this._minWidth],o=r-r%s;(e=0<r?o+e:o-e)<r&&(e+=s)}return t.setParsedField(this._field,e,n,i)},t.withFixedWidth=function(){return-1===this._subsequentWidth?this:new e(this._field,this._minWidth,this._maxWidth,this._baseValue,this._baseDate,-1)},t.withSubsequentWidth=function(t){return new e(this._field,this._minWidth,this._maxWidth,this._baseValue,this._baseDate,this._subsequentWidth+t)},t.isFixedWidth=function(t){return!1!==t.isStrict()&&o.prototype.isFixedWidth.call(this,t)},t.toString=function(){return"ReducedValue("+this._field+","+this._minWidth+","+this._maxWidth+","+(null!=this._baseDate?this._baseDate:this._baseValue)+")"},e}(oe),fe=["+HH","+HHmm","+HH:mm","+HHMM","+HH:MM","+HHMMss","+HH:MM:ss","+HHMMSS","+HH:MM:SS"],ce=((ue=le.prototype)._checkPattern=function(t){for(var e=0;e<fe.length;e++)if(fe[e]===t)return e;throw new c("Invalid zone offset pattern: "+t)},ue.print=function(t,e){var n=t.getValue(x.OFFSET_SECONDS);if(null==n)return!1;var i=M.safeToInt(n);if(0===i)e.append(this.noOffsetText);else{var r=Math.abs(M.intMod(M.intDiv(i,3600),100)),s=Math.abs(M.intMod(M.intDiv(i,60),60)),o=Math.abs(M.intMod(i,60)),a=e.length(),u=r;e.append(i<0?"-":"+").appendChar(M.intDiv(r,10)+"0").appendChar(M.intMod(r,10)+"0"),(3<=this.type||1<=this.type&&0<s)&&(e.append(this.type%2==0?":":"").appendChar(M.intDiv(s,10)+"0").appendChar(s%10+"0"),u+=s,(7<=this.type||5<=this.type&&0<o)&&(e.append(this.type%2==0?":":"").appendChar(M.intDiv(o,10)+"0").appendChar(o%10+"0"),u+=o)),0===u&&(e.setLength(a),e.append(this.noOffsetText))}return!0},ue.parse=function(t,e,n){var i=e.length,r=this.noOffsetText.length;if(0===r){if(n===i)return t.setParsedField(x.OFFSET_SECONDS,0,n,n)}else{if(n===i)return~n;if(t.subSequenceEquals(e,n,this.noOffsetText,0,r))return t.setParsedField(x.OFFSET_SECONDS,0,n,n+r)}var s=e[n];if("+"===s||"-"===s){var o="-"===s?-1:1,a=[0,0,0,0];if(a[0]=n+1,!1===(this._parseNumber(a,1,e,!0)||this._parseNumber(a,2,e,3<=this.type)||this._parseNumber(a,3,e,!1))){var u=M.safeZero(o*(3600*a[1]+60*a[2]+a[3]));return t.setParsedField(x.OFFSET_SECONDS,u,n,a[0])}}return 0===r?t.setParsedField(x.OFFSET_SECONDS,0,n,n+r):~n},ue._parseNumber=function(t,e,n,i){if((this.type+3)/2<e)return!1;var r=t[0];if(this.type%2==0&&1<e){if(r+1>n.length||":"!==n[r])return i;r++}if(r+2>n.length)return i;var s=n[r++],o=n[r++];if(s<"0"||"9"<s||o<"0"||"9"<o)return i;var a=10*(s.charCodeAt(0)-48)+(o.charCodeAt(0)-48);return a<0||59<a?i:(t[e]=a,t[0]=r,!1)},ue.toString=function(){var t=this.noOffsetText.replace("'","''");return"Offset("+fe[this.type]+",'"+t+"')"},le);function le(t,e){O(t,"noOffsetText"),O(e,"pattern"),this.noOffsetText=t,this.type=this._checkPattern(e)}ce.INSTANCE_ID=new ce("Z","+HH:MM:ss"),ce.PATTERNS=fe;var _e,de=((_e=pe.prototype).print=function(t,e){var n=e.length();if(!1===this._printerParser.print(t,e))return!1;var i=e.length()-n;if(i>this._padWidth)throw new y("Cannot print as output of "+i+" characters exceeds pad width of "+this._padWidth);for(var r=0;r<this._padWidth-i;r++)e.insert(n,this._padChar);return!0},_e.parse=function(t,e,n){var i=t.isStrict(),r=t.isCaseSensitive();if(m(!(n>e.length)),m(0<=n),n===e.length)return~n;var s=n+this._padWidth;if(s>e.length){if(i)return~n;s=e.length}for(var o=n;o<s&&(r?e[o]===this._padChar:t.charEquals(e[o],this._padChar));)o++;e=e.substring(0,s);var a=this._printerParser.parse(t,e,o);return a!==s&&i?~(n+o):a},_e.toString=function(){return"Pad("+this._printerParser+","+this._padWidth+(" "===this._padChar?")":",'"+this._padChar+"')")},pe);function pe(t,e,n){this._printerParser=t,this._padWidth=e,this._padChar=n}var Oe=function(t){function i(){return t.apply(this,arguments)||this}_(i,t);var e=i.prototype;return e.print=function(){return!0},e.parse=function(t,e,n){switch(this){case i.SENSITIVE:t.setCaseSensitive(!0);break;case i.INSENSITIVE:t.setCaseSensitive(!1);break;case i.STRICT:t.setStrict(!0);break;case i.LENIENT:t.setStrict(!1)}return n},e.toString=function(){switch(this){case i.SENSITIVE:return"ParseCaseSensitive(true)";case i.INSENSITIVE:return"ParseCaseSensitive(false)";case i.STRICT:return"ParseStrict(true)";case i.LENIENT:return"ParseStrict(false)"}},i}(A);Oe.SENSITIVE=new Oe("SENSITIVE"),Oe.INSENSITIVE=new Oe("INSENSITIVE"),Oe.STRICT=new Oe("STRICT"),Oe.LENIENT=new Oe("LENIENT");var Ee,Se=((Ee=me.prototype).print=function(t,e){return e.append(this._literal),!0},Ee.parse=function(t,e,n){return m(!(e.length<n||n<0)),!1===t.subSequenceEquals(e,n,this._literal,0,this._literal.length)?~n:n+this._literal.length},Ee.toString=function(){return"'"+this._literal.replace("'","''")+"'"},me);function me(t){this._literal=t}var Ne=(De.getRules=function(t){throw new y("unsupported ZoneId:"+t)},De.getAvailableZoneIds=function(){return[]},De);function De(){}var Ae,Te=function(i){function e(t,e){var n;return(n=i.call(this)||this)._id=t,n._rules=e,n}_(e,i),e.ofId=function(t){return new e(t,Ne.getRules(t))};var t=e.prototype;return t.id=function(){return this._id},t.rules=function(){return this._rules},e}(Ot),ve=((Ae=we.prototype).print=function(t,e){var n=t.getValueQuery(this.query);return null!=n&&(e.append(n.id()),!0)},Ae.parse=function(t,e,n){var i=e.length;if(i<n)return~n;if(n===i)return~n;var r=e.charAt(n);if("+"===r||"-"===r){var s=t.copy(),o=ce.INSTANCE_ID.parse(s,e,n);if(o<0)return o;var a=s.getParsed(x.OFFSET_SECONDS),u=Dt.ofTotalSeconds(a);return t.setParsedZone(u),o}if(n+2<=i){var h=e.charAt(n+1);if(t.charEquals(r,"U")&&t.charEquals(h,"T"))return n+3<=i&&t.charEquals(e.charAt(n+2),"C")?this._parsePrefixedOffset(t,e,n,n+3):this._parsePrefixedOffset(t,e,n,n+2);if(t.charEquals(r,"G")&&n+3<=i&&t.charEquals(h,"M")&&t.charEquals(e.charAt(n+2),"T"))return this._parsePrefixedOffset(t,e,n,n+3)}if("SYSTEM"===e.substr(n,6))return t.setParsedZone(Ot.systemDefault()),n+6;if(t.charEquals(r,"Z"))return t.setParsedZone(Dt.UTC),n+1;var f=Ne.getAvailableZoneIds();Ye.size!==f.length&&(Ye=ye.createTreeMap(f));for(var c=i-n,l=Ye.treeMap,_=null,d=0;null!=l;){var p=e.substr(n,Math.min(l.length,c));null!=(l=l.get(p))&&l.isLeaf&&(_=p,d=l.length)}return null!=_?(t.setParsedZone(Te.ofId(_)),n+d):~n},Ae._parsePrefixedOffset=function(t,e,n,i){var r=e.substring(n,i).toUpperCase(),s=t.copy();if(i<e.length&&t.charEquals(e.charAt(i),"Z"))return t.setParsedZone(Ot.ofOffset(r,Dt.UTC)),i;var o=ce.INSTANCE_ID.parse(s,e,i);if(o<0)return t.setParsedZone(Ot.ofOffset(r,Dt.UTC)),i;var a=s.getParsed(x.OFFSET_SECONDS),u=Dt.ofTotalSeconds(a);return t.setParsedZone(Ot.ofOffset(r,u)),o},Ae.toString=function(){return this.description},we);function we(t,e){this.query=t,this.description=e}var ye=(Me.createTreeMap=function(t){for(var e=t.sort(function(t,e){return t.length-e.length}),n=new ge(e[0].length,!1),i=0;i<e.length;i++)n.add(e[i]);return new Me(e.length,n)},Me);function Me(t,e){this.size=t,this.treeMap=e}var Re,ge=((Re=Ie.prototype).add=function(t){var e=t.length;if(e===this.length)this._treeMap[t]=new Ie(e,!0);else if(e>this.length){var n=t.substr(0,this.length),i=this._treeMap[n];null==i&&(i=new Ie(e,!1),this._treeMap[n]=i),i.add(t)}},Re.get=function(t){return this._treeMap[t]},Ie);function Ie(t,e){void 0===t&&(t=0),void 0===e&&(e=!1),this.length=t,this.isLeaf=e,this._treeMap={}}var Fe,Ye=new ye([]),Ce=function(){function i(){(this._active=this)._parent=null,this._printerParsers=[],this._optional=!1,this._padNextWidth=0,this._padNextChar=null,this._valueParserIndex=-1}i._of=function(t,e){O(t,"parent"),O(e,"optional");var n=new i;return n._parent=t,n._optional=e,n};var t=i.prototype;return t.parseCaseSensitive=function(){return this._appendInternalPrinterParser(Oe.SENSITIVE),this},t.parseCaseInsensitive=function(){return this._appendInternalPrinterParser(Oe.INSENSITIVE),this},t.parseStrict=function(){return this._appendInternalPrinterParser(Oe.STRICT),this},t.parseLenient=function(){return this._appendInternalPrinterParser(Oe.LENIENT),this},t.appendValue=function(){return 1===arguments.length?this._appendValue1.apply(this,arguments):2===arguments.length?this._appendValue2.apply(this,arguments):this._appendValue4.apply(this,arguments)},t._appendValue1=function(t){return O(t),this._appendValuePrinterParser(new oe(t,1,15,zt.NORMAL)),this},t._appendValue2=function(t,e){if(O(t),e<1||15<e)throw new c("The width must be from 1 to 15 inclusive but was "+e);var n=new oe(t,e,e,zt.NOT_NEGATIVE);return this._appendValuePrinterParser(n),this},t._appendValue4=function(t,e,n,i){if(O(t),O(i),e===n&&i===zt.NOT_NEGATIVE)return this._appendValue2(t,n);if(e<1||15<e)throw new c("The minimum width must be from 1 to 15 inclusive but was "+e);if(n<1||15<n)throw new c("The minimum width must be from 1 to 15 inclusive but was "+n);if(n<e)throw new c("The maximum width must exceed or equal the minimum width but "+n+" < "+e);var r=new oe(t,e,n,i);return this._appendValuePrinterParser(r),this},t.appendValueReduced=function(t,e,n,i){return 4===arguments.length&&i instanceof _t?this._appendValueReducedFieldWidthMaxWidthBaseDate.apply(this,arguments):this._appendValueReducedFieldWidthMaxWidthBaseValue.apply(this,arguments)},t._appendValueReducedFieldWidthMaxWidthBaseValue=function(t,e,n,i){O(t,"field");var r=new he(t,e,n,i,null);return this._appendValuePrinterParser(r),this},t._appendValueReducedFieldWidthMaxWidthBaseDate=function(t,e,n,i){O(t,"field"),O(i,"baseDate"),o(i,_t,"baseDate");var r=new he(t,e,n,0,i);return this._appendValuePrinterParser(r),this},t._appendValuePrinterParser=function(t){if(m(null!=t),0<=this._active._valueParserIndex&&this._active._printerParsers[this._active._valueParserIndex]instanceof oe){var e=this._active._valueParserIndex,n=this._active._printerParsers[e];t.minWidth()===t.maxWidth()&&t.signStyle()===zt.NOT_NEGATIVE?(n=n.withSubsequentWidth(t.maxWidth()),this._appendInternal(t.withFixedWidth()),this._active._valueParserIndex=e):(n=n.withFixedWidth(),this._active._valueParserIndex=this._appendInternal(t)),this._active._printerParsers[e]=n}else this._active._valueParserIndex=this._appendInternal(t);return this},t.appendFraction=function(t,e,n,i){return this._appendInternal(new ne(t,e,n,i)),this},t.appendInstant=function(t){if(void 0===t&&(t=-2),t<-2||9<t)throw new c("Invalid fractional digits: "+t);return this._appendInternal(new Ue(t)),this},t.appendOffsetId=function(){return this._appendInternal(ce.INSTANCE_ID),this},t.appendOffset=function(t,e){return this._appendInternalPrinterParser(new ce(e,t)),this},t.appendZoneId=function(){return this._appendInternal(new ve(k.zoneId(),"ZoneId()")),this},t.appendPattern=function(t){return O(t,"pattern"),this._parsePattern(t),this},t.appendZoneText=function(){throw new c("Pattern using (localized) text not implemented, use @js-joda/locale plugin!")},t.appendText=function(){throw new c("Pattern using (localized) text not implemented, use @js-joda/locale plugin!")},t.appendLocalizedOffset=function(){throw new c("Pattern using (localized) text not implemented, use @js-joda/locale plugin!")},t.appendWeekField=function(){throw new c("Pattern using (localized) text not implemented, use @js-joda/locale plugin!")},t._parsePattern=function(t){for(var e={G:x.ERA,y:x.YEAR_OF_ERA,u:x.YEAR,Q:Rt.QUARTER_OF_YEAR,q:Rt.QUARTER_OF_YEAR,M:x.MONTH_OF_YEAR,L:x.MONTH_OF_YEAR,D:x.DAY_OF_YEAR,d:x.DAY_OF_MONTH,F:x.ALIGNED_DAY_OF_WEEK_IN_MONTH,E:x.DAY_OF_WEEK,c:x.DAY_OF_WEEK,e:x.DAY_OF_WEEK,a:x.AMPM_OF_DAY,H:x.HOUR_OF_DAY,k:x.CLOCK_HOUR_OF_DAY,K:x.HOUR_OF_AMPM,h:x.CLOCK_HOUR_OF_AMPM,m:x.MINUTE_OF_HOUR,s:x.SECOND_OF_MINUTE,S:x.NANO_OF_SECOND,A:x.MILLI_OF_DAY,n:x.NANO_OF_SECOND,N:x.NANO_OF_DAY},n=0;n<t.length;n++){var i=t.charAt(n);if("A"<=i&&i<="Z"||"a"<=i&&i<="z"){for(var r=n++;n<t.length&&t.charAt(n)===i;n++);var s=n-r;if("p"===i){var o=0;if(n<t.length&&("A"<=(i=t.charAt(n))&&i<="Z"||"a"<=i&&i<="z")){for(o=s,r=n++;n<t.length&&t.charAt(n)===i;n++);s=n-r}if(0===o)throw new c("Pad letter 'p' must be followed by valid pad pattern: "+t);this.padNext(o)}var a=e[i];if(null!=a)this._parseField(i,s,a);else if("z"===i){if(4<s)throw new c("Too many pattern letters: "+i);4===s?this.appendZoneText(jt.FULL):this.appendZoneText(jt.SHORT)}else if("V"===i){if(2!==s)throw new c("Pattern letter count must be 2: "+i);this.appendZoneId()}else if("Z"===i)if(s<4)this.appendOffset("+HHMM","+0000");else if(4===s)this.appendLocalizedOffset(jt.FULL);else{if(5!==s)throw new c("Too many pattern letters: "+i);this.appendOffset("+HH:MM:ss","Z")}else if("O"===i)if(1===s)this.appendLocalizedOffset(jt.SHORT);else{if(4!==s)throw new c("Pattern letter count must be 1 or 4: "+i);this.appendLocalizedOffset(jt.FULL)}else if("X"===i){if(5<s)throw new c("Too many pattern letters: "+i);this.appendOffset(ce.PATTERNS[s+(1===s?0:1)],"Z")}else if("x"===i){if(5<s)throw new c("Too many pattern letters: "+i);var u=1===s?"+00":s%2==0?"+0000":"+00:00";this.appendOffset(ce.PATTERNS[s+(1===s?0:1)],u)}else if("W"===i){if(1<s)throw new c("Too many pattern letters: "+i);this.appendWeekField("W",s)}else if("w"===i){if(2<s)throw new c("Too many pattern letters: "+i);this.appendWeekField("w",s)}else{if("Y"!==i)throw new c("Unknown pattern letter: "+i);this.appendWeekField("Y",s)}n--}else if("'"===i){for(var h=n++;n<t.length;n++)if("'"===t.charAt(n)){if(!(n+1<t.length&&"'"===t.charAt(n+1)))break;n++}if(n>=t.length)throw new c("Pattern ends with an incomplete string literal: "+t);var f=t.substring(1+h,n);0===f.length?this.appendLiteral("'"):this.appendLiteral(f.replace("''","'"))}else if("["===i)this.optionalStart();else if("]"===i){if(null===this._active._parent)throw new c("Pattern invalid as it contains ] without previous [");this.optionalEnd()}else{if("{"===i||"}"===i||"#"===i)throw new c("Pattern includes reserved character: '"+i+"'");this.appendLiteral(i)}}},t._parseField=function(t,e,n){switch(t){case"u":case"y":2===e?this.appendValueReduced(n,2,2,he.BASE_DATE):e<4?this.appendValue(n,e,15,zt.NORMAL):this.appendValue(n,e,15,zt.EXCEEDS_PAD);break;case"M":case"Q":switch(e){case 1:this.appendValue(n);break;case 2:this.appendValue(n,2);break;case 3:this.appendText(n,jt.SHORT);break;case 4:this.appendText(n,jt.FULL);break;case 5:this.appendText(n,jt.NARROW);break;default:throw new c("Too many pattern letters: "+t)}break;case"L":case"q":switch(e){case 1:this.appendValue(n);break;case 2:this.appendValue(n,2);break;case 3:this.appendText(n,jt.SHORT_STANDALONE);break;case 4:this.appendText(n,jt.FULL_STANDALONE);break;case 5:this.appendText(n,jt.NARROW_STANDALONE);break;default:throw new c("Too many pattern letters: "+t)}break;case"e":switch(e){case 1:case 2:this.appendWeekField("e",e);break;case 3:this.appendText(n,jt.SHORT);break;case 4:this.appendText(n,jt.FULL);break;case 5:this.appendText(n,jt.NARROW);break;default:throw new c("Too many pattern letters: "+t)}break;case"c":switch(e){case 1:this.appendWeekField("c",e);break;case 2:throw new c("Invalid number of pattern letters: "+t);case 3:this.appendText(n,jt.SHORT_STANDALONE);break;case 4:this.appendText(n,jt.FULL_STANDALONE);break;case 5:this.appendText(n,jt.NARROW_STANDALONE);break;default:throw new c("Too many pattern letters: "+t)}break;case"a":if(1!==e)throw new c("Too many pattern letters: "+t);this.appendText(n,jt.SHORT);break;case"E":case"G":switch(e){case 1:case 2:case 3:this.appendText(n,jt.SHORT);break;case 4:this.appendText(n,jt.FULL);break;case 5:this.appendText(n,jt.NARROW);break;default:throw new c("Too many pattern letters: "+t)}break;case"S":this.appendFraction(x.NANO_OF_SECOND,e,e,!1);break;case"F":if(1!==e)throw new c("Too many pattern letters: "+t);this.appendValue(n);break;case"d":case"h":case"H":case"k":case"K":case"m":case"s":if(1===e)this.appendValue(n);else{if(2!==e)throw new c("Too many pattern letters: "+t);this.appendValue(n,e)}break;case"D":if(1===e)this.appendValue(n);else{if(!(e<=3))throw new c("Too many pattern letters: "+t);this.appendValue(n,e)}break;default:1===e?this.appendValue(n):this.appendValue(n,e)}},t.padNext=function(){return 1===arguments.length?this._padNext1.apply(this,arguments):this._padNext2.apply(this,arguments)},t._padNext1=function(t){return this._padNext2(t," ")},t._padNext2=function(t,e){if(t<1)throw new c("The pad width must be at least one but was "+t);return this._active._padNextWidth=t,this._active._padNextChar=e,this._active._valueParserIndex=-1,this},t.optionalStart=function(){return this._active._valueParserIndex=-1,this._active=i._of(this._active,!0),this},t.optionalEnd=function(){if(null==this._active._parent)throw new r("Cannot call optionalEnd() as there was no previous call to optionalStart()");if(0<this._active._printerParsers.length){var t=new $t(this._active._printerParsers,this._active._optional);this._active=this._active._parent,this._appendInternal(t)}else this._active=this._active._parent;return this},t._appendInternal=function(t){return m(null!=t),0<this._active._padNextWidth&&(null!=t&&(t=new de(t,this._active._padNextWidth,this._active._padNextChar)),this._active._padNextWidth=0,this._active._padNextChar=0),this._active._printerParsers.push(t),this._active._valueParserIndex=-1,this._active._printerParsers.length-1},t.appendLiteral=function(t){return m(null!=t),0<t.length&&(1===t.length?this._appendInternalPrinterParser(new Xt(t.charAt(0))):this._appendInternalPrinterParser(new Se(t))),this},t._appendInternalPrinterParser=function(t){return m(null!=t),0<this._active._padNextWidth&&(null!=t&&(t=new de(t,this._active._padNextWidth,this._active._padNextChar)),this._active._padNextWidth=0,this._active._padNextChar=0),this._active._printerParsers.push(t),this._active._valueParserIndex=-1,this._active._printerParsers.length-1},t.append=function(t){return O(t,"formatter"),this._appendInternal(t._toPrinterParser(!1)),this},t.toFormatter=function(t){for(void 0===t&&(t=ft.SMART);null!=this._active._parent;)this.optionalEnd();var e=new $t(this._printerParsers,!1);return new xe(e,null,Bt.STANDARD,t,null,null,null)},i}(),Le=31556952e4,Pe=62167219200,Ue=((Fe=Ve.prototype).print=function(t,e){var n=t.getValue(x.INSTANT_SECONDS),i=0;if(t.temporal().isSupported(x.NANO_OF_SECOND)&&(i=t.temporal().getLong(x.NANO_OF_SECOND)),null==n)return!1;var r=n,s=x.NANO_OF_SECOND.checkValidIntValue(i);if(-Pe<=r){var o=r-Le+Pe,a=M.floorDiv(o,Le)+1,u=M.floorMod(o,Le),h=On.ofEpochSecond(u-Pe,0,Dt.UTC);0<a&&e.append("+").append(a),e.append(h.toString()),0===h.second()&&e.append(":00")}else{var f=r+Pe,c=M.intDiv(f,Le),l=M.intMod(f,Le),_=On.ofEpochSecond(l-Pe,0,Dt.UTC),d=e.length();e.append(_.toString()),0===_.second()&&e.append(":00"),c<0&&(-1e4===_.year()?e.replace(d,d+2,""+(c-1)):0===l?e.insert(d,c):e.insert(d+1,Math.abs(c)))}if(-2===this.fractionalDigits)0!==s&&(e.append("."),0===M.intMod(s,1e6)?e.append((""+(M.intDiv(s,1e6)+1e3)).substring(1)):0===M.intMod(s,1e3)?e.append((""+(M.intDiv(s,1e3)+1e6)).substring(1)):e.append((""+(s+1e9)).substring(1)));else if(0<this.fractionalDigits||-1===this.fractionalDigits&&0<s){e.append(".");for(var p=1e8,O=0;-1===this.fractionalDigits&&0<s||O<this.fractionalDigits;O++){var E=M.intDiv(s,p);e.append(E),s-=E*p,p=M.intDiv(p,10)}}return e.append("Z"),!0},Fe.parse=function(t,e,n){var i=t.copy(),r=this.fractionalDigits<0?0:this.fractionalDigits,s=this.fractionalDigits<0?9:this.fractionalDigits,o=(new Ce).append(xe.ISO_LOCAL_DATE).appendLiteral("T").appendValue(x.HOUR_OF_DAY,2).appendLiteral(":").appendValue(x.MINUTE_OF_HOUR,2).appendLiteral(":").appendValue(x.SECOND_OF_MINUTE,2).appendFraction(x.NANO_OF_SECOND,r,s,!0).appendLiteral("Z").toFormatter()._toPrinterParser(!1).parse(i,e,n);if(o<0)return o;var a,u=i.getParsed(x.YEAR),h=i.getParsed(x.MONTH_OF_YEAR),f=i.getParsed(x.DAY_OF_MONTH),c=i.getParsed(x.HOUR_OF_DAY),l=i.getParsed(x.MINUTE_OF_HOUR),_=i.getParsed(x.SECOND_OF_MINUTE),d=i.getParsed(x.NANO_OF_SECOND),p=null!=_?_:0,O=null!=d?d:0,E=M.intMod(u,1e4),S=0;24===c&&0===l&&0===p&&0===O?(c=0,S=1):23===c&&59===l&&60===p&&(t.setParsedLeapSecond(),p=59);try{a=On.of(E,h,f,c,l,p,0).plusDays(S).toEpochSecond(Dt.UTC),a+=M.safeMultiply(M.intDiv(u,1e4),Le)}catch(t){return~n}var m=o;return m=t.setParsedField(x.INSTANT_SECONDS,a,n,m),t.setParsedField(x.NANO_OF_SECOND,O,n,m)},Fe.toString=function(){return"Instant()"},Ve);function Ve(t){this.fractionalDigits=t}var be,He=((be=We.prototype).append=function(t){return this._str+=t,this},be.appendChar=function(t){return this._str+=t[0],this},be.insert=function(t,e){return this._str=this._str.slice(0,t)+e+this._str.slice(t),this},be.replace=function(t,e,n){return this._str=this._str.slice(0,t)+n+this._str.slice(e),this},be.length=function(){return this._str.length},be.setLength=function(t){return this._str=this._str.slice(0,t),this},be.toString=function(){return this._str},We);function We(){this._str=""}var xe=function(){function e(t,e,n,i,r,s,o){void 0===s&&(s=un.INSTANCE),m(null!=t),m(null!=n),m(null!=i),this._printerParser=t,this._locale=e,this._decimalStyle=n,this._resolverStyle=i,this._resolverFields=r,this._chrono=s,this._zone=o}e.parsedExcessDays=function(){return e.PARSED_EXCESS_DAYS},e.parsedLeapSecond=function(){return e.PARSED_LEAP_SECOND},e.ofPattern=function(t){return(new Ce).appendPattern(t).toFormatter()};var t=e.prototype;return t.locale=function(){return this._locale},t.decimalStyle=function(){return this._decimalStyle},t.chronology=function(){return this._chrono},t.withChronology=function(t){return null!=this._chrono&&this._chrono.equals(t)?this:new e(this._printerParser,this._locale,this._decimalStyle,this._resolverStyle,this._resolverFields,t,this._zone)},t.withLocale=function(){return this},t.withResolverStyle=function(t){return O(t,"resolverStyle"),t.equals(this._resolverStyle)?this:new e(this._printerParser,this._locale,this._decimalStyle,t,this._resolverFields,this._chrono,this._zone)},t.format=function(t){var e=new He(32);return this._formatTo(t,e),e.toString()},t._formatTo=function(t,e){O(t,"temporal"),O(e,"appendable");var n=new Mt(t,this);this._printerParser.print(n,e)},t.parse=function(t,e){return 1===arguments.length?this.parse1(t):this.parse2(t,e)},t.parse1=function(e){O(e,"text");try{return this._parseToBuilder(e,null).resolve(this._resolverStyle,this._resolverFields)}catch(t){throw t instanceof p?t:this._createError(e,t)}},t.parse2=function(e,t){O(e,"text"),O(t,"type");try{return this._parseToBuilder(e,null).resolve(this._resolverStyle,this._resolverFields).build(t)}catch(t){throw t instanceof p?t:this._createError(e,t)}},t._createError=function(t,e){var n="";return n=64<t.length?t.substring(0,64)+"...":t,new p("Text '"+n+"' could not be parsed: "+e.message,t,0,e)},t._parseToBuilder=function(t,e){var n=null!=e?e:new rt(0),i=this._parseUnresolved0(t,n);if(null==i||0<=n.getErrorIndex()||null==e&&n.getIndex()<t.length){var r="";throw r=64<t.length?t.substr(0,64).toString()+"...":t,0<=n.getErrorIndex()?new p("Text '"+r+"' could not be parsed at index "+n.getErrorIndex(),t,n.getErrorIndex()):new p("Text '"+r+"' could not be parsed, unparsed text found at index "+n.getIndex(),t,n.getIndex())}return i.toBuilder()},t.parseUnresolved=function(t,e){return this._parseUnresolved0(t,e)},t._parseUnresolved0=function(t,e){m(null!=t,"text",s),m(null!=e,"position",s);var n=new vt(this),i=e.getIndex();return(i=this._printerParser.parse(n,t,i))<0?(e.setErrorIndex(~i),null):(e.setIndex(i),n.toParsed())},t._toPrinterParser=function(t){return this._printerParser.withOptional(t)},t.toString=function(){var t=this._printerParser.toString();return 0===t.indexOf("[")?t:t.substring(1,t.length-1)},e}();var ke,Be=function(i){function n(t,e){var n;return(n=i.call(this)||this)._month=M.safeToInt(t),n._day=M.safeToInt(e),n}_(n,i),n.now=function(t){return 0===arguments.length?n.now0():1===arguments.length&&t instanceof Ot?n.nowZoneId(t):n.nowClock(t)},n.now0=function(){return this.nowClock(mn.systemDefaultZone())},n.nowZoneId=function(t){return O(t,"zone"),this.nowClock(mn.system(t))},n.nowClock=function(t){O(t,"clock");var e=dn.now(t);return n.of(e.month(),e.dayOfMonth())},n.of=function(t,e){return 2===arguments.length&&t instanceof tt?n.ofMonthNumber(t,e):n.ofNumberNumber(t,e)},n.ofMonthNumber=function(t,e){if(O(t,"month"),x.DAY_OF_MONTH.checkValidValue(e),e>t.maxLength())throw new y("Illegal value for DayOfMonth field, value "+e+" is not valid for month "+t.toString());return new n(t.value(),e)},n.ofNumberNumber=function(t,e){return O(t,"month"),O(e,"dayOfMonth"),n.of(tt.of(t),e)},n.from=function(e){if(O(e,"temporal"),o(e,Z,"temporal"),e instanceof n)return e;try{return n.of(e.get(x.MONTH_OF_YEAR),e.get(x.DAY_OF_MONTH))}catch(t){throw new y("Unable to obtain MonthDay from TemporalAccessor: "+e+", type "+(e&&null!=e.constructor?e.constructor.name:""))}},n.parse=function(t,e){return 1===arguments.length?n.parseString(t):n.parseStringFormatter(t,e)},n.parseString=function(t){return n.parseStringFormatter(t,ke)},n.parseStringFormatter=function(t,e){return O(t,"text"),O(e,"formatter"),o(e,xe,"formatter"),e.parse(t,n.FROM)};var t=n.prototype;return t.monthValue=function(){return this._month},t.month=function(){return tt.of(this._month)},t.dayOfMonth=function(){return this._day},t.isSupported=function(t){return t instanceof x?t===x.MONTH_OF_YEAR||t===x.DAY_OF_MONTH:null!=t&&t.isSupportedBy(this)},t.range=function(t){return t===x.MONTH_OF_YEAR?t.range():t===x.DAY_OF_MONTH?H.of(1,this.month().minLength(),this.month().maxLength()):i.prototype.range.call(this,t)},t.get=function(t){return this.range(t).checkValidIntValue(this.getLong(t),t)},t.getLong=function(t){if(O(t,"field"),t instanceof x){switch(t){case x.DAY_OF_MONTH:return this._day;case x.MONTH_OF_YEAR:return this._month}throw new l("Unsupported field: "+t)}return t.getFrom(this)},t.isValidYear=function(t){return!1==(29===this._day&&2===this._month&&!1===Ke.isLeap(t))},t.withMonth=function(t){return this.with(tt.of(t))},t.with=function(t){if(O(t,"month"),t.value()===this._month)return this;var e=Math.min(this._day,t.maxLength());return new n(t.value(),e)},t.withDayOfMonth=function(t){return t===this._day?this:n.of(this._month,t)},t.query=function(t){return O(t,"query"),o(t,j,"query"),t===k.chronology()?un.INSTANCE:i.prototype.query.call(this,t)},t.adjustInto=function(t){return O(t,"temporal"),(t=t.with(x.MONTH_OF_YEAR,this._month)).with(x.DAY_OF_MONTH,Math.min(t.range(x.DAY_OF_MONTH).maximum(),this._day))},t.atYear=function(t){return dn.of(t,this._month,this.isValidYear(t)?this._day:28)},t.compareTo=function(t){O(t,"other"),o(t,n,"other");var e=this._month-t.monthValue();return 0===e&&(e=this._day-t.dayOfMonth()),e},t.isAfter=function(t){return O(t,"other"),o(t,n,"other"),0<this.compareTo(t)},t.isBefore=function(t){return O(t,"other"),o(t,n,"other"),this.compareTo(t)<0},t.equals=function(t){if(this===t)return!0;if(t instanceof n){var e=t;return this.monthValue()===e.monthValue()&&this.dayOfMonth()===e.dayOfMonth()}return!1},t.toString=function(){return"--"+(this._month<10?"0":"")+this._month+(this._day<10?"-0":"-")+this._day},t.toJSON=function(){return this.toString()},t.format=function(t){return O(t,"formatter"),o(t,xe,"formatter"),t.format(this)},n}(Z);var qe,Ze=function(i){function r(t,e){var n;return(n=i.call(this)||this)._year=M.safeToInt(t),n._month=M.safeToInt(e),n}_(r,i),r.now=function(t){return 0===arguments.length?r.now0():1===arguments.length&&t instanceof Ot?r.nowZoneId(t):r.nowClock(t)},r.now0=function(){return r.nowClock(mn.systemDefaultZone())},r.nowZoneId=function(t){return r.nowClock(mn.system(t))},r.nowClock=function(t){var e=dn.now(t);return r.of(e.year(),e.month())},r.of=function(t,e){return 2===arguments.length&&e instanceof tt?r.ofNumberMonth(t,e):r.ofNumberNumber(t,e)},r.ofNumberMonth=function(t,e){return O(e,"month"),o(e,tt,"month"),r.ofNumberNumber(t,e.value())},r.ofNumberNumber=function(t,e){return O(t,"year"),O(e,"month"),x.YEAR.checkValidValue(t),x.MONTH_OF_YEAR.checkValidValue(e),new r(t,e)},r.from=function(e){if(O(e,"temporal"),e instanceof r)return e;try{return r.of(e.get(x.YEAR),e.get(x.MONTH_OF_YEAR))}catch(t){throw new y("Unable to obtain YearMonth from TemporalAccessor: "+e+", type "+(e&&null!=e.constructor?e.constructor.name:""))}},r.parse=function(t,e){return 1===arguments.length?r.parseString(t):r.parseStringFormatter(t,e)},r.parseString=function(t){return r.parseStringFormatter(t,qe)},r.parseStringFormatter=function(t,e){return O(e,"formatter"),e.parse(t,r.FROM)};var t=r.prototype;return t.isSupported=function(t){return 1===arguments.length&&t instanceof U?this.isSupportedField(t):this.isSupportedUnit(t)},t.isSupportedField=function(t){return t instanceof x?t===x.YEAR||t===x.MONTH_OF_YEAR||t===x.PROLEPTIC_MONTH||t===x.YEAR_OF_ERA||t===x.ERA:null!=t&&t.isSupportedBy(this)},t.isSupportedUnit=function(t){return t instanceof L?t===L.MONTHS||t===L.YEARS||t===L.DECADES||t===L.CENTURIES||t===L.MILLENNIA||t===L.ERAS:null!=t&&t.isSupportedBy(this)},t.range=function(t){return t===x.YEAR_OF_ERA?this.year()<=0?H.of(1,Ke.MAX_VALUE+1):H.of(1,Ke.MAX_VALUE):i.prototype.range.call(this,t)},t.get=function(t){return O(t,"field"),o(t,U,"field"),this.range(t).checkValidIntValue(this.getLong(t),t)},t.getLong=function(t){if(O(t,"field"),o(t,U,"field"),t instanceof x){switch(t){case x.MONTH_OF_YEAR:return this._month;case x.PROLEPTIC_MONTH:return this._getProlepticMonth();case x.YEAR_OF_ERA:return this._year<1?1-this._year:this._year;case x.YEAR:return this._year;case x.ERA:return this._year<1?0:1}throw new l("Unsupported field: "+t)}return t.getFrom(this)},t._getProlepticMonth=function(){return M.safeAdd(M.safeMultiply(this._year,12),this._month-1)},t.year=function(){return this._year},t.monthValue=function(){return this._month},t.month=function(){return tt.of(this._month)},t.isLeapYear=function(){return un.isLeapYear(this._year)},t.isValidDay=function(t){return 1<=t&&t<=this.lengthOfMonth()},t.lengthOfMonth=function(){return this.month().length(this.isLeapYear())},t.lengthOfYear=function(){return this.isLeapYear()?366:365},t.with=function(t,e){return 1===arguments.length?this._withAdjuster(t):this._withField(t,e)},t._withField=function(t,e){if(O(t,"field"),o(t,U,"field"),t instanceof x){var n=t;switch(n.checkValidValue(e),n){case x.MONTH_OF_YEAR:return this.withMonth(e);case x.PROLEPTIC_MONTH:return this.plusMonths(e-this.getLong(x.PROLEPTIC_MONTH));case x.YEAR_OF_ERA:return this.withYear(this._year<1?1-e:e);case x.YEAR:return this.withYear(e);case x.ERA:return this.getLong(x.ERA)===e?this:this.withYear(1-this._year)}throw new l("Unsupported field: "+t)}return t.adjustInto(this,e)},t.withYear=function(t){return x.YEAR.checkValidValue(t),new r(t,this._month)},t.withMonth=function(t){return x.MONTH_OF_YEAR.checkValidValue(t),new r(this._year,t)},t._plusUnit=function(t,e){if(O(e,"unit"),o(e,I,"unit"),e instanceof L){switch(e){case L.MONTHS:return this.plusMonths(t);case L.YEARS:return this.plusYears(t);case L.DECADES:return this.plusYears(M.safeMultiply(t,10));case L.CENTURIES:return this.plusYears(M.safeMultiply(t,100));case L.MILLENNIA:return this.plusYears(M.safeMultiply(t,1e3));case L.ERAS:return this.with(x.ERA,M.safeAdd(this.getLong(x.ERA),t))}throw new l("Unsupported unit: "+e)}return e.addTo(this,t)},t.plusYears=function(t){if(0===t)return this;var e=x.YEAR.checkValidIntValue(this._year+t);return this.withYear(e)},t.plusMonths=function(t){if(0===t)return this;var e=12*this._year+(this._month-1)+t;return new r(x.YEAR.checkValidIntValue(M.floorDiv(e,12)),M.floorMod(e,12)+1)},t.minusYears=function(t){return t===M.MIN_SAFE_INTEGER?this.plusYears(M.MIN_SAFE_INTEGER).plusYears(1):this.plusYears(-t)},t.minusMonths=function(t){return t===M.MIN_SAFE_INTEGER?this.plusMonths(Math.MAX_SAFE_INTEGER).plusMonths(1):this.plusMonths(-t)},t.query=function(t){return O(t,"query"),o(t,j,"query"),t===k.chronology()?un.INSTANCE:t===k.precision()?L.MONTHS:t===k.localDate()||t===k.localTime()||t===k.zone()||t===k.zoneId()||t===k.offset()?null:i.prototype.query.call(this,t)},t.adjustInto=function(t){return O(t,"temporal"),o(t,lt,"temporal"),t.with(x.PROLEPTIC_MONTH,this._getProlepticMonth())},t.until=function(t,e){O(t,"endExclusive"),O(e,"unit"),o(t,lt,"endExclusive"),o(e,I,"unit");var n=r.from(t);if(e instanceof L){var i=n._getProlepticMonth()-this._getProlepticMonth();switch(e){case L.MONTHS:return i;case L.YEARS:return i/12;case L.DECADES:return i/120;case L.CENTURIES:return i/1200;case L.MILLENNIA:return i/12e3;case L.ERAS:return n.getLong(x.ERA)-this.getLong(x.ERA)}throw new l("Unsupported unit: "+e)}return e.between(this,n)},t.atDay=function(t){return dn.of(this._year,this._month,t)},t.atEndOfMonth=function(){return dn.of(this._year,this._month,this.lengthOfMonth())},t.compareTo=function(t){O(t,"other"),o(t,r,"other");var e=this._year-t.year();return 0===e&&(e=this._month-t.monthValue()),e},t.isAfter=function(t){return 0<this.compareTo(t)},t.isBefore=function(t){return this.compareTo(t)<0},t.equals=function(t){if(this===t)return!0;if(t instanceof r){var e=t;return this.year()===e.year()&&this.monthValue()===e.monthValue()}return!1},t.toString=function(){return qe.format(this)},t.toJSON=function(){return this.toString()},t.format=function(t){return O(t,"formatter"),t.format(this)},r}(lt);var ze,Ke=function(n){function r(t){var e;return(e=n.call(this)||this)._year=M.safeToInt(t),e}_(r,n);var t=r.prototype;return t.value=function(){return this._year},r.now=function(t){return void 0===t&&(t=void 0),void 0===t?r.now0():t instanceof Ot?r.nowZoneId(t):r.nowClock(t)},r.now0=function(){return r.nowClock(mn.systemDefaultZone())},r.nowZoneId=function(t){return O(t,"zone"),o(t,Ot,"zone"),r.nowClock(mn.system(t))},r.nowClock=function(t){O(t,"clock"),o(t,mn,"clock");var e=dn.now(t);return r.of(e.year())},r.of=function(t){return O(t,"isoYear"),x.YEAR.checkValidValue(t),new r(t)},r.from=function(e){if(O(e,"temporal"),o(e,Z,"temporal"),e instanceof r)return e;try{return r.of(e.get(x.YEAR))}catch(t){throw new y("Unable to obtain Year from TemporalAccessor: "+e+", type "+(e&&null!=e.constructor?e.constructor.name:""))}},r.parse=function(t,e){return arguments.length<=1?r.parseText(t):r.parseTextFormatter(t,e)},r.parseText=function(t){return O(t,"text"),r.parse(t,ze)},r.parseTextFormatter=function(t,e){return void 0===e&&(e=ze),O(t,"text"),O(e,"formatter"),o(e,xe,"formatter"),e.parse(t,r.FROM)},r.isLeap=function(t){return 0===M.intMod(t,4)&&(0!==M.intMod(t,100)||0===M.intMod(t,400))},t.isSupported=function(t){return 1===arguments.length&&t instanceof U?this.isSupportedField(t):this.isSupportedUnit(t)},t.isSupportedField=function(t){return t instanceof x?t===x.YEAR||t===x.YEAR_OF_ERA||t===x.ERA:null!=t&&t.isSupportedBy(this)},t.isSupportedUnit=function(t){return t instanceof L?t===L.YEARS||t===L.DECADES||t===L.CENTURIES||t===L.MILLENNIA||t===L.ERAS:null!=t&&t.isSupportedBy(this)},t.range=function(t){if(this.isSupported(t))return t.range();if(t instanceof x)throw new l("Unsupported field: "+t);return n.prototype.range.call(this,t)},t.get=function(t){return this.range(t).checkValidIntValue(this.getLong(t),t)},t.getLong=function(t){if(O(t,"field"),t instanceof x){switch(t){case x.YEAR_OF_ERA:return this._year<1?1-this._year:this._year;case x.YEAR:return this._year;case x.ERA:return this._year<1?0:1}throw new l("Unsupported field: "+t)}return t.getFrom(this)},t.isLeap=function(){return r.isLeap(this._year)},t._withField=function(t,e){if(O(t,"field"),o(t,U,"field"),t instanceof x){switch(t.checkValidValue(e),t){case x.YEAR_OF_ERA:return r.of(this._year<1?1-e:e);case x.YEAR:return r.of(e);case x.ERA:return this.getLong(x.ERA)===e?this:r.of(1-this._year)}throw new l("Unsupported field: "+t)}return t.adjustInto(this,e)},t._plusUnit=function(t,e){if(O(t,"amountToAdd"),O(e,"unit"),o(e,I,"unit"),e instanceof L){switch(e){case L.YEARS:return this.plusYears(t);case L.DECADES:return this.plusYears(M.safeMultiply(t,10));case L.CENTURIES:return this.plusYears(M.safeMultiply(t,100));case L.MILLENNIA:return this.plusYears(M.safeMultiply(t,1e3));case L.ERAS:return this.with(x.ERA,M.safeAdd(this.getLong(x.ERA),t))}throw new l("Unsupported unit: "+e)}return e.addTo(this,t)},t.plusYears=function(t){return 0===t?this:r.of(x.YEAR.checkValidIntValue(M.safeAdd(this._year,t)))},t.minusYears=function(t){return t===M.MIN_SAFE_INTEGER?this.plusYears(M.MAX_SAFE_INTEGER).plusYears(1):this.plusYears(-t)},t.adjustInto=function(t){return O(t,"temporal"),t.with(x.YEAR,this._year)},t.isValidMonthDay=function(t){return null!=t&&t.isValidYear(this._year)},t.length=function(){return this.isLeap()?366:365},t.atDay=function(t){return dn.ofYearDay(this._year,t)},t.atMonth=function(t){return 1===arguments.length&&t instanceof tt?this.atMonthMonth(t):this.atMonthNumber(t)},t.atMonthMonth=function(t){return O(t,"month"),o(t,tt,"month"),Ze.of(this._year,t)},t.atMonthNumber=function(t){return O(t,"month"),Ze.of(this._year,t)},t.atMonthDay=function(t){return O(t,"monthDay"),o(t,Be,"monthDay"),t.atYear(this._year)},t.query=function(t){return O(t,"query()"),o(t,j,"query()"),t===k.chronology()?un.INSTANCE:t===k.precision()?L.YEARS:t===k.localDate()||t===k.localTime()||t===k.zone()||t===k.zoneId()||t===k.offset()?null:n.prototype.query.call(this,t)},t.compareTo=function(t){return O(t,"other"),o(t,r,"other"),this._year-t._year},t.isAfter=function(t){return O(t,"other"),o(t,r,"other"),this._year>t._year},t.isBefore=function(t){return O(t,"other"),o(t,r,"other"),this._year<t._year},t.format=function(t){return O(t,"formatter"),o(t,xe,"formatter"),t.format(this)},t.equals=function(t){return this===t||t instanceof r&&this.value()===t.value()},t.toString=function(){return""+this._year},t.toJSON=function(){return this.toString()},t.until=function(t,e){var n=r.from(t);if(e instanceof L){var i=n.value()-this.value();switch(e){case L.YEARS:return i;case L.DECADES:return M.intDiv(i,10);case L.CENTURIES:return M.intDiv(i,100);case L.MILLENNIA:return M.intDiv(i,1e3);case L.ERAS:return n.getLong(x.ERA)-this.getLong(x.ERA)}throw new l("Unsupported unit: "+e)}return e.between(this,n)},r}(lt);var je=(Ge.prototype.adjustInto=function(t){i("adjustInto")},Ge);function Ge(){}var Xe=(Je.firstDayOfMonth=function(){return $e.FIRST_DAY_OF_MONTH},Je.lastDayOfMonth=function(){return $e.LAST_DAY_OF_MONTH},Je.firstDayOfNextMonth=function(){return $e.FIRST_DAY_OF_NEXT_MONTH},Je.firstDayOfYear=function(){return $e.FIRST_DAY_OF_YEAR},Je.lastDayOfYear=function(){return $e.LAST_DAY_OF_YEAR},Je.firstDayOfNextYear=function(){return $e.FIRST_DAY_OF_NEXT_YEAR},Je.firstInMonth=function(t){return O(t,"dayOfWeek"),new nn(1,t)},Je.lastInMonth=function(t){return O(t,"dayOfWeek"),new nn(-1,t)},Je.dayOfWeekInMonth=function(t,e){return O(e,"dayOfWeek"),new nn(t,e)},Je.next=function(t){return new on(2,t)},Je.nextOrSame=function(t){return new on(0,t)},Je.previous=function(t){return new on(3,t)},Je.previousOrSame=function(t){return new on(1,t)},Je);function Je(){}var Qe,$e=(_(tn,Qe=je),tn.prototype.adjustInto=function(t){switch(this._ordinal){case 0:return t.with(x.DAY_OF_MONTH,1);case 1:return t.with(x.DAY_OF_MONTH,t.range(x.DAY_OF_MONTH).maximum());case 2:return t.with(x.DAY_OF_MONTH,1).plus(1,L.MONTHS);case 3:return t.with(x.DAY_OF_YEAR,1);case 4:return t.with(x.DAY_OF_YEAR,t.range(x.DAY_OF_YEAR).maximum());case 5:return t.with(x.DAY_OF_YEAR,1).plus(1,L.YEARS)}throw new r("Unreachable")},tn);function tn(t){var e;return(e=Qe.call(this)||this)._ordinal=t,e}$e.FIRST_DAY_OF_MONTH=new $e(0),$e.LAST_DAY_OF_MONTH=new $e(1),$e.FIRST_DAY_OF_NEXT_MONTH=new $e(2),$e.FIRST_DAY_OF_YEAR=new $e(3),$e.LAST_DAY_OF_YEAR=new $e(4),$e.FIRST_DAY_OF_NEXT_YEAR=new $e(5);var en,nn=(_(rn,en=je),rn.prototype.adjustInto=function(t){if(0<=this._ordinal){var e=t.with(x.DAY_OF_MONTH,1),n=e.get(x.DAY_OF_WEEK),i=M.intMod(this._dowValue-n+7,7);return i+=7*(this._ordinal-1),e.plus(i,L.DAYS)}var r=t.with(x.DAY_OF_MONTH,t.range(x.DAY_OF_MONTH).maximum()),s=r.get(x.DAY_OF_WEEK),o=this._dowValue-s;return o=0===o?0:0<o?o-7:o,o-=7*(-this._ordinal-1),r.plus(o,L.DAYS)},rn);function rn(t,e){var n;return(n=en.call(this)||this)._ordinal=t,n._dowValue=e.value(),n}var sn,on=(_(an,sn=je),an.prototype.adjustInto=function(t){var e=t.get(x.DAY_OF_WEEK);if(this._relative<2&&e===this._dowValue)return t;if(0==(1&this._relative)){var n=e-this._dowValue;return t.plus(0<=n?7-n:-n,L.DAYS)}var i=this._dowValue-e;return t.minus(0<=i?7-i:-i,L.DAYS)},an);function an(t,e){var n;return n=sn.call(this)||this,O(e,"dayOfWeek"),n._relative=t,n._dowValue=e.value(),n}var un=function(t){function e(){return t.apply(this,arguments)||this}_(e,t),e.isLeapYear=function(t){return 0==(3&t)&&(t%100!=0||t%400==0)};var n=e.prototype;return n._updateResolveMap=function(t,e,n){O(t,"fieldValues"),O(e,"field");var i=t.get(e);if(null!=i&&i!==n)throw new y("Invalid state, field: "+e+" "+i+" conflicts with "+e+" "+n);t.put(e,n)},n.resolveDate=function(t,e){if(t.containsKey(x.EPOCH_DAY))return dn.ofEpochDay(t.remove(x.EPOCH_DAY));var n=t.remove(x.PROLEPTIC_MONTH);null!=n&&(e!==ft.LENIENT&&x.PROLEPTIC_MONTH.checkValidValue(n),this._updateResolveMap(t,x.MONTH_OF_YEAR,M.floorMod(n,12)+1),this._updateResolveMap(t,x.YEAR,M.floorDiv(n,12)));var i=t.remove(x.YEAR_OF_ERA);if(null!=i){e!==ft.LENIENT&&x.YEAR_OF_ERA.checkValidValue(i);var r=t.remove(x.ERA);if(null==r){var s=t.get(x.YEAR);e===ft.STRICT?null!=s?this._updateResolveMap(t,x.YEAR,0<s?i:M.safeSubtract(1,i)):t.put(x.YEAR_OF_ERA,i):this._updateResolveMap(t,x.YEAR,null==s||0<s?i:M.safeSubtract(1,i))}else if(1===r)this._updateResolveMap(t,x.YEAR,i);else{if(0!==r)throw new y("Invalid value for era: "+r);this._updateResolveMap(t,x.YEAR,M.safeSubtract(1,i))}}else t.containsKey(x.ERA)&&x.ERA.checkValidValue(t.get(x.ERA));if(t.containsKey(x.YEAR)){if(t.containsKey(x.MONTH_OF_YEAR)&&t.containsKey(x.DAY_OF_MONTH)){var o=x.YEAR.checkValidIntValue(t.remove(x.YEAR)),a=t.remove(x.MONTH_OF_YEAR),u=t.remove(x.DAY_OF_MONTH);if(e!==ft.LENIENT)return e===ft.SMART&&(x.DAY_OF_MONTH.checkValidValue(u),4===a||6===a||9===a||11===a?u=Math.min(u,30):2===a&&(u=Math.min(u,tt.FEBRUARY.length(Ke.isLeap(o))))),dn.of(o,a,u);var h=a-1,f=u-1;return dn.of(o,1,1).plusMonths(h).plusDays(f)}if(t.containsKey(x.DAY_OF_YEAR)){var c=x.YEAR.checkValidIntValue(t.remove(x.YEAR));if(e===ft.LENIENT){var l=M.safeSubtract(t.remove(x.DAY_OF_YEAR),1);return dn.ofYearDay(c,1).plusDays(l)}var _=x.DAY_OF_YEAR.checkValidIntValue(t.remove(x.DAY_OF_YEAR));return dn.ofYearDay(c,_)}if(t.containsKey(x.ALIGNED_WEEK_OF_YEAR)){if(t.containsKey(x.ALIGNED_DAY_OF_WEEK_IN_YEAR)){var d=x.YEAR.checkValidIntValue(t.remove(x.YEAR));if(e===ft.LENIENT){var p=M.safeSubtract(t.remove(x.ALIGNED_WEEK_OF_YEAR),1),O=M.safeSubtract(t.remove(x.ALIGNED_DAY_OF_WEEK_IN_YEAR),1);return dn.of(d,1,1).plusWeeks(p).plusDays(O)}var E=x.ALIGNED_WEEK_OF_YEAR.checkValidIntValue(t.remove(x.ALIGNED_WEEK_OF_YEAR)),S=x.ALIGNED_DAY_OF_WEEK_IN_YEAR.checkValidIntValue(t.remove(x.ALIGNED_DAY_OF_WEEK_IN_YEAR)),m=dn.of(d,1,1).plusDays(7*(E-1)+(S-1));if(e===ft.STRICT&&m.get(x.YEAR)!==d)throw new y("Strict mode rejected date parsed to a different year");return m}if(t.containsKey(x.DAY_OF_WEEK)){var N=x.YEAR.checkValidIntValue(t.remove(x.YEAR));if(e===ft.LENIENT){var D=M.safeSubtract(t.remove(x.ALIGNED_WEEK_OF_YEAR),1),A=M.safeSubtract(t.remove(x.DAY_OF_WEEK),1);return dn.of(N,1,1).plusWeeks(D).plusDays(A)}var T=x.ALIGNED_WEEK_OF_YEAR.checkValidIntValue(t.remove(x.ALIGNED_WEEK_OF_YEAR)),v=x.DAY_OF_WEEK.checkValidIntValue(t.remove(x.DAY_OF_WEEK)),w=dn.of(N,1,1).plusWeeks(T-1).with(Xe.nextOrSame(Q.of(v)));if(e===ft.STRICT&&w.get(x.YEAR)!==N)throw new y("Strict mode rejected date parsed to a different month");return w}}}return null},n.date=function(t){return dn.from(t)},e}(A);var hn=function(i){function s(t,e){var n;return n=i.call(this)||this,O(t,"time"),o(t,En,"time"),O(e,"offset"),o(e,Dt,"offset"),n._time=t,n._offset=e,n}_(s,i),s.from=function(e){if(O(e,"temporal"),e instanceof s)return e;if(e instanceof ln)return e.toOffsetTime();try{return new s(En.from(e),Dt.from(e))}catch(t){throw new y("Unable to obtain OffsetTime TemporalAccessor: "+e+", type "+(null!=e.constructor?e.constructor.name:""))}},s.now=function(t){return s._now(0===arguments.length?mn.systemDefaultZone():t instanceof mn?t:mn.system(t))},s._now=function(t){O(t,"clock");var e=t.instant();return s.ofInstant(e,t.zone().rules().offset(e))},s.of=function(){return arguments.length<=2?s.ofTimeAndOffset.apply(this,arguments):s.ofNumbers.apply(this,arguments)},s.ofNumbers=function(t,e,n,i,r){return new s(En.of(t,e,n,i),r)},s.ofTimeAndOffset=function(t,e){return new s(t,e)},s.ofInstant=function(t,e){O(t,"instant"),o(t,Sn,"instant"),O(e,"zone"),o(e,Ot,"zone");var n=e.rules().offset(t),i=t.epochSecond()%En.SECONDS_PER_DAY;return(i=(i+n.totalSeconds())%En.SECONDS_PER_DAY)<0&&(i+=En.SECONDS_PER_DAY),new s(En.ofSecondOfDay(i,t.nano()),n)},s.parse=function(t,e){return void 0===e&&(e=xe.ISO_OFFSET_TIME),O(e,"formatter"),e.parse(t,s.FROM)};var t=s.prototype;return t.adjustInto=function(t){return t.with(x.NANO_OF_DAY,this._time.toNanoOfDay()).with(x.OFFSET_SECONDS,this.offset().totalSeconds())},t.atDate=function(t){return ln.of(t,this._time,this._offset)},t.format=function(t){return O(t,"formatter"),t.format(this,s.FROM)},t.get=function(t){return i.prototype.get.call(this,t)},t.getLong=function(t){return t instanceof x?t===x.OFFSET_SECONDS?this._offset.totalSeconds():this._time.getLong(t):t.getFrom(this)},t.hour=function(){return this._time.hour()},t.minute=function(){return this._time.minute()},t.second=function(){return this._time.second()},t.nano=function(){return this._time.nano()},t.offset=function(){return this._offset},t.isAfter=function(t){return O(t,"other"),this._toEpochNano()>t._toEpochNano()},t.isBefore=function(t){return O(t,"other"),this._toEpochNano()<t._toEpochNano()},t.isEqual=function(t){return O(t,"other"),this._toEpochNano()===t._toEpochNano()},t.isSupported=function(t){return t instanceof x?t.isTimeBased()||t===x.OFFSET_SECONDS:t instanceof L?t.isTimeBased():null!=t&&t.isSupportedBy(this)},t.minusHours=function(t){return this._withLocalTimeOffset(this._time.minusHours(t),this._offset)},t.minusMinutes=function(t){return this._withLocalTimeOffset(this._time.minusMinutes(t),this._offset)},t.minusSeconds=function(t){return this._withLocalTimeOffset(this._time.minusSeconds(t),this._offset)},t.minusNanos=function(t){return this._withLocalTimeOffset(this._time.minusNanos(t),this._offset)},t._minusAmount=function(t){return O(t),t.subtractFrom(this)},t._minusUnit=function(t,e){return this.plus(-1*t,e)},t._plusAmount=function(t){return O(t),t.addTo(this)},t._plusUnit=function(t,e){return e instanceof L?this._withLocalTimeOffset(this._time.plus(t,e),this._offset):e.addTo(this,t)},t.plusHours=function(t){return this._withLocalTimeOffset(this._time.plusHours(t),this._offset)},t.plusMinutes=function(t){return this._withLocalTimeOffset(this._time.plusMinutes(t),this._offset)},t.plusSeconds=function(t){return this._withLocalTimeOffset(this._time.plusSeconds(t),this._offset)},t.plusNanos=function(t){return this._withLocalTimeOffset(this._time.plusNanos(t),this._offset)},t.query=function(t){return O(t,"query"),t===k.precision()?L.NANOS:t===k.offset()||t===k.zone()?this.offset():t===k.localTime()?this._time:t===k.chronology()||t===k.localDate()||t===k.zoneId()?null:i.prototype.query.call(this,t)},t.range=function(t){return t instanceof x?t===x.OFFSET_SECONDS?t.range():this._time.range(t):t.rangeRefinedBy(this)},t.toLocalTime=function(){return this._time},t.truncatedTo=function(t){return this._withLocalTimeOffset(this._time.truncatedTo(t),this._offset)},t.until=function(t,e){O(t,"endExclusive"),O(e,"unit");var n=s.from(t);if(e instanceof L){var i=n._toEpochNano()-this._toEpochNano();switch(e){case L.NANOS:return i;case L.MICROS:return Math.floor(i/1e3);case L.MILLIS:return Math.floor(i/1e6);case L.SECONDS:return Math.floor(i/En.NANOS_PER_SECOND);case L.MINUTES:return Math.floor(i/En.NANOS_PER_MINUTE);case L.HOURS:return Math.floor(i/En.NANOS_PER_HOUR);case L.HALF_DAYS:return Math.floor(i/(12*En.NANOS_PER_HOUR))}throw new l("Unsupported unit: "+e)}return e.between(this,n)},t.withHour=function(t){return this._withLocalTimeOffset(this._time.withHour(t),this._offset)},t.withMinute=function(t){return this._withLocalTimeOffset(this._time.withMinute(t),this._offset)},t.withSecond=function(t){return this._withLocalTimeOffset(this._time.withSecond(t),this._offset)},t.withNano=function(t){return this._withLocalTimeOffset(this._time.withNano(t),this._offset)},t.withOffsetSameInstant=function(t){if(O(t,"offset"),t.equals(this._offset))return this;var e=t.totalSeconds()-this._offset.totalSeconds();return new s(this._time.plusSeconds(e),t)},t.withOffsetSameLocal=function(t){return null!=t&&t.equals(this._offset)?this:new s(this._time,t)},t._toEpochNano=function(){return this._time.toNanoOfDay()-this._offset.totalSeconds()*En.NANOS_PER_SECOND},t._withAdjuster=function(t){return O(t,"adjuster"),t instanceof En?this._withLocalTimeOffset(t,this._offset):t instanceof Dt?this._withLocalTimeOffset(this._time,t):t instanceof s?t:t.adjustInto(this)},t._withField=function(t,e){return O(t,"field"),t instanceof x?t===x.OFFSET_SECONDS?this._withLocalTimeOffset(this._time,Dt.ofTotalSeconds(t.checkValidIntValue(e))):this._withLocalTimeOffset(this._time.with(t,e),this._offset):t.adjustInto(this,e)},t._withLocalTimeOffset=function(t,e){return this._time===t&&this._offset.equals(e)?this:new s(t,e)},t.compareTo=function(t){if(O(t,"other"),o(t,s,"other"),this._offset.equals(t._offset))return this._time.compareTo(t._time);var e=M.compareNumbers(this._toEpochNano(),t._toEpochNano());return 0===e?this._time.compareTo(t._time):e},t.equals=function(t){return this===t||t instanceof s&&(this._time.equals(t._time)&&this._offset.equals(t._offset))},t.hashCode=function(){return this._time.hashCode()^this._offset.hashCode()},t.toString=function(){return this._time.toString()+this._offset.toString()},t.toJSON=function(){return this.toString()},s}(lt);var fn=function(e){function n(){return e.apply(this,arguments)||this}_(n,e);var t=n.prototype;return t.query=function(t){return t===k.zoneId()||t===k.zone()?this.zone():t===k.chronology()?this.toLocalDate().chronology():t===k.precision()?L.NANOS:t===k.offset()?this.offset():t===k.localDate()?dn.ofEpochDay(this.toLocalDate().toEpochDay()):t===k.localTime()?this.toLocalTime():e.prototype.query.call(this,t)},t.format=function(t){return O(t,"formatter"),t.format(this)},t.toInstant=function(){return Sn.ofEpochSecond(this.toEpochSecond(),this.toLocalTime().nano())},t.toEpochSecond=function(){var t=86400*this.toLocalDate().toEpochDay()+this.toLocalTime().toSecondOfDay();return t-=this.offset().totalSeconds()},t.compareTo=function(t){O(t,"other");var e=M.compareNumbers(this.toEpochSecond(),t.toEpochSecond());return 0===e&&0===(e=this.toLocalTime().nano()-t.toLocalTime().nano())&&0===(e=this.toLocalDateTime().compareTo(t.toLocalDateTime()))&&(e=function(t,e){if(t<e)return-1;if(e<t)return 1;return 0}(this.zone().id(),t.zone().id())),e},t.isAfter=function(t){O(t,"other");var e=this.toEpochSecond(),n=t.toEpochSecond();return n<e||e===n&&this.toLocalTime().nano()>t.toLocalTime().nano()},t.isBefore=function(t){O(t,"other");var e=this.toEpochSecond(),n=t.toEpochSecond();return e<n||e===n&&this.toLocalTime().nano()<t.toLocalTime().nano()},t.isEqual=function(t){return O(t,"other"),this.toEpochSecond()===t.toEpochSecond()&&this.toLocalTime().nano()===t.toLocalTime().nano()},t.equals=function(t){return this===t||t instanceof n&&0===this.compareTo(t)},n}(lt);var cn=function(r){function h(t,e,n){var i;return O(t,"dateTime"),O(e,"offset"),O(n,"zone"),(i=r.call(this)||this)._dateTime=t,i._offset=e,i._zone=n,i}_(h,r),h.now=function(t){var e;return e=t instanceof Ot?mn.system(t):null==t?mn.systemDefaultZone():t,h.ofInstant(e.instant(),e.zone())},h.of=function(t){return arguments.length<=2?h.of2.apply(this,arguments):3===arguments.length&&t instanceof dn?h.of3.apply(this,arguments):h.of8.apply(this,arguments)},h.of3=function(t,e,n){return h.of2(On.of(t,e),n)},h.of2=function(t,e){return h.ofLocal(t,e,null)},h.of8=function(t,e,n,i,r,s,o,a){var u=On.of(t,e,n,i,r,s,o);return h.ofLocal(u,a,null)},h.ofLocal=function(t,e,n){if(O(t,"localDateTime"),O(e,"zone"),e instanceof Dt)return new h(t,e,e);var i=null,r=e.rules(),s=r.validOffsets(t);if(1===s.length)i=s[0];else if(0===s.length){var o=r.transition(t);t=t.plusSeconds(o.duration().seconds()),i=o.offsetAfter()}else i=null!=n&&s.some(function(t){return t.equals(n)})?n:O(s[0],"offset");return new h(t,i,e)},h.ofInstant=function(){return 2===arguments.length?h.ofInstant2.apply(this,arguments):h.ofInstant3.apply(this,arguments)},h.ofInstant2=function(t,e){return O(t,"instant"),O(e,"zone"),h._create(t.epochSecond(),t.nano(),e)},h.ofInstant3=function(t,e,n){return O(t,"localDateTime"),O(e,"offset"),O(n,"zone"),h._create(t.toEpochSecond(e),t.nano(),n)},h._create=function(t,e,n){var i=n.rules(),r=Sn.ofEpochSecond(t,e),s=i.offset(r);return new h(On.ofEpochSecond(t,e,s),s,n)},h.ofStrict=function(t,e,n){O(t,"localDateTime"),O(e,"offset"),O(n,"zone");var i=n.rules();if(!1!==i.isValidOffset(t,e))return new h(t,e,n);var r=i.transition(t);if(null!=r&&r.isGap())throw new y("LocalDateTime "+t+" does not exist in zone "+n+" due to a gap in the local time-line, typically caused by daylight savings");throw new y('ZoneOffset "'+e+'" is not valid for LocalDateTime "'+t+'" in zone "'+n+'"')},h.ofLenient=function(t,e,n){if(O(t,"localDateTime"),O(e,"offset"),O(n,"zone"),n instanceof Dt&&!1===e.equals(n))throw new c("ZoneId must match ZoneOffset");return new h(t,e,n)},h.from=function(t){if(O(t,"temporal"),t instanceof h)return t;var e=Ot.from(t);if(t.isSupported(x.INSTANT_SECONDS)){var n=h._from(t,e);if(null!=n)return n}var i=On.from(t);return h.of2(i,e)},h._from=function(t,e){try{return h.__from(t,e)}catch(t){if(!(t instanceof y))throw t}},h.__from=function(t,e){var n=t.getLong(x.INSTANT_SECONDS),i=t.get(x.NANO_OF_SECOND);return h._create(n,i,e)},h.parse=function(t,e){return void 0===e&&(e=xe.ISO_ZONED_DATE_TIME),O(e,"formatter"),e.parse(t,h.FROM)};var t=h.prototype;return t._resolveLocal=function(t){return O(t,"newDateTime"),h.ofLocal(t,this._zone,this._offset)},t._resolveInstant=function(t){return h.ofInstant3(t,this._offset,this._zone)},t._resolveOffset=function(t){return!1===t.equals(this._offset)&&this._zone.rules().isValidOffset(this._dateTime,t)?new h(this._dateTime,t,this._zone):this},t.isSupported=function(t){return t instanceof x||(t instanceof L?t.isDateBased()||t.isTimeBased():null!=t&&t.isSupportedBy(this))},t.range=function(t){return t instanceof x?t===x.INSTANT_SECONDS||t===x.OFFSET_SECONDS?t.range():this._dateTime.range(t):t.rangeRefinedBy(this)},t.get=function(t){return this.getLong(t)},t.getLong=function(t){if(t instanceof x){switch(t){case x.INSTANT_SECONDS:return this.toEpochSecond();case x.OFFSET_SECONDS:return this._offset.totalSeconds()}return this._dateTime.getLong(t)}return O(t,"field"),t.getFrom(this)},t.offset=function(){return this._offset},t.withEarlierOffsetAtOverlap=function(){var t=this._zone.rules().transition(this._dateTime);if(null!=t&&t.isOverlap()){var e=t.offsetBefore();if(!1===e.equals(this._offset))return new h(this._dateTime,e,this._zone)}return this},t.withLaterOffsetAtOverlap=function(){var t=this._zone.rules().transition(this.toLocalDateTime());if(null!=t){var e=t.offsetAfter();if(!1===e.equals(this._offset))return new h(this._dateTime,e,this._zone)}return this},t.zone=function(){return this._zone},t.withZoneSameLocal=function(t){return O(t,"zone"),this._zone.equals(t)?this:h.ofLocal(this._dateTime,t,this._offset)},t.withZoneSameInstant=function(t){return O(t,"zone"),this._zone.equals(t)?this:h._create(this._dateTime.toEpochSecond(this._offset),this._dateTime.nano(),t)},t.withFixedOffsetZone=function(){return this._zone.equals(this._offset)?this:new h(this._dateTime,this._offset,this._offset)},t.year=function(){return this._dateTime.year()},t.monthValue=function(){return this._dateTime.monthValue()},t.month=function(){return this._dateTime.month()},t.dayOfMonth=function(){return this._dateTime.dayOfMonth()},t.dayOfYear=function(){return this._dateTime.dayOfYear()},t.dayOfWeek=function(){return this._dateTime.dayOfWeek()},t.hour=function(){return this._dateTime.hour()},t.minute=function(){return this._dateTime.minute()},t.second=function(){return this._dateTime.second()},t.nano=function(){return this._dateTime.nano()},t._withAdjuster=function(t){if(t instanceof dn)return this._resolveLocal(On.of(t,this._dateTime.toLocalTime()));if(t instanceof En)return this._resolveLocal(On.of(this._dateTime.toLocalDate(),t));if(t instanceof On)return this._resolveLocal(t);if(t instanceof Sn){var e=t;return h._create(e.epochSecond(),e.nano(),this._zone)}return t instanceof Dt?this._resolveOffset(t):r.prototype._withAdjuster.call(this,t)},t._withField=function(t,e){if(t instanceof x){switch(t){case x.INSTANT_SECONDS:return h._create(e,this.nano(),this._zone);case x.OFFSET_SECONDS:var n=Dt.ofTotalSeconds(t.checkValidIntValue(e));return this._resolveOffset(n)}return this._resolveLocal(this._dateTime.with(t,e))}return t.adjustInto(this,e)},t.withYear=function(t){return this._resolveLocal(this._dateTime.withYear(t))},t.withMonth=function(t){return this._resolveLocal(this._dateTime.withMonth(t))},t.withDayOfMonth=function(t){return this._resolveLocal(this._dateTime.withDayOfMonth(t))},t.withDayOfYear=function(t){return this._resolveLocal(this._dateTime.withDayOfYear(t))},t.withHour=function(t){return this._resolveLocal(this._dateTime.withHour(t))},t.withMinute=function(t){return this._resolveLocal(this._dateTime.withMinute(t))},t.withSecond=function(t){return this._resolveLocal(this._dateTime.withSecond(t))},t.withNano=function(t){return this._resolveLocal(this._dateTime.withNano(t))},t.truncatedTo=function(t){return this._resolveLocal(this._dateTime.truncatedTo(t))},t._plusUnit=function(t,e){return e instanceof L?e.isDateBased()?this._resolveLocal(this._dateTime.plus(t,e)):this._resolveInstant(this._dateTime.plus(t,e)):(O(e,"unit"),e.addTo(this,t))},t.plusYears=function(t){return this._resolveLocal(this._dateTime.plusYears(t))},t.plusMonths=function(t){return this._resolveLocal(this._dateTime.plusMonths(t))},t.plusWeeks=function(t){return this._resolveLocal(this._dateTime.plusWeeks(t))},t.plusDays=function(t){return this._resolveLocal(this._dateTime.plusDays(t))},t.plusHours=function(t){return this._resolveInstant(this._dateTime.plusHours(t))},t.plusMinutes=function(t){return this._resolveInstant(this._dateTime.plusMinutes(t))},t.plusSeconds=function(t){return this._resolveInstant(this._dateTime.plusSeconds(t))},t.plusNanos=function(t){return this._resolveInstant(this._dateTime.plusNanos(t))},t._minusUnit=function(t,e){return this._plusUnit(-1*t,e)},t.minusYears=function(t){return this.plusYears(-1*t)},t.minusMonths=function(t){return this.plusMonths(-1*t)},t.minusWeeks=function(t){return this.plusWeeks(-1*t)},t.minusDays=function(t){return this.plusDays(-1*t)},t.minusHours=function(t){return this.plusHours(-1*t)},t.minusMinutes=function(t){return this.plusMinutes(-1*t)},t.minusSeconds=function(t){return this.plusSeconds(-1*t)},t.minusNanos=function(t){return this.plusNanos(-1*t)},t.query=function(t){return t===k.localDate()?this.toLocalDate():(O(t,"query"),r.prototype.query.call(this,t))},t.until=function(t,e){var n=h.from(t);if(e instanceof L){if(n=n.withZoneSameInstant(this._zone),e.isDateBased())return this._dateTime.until(n._dateTime,e);var i=this._offset.totalSeconds()-n._offset.totalSeconds(),r=n._dateTime.plusSeconds(i);return this._dateTime.until(r,e)}return e.between(this,n)},t.toLocalDateTime=function(){return this._dateTime},t.toLocalDate=function(){return this._dateTime.toLocalDate()},t.toLocalTime=function(){return this._dateTime.toLocalTime()},t.toOffsetDateTime=function(){return ln.of(this._dateTime,this._offset)},t.equals=function(t){return this===t||t instanceof h&&(this._dateTime.equals(t._dateTime)&&this._offset.equals(t._offset)&&this._zone.equals(t._zone))},t.hashCode=function(){return M.hashCode(this._dateTime.hashCode(),this._offset.hashCode(),this._zone.hashCode())},t.toString=function(){var t=this._dateTime.toString()+this._offset.toString();return this._offset!==this._zone&&(t+="["+this._zone.toString()+"]"),t},t.toJSON=function(){return this.toString()},t.format=function(t){return r.prototype.format.call(this,t)},h}(fn);var ln=function(i){function u(t,e){var n;return n=i.call(this)||this,O(t,"dateTime"),o(t,On,"dateTime"),O(e,"offset"),o(e,Dt,"offset"),n._dateTime=t,n._offset=e,n}_(u,i),u.from=function(e){if(O(e,"temporal"),e instanceof u)return e;try{var n=Dt.from(e);try{var t=On.from(e);return u.of(t,n)}catch(t){var i=Sn.from(e);return u.ofInstant(i,n)}}catch(t){throw new y("Unable to obtain OffsetDateTime TemporalAccessor: "+e+", type "+(null!=e.constructor?e.constructor.name:""))}},u.now=function(t){if(0===arguments.length)return u.now(mn.systemDefaultZone());if(O(t,"clockOrZone"),t instanceof Ot)return u.now(mn.system(t));if(t instanceof mn){var e=t.instant();return u.ofInstant(e,t.zone().rules().offset(e))}throw new c("clockOrZone must be an instance of ZoneId or Clock")},u.of=function(){return arguments.length<=2?u.ofDateTime.apply(this,arguments):3===arguments.length?u.ofDateAndTime.apply(this,arguments):u.ofNumbers.apply(this,arguments)},u.ofDateTime=function(t,e){return new u(t,e)},u.ofDateAndTime=function(t,e,n){return new u(On.of(t,e),n)},u.ofNumbers=function(t,e,n,i,r,s,o,a){return void 0===i&&(i=0),void 0===r&&(r=0),void 0===s&&(s=0),void 0===o&&(o=0),new u(On.of(t,e,n,i,r,s,o),a)},u.ofInstant=function(t,e){O(t,"instant"),O(e,"zone");var n=e.rules().offset(t);return new u(On.ofEpochSecond(t.epochSecond(),t.nano(),n),n)},u.parse=function(t,e){return void 0===e&&(e=xe.ISO_OFFSET_DATE_TIME),O(e,"formatter"),e.parse(t,u.FROM)};var t=u.prototype;return t.adjustInto=function(t){return t.with(x.EPOCH_DAY,this.toLocalDate().toEpochDay()).with(x.NANO_OF_DAY,this.toLocalTime().toNanoOfDay()).with(x.OFFSET_SECONDS,this.offset().totalSeconds())},t.until=function(t,e){var n=u.from(t);return e instanceof L?(n=n.withOffsetSameInstant(this._offset),this._dateTime.until(n._dateTime,e)):e.between(this,n)},t.atZoneSameInstant=function(t){return cn.ofInstant(this._dateTime,this._offset,t)},t.atZoneSimilarLocal=function(t){return cn.ofLocal(this._dateTime,t,this._offset)},t.query=function(t){return O(t,"query"),t===k.chronology()?un.INSTANCE:t===k.precision()?L.NANOS:t===k.offset()||t===k.zone()?this.offset():t===k.localDate()?this.toLocalDate():t===k.localTime()?this.toLocalTime():t===k.zoneId()?null:i.prototype.query.call(this,t)},t.get=function(t){if(t instanceof x){switch(t){case x.INSTANT_SECONDS:throw new y("Field too large for an int: "+t);case x.OFFSET_SECONDS:return this.offset().totalSeconds()}return this._dateTime.get(t)}return i.prototype.get.call(this,t)},t.getLong=function(t){if(t instanceof x){switch(t){case x.INSTANT_SECONDS:return this.toEpochSecond();case x.OFFSET_SECONDS:return this.offset().totalSeconds()}return this._dateTime.getLong(t)}return t.getFrom(this)},t.offset=function(){return this._offset},t.year=function(){return this._dateTime.year()},t.monthValue=function(){return this._dateTime.monthValue()},t.month=function(){return this._dateTime.month()},t.dayOfMonth=function(){return this._dateTime.dayOfMonth()},t.dayOfYear=function(){return this._dateTime.dayOfYear()},t.dayOfWeek=function(){return this._dateTime.dayOfWeek()},t.hour=function(){return this._dateTime.hour()},t.minute=function(){return this._dateTime.minute()},t.second=function(){return this._dateTime.second()},t.nano=function(){return this._dateTime.nano()},t.toLocalDateTime=function(){return this._dateTime},t.toLocalDate=function(){return this._dateTime.toLocalDate()},t.toLocalTime=function(){return this._dateTime.toLocalTime()},t.toOffsetTime=function(){return hn.of(this._dateTime.toLocalTime(),this._offset)},t.toZonedDateTime=function(){return cn.of(this._dateTime,this._offset)},t.toInstant=function(){return this._dateTime.toInstant(this._offset)},t.toEpochSecond=function(){return this._dateTime.toEpochSecond(this._offset)},t.isSupported=function(t){return t instanceof x?t.isDateBased()||t.isTimeBased():t instanceof L?t.isDateBased()||t.isTimeBased():null!=t&&t.isSupportedBy(this)},t.range=function(t){return t instanceof x?t===x.INSTANT_SECONDS||t===x.OFFSET_SECONDS?t.range():this._dateTime.range(t):t.rangeRefinedBy(this)},t._withAdjuster=function(t){return O(t),t instanceof dn||t instanceof En||t instanceof On?this._withDateTimeOffset(this._dateTime.with(t),this._offset):t instanceof Sn?u.ofInstant(t,this._offset):t instanceof Dt?this._withDateTimeOffset(this._dateTime,t):t instanceof u?t:t.adjustInto(this)},t._withField=function(t,e){if(O(t),t instanceof x){var n=t;switch(n){case x.INSTANT_SECONDS:return u.ofInstant(Sn.ofEpochSecond(e,this.nano()),this._offset);case x.OFFSET_SECONDS:return this._withDateTimeOffset(this._dateTime,Dt.ofTotalSeconds(n.checkValidIntValue(e)))}return this._withDateTimeOffset(this._dateTime.with(t,e),this._offset)}return t.adjustInto(this,e)},t._withDateTimeOffset=function(t,e){return this._dateTime===t&&this._offset.equals(e)?this:new u(t,e)},t.withYear=function(t){return this._withDateTimeOffset(this._dateTime.withYear(t),this._offset)},t.withMonth=function(t){return this._withDateTimeOffset(this._dateTime.withMonth(t),this._offset)},t.withDayOfMonth=function(t){return this._withDateTimeOffset(this._dateTime.withDayOfMonth(t),this._offset)},t.withDayOfYear=function(t){return this._withDateTimeOffset(this._dateTime.withDayOfYear(t),this._offset)},t.withHour=function(t){return this._withDateTimeOffset(this._dateTime.withHour(t),this._offset)},t.withMinute=function(t){return this._withDateTimeOffset(this._dateTime.withMinute(t),this._offset)},t.withSecond=function(t){return this._withDateTimeOffset(this._dateTime.withSecond(t),this._offset)},t.withNano=function(t){return this._withDateTimeOffset(this._dateTime.withNano(t),this._offset)},t.withOffsetSameLocal=function(t){return O(t,"offset"),this._withDateTimeOffset(this._dateTime,t)},t.withOffsetSameInstant=function(t){if(O(t,"offset"),t.equals(this._offset))return this;var e=t.totalSeconds()-this._offset.totalSeconds();return new u(this._dateTime.plusSeconds(e),t)},t.truncatedTo=function(t){return this._withDateTimeOffset(this._dateTime.truncatedTo(t),this._offset)},t._plusAmount=function(t){return O(t,"amount"),t.addTo(this)},t._plusUnit=function(t,e){return e instanceof L?this._withDateTimeOffset(this._dateTime.plus(t,e),this._offset):e.addTo(this,t)},t.plusYears=function(t){return this._withDateTimeOffset(this._dateTime.plusYears(t),this._offset)},t.plusMonths=function(t){return this._withDateTimeOffset(this._dateTime.plusMonths(t),this._offset)},t.plusWeeks=function(t){return this._withDateTimeOffset(this._dateTime.plusWeeks(t),this._offset)},t.plusDays=function(t){return this._withDateTimeOffset(this._dateTime.plusDays(t),this._offset)},t.plusHours=function(t){return this._withDateTimeOffset(this._dateTime.plusHours(t),this._offset)},t.plusMinutes=function(t){return this._withDateTimeOffset(this._dateTime.plusMinutes(t),this._offset)},t.plusSeconds=function(t){return this._withDateTimeOffset(this._dateTime.plusSeconds(t),this._offset)},t.plusNanos=function(t){return this._withDateTimeOffset(this._dateTime.plusNanos(t),this._offset)},t._minusAmount=function(t){return O(t),t.subtractFrom(this)},t._minusUnit=function(t,e){return this.plus(-1*t,e)},t.minusYears=function(t){return this._withDateTimeOffset(this._dateTime.minusYears(t),this._offset)},t.minusMonths=function(t){return this._withDateTimeOffset(this._dateTime.minusMonths(t),this._offset)},t.minusWeeks=function(t){return this._withDateTimeOffset(this._dateTime.minusWeeks(t),this._offset)},t.minusDays=function(t){return this._withDateTimeOffset(this._dateTime.minusDays(t),this._offset)},t.minusHours=function(t){return this._withDateTimeOffset(this._dateTime.minusHours(t),this._offset)},t.minusMinutes=function(t){return this._withDateTimeOffset(this._dateTime.minusMinutes(t),this._offset)},t.minusSeconds=function(t){return this._withDateTimeOffset(this._dateTime.minusSeconds(t),this._offset)},t.minusNanos=function(t){return this._withDateTimeOffset(this._dateTime.minusNanos(t),this._offset)},t.compareTo=function(t){if(O(t,"other"),o(t,u,"other"),this.offset().equals(t.offset()))return this.toLocalDateTime().compareTo(t.toLocalDateTime());var e=M.compareNumbers(this.toEpochSecond(),t.toEpochSecond());return 0===e&&0===(e=this.toLocalTime().nano()-t.toLocalTime().nano())&&(e=this.toLocalDateTime().compareTo(t.toLocalDateTime())),e},t.isAfter=function(t){O(t,"other");var e=this.toEpochSecond(),n=t.toEpochSecond();return n<e||e===n&&this.toLocalTime().nano()>t.toLocalTime().nano()},t.isBefore=function(t){O(t,"other");var e=this.toEpochSecond(),n=t.toEpochSecond();return e<n||e===n&&this.toLocalTime().nano()<t.toLocalTime().nano()},t.isEqual=function(t){return O(t,"other"),this.toEpochSecond()===t.toEpochSecond()&&this.toLocalTime().nano()===t.toLocalTime().nano()},t.equals=function(t){return this===t||t instanceof u&&(this._dateTime.equals(t._dateTime)&&this._offset.equals(t._offset))},t.hashCode=function(){return this._dateTime.hashCode()^this._offset.hashCode()},t.toString=function(){return this._dateTime.toString()+this._offset.toString()},t.toJSON=function(){return this.toString()},t.format=function(t){return O(t,"formatter"),t.format(this)},u}(lt);var _n=146097,dn=function(r){function f(t,e,n){var i;return i=r.call(this)||this,O(t,"year"),O(e,"month"),O(n,"dayOfMonth"),e instanceof tt&&(e=e.value()),i._year=M.safeToInt(t),i._month=M.safeToInt(e),i._day=M.safeToInt(n),f._validate(i._year,i._month,i._day),i}_(f,r),f.now=function(t){var e;return e=null==t?mn.systemDefaultZone():t instanceof Ot?mn.system(t):t,f.ofInstant(e.instant(),e.zone())},f.ofInstant=function(t,e){void 0===e&&(e=Ot.systemDefault()),O(t,"instant");var n=e.rules().offset(t),i=t.epochSecond()+n.totalSeconds(),r=M.floorDiv(i,En.SECONDS_PER_DAY);return f.ofEpochDay(r)},f.of=function(t,e,n){return new f(t,e,n)},f.ofYearDay=function(t,e){x.YEAR.checkValidValue(t);var n=un.isLeapYear(t);366===e&&!1===n&&m(!1,"Invalid date 'DayOfYear 366' as '"+t+"' is not a leap year",y);var i=tt.of(Math.floor((e-1)/31+1));i.firstDayOfYear(n)+i.length(n)-1<e&&(i=i.plus(1));var r=e-i.firstDayOfYear(n)+1;return new f(t,i.value(),r)},f.ofEpochDay=function(t){var e,n,i,r,s;void 0===t&&(t=0),s=t+719528,(s-=60)<(e=0)&&(e=400*(n=M.intDiv(s+1,_n)-1),s+=-n*_n),(i=s-(365*(r=M.intDiv(400*s+591,_n))+M.intDiv(r,4)-M.intDiv(r,100)+M.intDiv(r,400)))<0&&(i=s-(365*--r+M.intDiv(r,4)-M.intDiv(r,100)+M.intDiv(r,400))),r+=e;var o=i,a=M.intDiv(5*o+2,153),u=(a+2)%12+1,h=o-M.intDiv(306*a+5,10)+1;return new f(r+=M.intDiv(a,10),u,h)},f.from=function(t){O(t,"temporal");var e=t.query(k.localDate());if(null==e)throw new y("Unable to obtain LocalDate from TemporalAccessor: "+t+", type "+(null!=t.constructor?t.constructor.name:""));return e},f.parse=function(t,e){return void 0===e&&(e=xe.ISO_LOCAL_DATE),m(null!=e,"formatter",s),e.parse(t,f.FROM)},f._resolvePreviousValid=function(t,e,n){switch(e){case 2:n=Math.min(n,un.isLeapYear(t)?29:28);break;case 4:case 6:case 9:case 11:n=Math.min(n,30)}return f.of(t,e,n)},f._validate=function(t,e,n){var i;if(x.YEAR.checkValidValue(t),x.MONTH_OF_YEAR.checkValidValue(e),x.DAY_OF_MONTH.checkValidValue(n),28<n){switch(i=31,e){case 2:i=un.isLeapYear(t)?29:28;break;case 4:case 6:case 9:case 11:i=30}i<n&&m(!1,29===n?"Invalid date 'February 29' as '"+t+"' is not a leap year":"Invalid date '"+t+"' '"+e+"' '"+n+"'",y)}};var t=f.prototype;return t.isSupported=function(t){return r.prototype.isSupported.call(this,t)},t.range=function(t){if(t instanceof x){if(t.isDateBased()){switch(t){case x.DAY_OF_MONTH:return H.of(1,this.lengthOfMonth());case x.DAY_OF_YEAR:return H.of(1,this.lengthOfYear());case x.ALIGNED_WEEK_OF_MONTH:return H.of(1,this.month()===tt.FEBRUARY&&!1===this.isLeapYear()?4:5);case x.YEAR_OF_ERA:return this._year<=0?H.of(1,Ke.MAX_VALUE+1):H.of(1,Ke.MAX_VALUE)}return t.range()}throw new l("Unsupported field: "+t)}return t.rangeRefinedBy(this)},t.get=function(t){return this.getLong(t)},t.getLong=function(t){return m(null!=t,"",s),t instanceof x?this._get0(t):t.getFrom(this)},t._get0=function(t){switch(t){case x.DAY_OF_WEEK:return this.dayOfWeek().value();case x.ALIGNED_DAY_OF_WEEK_IN_MONTH:return M.intMod(this._day-1,7)+1;case x.ALIGNED_DAY_OF_WEEK_IN_YEAR:return M.intMod(this.dayOfYear()-1,7)+1;case x.DAY_OF_MONTH:return this._day;case x.DAY_OF_YEAR:return this.dayOfYear();case x.EPOCH_DAY:return this.toEpochDay();case x.ALIGNED_WEEK_OF_MONTH:return M.intDiv(this._day-1,7)+1;case x.ALIGNED_WEEK_OF_YEAR:return M.intDiv(this.dayOfYear()-1,7)+1;case x.MONTH_OF_YEAR:return this._month;case x.PROLEPTIC_MONTH:return this._prolepticMonth();case x.YEAR_OF_ERA:return 1<=this._year?this._year:1-this._year;case x.YEAR:return this._year;case x.ERA:return 1<=this._year?1:0}throw new l("Unsupported field: "+t)},t._prolepticMonth=function(){return 12*this._year+(this._month-1)},t.chronology=function(){return un.INSTANCE},t.year=function(){return this._year},t.monthValue=function(){return this._month},t.month=function(){return tt.of(this._month)},t.dayOfMonth=function(){return this._day},t.dayOfYear=function(){return this.month().firstDayOfYear(this.isLeapYear())+this._day-1},t.dayOfWeek=function(){var t=M.floorMod(this.toEpochDay()+3,7);return Q.of(t+1)},t.isLeapYear=function(){return un.isLeapYear(this._year)},t.lengthOfMonth=function(){switch(this._month){case 2:return this.isLeapYear()?29:28;case 4:case 6:case 9:case 11:return 30;default:return 31}},t.lengthOfYear=function(){return this.isLeapYear()?366:365},t._withAdjuster=function(t){return O(t,"adjuster"),t instanceof f?t:r.prototype._withAdjuster.call(this,t)},t._withField=function(t,e){if(m(null!=t,"field",s),t instanceof x){var n=t;switch(n.checkValidValue(e),n){case x.DAY_OF_WEEK:return this.plusDays(e-this.dayOfWeek().value());case x.ALIGNED_DAY_OF_WEEK_IN_MONTH:return this.plusDays(e-this.getLong(x.ALIGNED_DAY_OF_WEEK_IN_MONTH));case x.ALIGNED_DAY_OF_WEEK_IN_YEAR:return this.plusDays(e-this.getLong(x.ALIGNED_DAY_OF_WEEK_IN_YEAR));case x.DAY_OF_MONTH:return this.withDayOfMonth(e);case x.DAY_OF_YEAR:return this.withDayOfYear(e);case x.EPOCH_DAY:return f.ofEpochDay(e);case x.ALIGNED_WEEK_OF_MONTH:return this.plusWeeks(e-this.getLong(x.ALIGNED_WEEK_OF_MONTH));case x.ALIGNED_WEEK_OF_YEAR:return this.plusWeeks(e-this.getLong(x.ALIGNED_WEEK_OF_YEAR));case x.MONTH_OF_YEAR:return this.withMonth(e);case x.PROLEPTIC_MONTH:return this.plusMonths(e-this.getLong(x.PROLEPTIC_MONTH));case x.YEAR_OF_ERA:return this.withYear(1<=this._year?e:1-e);case x.YEAR:return this.withYear(e);case x.ERA:return this.getLong(x.ERA)===e?this:this.withYear(1-this._year)}throw new l("Unsupported field: "+t)}return t.adjustInto(this,e)},t.withYear=function(t){return this._year===t?this:(x.YEAR.checkValidValue(t),f._resolvePreviousValid(t,this._month,this._day))},t.withMonth=function(t){var e=t instanceof tt?t.value():t;return this._month===e?this:(x.MONTH_OF_YEAR.checkValidValue(e),f._resolvePreviousValid(this._year,e,this._day))},t.withDayOfMonth=function(t){return this._day===t?this:f.of(this._year,this._month,t)},t.withDayOfYear=function(t){return this.dayOfYear()===t?this:f.ofYearDay(this._year,t)},t._plusUnit=function(t,e){if(O(t,"amountToAdd"),O(e,"unit"),e instanceof L){switch(e){case L.DAYS:return this.plusDays(t);case L.WEEKS:return this.plusWeeks(t);case L.MONTHS:return this.plusMonths(t);case L.YEARS:return this.plusYears(t);case L.DECADES:return this.plusYears(M.safeMultiply(t,10));case L.CENTURIES:return this.plusYears(M.safeMultiply(t,100));case L.MILLENNIA:return this.plusYears(M.safeMultiply(t,1e3));case L.ERAS:return this.with(x.ERA,M.safeAdd(this.getLong(x.ERA),t))}throw new l("Unsupported unit: "+e)}return e.addTo(this,t)},t.plusYears=function(t){if(0===t)return this;var e=x.YEAR.checkValidIntValue(this._year+t);return f._resolvePreviousValid(e,this._month,this._day)},t.plusMonths=function(t){if(0===t)return this;var e=12*this._year+(this._month-1)+t,n=x.YEAR.checkValidIntValue(M.floorDiv(e,12)),i=M.floorMod(e,12)+1;return f._resolvePreviousValid(n,i,this._day)},t.plusWeeks=function(t){return this.plusDays(M.safeMultiply(t,7))},t.plusDays=function(t){if(0===t)return this;var e=M.safeAdd(this.toEpochDay(),t);return f.ofEpochDay(e)},t._minusUnit=function(t,e){return O(t,"amountToSubtract"),O(e,"unit"),this._plusUnit(-1*t,e)},t.minusYears=function(t){return this.plusYears(-1*t)},t.minusMonths=function(t){return this.plusMonths(-1*t)},t.minusWeeks=function(t){return this.plusWeeks(-1*t)},t.minusDays=function(t){return this.plusDays(-1*t)},t.query=function(t){return O(t,"query"),t===k.localDate()?this:r.prototype.query.call(this,t)},t.adjustInto=function(t){return r.prototype.adjustInto.call(this,t)},t.until=function(t,e){return arguments.length<2?this.until1(t):this.until2(t,e)},t.until2=function(t,e){var n=f.from(t);if(e instanceof L){switch(e){case L.DAYS:return this.daysUntil(n);case L.WEEKS:return M.intDiv(this.daysUntil(n),7);case L.MONTHS:return this._monthsUntil(n);case L.YEARS:return M.intDiv(this._monthsUntil(n),12);case L.DECADES:return M.intDiv(this._monthsUntil(n),120);case L.CENTURIES:return M.intDiv(this._monthsUntil(n),1200);case L.MILLENNIA:return M.intDiv(this._monthsUntil(n),12e3);case L.ERAS:return n.getLong(x.ERA)-this.getLong(x.ERA)}throw new l("Unsupported unit: "+e)}return e.between(this,n)},t.daysUntil=function(t){return t.toEpochDay()-this.toEpochDay()},t._monthsUntil=function(t){var e=32*this._prolepticMonth()+this.dayOfMonth(),n=32*t._prolepticMonth()+t.dayOfMonth();return M.intDiv(n-e,32)},t.until1=function(t){var e=f.from(t),n=e._prolepticMonth()-this._prolepticMonth(),i=e._day-this._day;if(0<n&&i<0){n--;var r=this.plusMonths(n);i=e.toEpochDay()-r.toEpochDay()}else n<0&&0<i&&(n++,i-=e.lengthOfMonth());var s=M.intDiv(n,12),o=M.intMod(n,12);return nt.of(s,o,i)},t.atTime=function(){return 1===arguments.length?this.atTime1.apply(this,arguments):this.atTime4.apply(this,arguments)},t.atTime1=function(t){if(O(t,"time"),t instanceof En)return On.of(this,t);if(t instanceof hn)return this._atTimeOffsetTime(t);throw new c("time must be an instance of LocalTime or OffsetTime"+(t&&t.constructor&&t.constructor.name?", but is "+t.constructor.name:""))},t.atTime4=function(t,e,n,i){return void 0===n&&(n=0),void 0===i&&(i=0),this.atTime1(En.of(t,e,n,i))},t._atTimeOffsetTime=function(t){return ln.of(On.of(this,t.toLocalTime()),t.offset())},t.atStartOfDay=function(t){return null!=t?this._atStartOfDayWithZone(t):On.of(this,En.MIDNIGHT)},t._atStartOfDayWithZone=function(t){O(t,"zone");var e=this.atTime(En.MIDNIGHT);if(t instanceof Dt==!1){var n=t.rules().transition(e);null!=n&&n.isGap()&&(e=n.dateTimeAfter())}return cn.of(e,t)},t.toEpochDay=function(){var t=this._year,e=this._month,n=0;return n+=365*t,0<=t?n+=M.intDiv(t+3,4)-M.intDiv(t+99,100)+M.intDiv(t+399,400):n-=M.intDiv(t,-4)-M.intDiv(t,-100)+M.intDiv(t,-400),n+=M.intDiv(367*e-362,12),n+=this.dayOfMonth()-1,2<e&&(n--,un.isLeapYear(t)||n--),n-719528},t.compareTo=function(t){return O(t,"other"),o(t,f,"other"),this._compareTo0(t)},t._compareTo0=function(t){var e=this._year-t._year;return 0===e&&0===(e=this._month-t._month)&&(e=this._day-t._day),e},t.isAfter=function(t){return 0<this.compareTo(t)},t.isBefore=function(t){return this.compareTo(t)<0},t.isEqual=function(t){return 0===this.compareTo(t)},t.equals=function(t){return this===t||t instanceof f&&0===this._compareTo0(t)},t.hashCode=function(){var t=this._year,e=this._month,n=this._day;return M.hash(4294965248&t^(t<<11)+(e<<6)+n)},t.toString=function(){var t=this._year,e=this._month,n=this._day;return(Math.abs(t)<1e3?t<0?"-"+(""+(t-1e4)).slice(-4):(""+(t+1e4)).slice(-4):9999<t?"+"+t:""+t)+(e<10?"-0"+e:"-"+e)+(n<10?"-0"+n:"-"+n)},t.toJSON=function(){return this.toString()},t.format=function(t){return O(t,"formatter"),o(t,xe,"formatter"),r.prototype.format.call(this,t)},f}(_t);var pn=function(e){function t(){return e.apply(this,arguments)||this}_(t,e);var n=t.prototype;return n.chronology=function(){return this.toLocalDate().chronology()},n.query=function(t){return t===k.chronology()?this.chronology():t===k.precision()?L.NANOS:t===k.localDate()?dn.ofEpochDay(this.toLocalDate().toEpochDay()):t===k.localTime()?this.toLocalTime():t===k.zone()||t===k.zoneId()||t===k.offset()?null:e.prototype.query.call(this,t)},n.adjustInto=function(t){return t.with(x.EPOCH_DAY,this.toLocalDate().toEpochDay()).with(x.NANO_OF_DAY,this.toLocalTime().toNanoOfDay())},n.toInstant=function(t){return o(t,Dt,"zoneId"),Sn.ofEpochSecond(this.toEpochSecond(t),this.toLocalTime().nano())},n.toEpochSecond=function(t){O(t,"offset");var e=86400*this.toLocalDate().toEpochDay()+this.toLocalTime().toSecondOfDay();return e-=t.totalSeconds(),M.safeToInt(e)},t}(lt),On=function(i){function u(t,e){var n;return n=i.call(this)||this,o(t,dn,"date"),o(e,En,"time"),n._date=t,n._time=e,n}_(u,i),u.now=function(t){return u._now(null==t?mn.systemDefaultZone():t instanceof mn?t:mn.system(t))},u._now=function(t){return O(t,"clock"),u.ofInstant(t.instant(),t.zone())},u._ofEpochMillis=function(t,e){var n=M.floorDiv(t,1e3)+e.totalSeconds(),i=M.floorDiv(n,En.SECONDS_PER_DAY),r=M.floorMod(n,En.SECONDS_PER_DAY),s=1e6*M.floorMod(t,1e3);return new u(dn.ofEpochDay(i),En.ofSecondOfDay(r,s))},u.of=function(){return arguments.length<=2?u.ofDateAndTime.apply(this,arguments):u.ofNumbers.apply(this,arguments)},u.ofNumbers=function(t,e,n,i,r,s,o){return void 0===i&&(i=0),void 0===r&&(r=0),void 0===s&&(s=0),void 0===o&&(o=0),new u(dn.of(t,e,n),En.of(i,r,s,o))},u.ofDateAndTime=function(t,e){return O(t,"date"),O(e,"time"),new u(t,e)},u.ofInstant=function(t,e){void 0===e&&(e=Ot.systemDefault()),O(t,"instant"),o(t,Sn,"instant"),O(e,"zone");var n=e.rules().offset(t);return u.ofEpochSecond(t.epochSecond(),t.nano(),n)},u.ofEpochSecond=function(t,e,n){void 0===t&&(t=0),void 0===e&&(e=0),2===arguments.length&&e instanceof Dt&&(n=e,e=0),O(n,"offset");var i=t+n.totalSeconds(),r=M.floorDiv(i,En.SECONDS_PER_DAY),s=M.floorMod(i,En.SECONDS_PER_DAY);return new u(dn.ofEpochDay(r),En.ofSecondOfDay(s,e))},u.from=function(e){if(O(e,"temporal"),e instanceof u)return e;if(e instanceof cn)return e.toLocalDateTime();try{return new u(dn.from(e),En.from(e))}catch(t){throw new y("Unable to obtain LocalDateTime TemporalAccessor: "+e+", type "+(null!=e.constructor?e.constructor.name:""))}},u.parse=function(t,e){return void 0===e&&(e=xe.ISO_LOCAL_DATE_TIME),O(e,"formatter"),e.parse(t,u.FROM)};var t=u.prototype;return t._withDateTime=function(t,e){return this._date.equals(t)&&this._time.equals(e)?this:new u(t,e)},t.isSupported=function(t){return t instanceof x?t.isDateBased()||t.isTimeBased():t instanceof L?t.isDateBased()||t.isTimeBased():null!=t&&t.isSupportedBy(this)},t.range=function(t){return t instanceof x?t.isTimeBased()?this._time.range(t):this._date.range(t):t.rangeRefinedBy(this)},t.get=function(t){return t instanceof x?t.isTimeBased()?this._time.get(t):this._date.get(t):i.prototype.get.call(this,t)},t.getLong=function(t){return O(t,"field"),t instanceof x?t.isTimeBased()?this._time.getLong(t):this._date.getLong(t):t.getFrom(this)},t.year=function(){return this._date.year()},t.monthValue=function(){return this._date.monthValue()},t.month=function(){return this._date.month()},t.dayOfMonth=function(){return this._date.dayOfMonth()},t.dayOfYear=function(){return this._date.dayOfYear()},t.dayOfWeek=function(){return this._date.dayOfWeek()},t.hour=function(){return this._time.hour()},t.minute=function(){return this._time.minute()},t.second=function(){return this._time.second()},t.nano=function(){return this._time.nano()},t._withAdjuster=function(t){return O(t,"adjuster"),t instanceof dn?this._withDateTime(t,this._time):t instanceof En?this._withDateTime(this._date,t):t instanceof u?t:i.prototype._withAdjuster.call(this,t)},t._withField=function(t,e){return O(t,"field"),t instanceof x?t.isTimeBased()?this._withDateTime(this._date,this._time.with(t,e)):this._withDateTime(this._date.with(t,e),this._time):t.adjustInto(this,e)},t.withYear=function(t){return this._withDateTime(this._date.withYear(t),this._time)},t.withMonth=function(t){return this._withDateTime(this._date.withMonth(t),this._time)},t.withDayOfMonth=function(t){return this._withDateTime(this._date.withDayOfMonth(t),this._time)},t.withDayOfYear=function(t){return this._withDateTime(this._date.withDayOfYear(t),this._time)},t.withHour=function(t){var e=this._time.withHour(t);return this._withDateTime(this._date,e)},t.withMinute=function(t){var e=this._time.withMinute(t);return this._withDateTime(this._date,e)},t.withSecond=function(t){var e=this._time.withSecond(t);return this._withDateTime(this._date,e)},t.withNano=function(t){var e=this._time.withNano(t);return this._withDateTime(this._date,e)},t.truncatedTo=function(t){return this._withDateTime(this._date,this._time.truncatedTo(t))},t._plusUnit=function(t,e){if(O(e,"unit"),e instanceof L){switch(e){case L.NANOS:return this.plusNanos(t);case L.MICROS:return this.plusDays(M.intDiv(t,En.MICROS_PER_DAY)).plusNanos(1e3*M.intMod(t,En.MICROS_PER_DAY));case L.MILLIS:return this.plusDays(M.intDiv(t,En.MILLIS_PER_DAY)).plusNanos(1e6*M.intMod(t,En.MILLIS_PER_DAY));case L.SECONDS:return this.plusSeconds(t);case L.MINUTES:return this.plusMinutes(t);case L.HOURS:return this.plusHours(t);case L.HALF_DAYS:return this.plusDays(M.intDiv(t,256)).plusHours(12*M.intMod(t,256))}return this._withDateTime(this._date.plus(t,e),this._time)}return e.addTo(this,t)},t.plusYears=function(t){var e=this._date.plusYears(t);return this._withDateTime(e,this._time)},t.plusMonths=function(t){var e=this._date.plusMonths(t);return this._withDateTime(e,this._time)},t.plusWeeks=function(t){var e=this._date.plusWeeks(t);return this._withDateTime(e,this._time)},t.plusDays=function(t){var e=this._date.plusDays(t);return this._withDateTime(e,this._time)},t.plusHours=function(t){return this._plusWithOverflow(this._date,t,0,0,0,1)},t.plusMinutes=function(t){return this._plusWithOverflow(this._date,0,t,0,0,1)},t.plusSeconds=function(t){return this._plusWithOverflow(this._date,0,0,t,0,1)},t.plusNanos=function(t){return this._plusWithOverflow(this._date,0,0,0,t,1)},t._minusUnit=function(t,e){return O(e,"unit"),this._plusUnit(-1*t,e)},t.minusYears=function(t){return this.plusYears(-1*t)},t.minusMonths=function(t){return this.plusMonths(-1*t)},t.minusWeeks=function(t){return this.plusWeeks(-1*t)},t.minusDays=function(t){return this.plusDays(-1*t)},t.minusHours=function(t){return this._plusWithOverflow(this._date,t,0,0,0,-1)},t.minusMinutes=function(t){return this._plusWithOverflow(this._date,0,t,0,0,-1)},t.minusSeconds=function(t){return this._plusWithOverflow(this._date,0,0,t,0,-1)},t.minusNanos=function(t){return this._plusWithOverflow(this._date,0,0,0,t,-1)},t._plusWithOverflow=function(t,e,n,i,r,s){if(0===e&&0===n&&0===i&&0===r)return this._withDateTime(t,this._time);var o=M.intDiv(r,En.NANOS_PER_DAY)+M.intDiv(i,En.SECONDS_PER_DAY)+M.intDiv(n,En.MINUTES_PER_DAY)+M.intDiv(e,En.HOURS_PER_DAY);o*=s;var a=M.intMod(r,En.NANOS_PER_DAY)+M.intMod(i,En.SECONDS_PER_DAY)*En.NANOS_PER_SECOND+M.intMod(n,En.MINUTES_PER_DAY)*En.NANOS_PER_MINUTE+M.intMod(e,En.HOURS_PER_DAY)*En.NANOS_PER_HOUR,u=this._time.toNanoOfDay();a=a*s+u,o+=M.floorDiv(a,En.NANOS_PER_DAY);var h=M.floorMod(a,En.NANOS_PER_DAY),f=h===u?this._time:En.ofNanoOfDay(h);return this._withDateTime(t.plusDays(o),f)},t.query=function(t){return O(t,"query"),t===k.localDate()?this.toLocalDate():i.prototype.query.call(this,t)},t.adjustInto=function(t){return i.prototype.adjustInto.call(this,t)},t.until=function(t,e){O(t,"endExclusive"),O(e,"unit");var n=u.from(t);if(e instanceof L){if(e.isTimeBased()){var i=this._date.daysUntil(n._date),r=n._time.toNanoOfDay()-this._time.toNanoOfDay();0<i&&r<0?(i--,r+=En.NANOS_PER_DAY):i<0&&0<r&&(i++,r-=En.NANOS_PER_DAY);var s=i;switch(e){case L.NANOS:return s=M.safeMultiply(s,En.NANOS_PER_DAY),M.safeAdd(s,r);case L.MICROS:return s=M.safeMultiply(s,En.MICROS_PER_DAY),M.safeAdd(s,M.intDiv(r,1e3));case L.MILLIS:return s=M.safeMultiply(s,En.MILLIS_PER_DAY),M.safeAdd(s,M.intDiv(r,1e6));case L.SECONDS:return s=M.safeMultiply(s,En.SECONDS_PER_DAY),M.safeAdd(s,M.intDiv(r,En.NANOS_PER_SECOND));case L.MINUTES:return s=M.safeMultiply(s,En.MINUTES_PER_DAY),M.safeAdd(s,M.intDiv(r,En.NANOS_PER_MINUTE));case L.HOURS:return s=M.safeMultiply(s,En.HOURS_PER_DAY),M.safeAdd(s,M.intDiv(r,En.NANOS_PER_HOUR));case L.HALF_DAYS:return s=M.safeMultiply(s,2),M.safeAdd(s,M.intDiv(r,12*En.NANOS_PER_HOUR))}throw new l("Unsupported unit: "+e)}var o=n._date,a=n._time;return o.isAfter(this._date)&&a.isBefore(this._time)?o=o.minusDays(1):o.isBefore(this._date)&&a.isAfter(this._time)&&(o=o.plusDays(1)),this._date.until(o,e)}return e.between(this,n)},t.atOffset=function(t){return ln.of(this,t)},t.atZone=function(t){return cn.of(this,t)},t.toLocalDate=function(){return this._date},t.toLocalTime=function(){return this._time},t.compareTo=function(t){return O(t,"other"),o(t,u,"other"),this._compareTo0(t)},t._compareTo0=function(t){var e=this._date.compareTo(t.toLocalDate());return 0===e&&(e=this._time.compareTo(t.toLocalTime())),e},t.isAfter=function(t){return 0<this.compareTo(t)},t.isBefore=function(t){return this.compareTo(t)<0},t.isEqual=function(t){return 0===this.compareTo(t)},t.equals=function(t){return this===t||t instanceof u&&(this._date.equals(t._date)&&this._time.equals(t._time))},t.hashCode=function(){return this._date.hashCode()^this._time.hashCode()},t.toString=function(){return this._date.toString()+"T"+this._time.toString()},t.toJSON=function(){return this.toString()},t.format=function(t){return O(t,"formatter"),t.format(this)},u}(pn);var En=function(h){function f(t,e,n,i){var r;void 0===t&&(t=0),void 0===e&&(e=0),void 0===n&&(n=0),void 0===i&&(i=0),r=h.call(this)||this;var s=M.safeToInt(t),o=M.safeToInt(e),a=M.safeToInt(n),u=M.safeToInt(i);return f._validate(s,o,a,u),0===o&&0===a&&0===u?(f.HOURS[s]||(r._hour=s,r._minute=o,r._second=a,r._nano=u,f.HOURS[s]=d(r)),f.HOURS[s]||d(r)):(r._hour=s,r._minute=o,r._second=a,r._nano=u,r)}_(f,h),f.now=function(t){return f._now(null==t?mn.systemDefaultZone():t instanceof mn?t:mn.system(t))},f._now=function(t){return void 0===t&&(t=mn.systemDefaultZone()),O(t,"clock"),f.ofInstant(t.instant(),t.zone())},f.ofInstant=function(t,e){void 0===e&&(e=Ot.systemDefault());var n=e.rules().offset(t),i=M.intMod(t.epochSecond(),f.SECONDS_PER_DAY);return(i=M.intMod(i+n.totalSeconds(),f.SECONDS_PER_DAY))<0&&(i+=f.SECONDS_PER_DAY),f.ofSecondOfDay(i,t.nano())},f.of=function(t,e,n,i){return new f(t,e,n,i)},f.ofSecondOfDay=function(t,e){void 0===t&&(t=0),void 0===e&&(e=0),x.SECOND_OF_DAY.checkValidValue(t),x.NANO_OF_SECOND.checkValidValue(e);var n=M.intDiv(t,f.SECONDS_PER_HOUR);t-=n*f.SECONDS_PER_HOUR;var i=M.intDiv(t,f.SECONDS_PER_MINUTE);return new f(n,i,t-=i*f.SECONDS_PER_MINUTE,e)},f.ofNanoOfDay=function(t){void 0===t&&(t=0),x.NANO_OF_DAY.checkValidValue(t);var e=M.intDiv(t,f.NANOS_PER_HOUR);t-=e*f.NANOS_PER_HOUR;var n=M.intDiv(t,f.NANOS_PER_MINUTE);t-=n*f.NANOS_PER_MINUTE;var i=M.intDiv(t,f.NANOS_PER_SECOND);return new f(e,n,i,t-=i*f.NANOS_PER_SECOND)},f.from=function(t){O(t,"temporal");var e=t.query(k.localTime());if(null==e)throw new y("Unable to obtain LocalTime TemporalAccessor: "+t+", type "+(null!=t.constructor?t.constructor.name:""));return e},f.parse=function(t,e){return void 0===e&&(e=xe.ISO_LOCAL_TIME),O(e,"formatter"),e.parse(t,f.FROM)},f._validate=function(t,e,n,i){x.HOUR_OF_DAY.checkValidValue(t),x.MINUTE_OF_HOUR.checkValidValue(e),x.SECOND_OF_MINUTE.checkValidValue(n),x.NANO_OF_SECOND.checkValidValue(i)};var t=f.prototype;return t.isSupported=function(t){return t instanceof x?t.isTimeBased():t instanceof L?t.isTimeBased():null!=t&&t.isSupportedBy(this)},t.range=function(t){return O(t),h.prototype.range.call(this,t)},t.get=function(t){return this.getLong(t)},t.getLong=function(t){return O(t,"field"),t instanceof x?this._get0(t):t.getFrom(this)},t._get0=function(t){switch(t){case x.NANO_OF_SECOND:return this._nano;case x.NANO_OF_DAY:return this.toNanoOfDay();case x.MICRO_OF_SECOND:return M.intDiv(this._nano,1e3);case x.MICRO_OF_DAY:return M.intDiv(this.toNanoOfDay(),1e3);case x.MILLI_OF_SECOND:return M.intDiv(this._nano,1e6);case x.MILLI_OF_DAY:return M.intDiv(this.toNanoOfDay(),1e6);case x.SECOND_OF_MINUTE:return this._second;case x.SECOND_OF_DAY:return this.toSecondOfDay();case x.MINUTE_OF_HOUR:return this._minute;case x.MINUTE_OF_DAY:return 60*this._hour+this._minute;case x.HOUR_OF_AMPM:return M.intMod(this._hour,12);case x.CLOCK_HOUR_OF_AMPM:var e=M.intMod(this._hour,12);return e%12==0?12:e;case x.HOUR_OF_DAY:return this._hour;case x.CLOCK_HOUR_OF_DAY:return 0===this._hour?24:this._hour;case x.AMPM_OF_DAY:return M.intDiv(this._hour,12)}throw new l("Unsupported field: "+t)},t.hour=function(){return this._hour},t.minute=function(){return this._minute},t.second=function(){return this._second},t.nano=function(){return this._nano},t._withAdjuster=function(t){return O(t,"adjuster"),t instanceof f?t:h.prototype._withAdjuster.call(this,t)},t._withField=function(t,e){if(O(t,"field"),o(t,U,"field"),t instanceof x){switch(t.checkValidValue(e),t){case x.NANO_OF_SECOND:return this.withNano(e);case x.NANO_OF_DAY:return f.ofNanoOfDay(e);case x.MICRO_OF_SECOND:return this.withNano(1e3*e);case x.MICRO_OF_DAY:return f.ofNanoOfDay(1e3*e);case x.MILLI_OF_SECOND:return this.withNano(1e6*e);case x.MILLI_OF_DAY:return f.ofNanoOfDay(1e6*e);case x.SECOND_OF_MINUTE:return this.withSecond(e);case x.SECOND_OF_DAY:return this.plusSeconds(e-this.toSecondOfDay());case x.MINUTE_OF_HOUR:return this.withMinute(e);case x.MINUTE_OF_DAY:return this.plusMinutes(e-(60*this._hour+this._minute));case x.HOUR_OF_AMPM:return this.plusHours(e-M.intMod(this._hour,12));case x.CLOCK_HOUR_OF_AMPM:return this.plusHours((12===e?0:e)-M.intMod(this._hour,12));case x.HOUR_OF_DAY:return this.withHour(e);case x.CLOCK_HOUR_OF_DAY:return this.withHour(24===e?0:e);case x.AMPM_OF_DAY:return this.plusHours(12*(e-M.intDiv(this._hour,12)))}throw new l("Unsupported field: "+t)}return t.adjustInto(this,e)},t.withHour=function(t){return void 0===t&&(t=0),this._hour===t?this:new f(t,this._minute,this._second,this._nano)},t.withMinute=function(t){return void 0===t&&(t=0),this._minute===t?this:new f(this._hour,t,this._second,this._nano)},t.withSecond=function(t){return void 0===t&&(t=0),this._second===t?this:new f(this._hour,this._minute,t,this._nano)},t.withNano=function(t){return void 0===t&&(t=0),this._nano===t?this:new f(this._hour,this._minute,this._second,t)},t.truncatedTo=function(t){if(O(t,"unit"),t===L.NANOS)return this;var e=t.duration();if(e.seconds()>f.SECONDS_PER_DAY)throw new y("Unit is too large to be used for truncation");var n=e.toNanos();if(0!==M.intMod(f.NANOS_PER_DAY,n))throw new y("Unit must divide into a standard day without remainder");var i=this.toNanoOfDay();return f.ofNanoOfDay(M.intDiv(i,n)*n)},t._plusUnit=function(t,e){if(O(e,"unit"),e instanceof L){switch(e){case L.NANOS:return this.plusNanos(t);case L.MICROS:return this.plusNanos(1e3*M.intMod(t,f.MICROS_PER_DAY));case L.MILLIS:return this.plusNanos(1e6*M.intMod(t,f.MILLIS_PER_DAY));case L.SECONDS:return this.plusSeconds(t);case L.MINUTES:return this.plusMinutes(t);case L.HOURS:return this.plusHours(t);case L.HALF_DAYS:return this.plusHours(12*M.intMod(t,2))}throw new l("Unsupported unit: "+e)}return e.addTo(this,t)},t.plusHours=function(t){return 0===t?this:new f(M.intMod(M.intMod(t,f.HOURS_PER_DAY)+this._hour+f.HOURS_PER_DAY,f.HOURS_PER_DAY),this._minute,this._second,this._nano)},t.plusMinutes=function(t){if(0===t)return this;var e=this._hour*f.MINUTES_PER_HOUR+this._minute,n=M.intMod(M.intMod(t,f.MINUTES_PER_DAY)+e+f.MINUTES_PER_DAY,f.MINUTES_PER_DAY);return e===n?this:new f(M.intDiv(n,f.MINUTES_PER_HOUR),M.intMod(n,f.MINUTES_PER_HOUR),this._second,this._nano)},t.plusSeconds=function(t){if(0===t)return this;var e=this._hour*f.SECONDS_PER_HOUR+this._minute*f.SECONDS_PER_MINUTE+this._second,n=M.intMod(M.intMod(t,f.SECONDS_PER_DAY)+e+f.SECONDS_PER_DAY,f.SECONDS_PER_DAY);return e===n?this:new f(M.intDiv(n,f.SECONDS_PER_HOUR),M.intMod(M.intDiv(n,f.SECONDS_PER_MINUTE),f.MINUTES_PER_HOUR),M.intMod(n,f.SECONDS_PER_MINUTE),this._nano)},t.plusNanos=function(t){if(0===t)return this;var e=this.toNanoOfDay(),n=M.intMod(M.intMod(t,f.NANOS_PER_DAY)+e+f.NANOS_PER_DAY,f.NANOS_PER_DAY);return e===n?this:new f(M.intDiv(n,f.NANOS_PER_HOUR),M.intMod(M.intDiv(n,f.NANOS_PER_MINUTE),f.MINUTES_PER_HOUR),M.intMod(M.intDiv(n,f.NANOS_PER_SECOND),f.SECONDS_PER_MINUTE),M.intMod(n,f.NANOS_PER_SECOND))},t._minusUnit=function(t,e){return O(e,"unit"),this._plusUnit(-1*t,e)},t.minusHours=function(t){return this.plusHours(-1*M.intMod(t,f.HOURS_PER_DAY))},t.minusMinutes=function(t){return this.plusMinutes(-1*M.intMod(t,f.MINUTES_PER_DAY))},t.minusSeconds=function(t){return this.plusSeconds(-1*M.intMod(t,f.SECONDS_PER_DAY))},t.minusNanos=function(t){return this.plusNanos(-1*M.intMod(t,f.NANOS_PER_DAY))},t.query=function(t){return O(t,"query"),t===k.precision()?L.NANOS:t===k.localTime()?this:t===k.chronology()||t===k.zoneId()||t===k.zone()||t===k.offset()||t===k.localDate()?null:t.queryFrom(this)},t.adjustInto=function(t){return t.with(f.NANO_OF_DAY,this.toNanoOfDay())},t.until=function(t,e){O(t,"endExclusive"),O(e,"unit");var n=f.from(t);if(e instanceof L){var i=n.toNanoOfDay()-this.toNanoOfDay();switch(e){case L.NANOS:return i;case L.MICROS:return M.intDiv(i,1e3);case L.MILLIS:return M.intDiv(i,1e6);case L.SECONDS:return M.intDiv(i,f.NANOS_PER_SECOND);case L.MINUTES:return M.intDiv(i,f.NANOS_PER_MINUTE);case L.HOURS:return M.intDiv(i,f.NANOS_PER_HOUR);case L.HALF_DAYS:return M.intDiv(i,12*f.NANOS_PER_HOUR)}throw new l("Unsupported unit: "+e)}return e.between(this,n)},t.atDate=function(t){return On.of(t,this)},t.atOffset=function(t){return hn.of(this,t)},t.toSecondOfDay=function(){var t=this._hour*f.SECONDS_PER_HOUR;return t+=this._minute*f.SECONDS_PER_MINUTE,t+=this._second},t.toNanoOfDay=function(){var t=this._hour*f.NANOS_PER_HOUR;return t+=this._minute*f.NANOS_PER_MINUTE,t+=this._second*f.NANOS_PER_SECOND,t+=this._nano},t.compareTo=function(t){O(t,"other"),o(t,f,"other");var e=M.compareNumbers(this._hour,t._hour);return 0===e&&0===(e=M.compareNumbers(this._minute,t._minute))&&0===(e=M.compareNumbers(this._second,t._second))&&(e=M.compareNumbers(this._nano,t._nano)),e},t.isAfter=function(t){return 0<this.compareTo(t)},t.isBefore=function(t){return this.compareTo(t)<0},t.equals=function(t){return this===t||t instanceof f&&(this._hour===t._hour&&this._minute===t._minute&&this._second===t._second&&this._nano===t._nano)},t.hashCode=function(){var t=this.toNanoOfDay();return M.hash(t)},t.toString=function(){var t="",e=this._hour,n=this._minute,i=this._second,r=this._nano;return t+=e<10?"0":"",t+=e,t+=n<10?":0":":",t+=n,(0<i||0<r)&&(t+=i<10?":0":":",t+=i,0<r&&(t+=".",0===M.intMod(r,1e6)?t+=(""+(M.intDiv(r,1e6)+1e3)).substring(1):0===M.intMod(r,1e3)?t+=(""+(M.intDiv(r,1e3)+1e6)).substring(1):t+=(""+(r+1e9)).substring(1))),t},t.toJSON=function(){return this.toString()},t.format=function(t){return O(t,"formatter"),t.format(this)},f}(lt);En.HOURS_PER_DAY=24,En.MINUTES_PER_HOUR=60,En.MINUTES_PER_DAY=En.MINUTES_PER_HOUR*En.HOURS_PER_DAY,En.SECONDS_PER_MINUTE=60,En.SECONDS_PER_HOUR=En.SECONDS_PER_MINUTE*En.MINUTES_PER_HOUR,En.SECONDS_PER_DAY=En.SECONDS_PER_HOUR*En.HOURS_PER_DAY,En.MILLIS_PER_DAY=1e3*En.SECONDS_PER_DAY,En.MICROS_PER_DAY=1e6*En.SECONDS_PER_DAY,En.NANOS_PER_SECOND=1e9,En.NANOS_PER_MINUTE=En.NANOS_PER_SECOND*En.SECONDS_PER_MINUTE,En.NANOS_PER_HOUR=En.NANOS_PER_MINUTE*En.MINUTES_PER_HOUR,En.NANOS_PER_DAY=En.NANOS_PER_HOUR*En.HOURS_PER_DAY;var Sn=function(i){function r(t,e){var n;return n=i.call(this)||this,r._validate(t,e),n._seconds=M.safeToInt(t),n._nanos=M.safeToInt(e),n}_(r,i),r.now=function(t){return void 0===t&&(t=mn.systemUTC()),t.instant()},r.ofEpochSecond=function(t,e){void 0===e&&(e=0);var n=t+M.floorDiv(e,En.NANOS_PER_SECOND),i=M.floorMod(e,En.NANOS_PER_SECOND);return r._create(n,i)},r.ofEpochMilli=function(t){var e=M.floorDiv(t,1e3),n=M.floorMod(t,1e3);return r._create(e,1e6*n)},r.from=function(e){try{var t=e.getLong(x.INSTANT_SECONDS),n=e.get(x.NANO_OF_SECOND);return r.ofEpochSecond(t,n)}catch(t){throw new y("Unable to obtain Instant from TemporalAccessor: "+e+", type "+typeof e,t)}},r.parse=function(t){return xe.ISO_INSTANT.parse(t,r.FROM)},r._create=function(t,e){return 0===t&&0===e?r.EPOCH:new r(t,e)},r._validate=function(t,e){if(t<r.MIN_SECONDS||r.MAX_SECONDS<t)throw new y("Instant exceeds minimum or maximum instant");if(e<0||e>En.NANOS_PER_SECOND)throw new y("Instant exceeds minimum or maximum instant")};var t=r.prototype;return t.isSupported=function(t){return t instanceof x?t===x.INSTANT_SECONDS||t===x.NANO_OF_SECOND||t===x.MICRO_OF_SECOND||t===x.MILLI_OF_SECOND:t instanceof L?t.isTimeBased()||t===L.DAYS:null!=t&&t.isSupportedBy(this)},t.range=function(t){return i.prototype.range.call(this,t)},t.get=function(t){return this.getLong(t)},t.getLong=function(t){if(t instanceof x){switch(t){case x.NANO_OF_SECOND:return this._nanos;case x.MICRO_OF_SECOND:return M.intDiv(this._nanos,1e3);case x.MILLI_OF_SECOND:return M.intDiv(this._nanos,1e6);case x.INSTANT_SECONDS:return this._seconds}throw new l("Unsupported field: "+t)}return t.getFrom(this)},t.epochSecond=function(){return this._seconds},t.nano=function(){return this._nanos},t._withField=function(t,e){if(O(t,"field"),t instanceof x){switch(t.checkValidValue(e),t){case x.MILLI_OF_SECOND:var n=1e6*e;return n!==this._nanos?r._create(this._seconds,n):this;case x.MICRO_OF_SECOND:var i=1e3*e;return i!==this._nanos?r._create(this._seconds,i):this;case x.NANO_OF_SECOND:return e!==this._nanos?r._create(this._seconds,e):this;case x.INSTANT_SECONDS:return e!==this._seconds?r._create(e,this._nanos):this}throw new l("Unsupported field: "+t)}return t.adjustInto(this,e)},t.truncatedTo=function(t){if(O(t,"unit"),t===L.NANOS)return this;var e=t.duration();if(e.seconds()>En.SECONDS_PER_DAY)throw new y("Unit is too large to be used for truncation");var n=e.toNanos();if(0!==M.intMod(En.NANOS_PER_DAY,n))throw new y("Unit must divide into a standard day without remainder");var i=M.intMod(this._seconds,En.SECONDS_PER_DAY)*En.NANOS_PER_SECOND+this._nanos,r=M.intDiv(i,n)*n;return this.plusNanos(r-i)},t._plusUnit=function(t,e){if(O(t,"amountToAdd"),O(e,"unit"),o(e,I),e instanceof L){switch(e){case L.NANOS:return this.plusNanos(t);case L.MICROS:return this._plus(M.intDiv(t,1e6),1e3*M.intMod(t,1e6));case L.MILLIS:return this.plusMillis(t);case L.SECONDS:return this.plusSeconds(t);case L.MINUTES:return this.plusSeconds(M.safeMultiply(t,En.SECONDS_PER_MINUTE));case L.HOURS:return this.plusSeconds(M.safeMultiply(t,En.SECONDS_PER_HOUR));case L.HALF_DAYS:return this.plusSeconds(M.safeMultiply(t,En.SECONDS_PER_DAY/2));case L.DAYS:return this.plusSeconds(M.safeMultiply(t,En.SECONDS_PER_DAY))}throw new l("Unsupported unit: "+e)}return e.addTo(this,t)},t.plusSeconds=function(t){return this._plus(t,0)},t.plusMillis=function(t){return this._plus(M.intDiv(t,1e3),1e6*M.intMod(t,1e3))},t.plusNanos=function(t){return this._plus(0,t)},t._plus=function(t,e){if(0===t&&0===e)return this;var n=this._seconds+t;n+=M.intDiv(e,En.NANOS_PER_SECOND);var i=this._nanos+e%En.NANOS_PER_SECOND;return r.ofEpochSecond(n,i)},t._minusUnit=function(t,e){return this._plusUnit(-1*t,e)},t.minusSeconds=function(t){return this.plusSeconds(-1*t)},t.minusMillis=function(t){return this.plusMillis(-1*t)},t.minusNanos=function(t){return this.plusNanos(-1*t)},t.query=function(t){return O(t,"query"),t===k.precision()?L.NANOS:t===k.localDate()||t===k.localTime()||t===k.chronology()||t===k.zoneId()||t===k.zone()||t===k.offset()?null:t.queryFrom(this)},t.adjustInto=function(t){return O(t,"temporal"),t.with(x.INSTANT_SECONDS,this._seconds).with(x.NANO_OF_SECOND,this._nanos)},t.until=function(t,e){O(t,"endExclusive"),O(e,"unit");var n=r.from(t);if(e instanceof L){switch(e){case L.NANOS:return this._nanosUntil(n);case L.MICROS:return this._microsUntil(n);case L.MILLIS:return M.safeSubtract(n.toEpochMilli(),this.toEpochMilli());case L.SECONDS:return this._secondsUntil(n);case L.MINUTES:return M.intDiv(this._secondsUntil(n),En.SECONDS_PER_MINUTE);case L.HOURS:return M.intDiv(this._secondsUntil(n),En.SECONDS_PER_HOUR);case L.HALF_DAYS:return M.intDiv(this._secondsUntil(n),12*En.SECONDS_PER_HOUR);case L.DAYS:return M.intDiv(this._secondsUntil(n),En.SECONDS_PER_DAY)}throw new l("Unsupported unit: "+e)}return e.between(this,n)},t._microsUntil=function(t){var e=M.safeSubtract(t.epochSecond(),this.epochSecond()),n=M.safeMultiply(e,1e6);return M.safeAdd(n,M.intDiv(t.nano()-this.nano(),1e3))},t._nanosUntil=function(t){var e=M.safeSubtract(t.epochSecond(),this.epochSecond()),n=M.safeMultiply(e,En.NANOS_PER_SECOND);return M.safeAdd(n,t.nano()-this.nano())},t._secondsUntil=function(t){var e=M.safeSubtract(t.epochSecond(),this.epochSecond()),n=t.nano()-this.nano();return 0<e&&n<0?e--:e<0&&0<n&&e++,e},t.atOffset=function(t){return ln.ofInstant(this,t)},t.atZone=function(t){return cn.ofInstant(this,t)},t.toEpochMilli=function(){return M.safeMultiply(this._seconds,1e3)+M.intDiv(this._nanos,1e6)},t.compareTo=function(t){O(t,"otherInstant"),o(t,r,"otherInstant");var e=M.compareNumbers(this._seconds,t._seconds);return 0!==e?e:this._nanos-t._nanos},t.isAfter=function(t){return 0<this.compareTo(t)},t.isBefore=function(t){return this.compareTo(t)<0},t.equals=function(t){return this===t||t instanceof r&&(this.epochSecond()===t.epochSecond()&&this.nano()===t.nano())},t.hashCode=function(){return M.hashCode(this._seconds,this._nanos)},t.toString=function(){return xe.ISO_INSTANT.format(this)},t.toJSON=function(){return this.toString()},r}(lt);var mn=function(){function t(){}t.systemUTC=function(){return new Nn(Dt.UTC)},t.systemDefaultZone=function(){return new Nn(Ot.systemDefault())},t.system=function(t){return new Nn(t)},t.fixed=function(t,e){return new Dn(t,e)},t.offset=function(t,e){return new An(t,e)};var e=t.prototype;return e.millis=function(){i("Clock.millis")},e.instant=function(){i("Clock.instant")},e.zone=function(){i("Clock.zone")},e.withZone=function(){i("Clock.withZone")},t}(),Nn=function(n){function e(t){var e;return O(t,"zone"),(e=n.call(this)||this)._zone=t,e}_(e,n);var t=e.prototype;return t.zone=function(){return this._zone},t.millis=function(){return(new Date).getTime()},t.instant=function(){return Sn.ofEpochMilli(this.millis())},t.equals=function(t){return t instanceof e&&this._zone.equals(t._zone)},t.withZone=function(t){return t.equals(this._zone)?this:new e(t)},t.toString=function(){return"SystemClock["+this._zone.toString()+"]"},e}(mn),Dn=function(i){function e(t,e){var n;return(n=i.call(this)||this)._instant=t,n._zoneId=e,n}_(e,i);var t=e.prototype;return t.instant=function(){return this._instant},t.millis=function(){return this._instant.toEpochMilli()},t.zone=function(){return this._zoneId},t.toString=function(){return"FixedClock[]"},t.equals=function(t){return t instanceof e&&(this._instant.equals(t._instant)&&this._zoneId.equals(t._zoneId))},t.withZone=function(t){return t.equals(this._zoneId)?this:new e(this._instant,t)},e}(mn),An=function(i){function e(t,e){var n;return(n=i.call(this)||this)._baseClock=t,n._offset=e,n}_(e,i);var t=e.prototype;return t.zone=function(){return this._baseClock.zone()},t.withZone=function(t){return t.equals(this._baseClock.zone())?this:new e(this._baseClock.withZone(t),this._offset)},t.millis=function(){return this._baseClock.millis()+this._offset.toMillis()},t.instant=function(){return this._baseClock.instant().plus(this._offset)},t.equals=function(t){return t instanceof e&&(this._baseClock.equals(t._baseClock)&&this._offset.equals(t._offset))},t.toString=function(){return"OffsetClock["+this._baseClock+","+this._offset+"]"},e}(mn),Tn=function(){function i(t,e,n){if(O(t,"transition"),O(e,"offsetBefore"),O(n,"offsetAfter"),e.equals(n))throw new c("Offsets must not be equal");if(0!==t.nano())throw new c("Nano-of-second must be zero");this._transition=t instanceof On?t:On.ofEpochSecond(t,0,e),this._offsetBefore=e,this._offsetAfter=n}i.of=function(t,e,n){return new i(t,e,n)};var t=i.prototype;return t.instant=function(){return this._transition.toInstant(this._offsetBefore)},t.toEpochSecond=function(){return this._transition.toEpochSecond(this._offsetBefore)},t.dateTimeBefore=function(){return this._transition},t.dateTimeAfter=function(){return this._transition.plusSeconds(this.durationSeconds())},t.offsetBefore=function(){return this._offsetBefore},t.offsetAfter=function(){return this._offsetAfter},t.duration=function(){return Y.ofSeconds(this.durationSeconds())},t.durationSeconds=function(){return this._offsetAfter.totalSeconds()-this._offsetBefore.totalSeconds()},t.isGap=function(){return this._offsetAfter.totalSeconds()>this._offsetBefore.totalSeconds()},t.isOverlap=function(){return this._offsetAfter.totalSeconds()<this._offsetBefore.totalSeconds()},t.isValidOffset=function(t){return!this.isGap()&&(this._offsetBefore.equals(t)||this._offsetAfter.equals(t))},t.validOffsets=function(){return this.isGap()?[]:[this._offsetBefore,this._offsetAfter]},t.compareTo=function(t){return this.instant().compareTo(t.instant())},t.equals=function(t){if(t===this)return!0;if(t instanceof i){var e=t;return this._transition.equals(e._transition)&&this._offsetBefore.equals(e.offsetBefore())&&this._offsetAfter.equals(e.offsetAfter())}return!1},t.hashCode=function(){return this._transition.hashCode()^this._offsetBefore.hashCode()^this._offsetAfter.hashCode()>>>16},t.toString=function(){return"Transition["+(this.isGap()?"Gap":"Overlap")+" at "+this._transition.toString()+this._offsetBefore.toString()+" to "+this._offsetAfter+"]"},i}();var vn=function(t){function e(){return t.apply(this,arguments)||this}_(e,t);var n=e.prototype;return n.isFixedOffset=function(){return!1},n.offsetOfInstant=function(t){var e=new Date(t.toEpochMilli()).getTimezoneOffset();return Dt.ofTotalMinutes(-1*e)},n.offsetOfEpochMilli=function(t){var e=new Date(t).getTimezoneOffset();return Dt.ofTotalMinutes(-1*e)},n.offsetOfLocalDateTime=function(t){var e=1e3*t.toEpochSecond(Dt.UTC),n=new Date(e).getTimezoneOffset(),i=new Date(e+6e4*n).getTimezoneOffset();return Dt.ofTotalMinutes(-1*i)},n.validOffsets=function(t){return[this.offsetOfLocalDateTime(t)]},n.transition=function(){return null},n.standardOffset=function(t){return this.offsetOfInstant(t)},n.daylightSavings=function(){this._throwNotSupported()},n.isDaylightSavings=function(){this._throwNotSupported()},n.isValidOffset=function(t,e){return this.offsetOfLocalDateTime(t).equals(e)},n.nextTransition=function(){this._throwNotSupported()},n.previousTransition=function(){this._throwNotSupported()},n.transitions=function(){this._throwNotSupported()},n.transitionRules=function(){this._throwNotSupported()},n._throwNotSupported=function(){throw new y("not supported operation")},n.equals=function(t){return this===t||t instanceof e},n.toString=function(){return"SYSTEM"},e}(Et),wn=function(e){function t(){var t;return(t=e.call(this)||this)._rules=new vn,t}_(t,e);var n=t.prototype;return n.rules=function(){return this._rules},n.equals=function(t){return this===t},n.id=function(){return"SYSTEM"},t}(Ot),yn=(Mn.systemDefault=function(){return Rn},Mn.getAvailableZoneIds=function(){return Ne.getAvailableZoneIds()},Mn.of=function(t){if(O(t,"zoneId"),"Z"===t)return Dt.UTC;if(1===t.length)throw new y("Invalid zone: "+t);if(dt.startsWith(t,"+")||dt.startsWith(t,"-"))return Dt.of(t);if("UTC"===t||"GMT"===t||"GMT0"===t||"UT"===t)return new Te(t,Dt.UTC.rules());if(dt.startsWith(t,"UTC+")||dt.startsWith(t,"GMT+")||dt.startsWith(t,"UTC-")||dt.startsWith(t,"GMT-")){var e=Dt.of(t.substring(3));return 0===e.totalSeconds()?new Te(t.substring(0,3),e.rules()):new Te(t.substring(0,3)+e.id(),e.rules())}if(dt.startsWith(t,"UT+")||dt.startsWith(t,"UT-")){var n=Dt.of(t.substring(2));return 0===n.totalSeconds()?new Te("UT",n.rules()):new Te("UT"+n.id(),n.rules())}return"SYSTEM"===t?Ot.systemDefault():Te.ofId(t)},Mn.ofOffset=function(t,e){if(O(t,"prefix"),O(e,"offset"),0===t.length)return e;if("GMT"===t||"UTC"===t||"UT"===t)return 0===e.totalSeconds()?new Te(t,e.rules()):new Te(t+e.id(),e.rules());throw new c("Invalid prefix, must be GMT, UTC or UT: "+t)},Mn.from=function(t){O(t,"temporal");var e=t.query(k.zone());if(null==e)throw new y("Unable to obtain ZoneId from TemporalAccessor: "+t+", type "+(null!=t.constructor?t.constructor.name:""));return e},Mn);function Mn(){}var Rn=null;var gn=!1;gn||(gn=!0,C.MIN_VALUE=-999999,C.MAX_VALUE=999999,Y.ZERO=new Y(0,0),L.NANOS=new L("Nanos",Y.ofNanos(1)),L.MICROS=new L("Micros",Y.ofNanos(1e3)),L.MILLIS=new L("Millis",Y.ofNanos(1e6)),L.SECONDS=new L("Seconds",Y.ofSeconds(1)),L.MINUTES=new L("Minutes",Y.ofSeconds(60)),L.HOURS=new L("Hours",Y.ofSeconds(3600)),L.HALF_DAYS=new L("HalfDays",Y.ofSeconds(43200)),L.DAYS=new L("Days",Y.ofSeconds(86400)),L.WEEKS=new L("Weeks",Y.ofSeconds(604800)),L.MONTHS=new L("Months",Y.ofSeconds(2629746)),L.YEARS=new L("Years",Y.ofSeconds(31556952)),L.DECADES=new L("Decades",Y.ofSeconds(315569520)),L.CENTURIES=new L("Centuries",Y.ofSeconds(3155695200)),L.MILLENNIA=new L("Millennia",Y.ofSeconds(31556952e3)),L.ERAS=new L("Eras",Y.ofSeconds(31556952*(C.MAX_VALUE+1))),L.FOREVER=new L("Forever",Y.ofSeconds(M.MAX_SAFE_INTEGER,999999999)),x.NANO_OF_SECOND=new x("NanoOfSecond",L.NANOS,L.SECONDS,H.of(0,999999999)),x.NANO_OF_DAY=new x("NanoOfDay",L.NANOS,L.DAYS,H.of(0,864e11-1)),x.MICRO_OF_SECOND=new x("MicroOfSecond",L.MICROS,L.SECONDS,H.of(0,999999)),x.MICRO_OF_DAY=new x("MicroOfDay",L.MICROS,L.DAYS,H.of(0,864e8-1)),x.MILLI_OF_SECOND=new x("MilliOfSecond",L.MILLIS,L.SECONDS,H.of(0,999)),x.MILLI_OF_DAY=new x("MilliOfDay",L.MILLIS,L.DAYS,H.of(0,864e5-1)),x.SECOND_OF_MINUTE=new x("SecondOfMinute",L.SECONDS,L.MINUTES,H.of(0,59)),x.SECOND_OF_DAY=new x("SecondOfDay",L.SECONDS,L.DAYS,H.of(0,86399)),x.MINUTE_OF_HOUR=new x("MinuteOfHour",L.MINUTES,L.HOURS,H.of(0,59)),x.MINUTE_OF_DAY=new x("MinuteOfDay",L.MINUTES,L.DAYS,H.of(0,1439)),x.HOUR_OF_AMPM=new x("HourOfAmPm",L.HOURS,L.HALF_DAYS,H.of(0,11)),x.CLOCK_HOUR_OF_AMPM=new x("ClockHourOfAmPm",L.HOURS,L.HALF_DAYS,H.of(1,12)),x.HOUR_OF_DAY=new x("HourOfDay",L.HOURS,L.DAYS,H.of(0,23)),x.CLOCK_HOUR_OF_DAY=new x("ClockHourOfDay",L.HOURS,L.DAYS,H.of(1,24)),x.AMPM_OF_DAY=new x("AmPmOfDay",L.HALF_DAYS,L.DAYS,H.of(0,1)),x.DAY_OF_WEEK=new x("DayOfWeek",L.DAYS,L.WEEKS,H.of(1,7)),x.ALIGNED_DAY_OF_WEEK_IN_MONTH=new x("AlignedDayOfWeekInMonth",L.DAYS,L.WEEKS,H.of(1,7)),x.ALIGNED_DAY_OF_WEEK_IN_YEAR=new x("AlignedDayOfWeekInYear",L.DAYS,L.WEEKS,H.of(1,7)),x.DAY_OF_MONTH=new x("DayOfMonth",L.DAYS,L.MONTHS,H.of(1,28,31),"day"),x.DAY_OF_YEAR=new x("DayOfYear",L.DAYS,L.YEARS,H.of(1,365,366)),x.EPOCH_DAY=new x("EpochDay",L.DAYS,L.FOREVER,H.of(Math.floor(365.25*C.MIN_VALUE),Math.floor(365.25*C.MAX_VALUE))),x.ALIGNED_WEEK_OF_MONTH=new x("AlignedWeekOfMonth",L.WEEKS,L.MONTHS,H.of(1,4,5)),x.ALIGNED_WEEK_OF_YEAR=new x("AlignedWeekOfYear",L.WEEKS,L.YEARS,H.of(1,53)),x.MONTH_OF_YEAR=new x("MonthOfYear",L.MONTHS,L.YEARS,H.of(1,12),"month"),x.PROLEPTIC_MONTH=new x("ProlepticMonth",L.MONTHS,L.FOREVER,H.of(12*C.MIN_VALUE,12*C.MAX_VALUE+11)),x.YEAR_OF_ERA=new x("YearOfEra",L.YEARS,L.FOREVER,H.of(1,C.MAX_VALUE,C.MAX_VALUE+1)),x.YEAR=new x("Year",L.YEARS,L.FOREVER,H.of(C.MIN_VALUE,C.MAX_VALUE),"year"),x.ERA=new x("Era",L.ERAS,L.FOREVER,H.of(0,1)),x.INSTANT_SECONDS=new x("InstantSeconds",L.SECONDS,L.FOREVER,H.of(f,h)),x.OFFSET_SECONDS=new x("OffsetSeconds",L.SECONDS,L.FOREVER,H.of(-64800,64800)),function(){En.HOURS=[];for(var t=0;t<24;t++)En.of(t,0,0,0);En.MIN=En.HOURS[0],En.MAX=new En(23,59,59,999999999),En.MIDNIGHT=En.HOURS[0],En.NOON=En.HOURS[12],En.FROM=X("LocalTime.FROM",function(t){return En.from(t)})}(),Ut=new Ft,Vt=new Yt,bt=new Ct,Ht=new Lt,Wt=new Pt("WeekBasedYears",Y.ofSeconds(31556952)),xt=new Pt("QuarterYears",Y.ofSeconds(7889238)),Rt.DAY_OF_QUARTER=Ut,Rt.QUARTER_OF_YEAR=Vt,Rt.WEEK_OF_WEEK_BASED_YEAR=bt,Rt.WEEK_BASED_YEAR=Ht,Rt.WEEK_BASED_YEARS=Wt,Rt.QUARTER_YEARS=xt,dn.prototype.isoWeekOfWeekyear=function(){return this.get(Rt.WEEK_OF_WEEK_BASED_YEAR)},dn.prototype.isoWeekyear=function(){return this.get(Rt.WEEK_BASED_YEAR)},k.ZONE_ID=X("ZONE_ID",function(t){return t.query(k.ZONE_ID)}),k.CHRONO=X("CHRONO",function(t){return t.query(k.CHRONO)}),k.PRECISION=X("PRECISION",function(t){return t.query(k.PRECISION)}),k.OFFSET=X("OFFSET",function(t){return t.isSupported(x.OFFSET_SECONDS)?Dt.ofTotalSeconds(t.get(x.OFFSET_SECONDS)):null}),k.ZONE=X("ZONE",function(t){var e=t.query(k.ZONE_ID);return null!=e?e:t.query(k.OFFSET)}),k.LOCAL_DATE=X("LOCAL_DATE",function(t){return t.isSupported(x.EPOCH_DAY)?dn.ofEpochDay(t.getLong(x.EPOCH_DAY)):null}),k.LOCAL_TIME=X("LOCAL_TIME",function(t){return t.isSupported(x.NANO_OF_DAY)?En.ofNanoOfDay(t.getLong(x.NANO_OF_DAY)):null}),Q.MONDAY=new Q(0,"MONDAY"),Q.TUESDAY=new Q(1,"TUESDAY"),Q.WEDNESDAY=new Q(2,"WEDNESDAY"),Q.THURSDAY=new Q(3,"THURSDAY"),Q.FRIDAY=new Q(4,"FRIDAY"),Q.SATURDAY=new Q(5,"SATURDAY"),Q.SUNDAY=new Q(6,"SUNDAY"),Q.FROM=X("DayOfWeek.FROM",function(t){return Q.from(t)}),J=[Q.MONDAY,Q.TUESDAY,Q.WEDNESDAY,Q.THURSDAY,Q.FRIDAY,Q.SATURDAY,Q.SUNDAY],Sn.MIN_SECONDS=-31619119219200,Sn.MAX_SECONDS=31494816403199,Sn.EPOCH=new Sn(0,0),Sn.MIN=Sn.ofEpochSecond(Sn.MIN_SECONDS,0),Sn.MAX=Sn.ofEpochSecond(Sn.MAX_SECONDS,999999999),Sn.FROM=X("Instant.FROM",function(t){return Sn.from(t)}),dn.MIN=dn.of(C.MIN_VALUE,1,1),dn.MAX=dn.of(C.MAX_VALUE,12,31),dn.EPOCH_0=dn.ofEpochDay(0),dn.FROM=X("LocalDate.FROM",function(t){return dn.from(t)}),On.MIN=On.of(dn.MIN,En.MIN),On.MAX=On.of(dn.MAX,En.MAX),On.FROM=X("LocalDateTime.FROM",function(t){return On.from(t)}),Ke.MIN_VALUE=C.MIN_VALUE,Ke.MAX_VALUE=C.MAX_VALUE,ze=(new Ce).appendValue(x.YEAR,4,10,zt.EXCEEDS_PAD).toFormatter(),Ke.FROM=X("Year.FROM",function(t){return Ke.from(t)}),tt.JANUARY=new tt(1,"JANUARY"),tt.FEBRUARY=new tt(2,"FEBRUARY"),tt.MARCH=new tt(3,"MARCH"),tt.APRIL=new tt(4,"APRIL"),tt.MAY=new tt(5,"MAY"),tt.JUNE=new tt(6,"JUNE"),tt.JULY=new tt(7,"JULY"),tt.AUGUST=new tt(8,"AUGUST"),tt.SEPTEMBER=new tt(9,"SEPTEMBER"),tt.OCTOBER=new tt(10,"OCTOBER"),tt.NOVEMBER=new tt(11,"NOVEMBER"),tt.DECEMBER=new tt(12,"DECEMBER"),$=[tt.JANUARY,tt.FEBRUARY,tt.MARCH,tt.APRIL,tt.MAY,tt.JUNE,tt.JULY,tt.AUGUST,tt.SEPTEMBER,tt.OCTOBER,tt.NOVEMBER,tt.DECEMBER],qe=(new Ce).appendValue(x.YEAR,4,10,zt.EXCEEDS_PAD).appendLiteral("-").appendValue(x.MONTH_OF_YEAR,2).toFormatter(),Ze.FROM=X("YearMonth.FROM",function(t){return Ze.from(t)}),ke=(new Ce).appendLiteral("--").appendValue(x.MONTH_OF_YEAR,2).appendLiteral("-").appendValue(x.DAY_OF_MONTH,2).toFormatter(),Be.FROM=X("MonthDay.FROM",function(t){return Be.from(t)}),nt.ofDays(0),Dt.MAX_SECONDS=18*En.SECONDS_PER_HOUR,Dt.UTC=Dt.ofTotalSeconds(0),Dt.MIN=Dt.ofTotalSeconds(-Dt.MAX_SECONDS),Dt.MAX=Dt.ofTotalSeconds(Dt.MAX_SECONDS),cn.FROM=X("ZonedDateTime.FROM",function(t){return cn.from(t)}),Rn=new wn,Ot.systemDefault=yn.systemDefault,Ot.getAvailableZoneIds=yn.getAvailableZoneIds,Ot.of=yn.of,Ot.ofOffset=yn.ofOffset,Ot.from=yn.from,Dt.from=yn.from,Ot.SYSTEM=Rn,Ot.UTC=Dt.ofTotalSeconds(0),un.INSTANCE=new un("IsoChronology"),xe.ISO_LOCAL_DATE=(new Ce).appendValue(x.YEAR,4,10,zt.EXCEEDS_PAD).appendLiteral("-").appendValue(x.MONTH_OF_YEAR,2).appendLiteral("-").appendValue(x.DAY_OF_MONTH,2).toFormatter(ft.STRICT).withChronology(un.INSTANCE),xe.ISO_LOCAL_TIME=(new Ce).appendValue(x.HOUR_OF_DAY,2).appendLiteral(":").appendValue(x.MINUTE_OF_HOUR,2).optionalStart().appendLiteral(":").appendValue(x.SECOND_OF_MINUTE,2).optionalStart().appendFraction(x.NANO_OF_SECOND,0,9,!0).toFormatter(ft.STRICT),xe.ISO_LOCAL_DATE_TIME=(new Ce).parseCaseInsensitive().append(xe.ISO_LOCAL_DATE).appendLiteral("T").append(xe.ISO_LOCAL_TIME).toFormatter(ft.STRICT).withChronology(un.INSTANCE),xe.ISO_INSTANT=(new Ce).parseCaseInsensitive().appendInstant().toFormatter(ft.STRICT),xe.ISO_OFFSET_DATE_TIME=(new Ce).parseCaseInsensitive().append(xe.ISO_LOCAL_DATE_TIME).appendOffsetId().toFormatter(ft.STRICT).withChronology(un.INSTANCE),xe.ISO_ZONED_DATE_TIME=(new Ce).append(xe.ISO_OFFSET_DATE_TIME).optionalStart().appendLiteral("[").parseCaseSensitive().appendZoneId().appendLiteral("]").toFormatter(ft.STRICT).withChronology(un.INSTANCE),xe.BASIC_ISO_DATE=(new Ce).appendValue(x.YEAR,4,10,zt.EXCEEDS_PAD).appendValue(x.MONTH_OF_YEAR,2).appendValue(x.DAY_OF_MONTH,2).toFormatter(ft.STRICT).withChronology(un.INSTANCE),xe.ISO_OFFSET_DATE=(new Ce).parseCaseInsensitive().append(xe.ISO_LOCAL_DATE).appendOffsetId().toFormatter(ft.STRICT).withChronology(un.INSTANCE),xe.ISO_OFFSET_TIME=(new Ce).parseCaseInsensitive().append(xe.ISO_LOCAL_TIME).appendOffsetId().toFormatter(ft.STRICT).withChronology(un.INSTANCE),xe.ISO_ORDINAL_DATE=(new Ce).appendValue(x.YEAR,4,10,zt.EXCEEDS_PAD).appendLiteral("-").appendValue(x.DAY_OF_YEAR).toFormatter(ft.STRICT),xe.ISO_WEEK_DATE=(new Ce).appendValue(x.YEAR,4,10,zt.EXCEEDS_PAD).appendLiteral("-W").appendValue(x.ALIGNED_WEEK_OF_YEAR).appendLiteral("-").appendValue(x.DAY_OF_WEEK).toFormatter(ft.STRICT),xe.ISO_DATE=(new Ce).parseCaseInsensitive().append(xe.ISO_LOCAL_DATE).optionalStart().appendOffsetId().optionalEnd().toFormatter(ft.STRICT).withChronology(un.INSTANCE),xe.ISO_TIME=(new Ce).parseCaseInsensitive().append(xe.ISO_LOCAL_TIME).optionalStart().appendOffsetId().optionalEnd().toFormatter(ft.STRICT),xe.ISO_DATE_TIME=(new Ce).append(xe.ISO_LOCAL_DATE_TIME).optionalStart().appendOffsetId().optionalEnd().toFormatter(ft.STRICT).withChronology(un.INSTANCE),xe.PARSED_EXCESS_DAYS=X("PARSED_EXCESS_DAYS",function(t){return t instanceof Tt?t.excessDays:nt.ZERO}),xe.PARSED_LEAP_SECOND=X("PARSED_LEAP_SECOND",function(t){return t instanceof Tt&&t.leapSecond}),he.BASE_DATE=dn.of(2e3,1,1),Ce.CompositePrinterParser=$t,Ce.PadPrinterParserDecorator=de,Ce.SettingsParser=Oe,Ce.CharLiteralPrinterParser=Se,Ce.StringLiteralPrinterParser=Se,Ce.CharLiteralPrinterParser=Xt,Ce.NumberPrinterParser=oe,Ce.ReducedPrinterParser=he,Ce.FractionPrinterParser=ne,Ce.OffsetIdPrinterParser=ce,Ce.ZoneIdPrinterParser=ve,ln.MIN=On.MIN.atOffset(Dt.MAX),ln.MAX=On.MAX.atOffset(Dt.MIN),ln.FROM=X("OffsetDateTime.FROM",function(t){return ln.from(t)}),hn.MIN=hn.ofNumbers(0,0,0,0,Dt.MAX),hn.MAX=hn.ofNumbers(23,59,59,999999999,Dt.MIN),hn.FROM=X("OffsetTime.FROM",function(t){return hn.from(t)}));var In,Fn=((In=Yn.prototype).toDate=function(){return new Date(this.instant.toEpochMilli())},In.toEpochMilli=function(){return this.instant.toEpochMilli()},Yn);function Yn(t,e){var n;if(t instanceof Sn)this.instant=t;else{if(t instanceof dn)e=null==e?Ot.systemDefault():e,n=t.atStartOfDay(e);else if(t instanceof On)e=null==e?Ot.systemDefault():e,n=t.atZone(e);else{if(!(t instanceof cn))throw new c("unsupported instance for convert operation:"+t);n=null==e?t:t.withZoneSameInstant(e)}this.instant=n.toInstant()}}function Cn(t,e){return new Fn(t,e)}var Ln=function(i){function t(t,e){var n;return void 0===e&&(e=Ot.systemDefault()),(n=i.call(this)||this)._zone=e,t instanceof Date?(n._epochMilli=t.getTime(),d(n)):"function"==typeof t.toDate&&t.toDate()instanceof Date?(n._epochMilli=t.toDate().getTime(),d(n)):(m(!1,"date must be either a javascript date or a moment"),n)}_(t,i);var e=t.prototype;return e.query=function(t){return O(t,"query"),t===k.localDate()?dn.ofInstant(Sn.ofEpochMilli(this._epochMilli),this._zone):t===k.localTime()?En.ofInstant(Sn.ofEpochMilli(this._epochMilli),this._zone):t===k.zone()?this._zone:i.prototype.query.call(this,t)},e.get=function(t){return this.getLong(t)},e.getLong=function(t){if(O(t,"field"),t instanceof x){switch(t){case x.NANO_OF_SECOND:return 1e6*M.floorMod(this._epochMilli,1e3);case x.INSTANT_SECONDS:return M.floorDiv(this._epochMilli,1e3)}throw new l("Unsupported field: "+t)}return t.getFrom(this)},e.isSupported=function(t){return t===x.INSTANT_SECONDS||t===x.NANO_OF_SECOND},t}(Z);function Pn(t,e){return new Ln(t,e)}var Un,Vn,bn={assert:u,DateTimeBuilder:Tt,DateTimeParseContext:vt,DateTimePrintContext:Mt,MathUtil:M,StringUtil:dt,StringBuilder:He},Hn={_:bn,convert:Cn,nativeJs:Pn,ArithmeticException:S,DateTimeException:y,DateTimeParseException:p,IllegalArgumentException:c,IllegalStateException:r,UnsupportedTemporalTypeException:l,NullPointerException:s,Clock:mn,DayOfWeek:Q,Duration:Y,Instant:Sn,LocalDate:dn,LocalTime:En,LocalDateTime:On,OffsetTime:hn,OffsetDateTime:ln,Month:tt,MonthDay:Be,Period:nt,Year:Ke,YearConstants:C,YearMonth:Ze,ZonedDateTime:cn,ZoneOffset:Dt,ZoneId:Ot,ZoneRegion:Te,ZoneOffsetTransition:Tn,ZoneRules:Et,ZoneRulesProvider:Ne,ChronoLocalDate:_t,ChronoLocalDateTime:pn,ChronoZonedDateTime:fn,IsoChronology:un,ChronoField:x,ChronoUnit:L,IsoFields:Rt,Temporal:lt,TemporalAccessor:Z,TemporalAdjuster:je,TemporalAdjusters:Xe,TemporalAmount:w,TemporalField:U,TemporalQueries:k,TemporalQuery:j,TemporalUnit:I,ValueRange:H,DateTimeFormatter:xe,DateTimeFormatterBuilder:Ce,DecimalStyle:Bt,ResolverStyle:ft,SignStyle:zt,TextStyle:jt},Wn=(Un=Hn,Vn=[],function(t){return~Vn.indexOf(t)||(t(Un),Vn.push(t)),Un});return Hn.use=Wn,t.ArithmeticException=S,t.ChronoField=x,t.ChronoLocalDate=_t,t.ChronoLocalDateTime=pn,t.ChronoUnit=L,t.ChronoZonedDateTime=fn,t.Clock=mn,t.DateTimeException=y,t.DateTimeFormatter=xe,t.DateTimeFormatterBuilder=Ce,t.DateTimeParseException=p,t.DayOfWeek=Q,t.DecimalStyle=Bt,t.Duration=Y,t.IllegalArgumentException=c,t.IllegalStateException=r,t.Instant=Sn,t.IsoChronology=un,t.IsoFields=Rt,t.LocalDate=dn,t.LocalDateTime=On,t.LocalTime=En,t.Month=tt,t.MonthDay=Be,t.NullPointerException=s,t.OffsetDateTime=ln,t.OffsetTime=hn,t.Period=nt,t.ResolverStyle=ft,t.SignStyle=zt,t.Temporal=lt,t.TemporalAccessor=Z,t.TemporalAdjuster=je,t.TemporalAdjusters=Xe,t.TemporalAmount=w,t.TemporalField=U,t.TemporalQueries=k,t.TemporalQuery=j,t.TemporalUnit=I,t.TextStyle=jt,t.UnsupportedTemporalTypeException=l,t.ValueRange=H,t.Year=Ke,t.YearConstants=C,t.YearMonth=Ze,t.ZoneId=Ot,t.ZoneOffset=Dt,t.ZoneOffsetTransition=Tn,t.ZoneRegion=Te,t.ZoneRules=Et,t.ZoneRulesProvider=Ne,t.ZonedDateTime=cn,t._=bn,t.convert=Cn,t.nativeJs=Pn,t.use=Wn,t}({});
5
+ var JSJoda=function(t){"use strict";function e(t,e,n){function i(t){Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=t,e&&e.apply(this,arguments),this.toString=function(){return this.name+": "+this.message}}return void 0===n&&(n=Error),i.prototype=Object.create(n.prototype),i.prototype.name=t,i.prototype.constructor=i,i}var n=e("DateTimeException",(function(t,e){void 0===e&&(e=null);var n=t||this.name;null!==e&&e instanceof Error&&(n+="\n-------\nCaused by: "+e.stack+"\n-------\n");this.message=n})),i=e("DateTimeParseException",(function(t,e,n,i){void 0===e&&(e="");void 0===n&&(n=0);void 0===i&&(i=null);var r=t||this.name;r+=": "+e+", at index: "+n,null!==i&&i instanceof Error&&(r+="\n-------\nCaused by: "+i.stack+"\n-------\n");this.message=r,this.parsedString=function(){return e},this.errorIndex=function(){return n}})),r=e("UnsupportedTemporalTypeException",null,n),s=e("ArithmeticException"),o=e("IllegalArgumentException"),a=e("IllegalStateException"),u=e("NullPointerException");function h(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,f(t,e)}function f(t,e){return f=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},f(t,e)}function c(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function l(t,e,n){if(!t)throw n?new n(e):new Error(e)}function _(t,e){if(null==t)throw new u(e+" must not be null");return t}function d(t,e,n){if(!(t instanceof e))throw new o(n+" must be an instance of "+(e.name?e.name:e)+(t&&t.constructor&&t.constructor.name?", but is "+t.constructor.name:""));return t}function p(t){throw new TypeError('abstract method "'+t+'" is not implemented')}var O=Object.freeze({__proto__:null,assert:l,requireNonNull:_,requireInstance:d,abstractMethodFail:p}),E=9007199254740991,S=-9007199254740991,m=function(){function t(){}return t.intDiv=function(e,n){var i=e/n;return i=t.roundDown(i),t.safeZero(i)},t.intMod=function(e,n){var i=e-t.intDiv(e,n)*n;return i=t.roundDown(i),t.safeZero(i)},t.roundDown=function(t){return t<0?Math.ceil(t):Math.floor(t)},t.floorDiv=function(e,n){var i=Math.floor(e/n);return t.safeZero(i)},t.floorMod=function(e,n){var i=e-t.floorDiv(e,n)*n;return t.safeZero(i)},t.safeAdd=function(e,n){if(t.verifyInt(e),t.verifyInt(n),0===e)return t.safeZero(n);if(0===n)return t.safeZero(e);var i=t.safeToInt(e+n);if(i===e||i===n)throw new s("Invalid addition beyond MAX_SAFE_INTEGER!");return i},t.safeSubtract=function(e,n){return t.verifyInt(e),t.verifyInt(n),0===e&&0===n?0:0===e?t.safeZero(-1*n):0===n?t.safeZero(e):t.safeToInt(e-n)},t.safeMultiply=function(e,n){if(t.verifyInt(e),t.verifyInt(n),1===e)return t.safeZero(n);if(1===n)return t.safeZero(e);if(0===e||0===n)return 0;var i=t.safeToInt(e*n);if(i/n!==e||e===S&&-1===n||n===S&&-1===e)throw new s("Multiplication overflows: "+e+" * "+n);return i},t.parseInt=function(t){function e(e){return t.apply(this,arguments)}return e.toString=function(){return t.toString()},e}((function(e){var n=parseInt(e);return t.safeToInt(n)})),t.safeToInt=function(e){return t.verifyInt(e),t.safeZero(e)},t.verifyInt=function(t){if(null==t)throw new s("Invalid value: '"+t+"', using null or undefined as argument");if(isNaN(t))throw new s("Invalid int value, using NaN as argument");if(t%1!=0)throw new s("Invalid value: '"+t+"' is a float");if(t>E||t<S)throw new s("Calculation overflows an int: "+t)},t.safeZero=function(t){return 0===t?0:+t},t.compareNumbers=function(t,e){return t<e?-1:t>e?1:0},t.smi=function(t){return t>>>1&1073741824|3221225471&t},t.hash=function(e){if(e!=e||e===1/0)return 0;for(var n=e;e>4294967295;)n^=e/=4294967295;return t.smi(n)},t.hashCode=function(){for(var e=17,n=arguments.length,i=new Array(n),r=0;r<n;r++)i[r]=arguments[r];for(var s=0,o=i;s<o.length;s++){var a=o[s];e=(e<<5)-e+t.hash(a)}return t.hash(e)},t}();m.MAX_SAFE_INTEGER=E,m.MIN_SAFE_INTEGER=S;var N=function(){function t(t){this._name=t}var e=t.prototype;return e.equals=function(t){return this===t},e.toString=function(){return this._name},e.toJSON=function(){return this.toString()},t}(),D=function(){function t(){}var e=t.prototype;return e.get=function(t){p("get")},e.units=function(){p("units")},e.addTo=function(t){p("addTo")},e.subtractFrom=function(t){p("subtractFrom")},t}();"undefined"!=typeof Symbol&&Symbol.toPrimitive&&(D.prototype[Symbol.toPrimitive]=function(t){if("number"!==t)return this.toString();throw new TypeError("A conversion from TemporalAmount to a number is not allowed. To compare use the methods .equals(), .compareTo(), .isBefore() or one that is more suitable to your use case.")});var A=function(){function t(){}var e=t.prototype;return e.duration=function(){p("duration")},e.isDurationEstimated=function(){p("isDurationEstimated")},e.isDateBased=function(){p("isDateBased")},e.isTimeBased=function(){p("isTimeBased")},e.isSupportedBy=function(t){p("isSupportedBy")},e.addTo=function(t,e){p("addTo")},e.between=function(t,e){p("between")},t}(),T=function(t){function e(e,n){var i;return(i=t.call(this)||this)._seconds=m.safeToInt(e),i._nanos=m.safeToInt(n),i}h(e,t),e.ofDays=function(t){return e._create(m.safeMultiply(t,he.SECONDS_PER_DAY),0)},e.ofHours=function(t){return e._create(m.safeMultiply(t,he.SECONDS_PER_HOUR),0)},e.ofMinutes=function(t){return e._create(m.safeMultiply(t,he.SECONDS_PER_MINUTE),0)},e.ofSeconds=function(t,n){void 0===n&&(n=0);var i=m.safeAdd(t,m.floorDiv(n,he.NANOS_PER_SECOND)),r=m.floorMod(n,he.NANOS_PER_SECOND);return e._create(i,r)},e.ofMillis=function(t){var n=m.intDiv(t,1e3),i=m.intMod(t,1e3);return i<0&&(i+=1e3,n--),e._create(n,1e6*i)},e.ofNanos=function(t){var e=m.intDiv(t,he.NANOS_PER_SECOND),n=m.intMod(t,he.NANOS_PER_SECOND);return n<0&&(n+=he.NANOS_PER_SECOND,e--),this._create(e,n)},e.of=function(t,n){return e.ZERO.plus(t,n)},e.from=function(t){_(t,"amount"),d(t,D);var n=e.ZERO;return t.units().forEach((function(e){n=n.plus(t.get(e),e)})),n},e.between=function(t,e){_(t,"startInclusive"),_(e,"endExclusive");var n=t.until(e,w.SECONDS),i=0;if(t.isSupported(R.NANO_OF_SECOND)&&e.isSupported(R.NANO_OF_SECOND))try{var r=t.getLong(R.NANO_OF_SECOND);if(i=e.getLong(R.NANO_OF_SECOND)-r,n>0&&i<0)i+=he.NANOS_PER_SECOND;else if(n<0&&i>0)i-=he.NANOS_PER_SECOND;else if(0===n&&0!==i){var s=e.with(R.NANO_OF_SECOND,r);n=t.until(s,w.SECONDS)}}catch(t){}return this.ofSeconds(n,i)},e.parse=function(t){_(t,"text");var n=new RegExp("([-+]?)P(?:([-+]?[0-9]+)D)?(T(?:([-+]?[0-9]+)H)?(?:([-+]?[0-9]+)M)?(?:([-+]?[0-9]+)(?:[.,]([0-9]{0,9}))?S)?)?","i").exec(t);if(null!==n&&"T"===n[3]==!1){var r="-"===n[1],s=n[2],o=n[4],a=n[5],u=n[6],h=n[7];if(null!=s||null!=o||null!=a||null!=u){var f=e._parseNumber(t,s,he.SECONDS_PER_DAY,"days"),c=e._parseNumber(t,o,he.SECONDS_PER_HOUR,"hours"),l=e._parseNumber(t,a,he.SECONDS_PER_MINUTE,"minutes"),d=e._parseNumber(t,u,1,"seconds"),p=null!=u&&"-"===u.charAt(0),O=e._parseFraction(t,h,p?-1:1);try{return e._create(r,f,c,l,d,O)}catch(e){throw new i("Text cannot be parsed to a Duration: overflow",t,0,e)}}}throw new i("Text cannot be parsed to a Duration",t,0)},e._parseNumber=function(t,e,n,r){if(null==e)return 0;try{return"+"===e[0]&&(e=e.substring(1)),m.safeMultiply(parseFloat(e),n)}catch(e){throw new i("Text cannot be parsed to a Duration: "+r,t,0,e)}},e._parseFraction=function(t,e,n){return null==e||0===e.length?0:(e=(e+"000000000").substring(0,9),parseFloat(e)*n)},e._create=function(){return arguments.length<=2?e._createSecondsNanos(arguments[0],arguments[1]):e._createNegateDaysHoursMinutesSecondsNanos(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5])},e._createNegateDaysHoursMinutesSecondsNanos=function(t,n,i,r,s,o){var a=m.safeAdd(n,m.safeAdd(i,m.safeAdd(r,s)));return t?e.ofSeconds(a,o).negated():e.ofSeconds(a,o)},e._createSecondsNanos=function(t,n){return void 0===t&&(t=0),void 0===n&&(n=0),0===t&&0===n?e.ZERO:new e(t,n)};var n=e.prototype;return n.get=function(t){if(t===w.SECONDS)return this._seconds;if(t===w.NANOS)return this._nanos;throw new r("Unsupported unit: "+t)},n.units=function(){return[w.SECONDS,w.NANOS]},n.isZero=function(){return 0===this._seconds&&0===this._nanos},n.isNegative=function(){return this._seconds<0},n.seconds=function(){return this._seconds},n.nano=function(){return this._nanos},n.withSeconds=function(t){return e._create(t,this._nanos)},n.withNanos=function(t){return R.NANO_OF_SECOND.checkValidIntValue(t),e._create(this._seconds,t)},n.plusDuration=function(t){return _(t,"duration"),this.plus(t.seconds(),t.nano())},n.plus=function(t,e){return 1===arguments.length?this.plusDuration(t):2===arguments.length&&e instanceof A?this.plusAmountUnit(t,e):this.plusSecondsNanos(t,e)},n.plusAmountUnit=function(t,e){if(_(t,"amountToAdd"),_(e,"unit"),e===w.DAYS)return this.plusSecondsNanos(m.safeMultiply(t,he.SECONDS_PER_DAY),0);if(e.isDurationEstimated())throw new r("Unit must not have an estimated duration");if(0===t)return this;if(e instanceof w){switch(e){case w.NANOS:return this.plusNanos(t);case w.MICROS:return this.plusSecondsNanos(1e3*m.intDiv(t,1e9),1e3*m.intMod(t,1e9));case w.MILLIS:return this.plusMillis(t);case w.SECONDS:return this.plusSeconds(t)}return this.plusSecondsNanos(m.safeMultiply(e.duration().seconds(),t),0)}var n=e.duration().multipliedBy(t);return this.plusSecondsNanos(n.seconds(),n.nano())},n.plusDays=function(t){return this.plusSecondsNanos(m.safeMultiply(t,he.SECONDS_PER_DAY),0)},n.plusHours=function(t){return this.plusSecondsNanos(m.safeMultiply(t,he.SECONDS_PER_HOUR),0)},n.plusMinutes=function(t){return this.plusSecondsNanos(m.safeMultiply(t,he.SECONDS_PER_MINUTE),0)},n.plusSeconds=function(t){return this.plusSecondsNanos(t,0)},n.plusMillis=function(t){return this.plusSecondsNanos(m.intDiv(t,1e3),1e6*m.intMod(t,1e3))},n.plusNanos=function(t){return this.plusSecondsNanos(0,t)},n.plusSecondsNanos=function(t,n){if(_(t,"secondsToAdd"),_(n,"nanosToAdd"),0===t&&0===n)return this;var i=m.safeAdd(this._seconds,t);i=m.safeAdd(i,m.intDiv(n,he.NANOS_PER_SECOND)),n=m.intMod(n,he.NANOS_PER_SECOND);var r=m.safeAdd(this._nanos,n);return e.ofSeconds(i,r)},n.minus=function(t,e){return 1===arguments.length?this.minusDuration(t):this.minusAmountUnit(t,e)},n.minusDuration=function(t){_(t,"duration");var e=t.seconds(),n=t.nano();return e===S?this.plus(E,-n):this.plus(-e,-n)},n.minusAmountUnit=function(t,e){return _(t,"amountToSubtract"),_(e,"unit"),t===S?this.plusAmountUnit(E,e):this.plusAmountUnit(-t,e)},n.minusDays=function(t){return t===S?this.plusDays(E):this.plusDays(-t)},n.minusHours=function(t){return t===S?this.plusHours(E):this.plusHours(-t)},n.minusMinutes=function(t){return t===S?this.plusMinutes(E):this.plusMinutes(-t)},n.minusSeconds=function(t){return t===S?this.plusSeconds(E):this.plusSeconds(-t)},n.minusMillis=function(t){return t===S?this.plusMillis(E):this.plusMillis(-t)},n.minusNanos=function(t){return t===S?this.plusNanos(E):this.plusNanos(-t)},n.multipliedBy=function(t){if(0===t)return e.ZERO;if(1===t)return this;var n=m.safeMultiply(this._seconds,t),i=m.safeMultiply(this._nanos,t);return n+=m.intDiv(i,he.NANOS_PER_SECOND),i=m.intMod(i,he.NANOS_PER_SECOND),e.ofSeconds(n,i)},n.dividedBy=function(t){if(0===t)throw new s("Cannot divide by zero");if(1===t)return this;var n=m.intDiv(this._seconds,t),i=m.roundDown((this._seconds/t-n)*he.NANOS_PER_SECOND),r=m.intDiv(this._nanos,t);return r=i+r,e.ofSeconds(n,r)},n.negated=function(){return this.multipliedBy(-1)},n.abs=function(){return this.isNegative()?this.negated():this},n.addTo=function(t){return _(t,"temporal"),0!==this._seconds&&(t=t.plus(this._seconds,w.SECONDS)),0!==this._nanos&&(t=t.plus(this._nanos,w.NANOS)),t},n.subtractFrom=function(t){return _(t,"temporal"),0!==this._seconds&&(t=t.minus(this._seconds,w.SECONDS)),0!==this._nanos&&(t=t.minus(this._nanos,w.NANOS)),t},n.toDays=function(){return m.intDiv(this._seconds,he.SECONDS_PER_DAY)},n.toHours=function(){return m.intDiv(this._seconds,he.SECONDS_PER_HOUR)},n.toMinutes=function(){return m.intDiv(this._seconds,he.SECONDS_PER_MINUTE)},n.toMillis=function(){var t=Math.round(m.safeMultiply(this._seconds,1e3));return t=m.safeAdd(t,m.intDiv(this._nanos,1e6))},n.toNanos=function(){var t=m.safeMultiply(this._seconds,he.NANOS_PER_SECOND);return t=m.safeAdd(t,this._nanos)},n.compareTo=function(t){_(t,"otherDuration"),d(t,e,"otherDuration");var n=m.compareNumbers(this._seconds,t.seconds());return 0!==n?n:this._nanos-t.nano()},n.equals=function(t){return this===t||t instanceof e&&(this.seconds()===t.seconds()&&this.nano()===t.nano())},n.toString=function(){if(this===e.ZERO)return"PT0S";var t,n=m.intDiv(this._seconds,he.SECONDS_PER_HOUR),i=m.intDiv(m.intMod(this._seconds,he.SECONDS_PER_HOUR),he.SECONDS_PER_MINUTE),r=m.intMod(this._seconds,he.SECONDS_PER_MINUTE),s="PT";if(0!==n&&(s+=n+"H"),0!==i&&(s+=i+"M"),0===r&&0===this._nanos&&s.length>2)return s;if(r<0&&this._nanos>0?s+=-1===r?"-0":r+1:s+=r,this._nanos>0)for(s+=".",s+=t=(t=r<0?""+(2*he.NANOS_PER_SECOND-this._nanos):""+(he.NANOS_PER_SECOND+this._nanos)).slice(1,t.length);"0"===s.charAt(s.length-1);)s=s.slice(0,s.length-1);return s+="S"},n.toJSON=function(){return this.toString()},e}(D);var v=function(){};var w=function(t){function e(e,n){var i;return(i=t.call(this)||this)._name=e,i._duration=n,i}h(e,t);var n=e.prototype;return n.duration=function(){return this._duration},n.isDurationEstimated=function(){return this.isDateBased()||this===e.FOREVER},n.isDateBased=function(){return this.compareTo(e.DAYS)>=0&&this!==e.FOREVER},n.isTimeBased=function(){return this.compareTo(e.DAYS)<0},n.isSupportedBy=function(t){if(this===e.FOREVER)return!1;try{return t.plus(1,this),!0}catch(e){try{return t.plus(-1,this),!0}catch(t){return!1}}},n.addTo=function(t,e){return t.plus(e,this)},n.between=function(t,e){return t.until(e,this)},n.toString=function(){return this._name},n.compareTo=function(t){return this.duration().compareTo(t.duration())},e}(A);var y=function(){function t(){}var e=t.prototype;return e.isDateBased=function(){p("isDateBased")},e.isTimeBased=function(){p("isTimeBased")},e.baseUnit=function(){p("baseUnit")},e.rangeUnit=function(){p("rangeUnit")},e.range=function(){p("range")},e.rangeRefinedBy=function(t){p("rangeRefinedBy")},e.getFrom=function(t){p("getFrom")},e.adjustInto=function(t,e){p("adjustInto")},e.isSupportedBy=function(t){p("isSupportedBy")},e.displayName=function(){p("displayName")},e.equals=function(t){p("equals")},e.name=function(){p("name")},t}(),M=function(){function t(t,e,n,i){l(!(t>e),"Smallest minimum value '"+t+"' must be less than largest minimum value '"+e+"'",o),l(!(n>i),"Smallest maximum value '"+n+"' must be less than largest maximum value '"+i+"'",o),l(!(e>i),"Minimum value '"+e+"' must be less than maximum value '"+i+"'",o),this._minSmallest=t,this._minLargest=e,this._maxLargest=i,this._maxSmallest=n}var e=t.prototype;return e.isFixed=function(){return this._minSmallest===this._minLargest&&this._maxSmallest===this._maxLargest},e.minimum=function(){return this._minSmallest},e.largestMinimum=function(){return this._minLargest},e.maximum=function(){return this._maxLargest},e.smallestMaximum=function(){return this._maxSmallest},e.isValidValue=function(t){return this.minimum()<=t&&t<=this.maximum()},e.checkValidValue=function(t,e){return this.isValidValue(t)?t:l(!1,null!=e?"Invalid value for "+e+" (valid values "+this.toString()+"): "+t:"Invalid value (valid values "+this.toString()+"): "+t,n)},e.checkValidIntValue=function(t,e){if(!1===this.isValidIntValue(t))throw new n("Invalid int value for "+e+": "+t);return t},e.isValidIntValue=function(t){return this.isIntValue()&&this.isValidValue(t)},e.isIntValue=function(){return this.minimum()>=m.MIN_SAFE_INTEGER&&this.maximum()<=m.MAX_SAFE_INTEGER},e.equals=function(e){return e===this||e instanceof t&&(this._minSmallest===e._minSmallest&&this._minLargest===e._minLargest&&this._maxSmallest===e._maxSmallest&&this._maxLargest===e._maxLargest)},e.hashCode=function(){return m.hashCode(this._minSmallest,this._minLargest,this._maxSmallest,this._maxLargest)},e.toString=function(){var t=this.minimum()+(this.minimum()!==this.largestMinimum()?"/"+this.largestMinimum():"");return t+=" - ",t+=this.smallestMaximum()+(this.smallestMaximum()!==this.maximum()?"/"+this.maximum():"")},t.of=function(){return 2===arguments.length?new t(arguments[0],arguments[0],arguments[1],arguments[1]):3===arguments.length?new t(arguments[0],arguments[0],arguments[1],arguments[2]):4===arguments.length?new t(arguments[0],arguments[1],arguments[2],arguments[3]):l(!1,"Invalid number of arguments "+arguments.length,o)},t}(),R=function(t){function e(e,n,i,r){var s;return(s=t.call(this)||this)._name=e,s._baseUnit=n,s._rangeUnit=i,s._range=r,s}h(e,t),e.byName=function(t){for(var n in e)if(e[n]&&e[n]instanceof e&&e[n].name()===t)return e[n]};var n=e.prototype;return n.name=function(){return this._name},n.baseUnit=function(){return this._baseUnit},n.rangeUnit=function(){return this._rangeUnit},n.range=function(){return this._range},n.displayName=function(){return this.toString()},n.checkValidValue=function(t){return this.range().checkValidValue(t,this)},n.checkValidIntValue=function(t){return this.range().checkValidIntValue(t,this)},n.isDateBased=function(){return this===e.DAY_OF_WEEK||this===e.ALIGNED_DAY_OF_WEEK_IN_MONTH||this===e.ALIGNED_DAY_OF_WEEK_IN_YEAR||this===e.DAY_OF_MONTH||this===e.DAY_OF_YEAR||this===e.EPOCH_DAY||this===e.ALIGNED_WEEK_OF_MONTH||this===e.ALIGNED_WEEK_OF_YEAR||this===e.MONTH_OF_YEAR||this===e.YEAR_OF_ERA||this===e.YEAR||this===e.ERA},n.isTimeBased=function(){return this===e.NANO_OF_SECOND||this===e.NANO_OF_DAY||this===e.MICRO_OF_SECOND||this===e.MICRO_OF_DAY||this===e.MILLI_OF_SECOND||this===e.MILLI_OF_DAY||this===e.SECOND_OF_MINUTE||this===e.SECOND_OF_DAY||this===e.MINUTE_OF_HOUR||this===e.MINUTE_OF_DAY||this===e.HOUR_OF_AMPM||this===e.CLOCK_HOUR_OF_AMPM||this===e.HOUR_OF_DAY||this===e.CLOCK_HOUR_OF_DAY||this===e.AMPM_OF_DAY},n.rangeRefinedBy=function(t){return t.range(this)},n.getFrom=function(t){return t.getLong(this)},n.toString=function(){return this.name()},n.equals=function(t){return this===t},n.adjustInto=function(t,e){return t.with(this,e)},n.isSupportedBy=function(t){return t.isSupported(this)},e}(y);var g=function(){function t(){}return t.zoneId=function(){return t.ZONE_ID},t.chronology=function(){return t.CHRONO},t.precision=function(){return t.PRECISION},t.zone=function(){return t.ZONE},t.offset=function(){return t.OFFSET},t.localDate=function(){return t.LOCAL_DATE},t.localTime=function(){return t.LOCAL_TIME},t}(),I=function(){function t(){}var e=t.prototype;return e.query=function(t){return t===g.zoneId()||t===g.chronology()||t===g.precision()?null:t.queryFrom(this)},e.get=function(t){return this.range(t).checkValidIntValue(this.getLong(t),t)},e.getLong=function(t){p("getLong")},e.range=function(t){if(t instanceof R){if(this.isSupported(t))return t.range();throw new r("Unsupported field: "+t)}return t.rangeRefinedBy(this)},e.isSupported=function(t){p("isSupported")},t}(),F=function(t){function e(){return t.apply(this,arguments)||this}return h(e,t),e.prototype.queryFrom=function(t){p("queryFrom")},e}(N);function Y(t,e){var n=function(t){function e(){return t.apply(this,arguments)||this}return h(e,t),e}(F);return n.prototype.queryFrom=e,new n(t)}var C,L=function(t){function e(e,n){var i;return(i=t.call(this)||this)._ordinal=e,i._name=n,i}h(e,t);var i=e.prototype;return i.ordinal=function(){return this._ordinal},i.name=function(){return this._name},e.values=function(){return C.slice()},e.valueOf=function(t){for(var n=0;n<C.length&&C[n].name()!==t;n++);return e.of(n+1)},e.of=function(t){if(t<1||t>7)throw new n("Invalid value for DayOfWeek: "+t);return C[t-1]},e.from=function(t){if(l(null!=t,"temporal",u),t instanceof e)return t;try{return e.of(t.get(R.DAY_OF_WEEK))}catch(e){throw e instanceof n?new n("Unable to obtain DayOfWeek from TemporalAccessor: "+t+", type "+(null!=t.constructor?t.constructor.name:""),e):e}},i.value=function(){return this._ordinal+1},i.displayName=function(t,e){throw new o("Pattern using (localized) text not implemented yet!")},i.isSupported=function(t){return t instanceof R?t===R.DAY_OF_WEEK:null!=t&&t.isSupportedBy(this)},i.range=function(t){if(t===R.DAY_OF_WEEK)return t.range();if(t instanceof R)throw new r("Unsupported field: "+t);return t.rangeRefinedBy(this)},i.get=function(t){return t===R.DAY_OF_WEEK?this.value():this.range(t).checkValidIntValue(this.getLong(t),t)},i.getLong=function(t){if(t===R.DAY_OF_WEEK)return this.value();if(t instanceof R)throw new r("Unsupported field: "+t);return t.getFrom(this)},i.plus=function(t){var e=m.floorMod(t,7);return C[m.floorMod(this._ordinal+(e+7),7)]},i.minus=function(t){return this.plus(-1*m.floorMod(t,7))},i.query=function(t){return t===g.precision()?w.DAYS:t===g.localDate()||t===g.localTime()||t===g.chronology()||t===g.zone()||t===g.zoneId()||t===g.offset()?null:(l(null!=t,"query",u),t.queryFrom(this))},i.adjustInto=function(t){return _(t,"temporal"),t.with(R.DAY_OF_WEEK,this.value())},i.equals=function(t){return this===t},i.toString=function(){return this._name},i.compareTo=function(t){return _(t,"other"),d(t,e,"other"),this._ordinal-t._ordinal},i.toJSON=function(){return this.toString()},e}(I);var P,U=function(t){function e(e,n){var i;return(i=t.call(this)||this)._value=m.safeToInt(e),i._name=n,i}h(e,t);var i=e.prototype;return i.value=function(){return this._value},i.ordinal=function(){return this._value-1},i.name=function(){return this._name},i.displayName=function(t,e){throw new o("Pattern using (localized) text not implemented yet!")},i.isSupported=function(t){return null!==t&&(t instanceof R?t===R.MONTH_OF_YEAR:null!=t&&t.isSupportedBy(this))},i.get=function(t){return t===R.MONTH_OF_YEAR?this.value():this.range(t).checkValidIntValue(this.getLong(t),t)},i.getLong=function(t){if(t===R.MONTH_OF_YEAR)return this.value();if(t instanceof R)throw new r("Unsupported field: "+t);return t.getFrom(this)},i.plus=function(t){var n=m.intMod(t,12)+12,i=m.intMod(this.value()+n,12);return i=0===i?12:i,e.of(i)},i.minus=function(t){return this.plus(-1*m.intMod(t,12))},i.length=function(t){switch(this){case e.FEBRUARY:return t?29:28;case e.APRIL:case e.JUNE:case e.SEPTEMBER:case e.NOVEMBER:return 30;default:return 31}},i.minLength=function(){switch(this){case e.FEBRUARY:return 28;case e.APRIL:case e.JUNE:case e.SEPTEMBER:case e.NOVEMBER:return 30;default:return 31}},i.maxLength=function(){switch(this){case e.FEBRUARY:return 29;case e.APRIL:case e.JUNE:case e.SEPTEMBER:case e.NOVEMBER:return 30;default:return 31}},i.firstDayOfYear=function(t){var n=t?1:0;switch(this){case e.JANUARY:return 1;case e.FEBRUARY:return 32;case e.MARCH:return 60+n;case e.APRIL:return 91+n;case e.MAY:return 121+n;case e.JUNE:return 152+n;case e.JULY:return 182+n;case e.AUGUST:return 213+n;case e.SEPTEMBER:return 244+n;case e.OCTOBER:return 274+n;case e.NOVEMBER:return 305+n;case e.DECEMBER:default:return 335+n}},i.firstMonthOfQuarter=function(){switch(this){case e.JANUARY:case e.FEBRUARY:case e.MARCH:return e.JANUARY;case e.APRIL:case e.MAY:case e.JUNE:return e.APRIL;case e.JULY:case e.AUGUST:case e.SEPTEMBER:return e.JULY;case e.OCTOBER:case e.NOVEMBER:case e.DECEMBER:default:return e.OCTOBER}},i.query=function(e){return l(null!=e,"query() parameter must not be null",n),e===g.chronology()?$t.INSTANCE:e===g.precision()?w.MONTHS:t.prototype.query.call(this,e)},i.toString=function(){switch(this){case e.JANUARY:return"JANUARY";case e.FEBRUARY:return"FEBRUARY";case e.MARCH:return"MARCH";case e.APRIL:return"APRIL";case e.MAY:return"MAY";case e.JUNE:return"JUNE";case e.JULY:return"JULY";case e.AUGUST:return"AUGUST";case e.SEPTEMBER:return"SEPTEMBER";case e.OCTOBER:return"OCTOBER";case e.NOVEMBER:return"NOVEMBER";case e.DECEMBER:return"DECEMBER";default:return"unknown Month, value: "+this.value()}},i.toJSON=function(){return this.toString()},i.adjustInto=function(t){return t.with(R.MONTH_OF_YEAR,this.value())},i.compareTo=function(t){return _(t,"other"),d(t,e,"other"),this._value-t._value},i.equals=function(t){return this===t},e.valueOf=function(t){for(var n=0;n<P.length&&P[n].name()!==t;n++);return e.of(n+1)},e.values=function(){return P.slice()},e.of=function(t){return(t<1||t>12)&&l(!1,"Invalid value for MonthOfYear: "+t,n),P[t-1]},e.from=function(t){if(t instanceof e)return t;try{return e.of(t.get(R.MONTH_OF_YEAR))}catch(e){throw new n("Unable to obtain Month from TemporalAccessor: "+t+" of type "+(t&&null!=t.constructor?t.constructor.name:""),e)}},e}(I);var V=/([-+]?)P(?:([-+]?[0-9]+)Y)?(?:([-+]?[0-9]+)M)?(?:([-+]?[0-9]+)W)?(?:([-+]?[0-9]+)D)?/,b=function(t){function e(n,i,r){var s;s=t.call(this)||this;var o=m.safeToInt(n),a=m.safeToInt(i),u=m.safeToInt(r);return 0===o&&0===a&&0===u?(e.ZERO||(s._years=o,s._months=a,s._days=u,e.ZERO=c(s)),e.ZERO||c(s)):(s._years=o,s._months=a,s._days=u,s)}h(e,t),e.ofYears=function(t){return e.create(t,0,0)},e.ofMonths=function(t){return e.create(0,t,0)},e.ofWeeks=function(t){return e.create(0,0,m.safeMultiply(t,7))},e.ofDays=function(t){return e.create(0,0,t)},e.of=function(t,n,i){return e.create(t,n,i)},e.from=function(t){if(t instanceof e)return t;_(t,"amount");for(var i=0,r=0,s=0,o=t.units(),a=0;a<o.length;a++){var u=o[a],h=t.get(u);if(u===w.YEARS)i=m.safeToInt(h);else if(u===w.MONTHS)r=m.safeToInt(h);else{if(u!==w.DAYS)throw new n("Unit must be Years, Months or Days, but was "+u);s=m.safeToInt(h)}}return e.create(i,r,s)},e.between=function(t,e){return _(t,"startDate"),_(e,"endDate"),d(t,oe,"startDate"),d(e,oe,"endDate"),t.until(e)},e.parse=function(t){_(t,"text");try{return e._parse(t)}catch(e){throw e instanceof s?new i("Text cannot be parsed to a Period",t,0,e):e}},e._parse=function(t){var n=V.exec(t);if(null!=n){var r="-"===n[1]?-1:1,s=n[2],o=n[3],a=n[4],u=n[5];if(null!=s||null!=o||null!=a||null!=u){var h=e._parseNumber(t,s,r),f=e._parseNumber(t,o,r),c=e._parseNumber(t,a,r),l=e._parseNumber(t,u,r);return l=m.safeAdd(l,m.safeMultiply(c,7)),e.create(h,f,l)}}throw new i("Text cannot be parsed to a Period",t,0)},e._parseNumber=function(t,e,n){if(null==e)return 0;var i=m.parseInt(e);return m.safeMultiply(i,n)},e.create=function(t,n,i){return new e(t,n,i)};var o=e.prototype;return o.units=function(){return[w.YEARS,w.MONTHS,w.DAYS]},o.chronology=function(){return $t.INSTANCE},o.get=function(t){if(t===w.YEARS)return this._years;if(t===w.MONTHS)return this._months;if(t===w.DAYS)return this._days;throw new r("Unsupported unit: "+t)},o.isZero=function(){return this===e.ZERO},o.isNegative=function(){return this._years<0||this._months<0||this._days<0},o.years=function(){return this._years},o.months=function(){return this._months},o.days=function(){return this._days},o.withYears=function(t){return t===this._years?this:e.create(t,this._months,this._days)},o.withMonths=function(t){return t===this._months?this:e.create(this._years,t,this._days)},o.withDays=function(t){return t===this._days?this:e.create(this._years,this._months,t)},o.plus=function(t){var n=e.from(t);return e.create(m.safeAdd(this._years,n._years),m.safeAdd(this._months,n._months),m.safeAdd(this._days,n._days))},o.plusYears=function(t){return 0===t?this:e.create(m.safeToInt(m.safeAdd(this._years,t)),this._months,this._days)},o.plusMonths=function(t){return 0===t?this:e.create(this._years,m.safeToInt(m.safeAdd(this._months,t)),this._days)},o.plusDays=function(t){return 0===t?this:e.create(this._years,this._months,m.safeToInt(m.safeAdd(this._days,t)))},o.minus=function(t){var n=e.from(t);return e.create(m.safeSubtract(this._years,n._years),m.safeSubtract(this._months,n._months),m.safeSubtract(this._days,n._days))},o.minusYears=function(t){return this.plusYears(-1*t)},o.minusMonths=function(t){return this.plusMonths(-1*t)},o.minusDays=function(t){return this.plusDays(-1*t)},o.multipliedBy=function(t){return this===e.ZERO||1===t?this:e.create(m.safeMultiply(this._years,t),m.safeMultiply(this._months,t),m.safeMultiply(this._days,t))},o.negated=function(){return this.multipliedBy(-1)},o.normalized=function(){var t=this.toTotalMonths(),n=m.intDiv(t,12),i=m.intMod(t,12);return n===this._years&&i===this._months?this:e.create(m.safeToInt(n),i,this._days)},o.toTotalMonths=function(){return 12*this._years+this._months},o.addTo=function(t){return _(t,"temporal"),0!==this._years?t=0!==this._months?t.plus(this.toTotalMonths(),w.MONTHS):t.plus(this._years,w.YEARS):0!==this._months&&(t=t.plus(this._months,w.MONTHS)),0!==this._days&&(t=t.plus(this._days,w.DAYS)),t},o.subtractFrom=function(t){return _(t,"temporal"),0!==this._years?t=0!==this._months?t.minus(this.toTotalMonths(),w.MONTHS):t.minus(this._years,w.YEARS):0!==this._months&&(t=t.minus(this._months,w.MONTHS)),0!==this._days&&(t=t.minus(this._days,w.DAYS)),t},o.equals=function(t){if(this===t)return!0;if(t instanceof e){var n=t;return this._years===n._years&&this._months===n._months&&this._days===n._days}return!1},o.hashCode=function(){return m.hashCode(this._years,this._months,this._days)},o.toString=function(){if(this===e.ZERO)return"P0D";var t="P";return 0!==this._years&&(t+=this._years+"Y"),0!==this._months&&(t+=this._months+"M"),0!==this._days&&(t+=this._days+"D"),t},o.toJSON=function(){return this.toString()},e}(D);var H=function(){function t(t){this._index=t,this._errorIndex=-1}var e=t.prototype;return e.getIndex=function(){return this._index},e.setIndex=function(t){this._index=t},e.getErrorIndex=function(){return this._errorIndex},e.setErrorIndex=function(t){this._errorIndex=t},t}(),W=function(){function t(){this._map={}}var e=t.prototype;return e.putAll=function(t){for(var e in t._map)this._map[e]=t._map[e];return this},e.containsKey=function(t){return this._map.hasOwnProperty(t.name())&&void 0!==this.get(t)},e.get=function(t){return this._map[t.name()]},e.put=function(t,e){return this.set(t,e)},e.set=function(t,e){return this._map[t.name()]=e,this},e.retainAll=function(t){for(var e={},n=0;n<t.length;n++){var i=t[n].name();e[i]=this._map[i]}return this._map=e,this},e.remove=function(t){var e=t.name(),n=this._map[e];return this._map[e]=void 0,n},e.keySet=function(){return this._map},e.clear=function(){this._map={}},t}(),x=function(t){function e(){return t.apply(this,arguments)||this}return h(e,t),e}(N);x.STRICT=new x("STRICT"),x.SMART=new x("SMART"),x.LENIENT=new x("LENIENT");var k=function(t){function e(){return t.apply(this,arguments)||this}h(e,t);var n=e.prototype;return n.isSupported=function(t){p("isSupported")},n.minus=function(t,e){return arguments.length<2?this._minusAmount(t):this._minusUnit(t,e)},n._minusAmount=function(t){return _(t,"amount"),d(t,D,"amount"),t.subtractFrom(this)},n._minusUnit=function(t,e){return _(t,"amountToSubtract"),_(e,"unit"),d(e,A,"unit"),this._plusUnit(-t,e)},n.plus=function(t,e){return arguments.length<2?this._plusAmount(t):this._plusUnit(t,e)},n._plusAmount=function(t){return _(t,"amount"),d(t,D,"amount"),t.addTo(this)},n._plusUnit=function(t,e){p("_plusUnit")},n.until=function(t,e){p("until")},n.with=function(t,e){return arguments.length<2?this._withAdjuster(t):this._withField(t,e)},n._withAdjuster=function(t){return _(t,"adjuster"),l("function"==typeof t.adjustInto,"adjuster must be a TemporalAdjuster",o),t.adjustInto(this)},n._withField=function(t,e){p("_withField")},e}(I);"undefined"!=typeof Symbol&&Symbol.toPrimitive&&(k.prototype[Symbol.toPrimitive]=function(t){if("number"!==t)return this.toString();throw new TypeError("A conversion from Temporal to a number is not allowed. To compare use the methods .equals(), .compareTo(), .isBefore() or one that is more suitable to your use case.")});var B=function(t){function e(){return t.apply(this,arguments)||this}h(e,t);var n=e.prototype;return n.isSupported=function(t){return t instanceof R||t instanceof w?t.isDateBased():null!=t&&t.isSupportedBy(this)},n.query=function(e){return e===g.chronology()?this.chronology():e===g.precision()?w.DAYS:e===g.localDate()?oe.ofEpochDay(this.toEpochDay()):e===g.localTime()||e===g.zone()||e===g.zoneId()||e===g.offset()?null:t.prototype.query.call(this,e)},n.adjustInto=function(t){return t.with(R.EPOCH_DAY,this.toEpochDay())},n.format=function(t){return _(t,"formatter"),d(t,xt,"formatter"),t.format(this)},e}(k),q=function(){function t(){}return t.startsWith=function(t,e){return 0===t.indexOf(e)},t.hashCode=function(t){var e=t.length;if(0===e)return 0;for(var n=0,i=0;i<e;i++){n=(n<<5)-n+t.charCodeAt(i),n|=0}return m.smi(n)},t}(),Z=function(){function t(){}t.systemDefault=function(){throw new n("not supported operation")},t.getAvailableZoneIds=function(){throw new n("not supported operation")},t.of=function(t){throw new n("not supported operation"+t)},t.ofOffset=function(t,e){throw new n("not supported operation"+t+e)},t.from=function(t){throw new n("not supported operation"+t)};var e=t.prototype;return e.id=function(){p("ZoneId.id")},e.rules=function(){p("ZoneId.rules")},e.normalized=function(){var t=this.rules();return t.isFixedOffset()?t.offset(ce.EPOCH):this},e.equals=function(e){return this===e||e instanceof t&&this.id()===e.id()},e.hashCode=function(){return q.hashCode(this.id())},e.toString=function(){return this.id()},e.toJSON=function(){return this.toString()},t}(),z=function(){function t(){}t.of=function(t){return _(t,"offset"),new K(t)};var e=t.prototype;return e.isFixedOffset=function(){p("ZoneRules.isFixedOffset")},e.offset=function(t){return t instanceof ce?this.offsetOfInstant(t):this.offsetOfLocalDateTime(t)},e.offsetOfInstant=function(t){p("ZoneRules.offsetInstant")},e.offsetOfEpochMilli=function(t){p("ZoneRules.offsetOfEpochMilli")},e.offsetOfLocalDateTime=function(t){p("ZoneRules.offsetLocalDateTime")},e.validOffsets=function(t){p("ZoneRules.validOffsets")},e.transition=function(t){p("ZoneRules.transition")},e.standardOffset=function(t){p("ZoneRules.standardOffset")},e.daylightSavings=function(t){p("ZoneRules.daylightSavings")},e.isDaylightSavings=function(t){p("ZoneRules.isDaylightSavings")},e.isValidOffset=function(t,e){p("ZoneRules.isValidOffset")},e.nextTransition=function(t){p("ZoneRules.nextTransition")},e.previousTransition=function(t){p("ZoneRules.previousTransition")},e.transitions=function(){p("ZoneRules.transitions")},e.transitionRules=function(){p("ZoneRules.transitionRules")},e.toString=function(){p("ZoneRules.toString")},e.toJSON=function(){return this.toString()},t}(),K=function(t){function e(e){var n;return(n=t.call(this)||this)._offset=e,n}h(e,t);var n=e.prototype;return n.isFixedOffset=function(){return!0},n.offsetOfInstant=function(){return this._offset},n.offsetOfEpochMilli=function(){return this._offset},n.offsetOfLocalDateTime=function(){return this._offset},n.validOffsets=function(){return[this._offset]},n.transition=function(){return null},n.standardOffset=function(){return this._offset},n.daylightSavings=function(){return T.ZERO},n.isDaylightSavings=function(){return!1},n.isValidOffset=function(t,e){return this._offset.equals(e)},n.nextTransition=function(){return null},n.previousTransition=function(){return null},n.transitions=function(){return[]},n.transitionRules=function(){return[]},n.equals=function(t){return this===t||t instanceof e&&this._offset.equals(t._offset)},n.toString=function(){return"FixedRules:"+this._offset.toString()},e}(z),j={},G={},X=function(t){function e(n){var i;return i=t.call(this)||this,e._validateTotalSeconds(n),i._totalSeconds=m.safeToInt(n),i._rules=z.of(c(i)),i._id=e._buildId(n),i}h(e,t);var i=e.prototype;return i.totalSeconds=function(){return this._totalSeconds},i.id=function(){return this._id},e._buildId=function(t){if(0===t)return"Z";var e=Math.abs(t),n=m.intDiv(e,he.SECONDS_PER_HOUR),i=m.intMod(m.intDiv(e,he.SECONDS_PER_MINUTE),he.MINUTES_PER_HOUR),r=(t<0?"-":"+")+(n<10?"0":"")+n+(i<10?":0":":")+i,s=m.intMod(e,he.SECONDS_PER_MINUTE);return 0!==s&&(r+=(s<10?":0":":")+s),r},e._validateTotalSeconds=function(t){if(Math.abs(t)>e.MAX_SECONDS)throw new n("Zone offset not in valid range: -18:00 to +18:00")},e._validate=function(t,e,i){if(t<-18||t>18)throw new n("Zone offset hours not in valid range: value "+t+" is not in the range -18 to 18");if(t>0){if(e<0||i<0)throw new n("Zone offset minutes and seconds must be positive because hours is positive")}else if(t<0){if(e>0||i>0)throw new n("Zone offset minutes and seconds must be negative because hours is negative")}else if(e>0&&i<0||e<0&&i>0)throw new n("Zone offset minutes and seconds must have the same sign");if(Math.abs(e)>59)throw new n("Zone offset minutes not in valid range: abs(value) "+Math.abs(e)+" is not in the range 0 to 59");if(Math.abs(i)>59)throw new n("Zone offset seconds not in valid range: abs(value) "+Math.abs(i)+" is not in the range 0 to 59");if(18===Math.abs(t)&&(Math.abs(e)>0||Math.abs(i)>0))throw new n("Zone offset not in valid range: -18:00 to +18:00")},e.of=function(t){_(t,"offsetId");var i,r,s,o=G[t];if(null!=o)return o;switch(t.length){case 2:t=t[0]+"0"+t[1];case 3:i=e._parseNumber(t,1,!1),r=0,s=0;break;case 5:i=e._parseNumber(t,1,!1),r=e._parseNumber(t,3,!1),s=0;break;case 6:i=e._parseNumber(t,1,!1),r=e._parseNumber(t,4,!0),s=0;break;case 7:i=e._parseNumber(t,1,!1),r=e._parseNumber(t,3,!1),s=e._parseNumber(t,5,!1);break;case 9:i=e._parseNumber(t,1,!1),r=e._parseNumber(t,4,!0),s=e._parseNumber(t,7,!0);break;default:throw new n("Invalid ID for ZoneOffset, invalid format: "+t)}var a=t[0];if("+"!==a&&"-"!==a)throw new n("Invalid ID for ZoneOffset, plus/minus not found when expected: "+t);return"-"===a?e.ofHoursMinutesSeconds(-i,-r,-s):e.ofHoursMinutesSeconds(i,r,s)},e._parseNumber=function(t,e,i){if(i&&":"!==t[e-1])throw new n("Invalid ID for ZoneOffset, colon not found when expected: "+t);var r=t[e],s=t[e+1];if(r<"0"||r>"9"||s<"0"||s>"9")throw new n("Invalid ID for ZoneOffset, non numeric characters found: "+t);return 10*(r.charCodeAt(0)-48)+(s.charCodeAt(0)-48)},e.ofHours=function(t){return e.ofHoursMinutesSeconds(t,0,0)},e.ofHoursMinutes=function(t,n){return e.ofHoursMinutesSeconds(t,n,0)},e.ofHoursMinutesSeconds=function(t,n,i){e._validate(t,n,i);var r=t*he.SECONDS_PER_HOUR+n*he.SECONDS_PER_MINUTE+i;return e.ofTotalSeconds(r)},e.ofTotalMinutes=function(t){var n=t*he.SECONDS_PER_MINUTE;return e.ofTotalSeconds(n)},e.ofTotalSeconds=function(t){if(t%(15*he.SECONDS_PER_MINUTE)==0){var n=t,i=j[n];return null==i&&(i=new e(t),j[n]=i,G[i.id()]=i),i}return new e(t)},i.rules=function(){return this._rules},i.get=function(t){return this.getLong(t)},i.getLong=function(t){if(t===R.OFFSET_SECONDS)return this._totalSeconds;if(t instanceof R)throw new n("Unsupported field: "+t);return t.getFrom(this)},i.query=function(t){return _(t,"query"),t===g.offset()||t===g.zone()?this:t===g.localDate()||t===g.localTime()||t===g.precision()||t===g.chronology()||t===g.zoneId()?null:t.queryFrom(this)},i.adjustInto=function(t){return t.with(R.OFFSET_SECONDS,this._totalSeconds)},i.compareTo=function(t){return _(t,"other"),t._totalSeconds-this._totalSeconds},i.equals=function(t){return this===t||t instanceof e&&this._totalSeconds===t._totalSeconds},i.hashCode=function(){return this._totalSeconds},i.toString=function(){return this._id},e}(Z);var J=function(t){function e(){var e;return(e=t.call(this)||this).fieldValues=new W,e.chrono=null,e.zone=null,e.date=null,e.time=null,e.leapSecond=!1,e.excessDays=null,e}h(e,t),e.create=function(t,n){var i=new e;return i._addFieldValue(t,n),i};var i=e.prototype;return i.getFieldValue0=function(t){return this.fieldValues.get(t)},i._addFieldValue=function(t,e){_(t,"field");var i=this.getFieldValue0(t);if(null!=i&&i!==e)throw new n("Conflict found: "+t+" "+i+" differs from "+t+" "+e+": "+this);return this._putFieldValue0(t,e)},i._putFieldValue0=function(t,e){return this.fieldValues.put(t,e),this},i.resolve=function(t,e){return null!=e&&this.fieldValues.retainAll(e),this._mergeDate(t),this._mergeTime(t),this._resolveTimeInferZeroes(t),null!=this.excessDays&&!1===this.excessDays.isZero()&&null!=this.date&&null!=this.time&&(this.date=this.date.plus(this.excessDays),this.excessDays=b.ZERO),this._resolveInstant(),this},i._mergeDate=function(t){this._checkDate($t.INSTANCE.resolveDate(this.fieldValues,t))},i._checkDate=function(t){if(null!=t)for(var e in this._addObject(t),this.fieldValues.keySet()){var i=R.byName(e);if(i&&void 0!==this.fieldValues.get(i)&&i.isDateBased()){var r=void 0;try{r=t.getLong(i)}catch(t){if(t instanceof n)continue;throw t}var s=this.fieldValues.get(i);if(r!==s)throw new n("Conflict found: Field "+i+" "+r+" differs from "+i+" "+s+" derived from "+t)}}},i._mergeTime=function(t){if(this.fieldValues.containsKey(R.CLOCK_HOUR_OF_DAY)){var e=this.fieldValues.remove(R.CLOCK_HOUR_OF_DAY);t!==x.LENIENT&&(t===x.SMART&&0===e||R.CLOCK_HOUR_OF_DAY.checkValidValue(e)),this._addFieldValue(R.HOUR_OF_DAY,24===e?0:e)}if(this.fieldValues.containsKey(R.CLOCK_HOUR_OF_AMPM)){var n=this.fieldValues.remove(R.CLOCK_HOUR_OF_AMPM);t!==x.LENIENT&&(t===x.SMART&&0===n||R.CLOCK_HOUR_OF_AMPM.checkValidValue(n)),this._addFieldValue(R.HOUR_OF_AMPM,12===n?0:n)}if(t!==x.LENIENT&&(this.fieldValues.containsKey(R.AMPM_OF_DAY)&&R.AMPM_OF_DAY.checkValidValue(this.fieldValues.get(R.AMPM_OF_DAY)),this.fieldValues.containsKey(R.HOUR_OF_AMPM)&&R.HOUR_OF_AMPM.checkValidValue(this.fieldValues.get(R.HOUR_OF_AMPM))),this.fieldValues.containsKey(R.AMPM_OF_DAY)&&this.fieldValues.containsKey(R.HOUR_OF_AMPM)){var i=this.fieldValues.remove(R.AMPM_OF_DAY),r=this.fieldValues.remove(R.HOUR_OF_AMPM);this._addFieldValue(R.HOUR_OF_DAY,12*i+r)}if(this.fieldValues.containsKey(R.NANO_OF_DAY)){var s=this.fieldValues.remove(R.NANO_OF_DAY);t!==x.LENIENT&&R.NANO_OF_DAY.checkValidValue(s),this._addFieldValue(R.SECOND_OF_DAY,m.intDiv(s,1e9)),this._addFieldValue(R.NANO_OF_SECOND,m.intMod(s,1e9))}if(this.fieldValues.containsKey(R.MICRO_OF_DAY)){var o=this.fieldValues.remove(R.MICRO_OF_DAY);t!==x.LENIENT&&R.MICRO_OF_DAY.checkValidValue(o),this._addFieldValue(R.SECOND_OF_DAY,m.intDiv(o,1e6)),this._addFieldValue(R.MICRO_OF_SECOND,m.intMod(o,1e6))}if(this.fieldValues.containsKey(R.MILLI_OF_DAY)){var a=this.fieldValues.remove(R.MILLI_OF_DAY);t!==x.LENIENT&&R.MILLI_OF_DAY.checkValidValue(a),this._addFieldValue(R.SECOND_OF_DAY,m.intDiv(a,1e3)),this._addFieldValue(R.MILLI_OF_SECOND,m.intMod(a,1e3))}if(this.fieldValues.containsKey(R.SECOND_OF_DAY)){var u=this.fieldValues.remove(R.SECOND_OF_DAY);t!==x.LENIENT&&R.SECOND_OF_DAY.checkValidValue(u),this._addFieldValue(R.HOUR_OF_DAY,m.intDiv(u,3600)),this._addFieldValue(R.MINUTE_OF_HOUR,m.intMod(m.intDiv(u,60),60)),this._addFieldValue(R.SECOND_OF_MINUTE,m.intMod(u,60))}if(this.fieldValues.containsKey(R.MINUTE_OF_DAY)){var h=this.fieldValues.remove(R.MINUTE_OF_DAY);t!==x.LENIENT&&R.MINUTE_OF_DAY.checkValidValue(h),this._addFieldValue(R.HOUR_OF_DAY,m.intDiv(h,60)),this._addFieldValue(R.MINUTE_OF_HOUR,m.intMod(h,60))}if(t!==x.LENIENT&&(this.fieldValues.containsKey(R.MILLI_OF_SECOND)&&R.MILLI_OF_SECOND.checkValidValue(this.fieldValues.get(R.MILLI_OF_SECOND)),this.fieldValues.containsKey(R.MICRO_OF_SECOND)&&R.MICRO_OF_SECOND.checkValidValue(this.fieldValues.get(R.MICRO_OF_SECOND))),this.fieldValues.containsKey(R.MILLI_OF_SECOND)&&this.fieldValues.containsKey(R.MICRO_OF_SECOND)){var f=this.fieldValues.remove(R.MILLI_OF_SECOND),c=this.fieldValues.get(R.MICRO_OF_SECOND);this._putFieldValue0(R.MICRO_OF_SECOND,1e3*f+m.intMod(c,1e3))}if(this.fieldValues.containsKey(R.MICRO_OF_SECOND)&&this.fieldValues.containsKey(R.NANO_OF_SECOND)){var l=this.fieldValues.get(R.NANO_OF_SECOND);this._putFieldValue0(R.MICRO_OF_SECOND,m.intDiv(l,1e3)),this.fieldValues.remove(R.MICRO_OF_SECOND)}if(this.fieldValues.containsKey(R.MILLI_OF_SECOND)&&this.fieldValues.containsKey(R.NANO_OF_SECOND)){var _=this.fieldValues.get(R.NANO_OF_SECOND);this._putFieldValue0(R.MILLI_OF_SECOND,m.intDiv(_,1e6)),this.fieldValues.remove(R.MILLI_OF_SECOND)}if(this.fieldValues.containsKey(R.MICRO_OF_SECOND)){var d=this.fieldValues.remove(R.MICRO_OF_SECOND);this._putFieldValue0(R.NANO_OF_SECOND,1e3*d)}else if(this.fieldValues.containsKey(R.MILLI_OF_SECOND)){var p=this.fieldValues.remove(R.MILLI_OF_SECOND);this._putFieldValue0(R.NANO_OF_SECOND,1e6*p)}},i._resolveTimeInferZeroes=function(t){var e=this.fieldValues.get(R.HOUR_OF_DAY),n=this.fieldValues.get(R.MINUTE_OF_HOUR),i=this.fieldValues.get(R.SECOND_OF_MINUTE),r=this.fieldValues.get(R.NANO_OF_SECOND);if(null!=e&&(null!=n||null==i&&null==r)&&(null==n||null!=i||null==r)){if(t!==x.LENIENT){if(null!=e){t!==x.SMART||24!==e||null!=n&&0!==n||null!=i&&0!==i||null!=r&&0!==r||(e=0,this.excessDays=b.ofDays(1));var s=R.HOUR_OF_DAY.checkValidIntValue(e);if(null!=n){var o=R.MINUTE_OF_HOUR.checkValidIntValue(n);if(null!=i){var a=R.SECOND_OF_MINUTE.checkValidIntValue(i);if(null!=r){var u=R.NANO_OF_SECOND.checkValidIntValue(r);this._addObject(he.of(s,o,a,u))}else this._addObject(he.of(s,o,a))}else null==r&&this._addObject(he.of(s,o))}else null==i&&null==r&&this._addObject(he.of(s,0))}}else if(null!=e){var h=e;if(null!=n)if(null!=i){null==r&&(r=0);var f=m.safeMultiply(h,36e11);f=m.safeAdd(f,m.safeMultiply(n,6e10)),f=m.safeAdd(f,m.safeMultiply(i,1e9)),f=m.safeAdd(f,r);var c=m.floorDiv(f,864e11),l=m.floorMod(f,864e11);this._addObject(he.ofNanoOfDay(l)),this.excessDays=b.ofDays(c)}else{var _=m.safeMultiply(h,3600);_=m.safeAdd(_,m.safeMultiply(n,60));var d=m.floorDiv(_,86400),p=m.floorMod(_,86400);this._addObject(he.ofSecondOfDay(p)),this.excessDays=b.ofDays(d)}else{var O=m.safeToInt(m.floorDiv(h,24));h=m.floorMod(h,24),this._addObject(he.of(h,0)),this.excessDays=b.ofDays(O)}}this.fieldValues.remove(R.HOUR_OF_DAY),this.fieldValues.remove(R.MINUTE_OF_HOUR),this.fieldValues.remove(R.SECOND_OF_MINUTE),this.fieldValues.remove(R.NANO_OF_SECOND)}},i._addObject=function(t){t instanceof B?this.date=t:t instanceof he&&(this.time=t)},i._resolveInstant=function(){if(null!=this.date&&null!=this.time){var t=this.fieldValues.get(R.OFFSET_SECONDS);if(null!=t){var e=X.ofTotalSeconds(t),n=this.date.atTime(this.time).atZone(e).getLong(R.INSTANT_SECONDS);this.fieldValues.put(R.INSTANT_SECONDS,n)}else if(null!=this.zone){var i=this.date.atTime(this.time).atZone(this.zone).getLong(R.INSTANT_SECONDS);this.fieldValues.put(R.INSTANT_SECONDS,i)}}},i.build=function(t){return t.queryFrom(this)},i.isSupported=function(t){return null!=t&&(this.fieldValues.containsKey(t)&&void 0!==this.fieldValues.get(t)||null!=this.date&&this.date.isSupported(t)||null!=this.time&&this.time.isSupported(t))},i.getLong=function(t){_(t,"field");var e=this.getFieldValue0(t);if(null==e){if(null!=this.date&&this.date.isSupported(t))return this.date.getLong(t);if(null!=this.time&&this.time.isSupported(t))return this.time.getLong(t);throw new n("Field not found: "+t)}return e},i.query=function(t){return t===g.zoneId()?this.zone:t===g.chronology()?this.chrono:t===g.localDate()?null!=this.date?oe.from(this.date):null:t===g.localTime()?this.time:t===g.zone()||t===g.offset()?t.queryFrom(this):t===g.precision()?null:t.queryFrom(this)},e}(I),Q=function(){function t(){if(1===arguments.length){if(arguments[0]instanceof t)return void this._constructorSelf.apply(this,arguments);this._constructorFormatter.apply(this,arguments)}else this._constructorParam.apply(this,arguments);this._caseSensitive=!0,this._strict=!0,this._parsed=[new $(this)]}var e=t.prototype;return e._constructorParam=function(t,e,n){this._locale=t,this._symbols=e,this._overrideChronology=n},e._constructorFormatter=function(t){this._locale=t.locale(),this._symbols=t.decimalStyle(),this._overrideChronology=t.chronology()},e._constructorSelf=function(t){this._locale=t._locale,this._symbols=t._symbols,this._overrideChronology=t._overrideChronology,this._overrideZone=t._overrideZone,this._caseSensitive=t._caseSensitive,this._strict=t._strict,this._parsed=[new $(this)]},e.copy=function(){return new t(this)},e.symbols=function(){return this._symbols},e.isStrict=function(){return this._strict},e.setStrict=function(t){this._strict=t},e.locale=function(){return this._locale},e.setLocale=function(t){this._locale=t},e.startOptional=function(){this._parsed.push(this.currentParsed().copy())},e.endOptional=function(t){t?this._parsed.splice(this._parsed.length-2,1):this._parsed.splice(this._parsed.length-1,1)},e.isCaseSensitive=function(){return this._caseSensitive},e.setCaseSensitive=function(t){this._caseSensitive=t},e.subSequenceEquals=function(t,e,n,i,r){if(e+r>t.length||i+r>n.length)return!1;this.isCaseSensitive()||(t=t.toLowerCase(),n=n.toLowerCase());for(var s=0;s<r;s++){if(t[e+s]!==n[i+s])return!1}return!0},e.charEquals=function(t,e){return this.isCaseSensitive()?t===e:this.charEqualsIgnoreCase(t,e)},e.charEqualsIgnoreCase=function(t,e){return t===e||t.toLowerCase()===e.toLowerCase()},e.setParsedField=function(t,e,n,i){var r=this.currentParsed().fieldValues,s=r.get(t);return r.set(t,e),null!=s&&s!==e?~n:i},e.setParsedZone=function(t){_(t,"zone"),this.currentParsed().zone=t},e.getParsed=function(t){return this.currentParsed().fieldValues.get(t)},e.toParsed=function(){return this.currentParsed()},e.currentParsed=function(){return this._parsed[this._parsed.length-1]},e.setParsedLeapSecond=function(){this.currentParsed().leapSecond=!0},e.getEffectiveChronology=function(){var t=this.currentParsed().chrono;return null==t&&null==(t=this._overrideChronology)&&(t=$t.INSTANCE),t},t}(),$=function(t){function e(e){var n;return(n=t.call(this)||this).chrono=null,n.zone=null,n.fieldValues=new W,n.leapSecond=!1,n.dateTimeParseContext=e,n}h(e,t);var n=e.prototype;return n.copy=function(){var t=new e;return t.chrono=this.chrono,t.zone=this.zone,t.fieldValues.putAll(this.fieldValues),t.leapSecond=this.leapSecond,t.dateTimeParseContext=this.dateTimeParseContext,t},n.toString=function(){return this.fieldValues+", "+this.chrono+", "+this.zone},n.isSupported=function(t){return this.fieldValues.containsKey(t)},n.get=function(t){var e=this.fieldValues.get(t);return l(null!=e),e},n.query=function(e){return e===g.chronology()?this.chrono:e===g.zoneId()||e===g.zone()?this.zone:t.prototype.query.call(this,e)},n.toBuilder=function(){var t=new J;return t.fieldValues.putAll(this.fieldValues),t.chrono=this.dateTimeParseContext.getEffectiveChronology(),null!=this.zone?t.zone=this.zone:t.zone=this.overrideZone,t.leapSecond=this.leapSecond,t.excessDays=this.excessDays,t},e}(k),tt=function(){function t(e,n,i){2===arguments.length&&arguments[1]instanceof xt?(this._temporal=t.adjust(e,n),this._locale=n.locale(),this._symbols=n.decimalStyle()):(this._temporal=e,this._locale=n,this._symbols=i),this._optional=0}t.adjust=function(t,e){return t};var e=t.prototype;return e.symbols=function(){return this._symbols},e.startOptional=function(){this._optional++},e.endOptional=function(){this._optional--},e.getValueQuery=function(t){var e=this._temporal.query(t);if(null==e&&0===this._optional)throw new n("Unable to extract value: "+this._temporal);return e},e.getValue=function(t){try{return this._temporal.getLong(t)}catch(t){if(t instanceof n&&this._optional>0)return null;throw t}},e.temporal=function(){return this._temporal},e.locale=function(){return this._locale},e.setDateTime=function(t){this._temporal=t},e.setLocale=function(t){this._locale=t},t}(),et={},nt=[0,90,181,273,0,91,182,274],it=function(t){function e(){return t.apply(this,arguments)||this}h(e,t);var n=e.prototype;return n.isDateBased=function(){return!0},n.isTimeBased=function(){return!1},n._isIso=function(){return!0},e._getWeekRangeByLocalDate=function(t){var n=e._getWeekBasedYear(t);return M.of(1,e._getWeekRangeByYear(n))},e._getWeekRangeByYear=function(t){var e=oe.of(t,1,1);return e.dayOfWeek()===L.THURSDAY||e.dayOfWeek()===L.WEDNESDAY&&e.isLeapYear()?53:52},e._getWeek=function(t){var n=t.dayOfWeek().ordinal(),i=t.dayOfYear()-1,r=i+(3-n),s=r-7*m.intDiv(r,7)-3;if(s<-3&&(s+=7),i<s)return e._getWeekRangeByLocalDate(t.withDayOfYear(180).minusYears(1)).maximum();var o=m.intDiv(i-s,7)+1;return 53===o&&!1===(-3===s||-2===s&&t.isLeapYear())&&(o=1),o},e._getWeekBasedYear=function(t){var e=t.year(),n=t.dayOfYear();if(n<=3)n-t.dayOfWeek().ordinal()<-2&&e--;else if(n>=363){var i=t.dayOfWeek().ordinal();(n=n-363-(t.isLeapYear()?1:0))-i>=0&&e++}return e},n.displayName=function(){return this.toString()},n.resolve=function(){return null},n.name=function(){return this.toString()},e}(y),rt=function(t){function e(){return t.apply(this,arguments)||this}h(e,t);var n=e.prototype;return n.toString=function(){return"DayOfQuarter"},n.baseUnit=function(){return w.DAYS},n.rangeUnit=function(){return dt},n.range=function(){return M.of(1,90,92)},n.isSupportedBy=function(t){return t.isSupported(R.DAY_OF_YEAR)&&t.isSupported(R.MONTH_OF_YEAR)&&t.isSupported(R.YEAR)&&this._isIso(t)},n.rangeRefinedBy=function(t){if(!1===t.isSupported(this))throw new r("Unsupported field: DayOfQuarter");var e=t.getLong(ft);if(1===e){var n=t.getLong(R.YEAR);return $t.isLeapYear(n)?M.of(1,91):M.of(1,90)}return 2===e?M.of(1,91):3===e||4===e?M.of(1,92):this.range()},n.getFrom=function(t){if(!1===t.isSupported(this))throw new r("Unsupported field: DayOfQuarter");var e=t.get(R.DAY_OF_YEAR),n=t.get(R.MONTH_OF_YEAR),i=t.getLong(R.YEAR);return e-nt[m.intDiv(n-1,3)+($t.isLeapYear(i)?4:0)]},n.adjustInto=function(t,e){var n=this.getFrom(t);return this.range().checkValidValue(e,this),t.with(R.DAY_OF_YEAR,t.getLong(R.DAY_OF_YEAR)+(e-n))},n.resolve=function(t,e,n){var i=t.get(R.YEAR),r=t.get(ft);if(null==i||null==r)return null;var s,o=R.YEAR.checkValidIntValue(i),a=t.get(ht);if(n===x.LENIENT){var u=r;s=(s=(s=oe.of(o,1,1)).plusMonths(m.safeMultiply(m.safeSubtract(u,1),3))).plusDays(m.safeSubtract(a,1))}else{var h=ft.range().checkValidIntValue(r,ft);if(n===x.STRICT){var f=92;1===h?f=$t.isLeapYear(o)?91:90:2===h&&(f=91),M.of(1,f).checkValidValue(a,this)}else this.range().checkValidValue(a,this);s=oe.of(o,3*(h-1)+1,1).plusDays(a-1)}return t.remove(this),t.remove(R.YEAR),t.remove(ft),s},e}(it),st=function(t){function e(){return t.apply(this,arguments)||this}h(e,t);var n=e.prototype;return n.toString=function(){return"QuarterOfYear"},n.baseUnit=function(){return dt},n.rangeUnit=function(){return w.YEARS},n.range=function(){return M.of(1,4)},n.isSupportedBy=function(t){return t.isSupported(R.MONTH_OF_YEAR)&&this._isIso(t)},n.rangeRefinedBy=function(t){return this.range()},n.getFrom=function(t){if(!1===t.isSupported(this))throw new r("Unsupported field: QuarterOfYear");var e=t.getLong(R.MONTH_OF_YEAR);return m.intDiv(e+2,3)},n.adjustInto=function(t,e){var n=this.getFrom(t);return this.range().checkValidValue(e,this),t.with(R.MONTH_OF_YEAR,t.getLong(R.MONTH_OF_YEAR)+3*(e-n))},e}(it),ot=function(t){function e(){return t.apply(this,arguments)||this}h(e,t);var n=e.prototype;return n.toString=function(){return"WeekOfWeekBasedYear"},n.baseUnit=function(){return w.WEEKS},n.rangeUnit=function(){return _t},n.range=function(){return M.of(1,52,53)},n.isSupportedBy=function(t){return t.isSupported(R.EPOCH_DAY)&&this._isIso(t)},n.rangeRefinedBy=function(t){if(!1===t.isSupported(this))throw new r("Unsupported field: WeekOfWeekBasedYear");return it._getWeekRangeByLocalDate(oe.from(t))},n.getFrom=function(t){if(!1===t.isSupported(this))throw new r("Unsupported field: WeekOfWeekBasedYear");return it._getWeek(oe.from(t))},n.adjustInto=function(t,e){return this.range().checkValidValue(e,this),t.plus(m.safeSubtract(e,this.getFrom(t)),w.WEEKS)},n.resolve=function(t,e,n){var i=t.get(lt),r=t.get(R.DAY_OF_WEEK);if(null==i||null==r)return null;var s,o=lt.range().checkValidIntValue(i,lt),a=t.get(ct);if(n===x.LENIENT){var u=r,h=0;u>7?(h=m.intDiv(u-1,7),u=m.intMod(u-1,7)+1):u<1&&(h=m.intDiv(u,7)-1,u=m.intMod(u,7)+7),s=oe.of(o,1,4).plusWeeks(a-1).plusWeeks(h).with(R.DAY_OF_WEEK,u)}else{var f=R.DAY_OF_WEEK.checkValidIntValue(r);if(n===x.STRICT){var c=oe.of(o,1,4);it._getWeekRangeByLocalDate(c).checkValidValue(a,this)}else this.range().checkValidValue(a,this);s=oe.of(o,1,4).plusWeeks(a-1).with(R.DAY_OF_WEEK,f)}return t.remove(this),t.remove(lt),t.remove(R.DAY_OF_WEEK),s},n.displayName=function(){return"Week"},e}(it),at=function(t){function e(){return t.apply(this,arguments)||this}h(e,t);var n=e.prototype;return n.toString=function(){return"WeekBasedYear"},n.baseUnit=function(){return _t},n.rangeUnit=function(){return w.FOREVER},n.range=function(){return R.YEAR.range()},n.isSupportedBy=function(t){return t.isSupported(R.EPOCH_DAY)&&this._isIso(t)},n.rangeRefinedBy=function(t){return R.YEAR.range()},n.getFrom=function(t){if(!1===t.isSupported(this))throw new r("Unsupported field: WeekBasedYear");return it._getWeekBasedYear(oe.from(t))},n.adjustInto=function(t,e){if(!1===this.isSupportedBy(t))throw new r("Unsupported field: WeekBasedYear");var n=this.range().checkValidIntValue(e,lt),i=oe.from(t),s=i.get(R.DAY_OF_WEEK),o=it._getWeek(i);53===o&&52===it._getWeekRangeByYear(n)&&(o=52);var a=oe.of(n,1,4),u=s-a.get(R.DAY_OF_WEEK)+7*(o-1);return a=a.plusDays(u),t.with(a)},e}(it),ut=function(t){function e(e,n){var i;return(i=t.call(this)||this)._name=e,i._duration=n,i}h(e,t);var n=e.prototype;return n.duration=function(){return this._duration},n.isDurationEstimated=function(){return!0},n.isDateBased=function(){return!0},n.isTimeBased=function(){return!1},n.isSupportedBy=function(t){return t.isSupported(R.EPOCH_DAY)},n.addTo=function(t,e){switch(this){case _t:var n=m.safeAdd(t.get(lt),e);return t.with(lt,n);case dt:return t.plus(m.intDiv(e,256),w.YEARS).plus(3*m.intMod(e,256),w.MONTHS);default:throw new a("Unreachable")}},n.between=function(t,e){switch(this){case _t:return m.safeSubtract(e.getLong(lt),t.getLong(lt));case dt:return m.intDiv(t.until(e,w.MONTHS),3);default:throw new a("Unreachable")}},n.toString=function(){return name},e}(A),ht=null,ft=null,ct=null,lt=null,_t=null,dt=null;var pt=function(){function t(t,e,n,i){this._zeroDigit=t,this._zeroDigitCharCode=t.charCodeAt(0),this._positiveSign=e,this._negativeSign=n,this._decimalSeparator=i}var e=t.prototype;return e.positiveSign=function(){return this._positiveSign},e.withPositiveSign=function(e){return e===this._positiveSign?this:new t(this._zeroDigit,e,this._negativeSign,this._decimalSeparator)},e.negativeSign=function(){return this._negativeSign},e.withNegativeSign=function(e){return e===this._negativeSign?this:new t(this._zeroDigit,this._positiveSign,e,this._decimalSeparator)},e.zeroDigit=function(){return this._zeroDigit},e.withZeroDigit=function(e){return e===this._zeroDigit?this:new t(e,this._positiveSign,this._negativeSign,this._decimalSeparator)},e.decimalSeparator=function(){return this._decimalSeparator},e.withDecimalSeparator=function(e){return e===this._decimalSeparator?this:new t(this._zeroDigit,this._positiveSign,this._negativeSign,e)},e.convertToDigit=function(t){var e=t.charCodeAt(0)-this._zeroDigitCharCode;return e>=0&&e<=9?e:-1},e.convertNumberToI18N=function(t){if("0"===this._zeroDigit)return t;for(var e=this._zeroDigitCharCode-"0".charCodeAt(0),n="",i=0;i<t.length;i++)n+=String.fromCharCode(t.charCodeAt(i)+e);return n},e.equals=function(e){return this===e||e instanceof t&&(this._zeroDigit===e._zeroDigit&&this._positiveSign===e._positiveSign&&this._negativeSign===e._negativeSign&&this._decimalSeparator===e._decimalSeparator)},e.hashCode=function(){return this._zeroDigit+this._positiveSign+this._negativeSign+this._decimalSeparator},e.toString=function(){return"DecimalStyle["+this._zeroDigit+this._positiveSign+this._negativeSign+this._decimalSeparator+"]"},t.of=function(){throw new Error("not yet supported")},t.availableLocales=function(){throw new Error("not yet supported")},t}();pt.STANDARD=new pt("0","+","-",".");var Ot=function(t){function e(){return t.apply(this,arguments)||this}return h(e,t),e.prototype.parse=function(t,n,i){switch(this){case e.NORMAL:return!t||!n;case e.ALWAYS:case e.EXCEEDS_PAD:return!0;default:return!n&&!i}},e}(N);Ot.NORMAL=new Ot("NORMAL"),Ot.NEVER=new Ot("NEVER"),Ot.ALWAYS=new Ot("ALWAYS"),Ot.EXCEEDS_PAD=new Ot("EXCEEDS_PAD"),Ot.NOT_NEGATIVE=new Ot("NOT_NEGATIVE");var Et=function(t){function e(){return t.apply(this,arguments)||this}h(e,t);var n=e.prototype;return n.isStandalone=function(){switch(this){case e.FULL_STANDALONE:case e.SHORT_STANDALONE:case e.NARROW_STANDALONE:return!0;default:return!1}},n.asStandalone=function(){switch(this){case e.FULL:return e.FULL_STANDALONE;case e.SHORT:return e.SHORT_STANDALONE;case e.NARROW:return e.NARROW_STANDALONE;default:return this}},n.asNormal=function(){switch(this){case e.FULL_STANDALONE:return e.FULL;case e.SHORT_STANDALONE:return e.SHORT;case e.NARROW_STANDALONE:return e.NARROW;default:return this}},e}(N);Et.FULL=new Et("FULL"),Et.FULL_STANDALONE=new Et("FULL_STANDALONE"),Et.SHORT=new Et("SHORT"),Et.SHORT_STANDALONE=new Et("SHORT_STANDALONE"),Et.NARROW=new Et("NARROW"),Et.NARROW_STANDALONE=new Et("NARROW_STANDALONE");var St=function(){function t(t){if(t.length>1)throw new o('invalid literal, too long: "'+t+'"');this._literal=t}var e=t.prototype;return e.print=function(t,e){return e.append(this._literal),!0},e.parse=function(t,e,n){if(n===e.length)return~n;var i=e.charAt(n);return!1===t.charEquals(this._literal,i)?~n:n+this._literal.length},e.toString=function(){return"'"===this._literal?"''":"'"+this._literal+"'"},t}(),mt=function(){function t(t,e){this._printerParsers=t,this._optional=e}var e=t.prototype;return e.withOptional=function(e){return e===this._optional?this:new t(this._printerParsers,e)},e.print=function(t,e){var n=e.length();this._optional&&t.startOptional();try{for(var i=0;i<this._printerParsers.length;i++){if(!1===this._printerParsers[i].print(t,e))return e.setLength(n),!0}}finally{this._optional&&t.endOptional()}return!0},e.parse=function(t,e,n){if(this._optional){t.startOptional();for(var i=n,r=0;r<this._printerParsers.length;r++){if((i=this._printerParsers[r].parse(t,e,i))<0)return t.endOptional(!1),n}return t.endOptional(!0),i}for(var s=0;s<this._printerParsers.length;s++){if((n=this._printerParsers[s].parse(t,e,n))<0)break}return n},e.toString=function(){var t="";if(null!=this._printerParsers){t+=this._optional?"[":"(";for(var e=0;e<this._printerParsers.length;e++){t+=this._printerParsers[e].toString()}t+=this._optional?"]":")"}return t},t}(),Nt=function(){function t(t,e,n,i){if(_(t,"field"),!1===t.range().isFixed())throw new o("Field must have a fixed set of values: "+t);if(e<0||e>9)throw new o("Minimum width must be from 0 to 9 inclusive but was "+e);if(n<1||n>9)throw new o("Maximum width must be from 1 to 9 inclusive but was "+n);if(n<e)throw new o("Maximum width must exceed or equal the minimum width but "+n+" < "+e);this.field=t,this.minWidth=e,this.maxWidth=n,this.decimalPoint=i}var e=t.prototype;return e.print=function(t,e){var n=t.getValue(this.field);if(null===n)return!1;var i=t.symbols();if(0===n){if(this.minWidth>0){this.decimalPoint&&e.append(i.decimalSeparator());for(var r=0;r<this.minWidth;r++)e.append(i.zeroDigit())}}else{var s=this.convertToFraction(n,i.zeroDigit()),o=Math.min(Math.max(s.length,this.minWidth),this.maxWidth);if(1*(s=s.substr(0,o))>0)for(;s.length>this.minWidth&&"0"===s[s.length-1];)s=s.substr(0,s.length-1);var a=s;a=i.convertNumberToI18N(a),this.decimalPoint&&e.append(i.decimalSeparator()),e.append(a)}return!0},e.parse=function(t,e,n){var i=t.isStrict()?this.minWidth:0,r=t.isStrict()?this.maxWidth:9,s=e.length;if(n===s)return i>0?~n:n;if(this.decimalPoint){if(e[n]!==t.symbols().decimalSeparator())return i>0?~n:n;n++}var o=n+i;if(o>s)return~n;for(var a=Math.min(n+r,s),u=0,h=n;h<a;){var f=e.charAt(h++),c=t.symbols().convertToDigit(f);if(c<0){if(h<o)return~n;h--;break}u=10*u+c}var l=h-n,_=Math.pow(10,l),d=this.convertFromFraction(u,_);return t.setParsedField(this.field,d,n,h)},e.convertToFraction=function(t,e){var n=this.field.range();n.checkValidValue(t,this.field);for(var i=n.minimum(),r=n.maximum()-i+1,s=t-i,o=""+m.intDiv(1e9*s,r);o.length<9;)o=e+o;return o},e.convertFromFraction=function(t,e){var n=this.field.range(),i=n.minimum(),r=n.maximum()-i+1;return m.intDiv(t*r,e)},e.toString=function(){var t=this.decimalPoint?",DecimalPoint":"";return"Fraction("+this.field+","+this.minWidth+","+this.maxWidth+t+")"},t}(),Dt=[0,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9],At=function(){function t(t,e,n,i,r){void 0===r&&(r=0),this._field=t,this._minWidth=e,this._maxWidth=n,this._signStyle=i,this._subsequentWidth=r}var e=t.prototype;return e.field=function(){return this._field},e.minWidth=function(){return this._minWidth},e.maxWidth=function(){return this._maxWidth},e.signStyle=function(){return this._signStyle},e.withFixedWidth=function(){return-1===this._subsequentWidth?this:new t(this._field,this._minWidth,this._maxWidth,this._signStyle,-1)},e.withSubsequentWidth=function(e){return new t(this._field,this._minWidth,this._maxWidth,this._signStyle,this._subsequentWidth+e)},e._isFixedWidth=function(){return-1===this._subsequentWidth||this._subsequentWidth>0&&this._minWidth===this._maxWidth&&this._signStyle===Ot.NOT_NEGATIVE},e.print=function(t,e){var i=t.getValue(this._field);if(null==i)return!1;var r=this._getValue(t,i),s=t.symbols(),o=""+Math.abs(r);if(o.length>this._maxWidth)throw new n("Field "+this._field+" cannot be printed as the value "+r+" exceeds the maximum print width of "+this._maxWidth);if(o=s.convertNumberToI18N(o),r>=0)switch(this._signStyle){case Ot.EXCEEDS_PAD:this._minWidth<15&&r>=Dt[this._minWidth]&&e.append(s.positiveSign());break;case Ot.ALWAYS:e.append(s.positiveSign())}else switch(this._signStyle){case Ot.NORMAL:case Ot.EXCEEDS_PAD:case Ot.ALWAYS:e.append(s.negativeSign());break;case Ot.NOT_NEGATIVE:throw new n("Field "+this._field+" cannot be printed as the value "+r+" cannot be negative according to the SignStyle")}for(var a=0;a<this._minWidth-o.length;a++)e.append(s.zeroDigit());return e.append(o),!0},e.parse=function(t,e,n){var i=e.length;if(n===i)return~n;l(n>=0&&n<i);var r=e.charAt(n),o=!1,a=!1;if(r===t.symbols().positiveSign()){if(!1===this._signStyle.parse(!0,t.isStrict(),this._minWidth===this._maxWidth))return~n;a=!0,n++}else if(r===t.symbols().negativeSign()){if(!1===this._signStyle.parse(!1,t.isStrict(),this._minWidth===this._maxWidth))return~n;o=!0,n++}else if(this._signStyle===Ot.ALWAYS&&t.isStrict())return~n;var u=t.isStrict()||this._isFixedWidth()?this._minWidth:1,h=n+u;if(h>i)return~n;for(var f=(t.isStrict()||this._isFixedWidth()?this._maxWidth:9)+Math.max(this._subsequentWidth,0),c=0,_=n,d=0;d<2;d++){for(var p=Math.min(_+f,i);_<p;){var O=e.charAt(_++),E=t.symbols().convertToDigit(O);if(E<0){if(--_<h)return~n;break}if(_-n>15)throw new s("number text exceeds length");c=10*c+E}if(!(this._subsequentWidth>0&&0===d))break;var S=_-n;f=Math.max(u,S-this._subsequentWidth),_=n,c=0}if(o){if(0===c&&t.isStrict())return~(n-1);0!==c&&(c=-c)}else if(this._signStyle===Ot.EXCEEDS_PAD&&t.isStrict()){var m=_-n;if(a){if(m<=this._minWidth)return~(n-1)}else if(m>this._minWidth)return~n}return this._setValue(t,c,n,_)},e._getValue=function(t,e){return e},e._setValue=function(t,e,n,i){return t.setParsedField(this._field,e,n,i)},e.toString=function(){return 1===this._minWidth&&15===this._maxWidth&&this._signStyle===Ot.NORMAL?"Value("+this._field+")":this._minWidth===this._maxWidth&&this._signStyle===Ot.NOT_NEGATIVE?"Value("+this._field+","+this._minWidth+")":"Value("+this._field+","+this._minWidth+","+this._maxWidth+","+this._signStyle+")"},t}(),Tt=function(t){function e(e,i,r,s,a){var u;if(u=t.call(this,e,i,r,Ot.NOT_NEGATIVE)||this,i<1||i>10)throw new o("The width must be from 1 to 10 inclusive but was "+i);if(r<1||r>10)throw new o("The maxWidth must be from 1 to 10 inclusive but was "+r);if(r<i)throw new o("The maxWidth must be greater than the width");if(null===a){if(!1===e.range().isValidValue(s))throw new o("The base value must be within the range of the field");if(s+Dt[i]>m.MAX_SAFE_INTEGER)throw new n("Unable to add printer-parser as the range exceeds the capacity of an int")}return u._baseValue=s,u._baseDate=a,u}h(e,t);var i=e.prototype;return i._getValue=function(t,e){var n=Math.abs(e),i=this._baseValue;null!==this._baseDate&&(t.temporal(),i=$t.INSTANCE.date(this._baseDate).get(this._field));return e>=i&&e<i+Dt[this._minWidth]?n%Dt[this._minWidth]:n%Dt[this._maxWidth]},i._setValue=function(t,e,n,i){var r=this._baseValue;null!=this._baseDate&&(r=t.getEffectiveChronology().date(this._baseDate).get(this._field));if(i-n===this._minWidth&&e>=0){var s=Dt[this._minWidth],o=r-r%s;(e=r>0?o+e:o-e)<r&&(e+=s)}return t.setParsedField(this._field,e,n,i)},i.withFixedWidth=function(){return-1===this._subsequentWidth?this:new e(this._field,this._minWidth,this._maxWidth,this._baseValue,this._baseDate,-1)},i.withSubsequentWidth=function(t){return new e(this._field,this._minWidth,this._maxWidth,this._baseValue,this._baseDate,this._subsequentWidth+t)},i.isFixedWidth=function(e){return!1!==e.isStrict()&&t.prototype.isFixedWidth.call(this,e)},i.toString=function(){return"ReducedValue("+this._field+","+this._minWidth+","+this._maxWidth+","+(null!=this._baseDate?this._baseDate:this._baseValue)+")"},e}(At),vt=["+HH","+HHmm","+HH:mm","+HHMM","+HH:MM","+HHMMss","+HH:MM:ss","+HHMMSS","+HH:MM:SS"],wt=function(){function t(t,e){_(t,"noOffsetText"),_(e,"pattern"),this.noOffsetText=t,this.type=this._checkPattern(e)}var e=t.prototype;return e._checkPattern=function(t){for(var e=0;e<vt.length;e++)if(vt[e]===t)return e;throw new o("Invalid zone offset pattern: "+t)},e.print=function(t,e){var n=t.getValue(R.OFFSET_SECONDS);if(null==n)return!1;var i=m.safeToInt(n);if(0===i)e.append(this.noOffsetText);else{var r=Math.abs(m.intMod(m.intDiv(i,3600),100)),s=Math.abs(m.intMod(m.intDiv(i,60),60)),o=Math.abs(m.intMod(i,60)),a=e.length(),u=r;e.append(i<0?"-":"+").appendChar(m.intDiv(r,10)+"0").appendChar(m.intMod(r,10)+"0"),(this.type>=3||this.type>=1&&s>0)&&(e.append(this.type%2==0?":":"").appendChar(m.intDiv(s,10)+"0").appendChar(s%10+"0"),u+=s,(this.type>=7||this.type>=5&&o>0)&&(e.append(this.type%2==0?":":"").appendChar(m.intDiv(o,10)+"0").appendChar(o%10+"0"),u+=o)),0===u&&(e.setLength(a),e.append(this.noOffsetText))}return!0},e.parse=function(t,e,n){var i=e.length,r=this.noOffsetText.length;if(0===r){if(n===i)return t.setParsedField(R.OFFSET_SECONDS,0,n,n)}else{if(n===i)return~n;if(t.subSequenceEquals(e,n,this.noOffsetText,0,r))return t.setParsedField(R.OFFSET_SECONDS,0,n,n+r)}var s=e[n];if("+"===s||"-"===s){var o="-"===s?-1:1,a=[0,0,0,0];if(a[0]=n+1,!1===(this._parseNumber(a,1,e,!0)||this._parseNumber(a,2,e,this.type>=3)||this._parseNumber(a,3,e,!1))){var u=m.safeZero(o*(3600*a[1]+60*a[2]+a[3]));return t.setParsedField(R.OFFSET_SECONDS,u,n,a[0])}}return 0===r?t.setParsedField(R.OFFSET_SECONDS,0,n,n+r):~n},e._parseNumber=function(t,e,n,i){if((this.type+3)/2<e)return!1;var r=t[0];if(this.type%2==0&&e>1){if(r+1>n.length||":"!==n[r])return i;r++}if(r+2>n.length)return i;var s=n[r++],o=n[r++];if(s<"0"||s>"9"||o<"0"||o>"9")return i;var a=10*(s.charCodeAt(0)-48)+(o.charCodeAt(0)-48);return a<0||a>59?i:(t[e]=a,t[0]=r,!1)},e.toString=function(){var t=this.noOffsetText.replace("'","''");return"Offset("+vt[this.type]+",'"+t+"')"},t}();wt.INSTANCE_ID=new wt("Z","+HH:MM:ss"),wt.PATTERNS=vt;var yt=function(){function t(t,e,n){this._printerParser=t,this._padWidth=e,this._padChar=n}var e=t.prototype;return e.print=function(t,e){var i=e.length();if(!1===this._printerParser.print(t,e))return!1;var r=e.length()-i;if(r>this._padWidth)throw new n("Cannot print as output of "+r+" characters exceeds pad width of "+this._padWidth);for(var s=0;s<this._padWidth-r;s++)e.insert(i,this._padChar);return!0},e.parse=function(t,e,n){var i=t.isStrict(),r=t.isCaseSensitive();if(l(!(n>e.length)),l(n>=0),n===e.length)return~n;var s=n+this._padWidth;if(s>e.length){if(i)return~n;s=e.length}for(var o=n;o<s&&(r?e[o]===this._padChar:t.charEquals(e[o],this._padChar));)o++;e=e.substring(0,s);var a=this._printerParser.parse(t,e,o);return a!==s&&i?~(n+o):a},e.toString=function(){return"Pad("+this._printerParser+","+this._padWidth+(" "===this._padChar?")":",'"+this._padChar+"')")},t}(),Mt=function(t){function e(){return t.apply(this,arguments)||this}h(e,t);var n=e.prototype;return n.print=function(){return!0},n.parse=function(t,n,i){switch(this){case e.SENSITIVE:t.setCaseSensitive(!0);break;case e.INSENSITIVE:t.setCaseSensitive(!1);break;case e.STRICT:t.setStrict(!0);break;case e.LENIENT:t.setStrict(!1)}return i},n.toString=function(){switch(this){case e.SENSITIVE:return"ParseCaseSensitive(true)";case e.INSENSITIVE:return"ParseCaseSensitive(false)";case e.STRICT:return"ParseStrict(true)";case e.LENIENT:return"ParseStrict(false)"}},e}(N);Mt.SENSITIVE=new Mt("SENSITIVE"),Mt.INSENSITIVE=new Mt("INSENSITIVE"),Mt.STRICT=new Mt("STRICT"),Mt.LENIENT=new Mt("LENIENT");var Rt=function(){function t(t){this._literal=t}var e=t.prototype;return e.print=function(t,e){return e.append(this._literal),!0},e.parse=function(t,e,n){return l(!(n>e.length||n<0)),!1===t.subSequenceEquals(e,n,this._literal,0,this._literal.length)?~n:n+this._literal.length},e.toString=function(){return"'"+this._literal.replace("'","''")+"'"},t}(),gt=function(){function t(){}return t.getRules=function(t){throw new n("unsupported ZoneId:"+t)},t.getAvailableZoneIds=function(){return[]},t}(),It=function(t){function e(e,n){var i;return(i=t.call(this)||this)._id=e,i._rules=n,i}h(e,t),e.ofId=function(t){return new e(t,gt.getRules(t))};var n=e.prototype;return n.id=function(){return this._id},n.rules=function(){return this._rules},e}(Z),Ft=function(){function t(t,e){this.query=t,this.description=e}var e=t.prototype;return e.print=function(t,e){var n=t.getValueQuery(this.query);return null!=n&&(e.append(n.id()),!0)},e.parse=function(t,e,n){var i=e.length;if(n>i)return~n;if(n===i)return~n;var r=e.charAt(n);if("+"===r||"-"===r){var s=t.copy(),o=wt.INSTANCE_ID.parse(s,e,n);if(o<0)return o;var a=s.getParsed(R.OFFSET_SECONDS),u=X.ofTotalSeconds(a);return t.setParsedZone(u),o}if(i>=n+2){var h=e.charAt(n+1);if(t.charEquals(r,"U")&&t.charEquals(h,"T"))return i>=n+3&&t.charEquals(e.charAt(n+2),"C")?this._parsePrefixedOffset(t,e,n,n+3):this._parsePrefixedOffset(t,e,n,n+2);if(t.charEquals(r,"G")&&i>=n+3&&t.charEquals(h,"M")&&t.charEquals(e.charAt(n+2),"T"))return this._parsePrefixedOffset(t,e,n,n+3)}if("SYSTEM"===e.substr(n,6))return t.setParsedZone(Z.systemDefault()),n+6;if(t.charEquals(r,"Z"))return t.setParsedZone(X.UTC),n+1;var f=gt.getAvailableZoneIds();Lt.size!==f.length&&(Lt=Yt.createTreeMap(f));for(var c=i-n,l=Lt.treeMap,_=null,d=0;null!=l;){var p=e.substr(n,Math.min(l.length,c));null!=(l=l.get(p))&&l.isLeaf&&(_=p,d=l.length)}return null!=_?(t.setParsedZone(It.ofId(_)),n+d):~n},e._parsePrefixedOffset=function(t,e,n,i){var r=e.substring(n,i).toUpperCase(),s=t.copy();if(i<e.length&&t.charEquals(e.charAt(i),"Z"))return t.setParsedZone(Z.ofOffset(r,X.UTC)),i;var o=wt.INSTANCE_ID.parse(s,e,i);if(o<0)return t.setParsedZone(Z.ofOffset(r,X.UTC)),i;var a=s.getParsed(R.OFFSET_SECONDS),u=X.ofTotalSeconds(a);return t.setParsedZone(Z.ofOffset(r,u)),o},e.toString=function(){return this.description},t}(),Yt=function(){function t(t,e){this.size=t,this.treeMap=e}return t.createTreeMap=function(e){for(var n=e.sort((function(t,e){return t.length-e.length})),i=new Ct(n[0].length,!1),r=0;r<n.length;r++)i.add(n[r]);return new t(n.length,i)},t}(),Ct=function(){function t(t,e){void 0===t&&(t=0),void 0===e&&(e=!1),this.length=t,this.isLeaf=e,this._treeMap={}}var e=t.prototype;return e.add=function(e){var n=e.length;if(n===this.length)this._treeMap[e]=new t(n,!0);else if(n>this.length){var i=e.substr(0,this.length),r=this._treeMap[i];null==r&&(r=new t(n,!1),this._treeMap[i]=r),r.add(e)}},e.get=function(t){return this._treeMap[t]},t}(),Lt=new Yt([]),Pt=15,Ut=function(){function t(){this._active=this,this._parent=null,this._printerParsers=[],this._optional=!1,this._padNextWidth=0,this._padNextChar=null,this._valueParserIndex=-1}t._of=function(e,n){_(e,"parent"),_(n,"optional");var i=new t;return i._parent=e,i._optional=n,i};var e=t.prototype;return e.parseCaseSensitive=function(){return this._appendInternalPrinterParser(Mt.SENSITIVE),this},e.parseCaseInsensitive=function(){return this._appendInternalPrinterParser(Mt.INSENSITIVE),this},e.parseStrict=function(){return this._appendInternalPrinterParser(Mt.STRICT),this},e.parseLenient=function(){return this._appendInternalPrinterParser(Mt.LENIENT),this},e.appendValue=function(){return 1===arguments.length?this._appendValue1.apply(this,arguments):2===arguments.length?this._appendValue2.apply(this,arguments):this._appendValue4.apply(this,arguments)},e._appendValue1=function(t){return _(t),this._appendValuePrinterParser(new At(t,1,Pt,Ot.NORMAL)),this},e._appendValue2=function(t,e){if(_(t),e<1||e>Pt)throw new o("The width must be from 1 to 15 inclusive but was "+e);var n=new At(t,e,e,Ot.NOT_NEGATIVE);return this._appendValuePrinterParser(n),this},e._appendValue4=function(t,e,n,i){if(_(t),_(i),e===n&&i===Ot.NOT_NEGATIVE)return this._appendValue2(t,n);if(e<1||e>Pt)throw new o("The minimum width must be from 1 to 15 inclusive but was "+e);if(n<1||n>Pt)throw new o("The minimum width must be from 1 to 15 inclusive but was "+n);if(n<e)throw new o("The maximum width must exceed or equal the minimum width but "+n+" < "+e);var r=new At(t,e,n,i);return this._appendValuePrinterParser(r),this},e.appendValueReduced=function(){return 4===arguments.length&&arguments[3]instanceof B?this._appendValueReducedFieldWidthMaxWidthBaseDate.apply(this,arguments):this._appendValueReducedFieldWidthMaxWidthBaseValue.apply(this,arguments)},e._appendValueReducedFieldWidthMaxWidthBaseValue=function(t,e,n,i){_(t,"field");var r=new Tt(t,e,n,i,null);return this._appendValuePrinterParser(r),this},e._appendValueReducedFieldWidthMaxWidthBaseDate=function(t,e,n,i){_(t,"field"),_(i,"baseDate"),d(i,B,"baseDate");var r=new Tt(t,e,n,0,i);return this._appendValuePrinterParser(r),this},e._appendValuePrinterParser=function(t){if(l(null!=t),this._active._valueParserIndex>=0&&this._active._printerParsers[this._active._valueParserIndex]instanceof At){var e=this._active._valueParserIndex,n=this._active._printerParsers[e];t.minWidth()===t.maxWidth()&&t.signStyle()===Ot.NOT_NEGATIVE?(n=n.withSubsequentWidth(t.maxWidth()),this._appendInternal(t.withFixedWidth()),this._active._valueParserIndex=e):(n=n.withFixedWidth(),this._active._valueParserIndex=this._appendInternal(t)),this._active._printerParsers[e]=n}else this._active._valueParserIndex=this._appendInternal(t);return this},e.appendFraction=function(t,e,n,i){return this._appendInternal(new Nt(t,e,n,i)),this},e.appendInstant=function(t){if(void 0===t&&(t=-2),t<-2||t>9)throw new o("Invalid fractional digits: "+t);return this._appendInternal(new Ht(t)),this},e.appendOffsetId=function(){return this._appendInternal(wt.INSTANCE_ID),this},e.appendOffset=function(t,e){return this._appendInternalPrinterParser(new wt(e,t)),this},e.appendZoneId=function(){return this._appendInternal(new Ft(g.zoneId(),"ZoneId()")),this},e.appendPattern=function(t){return _(t,"pattern"),this._parsePattern(t),this},e.appendZoneText=function(){throw new o("Pattern using (localized) text not implemented, use @js-joda/locale plugin!")},e.appendText=function(){throw new o("Pattern using (localized) text not implemented, use @js-joda/locale plugin!")},e.appendLocalizedOffset=function(){throw new o("Pattern using (localized) text not implemented, use @js-joda/locale plugin!")},e.appendWeekField=function(){throw new o("Pattern using (localized) text not implemented, use @js-joda/locale plugin!")},e._parsePattern=function(t){for(var e={G:R.ERA,y:R.YEAR_OF_ERA,u:R.YEAR,Q:et.QUARTER_OF_YEAR,q:et.QUARTER_OF_YEAR,M:R.MONTH_OF_YEAR,L:R.MONTH_OF_YEAR,D:R.DAY_OF_YEAR,d:R.DAY_OF_MONTH,F:R.ALIGNED_DAY_OF_WEEK_IN_MONTH,E:R.DAY_OF_WEEK,c:R.DAY_OF_WEEK,e:R.DAY_OF_WEEK,a:R.AMPM_OF_DAY,H:R.HOUR_OF_DAY,k:R.CLOCK_HOUR_OF_DAY,K:R.HOUR_OF_AMPM,h:R.CLOCK_HOUR_OF_AMPM,m:R.MINUTE_OF_HOUR,s:R.SECOND_OF_MINUTE,S:R.NANO_OF_SECOND,A:R.MILLI_OF_DAY,n:R.NANO_OF_SECOND,N:R.NANO_OF_DAY},n=0;n<t.length;n++){var i=t.charAt(n);if(i>="A"&&i<="Z"||i>="a"&&i<="z"){for(var r=n++;n<t.length&&t.charAt(n)===i;n++);var s=n-r;if("p"===i){var a=0;if(n<t.length&&((i=t.charAt(n))>="A"&&i<="Z"||i>="a"&&i<="z")){for(a=s,r=n++;n<t.length&&t.charAt(n)===i;n++);s=n-r}if(0===a)throw new o("Pad letter 'p' must be followed by valid pad pattern: "+t);this.padNext(a)}var u=e[i];if(null!=u)this._parseField(i,s,u);else if("z"===i){if(s>4)throw new o("Too many pattern letters: "+i);4===s?this.appendZoneText(Et.FULL):this.appendZoneText(Et.SHORT)}else if("V"===i){if(2!==s)throw new o("Pattern letter count must be 2: "+i);this.appendZoneId()}else if("Z"===i)if(s<4)this.appendOffset("+HHMM","+0000");else if(4===s)this.appendLocalizedOffset(Et.FULL);else{if(5!==s)throw new o("Too many pattern letters: "+i);this.appendOffset("+HH:MM:ss","Z")}else if("O"===i)if(1===s)this.appendLocalizedOffset(Et.SHORT);else{if(4!==s)throw new o("Pattern letter count must be 1 or 4: "+i);this.appendLocalizedOffset(Et.FULL)}else if("X"===i){if(s>5)throw new o("Too many pattern letters: "+i);this.appendOffset(wt.PATTERNS[s+(1===s?0:1)],"Z")}else if("x"===i){if(s>5)throw new o("Too many pattern letters: "+i);var h=1===s?"+00":s%2==0?"+0000":"+00:00";this.appendOffset(wt.PATTERNS[s+(1===s?0:1)],h)}else if("W"===i){if(s>1)throw new o("Too many pattern letters: "+i);this.appendWeekField("W",s)}else if("w"===i){if(s>2)throw new o("Too many pattern letters: "+i);this.appendWeekField("w",s)}else{if("Y"!==i)throw new o("Unknown pattern letter: "+i);this.appendWeekField("Y",s)}n--}else if("'"===i){for(var f=n++;n<t.length;n++)if("'"===t.charAt(n)){if(!(n+1<t.length&&"'"===t.charAt(n+1)))break;n++}if(n>=t.length)throw new o("Pattern ends with an incomplete string literal: "+t);var c=t.substring(f+1,n);0===c.length?this.appendLiteral("'"):this.appendLiteral(c.replace("''","'"))}else if("["===i)this.optionalStart();else if("]"===i){if(null===this._active._parent)throw new o("Pattern invalid as it contains ] without previous [");this.optionalEnd()}else{if("{"===i||"}"===i||"#"===i)throw new o("Pattern includes reserved character: '"+i+"'");this.appendLiteral(i)}}},e._parseField=function(t,e,n){switch(t){case"u":case"y":2===e?this.appendValueReduced(n,2,2,Tt.BASE_DATE):e<4?this.appendValue(n,e,Pt,Ot.NORMAL):this.appendValue(n,e,Pt,Ot.EXCEEDS_PAD);break;case"M":case"Q":switch(e){case 1:this.appendValue(n);break;case 2:this.appendValue(n,2);break;case 3:this.appendText(n,Et.SHORT);break;case 4:this.appendText(n,Et.FULL);break;case 5:this.appendText(n,Et.NARROW);break;default:throw new o("Too many pattern letters: "+t)}break;case"L":case"q":switch(e){case 1:this.appendValue(n);break;case 2:this.appendValue(n,2);break;case 3:this.appendText(n,Et.SHORT_STANDALONE);break;case 4:this.appendText(n,Et.FULL_STANDALONE);break;case 5:this.appendText(n,Et.NARROW_STANDALONE);break;default:throw new o("Too many pattern letters: "+t)}break;case"e":switch(e){case 1:case 2:this.appendWeekField("e",e);break;case 3:this.appendText(n,Et.SHORT);break;case 4:this.appendText(n,Et.FULL);break;case 5:this.appendText(n,Et.NARROW);break;default:throw new o("Too many pattern letters: "+t)}break;case"c":switch(e){case 1:this.appendWeekField("c",e);break;case 2:throw new o("Invalid number of pattern letters: "+t);case 3:this.appendText(n,Et.SHORT_STANDALONE);break;case 4:this.appendText(n,Et.FULL_STANDALONE);break;case 5:this.appendText(n,Et.NARROW_STANDALONE);break;default:throw new o("Too many pattern letters: "+t)}break;case"a":if(1!==e)throw new o("Too many pattern letters: "+t);this.appendText(n,Et.SHORT);break;case"E":case"G":switch(e){case 1:case 2:case 3:this.appendText(n,Et.SHORT);break;case 4:this.appendText(n,Et.FULL);break;case 5:this.appendText(n,Et.NARROW);break;default:throw new o("Too many pattern letters: "+t)}break;case"S":this.appendFraction(R.NANO_OF_SECOND,e,e,!1);break;case"F":if(1!==e)throw new o("Too many pattern letters: "+t);this.appendValue(n);break;case"d":case"h":case"H":case"k":case"K":case"m":case"s":if(1===e)this.appendValue(n);else{if(2!==e)throw new o("Too many pattern letters: "+t);this.appendValue(n,e)}break;case"D":if(1===e)this.appendValue(n);else{if(!(e<=3))throw new o("Too many pattern letters: "+t);this.appendValue(n,e)}break;default:1===e?this.appendValue(n):this.appendValue(n,e)}},e.padNext=function(){return 1===arguments.length?this._padNext1.apply(this,arguments):this._padNext2.apply(this,arguments)},e._padNext1=function(t){return this._padNext2(t," ")},e._padNext2=function(t,e){if(t<1)throw new o("The pad width must be at least one but was "+t);return this._active._padNextWidth=t,this._active._padNextChar=e,this._active._valueParserIndex=-1,this},e.optionalStart=function(){return this._active._valueParserIndex=-1,this._active=t._of(this._active,!0),this},e.optionalEnd=function(){if(null==this._active._parent)throw new a("Cannot call optionalEnd() as there was no previous call to optionalStart()");if(this._active._printerParsers.length>0){var t=new mt(this._active._printerParsers,this._active._optional);this._active=this._active._parent,this._appendInternal(t)}else this._active=this._active._parent;return this},e._appendInternal=function(t){return l(null!=t),this._active._padNextWidth>0&&(null!=t&&(t=new yt(t,this._active._padNextWidth,this._active._padNextChar)),this._active._padNextWidth=0,this._active._padNextChar=0),this._active._printerParsers.push(t),this._active._valueParserIndex=-1,this._active._printerParsers.length-1},e.appendLiteral=function(t){return l(null!=t),t.length>0&&(1===t.length?this._appendInternalPrinterParser(new St(t.charAt(0))):this._appendInternalPrinterParser(new Rt(t))),this},e._appendInternalPrinterParser=function(t){return l(null!=t),this._active._padNextWidth>0&&(null!=t&&(t=new yt(t,this._active._padNextWidth,this._active._padNextChar)),this._active._padNextWidth=0,this._active._padNextChar=0),this._active._printerParsers.push(t),this._active._valueParserIndex=-1,this._active._printerParsers.length-1},e.append=function(t){return _(t,"formatter"),this._appendInternal(t._toPrinterParser(!1)),this},e.toFormatter=function(t){for(void 0===t&&(t=x.SMART);null!=this._active._parent;)this.optionalEnd();var e=new mt(this._printerParsers,!1);return new xt(e,null,pt.STANDARD,t,null,null,null)},t}(),Vt=31556952e4,bt=62167219200,Ht=function(){function t(t){this.fractionalDigits=t}var e=t.prototype;return e.print=function(t,e){var n=t.getValue(R.INSTANT_SECONDS),i=0;if(t.temporal().isSupported(R.NANO_OF_SECOND)&&(i=t.temporal().getLong(R.NANO_OF_SECOND)),null==n)return!1;var r=n,s=R.NANO_OF_SECOND.checkValidIntValue(i);if(r>=-62167219200){var o=r-Vt+bt,a=m.floorDiv(o,Vt)+1,u=m.floorMod(o,Vt),h=ue.ofEpochSecond(u-bt,0,X.UTC);a>0&&e.append("+").append(a),e.append(h.toString()),0===h.second()&&e.append(":00")}else{var f=r+bt,c=m.intDiv(f,Vt),l=m.intMod(f,Vt),_=ue.ofEpochSecond(l-bt,0,X.UTC),d=e.length();e.append(_.toString()),0===_.second()&&e.append(":00"),c<0&&(-1e4===_.year()?e.replace(d,d+2,""+(c-1)):0===l?e.insert(d,c):e.insert(d+1,Math.abs(c)))}if(-2===this.fractionalDigits)0!==s&&(e.append("."),0===m.intMod(s,1e6)?e.append((""+(m.intDiv(s,1e6)+1e3)).substring(1)):0===m.intMod(s,1e3)?e.append((""+(m.intDiv(s,1e3)+1e6)).substring(1)):e.append((""+(s+1e9)).substring(1)));else if(this.fractionalDigits>0||-1===this.fractionalDigits&&s>0){e.append(".");for(var p=1e8,O=0;-1===this.fractionalDigits&&s>0||O<this.fractionalDigits;O++){var E=m.intDiv(s,p);e.append(E),s-=E*p,p=m.intDiv(p,10)}}return e.append("Z"),!0},e.parse=function(t,e,n){var i=t.copy(),r=this.fractionalDigits<0?0:this.fractionalDigits,s=this.fractionalDigits<0?9:this.fractionalDigits,o=(new Ut).append(xt.ISO_LOCAL_DATE).appendLiteral("T").appendValue(R.HOUR_OF_DAY,2).appendLiteral(":").appendValue(R.MINUTE_OF_HOUR,2).appendLiteral(":").appendValue(R.SECOND_OF_MINUTE,2).appendFraction(R.NANO_OF_SECOND,r,s,!0).appendLiteral("Z").toFormatter()._toPrinterParser(!1).parse(i,e,n);if(o<0)return o;var a,u=i.getParsed(R.YEAR),h=i.getParsed(R.MONTH_OF_YEAR),f=i.getParsed(R.DAY_OF_MONTH),c=i.getParsed(R.HOUR_OF_DAY),l=i.getParsed(R.MINUTE_OF_HOUR),_=i.getParsed(R.SECOND_OF_MINUTE),d=i.getParsed(R.NANO_OF_SECOND),p=null!=_?_:0,O=null!=d?d:0,E=m.intMod(u,1e4),S=0;24===c&&0===l&&0===p&&0===O?(c=0,S=1):23===c&&59===l&&60===p&&(t.setParsedLeapSecond(),p=59);try{a=ue.of(E,h,f,c,l,p,0).plusDays(S).toEpochSecond(X.UTC),a+=m.safeMultiply(m.intDiv(u,1e4),Vt)}catch(t){return~n}var N=o;return N=t.setParsedField(R.INSTANT_SECONDS,a,n,N),t.setParsedField(R.NANO_OF_SECOND,O,n,N)},e.toString=function(){return"Instant()"},t}();var Wt=function(){function t(){this._str=""}var e=t.prototype;return e.append=function(t){return this._str+=t,this},e.appendChar=function(t){return this._str+=t[0],this},e.insert=function(t,e){return this._str=this._str.slice(0,t)+e+this._str.slice(t),this},e.replace=function(t,e,n){return this._str=this._str.slice(0,t)+n+this._str.slice(e),this},e.length=function(){return this._str.length},e.setLength=function(t){return this._str=this._str.slice(0,t),this},e.toString=function(){return this._str},t}(),xt=function(){function t(t,e,n,i,r,s,o){void 0===s&&(s=$t.INSTANCE),l(null!=t),l(null!=n),l(null!=i),this._printerParser=t,this._locale=e,this._decimalStyle=n,this._resolverStyle=i,this._resolverFields=r,this._chrono=s,this._zone=o}t.parsedExcessDays=function(){return t.PARSED_EXCESS_DAYS},t.parsedLeapSecond=function(){return t.PARSED_LEAP_SECOND},t.ofPattern=function(t){return(new Ut).appendPattern(t).toFormatter()};var e=t.prototype;return e.locale=function(){return this._locale},e.decimalStyle=function(){return this._decimalStyle},e.chronology=function(){return this._chrono},e.withChronology=function(e){return null!=this._chrono&&this._chrono.equals(e)?this:new t(this._printerParser,this._locale,this._decimalStyle,this._resolverStyle,this._resolverFields,e,this._zone)},e.withLocale=function(){return this},e.withResolverStyle=function(e){return _(e,"resolverStyle"),e.equals(this._resolverStyle)?this:new t(this._printerParser,this._locale,this._decimalStyle,e,this._resolverFields,this._chrono,this._zone)},e.format=function(t){var e=new Wt(32);return this._formatTo(t,e),e.toString()},e._formatTo=function(t,e){_(t,"temporal"),_(e,"appendable");var n=new tt(t,this);this._printerParser.print(n,e)},e.parse=function(t,e){return 1===arguments.length?this.parse1(t):this.parse2(t,e)},e.parse1=function(t){_(t,"text");try{return this._parseToBuilder(t,null).resolve(this._resolverStyle,this._resolverFields)}catch(e){throw e instanceof i?e:this._createError(t,e)}},e.parse2=function(t,e){_(t,"text"),_(e,"type");try{return this._parseToBuilder(t,null).resolve(this._resolverStyle,this._resolverFields).build(e)}catch(e){throw e instanceof i?e:this._createError(t,e)}},e._createError=function(t,e){var n="";return n=t.length>64?t.substring(0,64)+"...":t,new i("Text '"+n+"' could not be parsed: "+e.message,t,0,e)},e._parseToBuilder=function(t,e){var n=null!=e?e:new H(0),r=this._parseUnresolved0(t,n);if(null==r||n.getErrorIndex()>=0||null==e&&n.getIndex()<t.length){var s="";throw s=t.length>64?t.substr(0,64).toString()+"...":t,n.getErrorIndex()>=0?new i("Text '"+s+"' could not be parsed at index "+n.getErrorIndex(),t,n.getErrorIndex()):new i("Text '"+s+"' could not be parsed, unparsed text found at index "+n.getIndex(),t,n.getIndex())}return r.toBuilder()},e.parseUnresolved=function(t,e){return this._parseUnresolved0(t,e)},e._parseUnresolved0=function(t,e){l(null!=t,"text",u),l(null!=e,"position",u);var n=new Q(this),i=e.getIndex();return(i=this._printerParser.parse(n,t,i))<0?(e.setErrorIndex(~i),null):(e.setIndex(i),n.toParsed())},e._toPrinterParser=function(t){return this._printerParser.withOptional(t)},e.toString=function(){var t=this._printerParser.toString();return 0===t.indexOf("[")?t:t.substring(1,t.length-1)},t}();var kt,Bt=function(t){function e(e,n){var i;return(i=t.call(this)||this)._month=m.safeToInt(e),i._day=m.safeToInt(n),i}h(e,t),e.now=function(t){return 0===arguments.length?e.now0():1===arguments.length&&t instanceof Z?e.nowZoneId(t):e.nowClock(t)},e.now0=function(){return this.nowClock(le.systemDefaultZone())},e.nowZoneId=function(t){return _(t,"zone"),this.nowClock(le.system(t))},e.nowClock=function(t){_(t,"clock");var n=oe.now(t);return e.of(n.month(),n.dayOfMonth())},e.of=function(t,n){return 2===arguments.length&&t instanceof U?e.ofMonthNumber(t,n):e.ofNumberNumber(t,n)},e.ofMonthNumber=function(t,i){if(_(t,"month"),R.DAY_OF_MONTH.checkValidValue(i),i>t.maxLength())throw new n("Illegal value for DayOfMonth field, value "+i+" is not valid for month "+t.toString());return new e(t.value(),i)},e.ofNumberNumber=function(t,n){return _(t,"month"),_(n,"dayOfMonth"),e.of(U.of(t),n)},e.from=function(t){if(_(t,"temporal"),d(t,I,"temporal"),t instanceof e)return t;try{return e.of(t.get(R.MONTH_OF_YEAR),t.get(R.DAY_OF_MONTH))}catch(e){throw new n("Unable to obtain MonthDay from TemporalAccessor: "+t+", type "+(t&&null!=t.constructor?t.constructor.name:""))}},e.parse=function(t,n){return 1===arguments.length?e.parseString(t):e.parseStringFormatter(t,n)},e.parseString=function(t){return e.parseStringFormatter(t,kt)},e.parseStringFormatter=function(t,n){return _(t,"text"),_(n,"formatter"),d(n,xt,"formatter"),n.parse(t,e.FROM)};var i=e.prototype;return i.monthValue=function(){return this._month},i.month=function(){return U.of(this._month)},i.dayOfMonth=function(){return this._day},i.isSupported=function(t){return t instanceof R?t===R.MONTH_OF_YEAR||t===R.DAY_OF_MONTH:null!=t&&t.isSupportedBy(this)},i.range=function(e){return e===R.MONTH_OF_YEAR?e.range():e===R.DAY_OF_MONTH?M.of(1,this.month().minLength(),this.month().maxLength()):t.prototype.range.call(this,e)},i.get=function(t){return this.range(t).checkValidIntValue(this.getLong(t),t)},i.getLong=function(t){if(_(t,"field"),t instanceof R){switch(t){case R.DAY_OF_MONTH:return this._day;case R.MONTH_OF_YEAR:return this._month}throw new r("Unsupported field: "+t)}return t.getFrom(this)},i.isValidYear=function(t){return!1==(29===this._day&&2===this._month&&!1===Kt.isLeap(t))},i.withMonth=function(t){return this.with(U.of(t))},i.with=function(t){if(_(t,"month"),t.value()===this._month)return this;var n=Math.min(this._day,t.maxLength());return new e(t.value(),n)},i.withDayOfMonth=function(t){return t===this._day?this:e.of(this._month,t)},i.query=function(e){return _(e,"query"),d(e,F,"query"),e===g.chronology()?$t.INSTANCE:t.prototype.query.call(this,e)},i.adjustInto=function(t){return _(t,"temporal"),(t=t.with(R.MONTH_OF_YEAR,this._month)).with(R.DAY_OF_MONTH,Math.min(t.range(R.DAY_OF_MONTH).maximum(),this._day))},i.atYear=function(t){return oe.of(t,this._month,this.isValidYear(t)?this._day:28)},i.compareTo=function(t){_(t,"other"),d(t,e,"other");var n=this._month-t.monthValue();return 0===n&&(n=this._day-t.dayOfMonth()),n},i.isAfter=function(t){return _(t,"other"),d(t,e,"other"),this.compareTo(t)>0},i.isBefore=function(t){return _(t,"other"),d(t,e,"other"),this.compareTo(t)<0},i.equals=function(t){if(this===t)return!0;if(t instanceof e){var n=t;return this.monthValue()===n.monthValue()&&this.dayOfMonth()===n.dayOfMonth()}return!1},i.toString=function(){return"--"+(this._month<10?"0":"")+this._month+(this._day<10?"-0":"-")+this._day},i.toJSON=function(){return this.toString()},i.format=function(t){return _(t,"formatter"),d(t,xt,"formatter"),t.format(this)},e}(I);var qt,Zt=function(t){function e(e,n){var i;return(i=t.call(this)||this)._year=m.safeToInt(e),i._month=m.safeToInt(n),i}h(e,t),e.now=function(t){return 0===arguments.length?e.now0():1===arguments.length&&t instanceof Z?e.nowZoneId(t):e.nowClock(t)},e.now0=function(){return e.nowClock(le.systemDefaultZone())},e.nowZoneId=function(t){return e.nowClock(le.system(t))},e.nowClock=function(t){var n=oe.now(t);return e.of(n.year(),n.month())},e.of=function(t,n){return 2===arguments.length&&n instanceof U?e.ofNumberMonth(t,n):e.ofNumberNumber(t,n)},e.ofNumberMonth=function(t,n){return _(n,"month"),d(n,U,"month"),e.ofNumberNumber(t,n.value())},e.ofNumberNumber=function(t,n){return _(t,"year"),_(n,"month"),R.YEAR.checkValidValue(t),R.MONTH_OF_YEAR.checkValidValue(n),new e(t,n)},e.from=function(t){if(_(t,"temporal"),t instanceof e)return t;try{return e.of(t.get(R.YEAR),t.get(R.MONTH_OF_YEAR))}catch(e){throw new n("Unable to obtain YearMonth from TemporalAccessor: "+t+", type "+(t&&null!=t.constructor?t.constructor.name:""))}},e.parse=function(t,n){return 1===arguments.length?e.parseString(t):e.parseStringFormatter(t,n)},e.parseString=function(t){return e.parseStringFormatter(t,qt)},e.parseStringFormatter=function(t,n){return _(n,"formatter"),n.parse(t,e.FROM)};var i=e.prototype;return i.isSupported=function(t){return 1===arguments.length&&t instanceof y?this.isSupportedField(t):this.isSupportedUnit(t)},i.isSupportedField=function(t){return t instanceof R?t===R.YEAR||t===R.MONTH_OF_YEAR||t===R.PROLEPTIC_MONTH||t===R.YEAR_OF_ERA||t===R.ERA:null!=t&&t.isSupportedBy(this)},i.isSupportedUnit=function(t){return t instanceof w?t===w.MONTHS||t===w.YEARS||t===w.DECADES||t===w.CENTURIES||t===w.MILLENNIA||t===w.ERAS:null!=t&&t.isSupportedBy(this)},i.range=function(e){return e===R.YEAR_OF_ERA?this.year()<=0?M.of(1,Kt.MAX_VALUE+1):M.of(1,Kt.MAX_VALUE):t.prototype.range.call(this,e)},i.get=function(t){return _(t,"field"),d(t,y,"field"),this.range(t).checkValidIntValue(this.getLong(t),t)},i.getLong=function(t){if(_(t,"field"),d(t,y,"field"),t instanceof R){switch(t){case R.MONTH_OF_YEAR:return this._month;case R.PROLEPTIC_MONTH:return this._getProlepticMonth();case R.YEAR_OF_ERA:return this._year<1?1-this._year:this._year;case R.YEAR:return this._year;case R.ERA:return this._year<1?0:1}throw new r("Unsupported field: "+t)}return t.getFrom(this)},i._getProlepticMonth=function(){return m.safeAdd(m.safeMultiply(this._year,12),this._month-1)},i.year=function(){return this._year},i.monthValue=function(){return this._month},i.month=function(){return U.of(this._month)},i.isLeapYear=function(){return $t.isLeapYear(this._year)},i.isValidDay=function(t){return t>=1&&t<=this.lengthOfMonth()},i.lengthOfMonth=function(){return this.month().length(this.isLeapYear())},i.lengthOfYear=function(){return this.isLeapYear()?366:365},i.with=function(t,e){return 1===arguments.length?this._withAdjuster(t):this._withField(t,e)},i._withField=function(t,e){if(_(t,"field"),d(t,y,"field"),t instanceof R){var n=t;switch(n.checkValidValue(e),n){case R.MONTH_OF_YEAR:return this.withMonth(e);case R.PROLEPTIC_MONTH:return this.plusMonths(e-this.getLong(R.PROLEPTIC_MONTH));case R.YEAR_OF_ERA:return this.withYear(this._year<1?1-e:e);case R.YEAR:return this.withYear(e);case R.ERA:return this.getLong(R.ERA)===e?this:this.withYear(1-this._year)}throw new r("Unsupported field: "+t)}return t.adjustInto(this,e)},i.withYear=function(t){return R.YEAR.checkValidValue(t),new e(t,this._month)},i.withMonth=function(t){return R.MONTH_OF_YEAR.checkValidValue(t),new e(this._year,t)},i._plusUnit=function(t,e){if(_(e,"unit"),d(e,A,"unit"),e instanceof w){switch(e){case w.MONTHS:return this.plusMonths(t);case w.YEARS:return this.plusYears(t);case w.DECADES:return this.plusYears(m.safeMultiply(t,10));case w.CENTURIES:return this.plusYears(m.safeMultiply(t,100));case w.MILLENNIA:return this.plusYears(m.safeMultiply(t,1e3));case w.ERAS:return this.with(R.ERA,m.safeAdd(this.getLong(R.ERA),t))}throw new r("Unsupported unit: "+e)}return e.addTo(this,t)},i.plusYears=function(t){if(0===t)return this;var e=R.YEAR.checkValidIntValue(this._year+t);return this.withYear(e)},i.plusMonths=function(t){if(0===t)return this;var n=12*this._year+(this._month-1)+t;return new e(R.YEAR.checkValidIntValue(m.floorDiv(n,12)),m.floorMod(n,12)+1)},i.minusYears=function(t){return t===m.MIN_SAFE_INTEGER?this.plusYears(m.MIN_SAFE_INTEGER).plusYears(1):this.plusYears(-t)},i.minusMonths=function(t){return t===m.MIN_SAFE_INTEGER?this.plusMonths(Math.MAX_SAFE_INTEGER).plusMonths(1):this.plusMonths(-t)},i.query=function(e){return _(e,"query"),d(e,F,"query"),e===g.chronology()?$t.INSTANCE:e===g.precision()?w.MONTHS:e===g.localDate()||e===g.localTime()||e===g.zone()||e===g.zoneId()||e===g.offset()?null:t.prototype.query.call(this,e)},i.adjustInto=function(t){return _(t,"temporal"),d(t,k,"temporal"),t.with(R.PROLEPTIC_MONTH,this._getProlepticMonth())},i.until=function(t,n){_(t,"endExclusive"),_(n,"unit"),d(t,k,"endExclusive"),d(n,A,"unit");var i=e.from(t);if(n instanceof w){var s=i._getProlepticMonth()-this._getProlepticMonth();switch(n){case w.MONTHS:return s;case w.YEARS:return s/12;case w.DECADES:return s/120;case w.CENTURIES:return s/1200;case w.MILLENNIA:return s/12e3;case w.ERAS:return i.getLong(R.ERA)-this.getLong(R.ERA)}throw new r("Unsupported unit: "+n)}return n.between(this,i)},i.atDay=function(t){return _(t,"dayOfMonth"),oe.of(this._year,this._month,t)},i.atEndOfMonth=function(){return oe.of(this._year,this._month,this.lengthOfMonth())},i.compareTo=function(t){_(t,"other"),d(t,e,"other");var n=this._year-t.year();return 0===n&&(n=this._month-t.monthValue()),n},i.isAfter=function(t){return this.compareTo(t)>0},i.isBefore=function(t){return this.compareTo(t)<0},i.equals=function(t){if(this===t)return!0;if(t instanceof e){var n=t;return this.year()===n.year()&&this.monthValue()===n.monthValue()}return!1},i.toString=function(){return qt.format(this)},i.toJSON=function(){return this.toString()},i.format=function(t){return _(t,"formatter"),t.format(this)},e}(k);var zt,Kt=function(t){function e(e){var n;return(n=t.call(this)||this)._year=m.safeToInt(e),n}h(e,t);var i=e.prototype;return i.value=function(){return this._year},e.now=function(t){return void 0===t&&(t=void 0),void 0===t?e.now0():t instanceof Z?e.nowZoneId(t):e.nowClock(t)},e.now0=function(){return e.nowClock(le.systemDefaultZone())},e.nowZoneId=function(t){return _(t,"zone"),d(t,Z,"zone"),e.nowClock(le.system(t))},e.nowClock=function(t){_(t,"clock"),d(t,le,"clock");var n=oe.now(t);return e.of(n.year())},e.of=function(t){return _(t,"isoYear"),R.YEAR.checkValidValue(t),new e(t)},e.from=function(t){if(_(t,"temporal"),d(t,I,"temporal"),t instanceof e)return t;try{return e.of(t.get(R.YEAR))}catch(e){throw new n("Unable to obtain Year from TemporalAccessor: "+t+", type "+(t&&null!=t.constructor?t.constructor.name:""))}},e.parse=function(t,n){return arguments.length<=1?e.parseText(t):e.parseTextFormatter(t,n)},e.parseText=function(t){return _(t,"text"),e.parse(t,zt)},e.parseTextFormatter=function(t,n){return void 0===n&&(n=zt),_(t,"text"),_(n,"formatter"),d(n,xt,"formatter"),n.parse(t,e.FROM)},e.isLeap=function(t){return 0===m.intMod(t,4)&&(0!==m.intMod(t,100)||0===m.intMod(t,400))},i.isSupported=function(t){return 1===arguments.length&&t instanceof y?this.isSupportedField(t):this.isSupportedUnit(t)},i.isSupportedField=function(t){return t instanceof R?t===R.YEAR||t===R.YEAR_OF_ERA||t===R.ERA:null!=t&&t.isSupportedBy(this)},i.isSupportedUnit=function(t){return t instanceof w?t===w.YEARS||t===w.DECADES||t===w.CENTURIES||t===w.MILLENNIA||t===w.ERAS:null!=t&&t.isSupportedBy(this)},i.range=function(e){if(this.isSupported(e))return e.range();if(e instanceof R)throw new r("Unsupported field: "+e);return t.prototype.range.call(this,e)},i.get=function(t){return this.range(t).checkValidIntValue(this.getLong(t),t)},i.getLong=function(t){if(_(t,"field"),t instanceof R){switch(t){case R.YEAR_OF_ERA:return this._year<1?1-this._year:this._year;case R.YEAR:return this._year;case R.ERA:return this._year<1?0:1}throw new r("Unsupported field: "+t)}return t.getFrom(this)},i.isLeap=function(){return e.isLeap(this._year)},i._withField=function(t,n){if(_(t,"field"),d(t,y,"field"),t instanceof R){switch(t.checkValidValue(n),t){case R.YEAR_OF_ERA:return e.of(this._year<1?1-n:n);case R.YEAR:return e.of(n);case R.ERA:return this.getLong(R.ERA)===n?this:e.of(1-this._year)}throw new r("Unsupported field: "+t)}return t.adjustInto(this,n)},i._plusUnit=function(t,e){if(_(t,"amountToAdd"),_(e,"unit"),d(e,A,"unit"),e instanceof w){switch(e){case w.YEARS:return this.plusYears(t);case w.DECADES:return this.plusYears(m.safeMultiply(t,10));case w.CENTURIES:return this.plusYears(m.safeMultiply(t,100));case w.MILLENNIA:return this.plusYears(m.safeMultiply(t,1e3));case w.ERAS:return this.with(R.ERA,m.safeAdd(this.getLong(R.ERA),t))}throw new r("Unsupported unit: "+e)}return e.addTo(this,t)},i.plusYears=function(t){return 0===t?this:e.of(R.YEAR.checkValidIntValue(m.safeAdd(this._year,t)))},i.minusYears=function(t){return t===m.MIN_SAFE_INTEGER?this.plusYears(m.MAX_SAFE_INTEGER).plusYears(1):this.plusYears(-t)},i.adjustInto=function(t){return _(t,"temporal"),t.with(R.YEAR,this._year)},i.isValidMonthDay=function(t){return null!=t&&t.isValidYear(this._year)},i.length=function(){return this.isLeap()?366:365},i.atDay=function(t){return oe.ofYearDay(this._year,t)},i.atMonth=function(t){return 1===arguments.length&&t instanceof U?this.atMonthMonth(t):this.atMonthNumber(t)},i.atMonthMonth=function(t){return _(t,"month"),d(t,U,"month"),Zt.of(this._year,t)},i.atMonthNumber=function(t){return _(t,"month"),Zt.of(this._year,t)},i.atMonthDay=function(t){return _(t,"monthDay"),d(t,Bt,"monthDay"),t.atYear(this._year)},i.query=function(e){return _(e,"query()"),d(e,F,"query()"),e===g.chronology()?$t.INSTANCE:e===g.precision()?w.YEARS:e===g.localDate()||e===g.localTime()||e===g.zone()||e===g.zoneId()||e===g.offset()?null:t.prototype.query.call(this,e)},i.compareTo=function(t){return _(t,"other"),d(t,e,"other"),this._year-t._year},i.isAfter=function(t){return _(t,"other"),d(t,e,"other"),this._year>t._year},i.isBefore=function(t){return _(t,"other"),d(t,e,"other"),this._year<t._year},i.format=function(t){return _(t,"formatter"),d(t,xt,"formatter"),t.format(this)},i.equals=function(t){return this===t||t instanceof e&&this.value()===t.value()},i.toString=function(){return""+this._year},i.toJSON=function(){return this.toString()},i.until=function(t,n){var i=e.from(t);if(n instanceof w){var s=i.value()-this.value();switch(n){case w.YEARS:return s;case w.DECADES:return m.intDiv(s,10);case w.CENTURIES:return m.intDiv(s,100);case w.MILLENNIA:return m.intDiv(s,1e3);case w.ERAS:return i.getLong(R.ERA)-this.getLong(R.ERA)}throw new r("Unsupported unit: "+n)}return n.between(this,i)},e}(k);var jt=function(){function t(){}return t.prototype.adjustInto=function(t){p("adjustInto")},t}(),Gt=function(){function t(){}return t.firstDayOfMonth=function(){return Xt.FIRST_DAY_OF_MONTH},t.lastDayOfMonth=function(){return Xt.LAST_DAY_OF_MONTH},t.firstDayOfNextMonth=function(){return Xt.FIRST_DAY_OF_NEXT_MONTH},t.firstDayOfYear=function(){return Xt.FIRST_DAY_OF_YEAR},t.lastDayOfYear=function(){return Xt.LAST_DAY_OF_YEAR},t.firstDayOfNextYear=function(){return Xt.FIRST_DAY_OF_NEXT_YEAR},t.firstInMonth=function(t){return _(t,"dayOfWeek"),new Jt(1,t)},t.lastInMonth=function(t){return _(t,"dayOfWeek"),new Jt(-1,t)},t.dayOfWeekInMonth=function(t,e){return _(e,"dayOfWeek"),new Jt(t,e)},t.next=function(t){return new Qt(2,t)},t.nextOrSame=function(t){return new Qt(0,t)},t.previous=function(t){return new Qt(3,t)},t.previousOrSame=function(t){return new Qt(1,t)},t}(),Xt=function(t){function e(e){var n;return(n=t.call(this)||this)._ordinal=e,n}return h(e,t),e.prototype.adjustInto=function(t){switch(this._ordinal){case 0:return t.with(R.DAY_OF_MONTH,1);case 1:return t.with(R.DAY_OF_MONTH,t.range(R.DAY_OF_MONTH).maximum());case 2:return t.with(R.DAY_OF_MONTH,1).plus(1,w.MONTHS);case 3:return t.with(R.DAY_OF_YEAR,1);case 4:return t.with(R.DAY_OF_YEAR,t.range(R.DAY_OF_YEAR).maximum());case 5:return t.with(R.DAY_OF_YEAR,1).plus(1,w.YEARS)}throw new a("Unreachable")},e}(jt);Xt.FIRST_DAY_OF_MONTH=new Xt(0),Xt.LAST_DAY_OF_MONTH=new Xt(1),Xt.FIRST_DAY_OF_NEXT_MONTH=new Xt(2),Xt.FIRST_DAY_OF_YEAR=new Xt(3),Xt.LAST_DAY_OF_YEAR=new Xt(4),Xt.FIRST_DAY_OF_NEXT_YEAR=new Xt(5);var Jt=function(t){function e(e,n){var i;return(i=t.call(this)||this)._ordinal=e,i._dowValue=n.value(),i}return h(e,t),e.prototype.adjustInto=function(t){if(this._ordinal>=0){var e=t.with(R.DAY_OF_MONTH,1),n=e.get(R.DAY_OF_WEEK),i=m.intMod(this._dowValue-n+7,7);return i+=7*(this._ordinal-1),e.plus(i,w.DAYS)}var r=t.with(R.DAY_OF_MONTH,t.range(R.DAY_OF_MONTH).maximum()),s=r.get(R.DAY_OF_WEEK),o=this._dowValue-s;return o=0===o?0:o>0?o-7:o,o-=7*(-this._ordinal-1),r.plus(o,w.DAYS)},e}(jt),Qt=function(t){function e(e,n){var i;return i=t.call(this)||this,_(n,"dayOfWeek"),i._relative=e,i._dowValue=n.value(),i}return h(e,t),e.prototype.adjustInto=function(t){var e=t.get(R.DAY_OF_WEEK);if(this._relative<2&&e===this._dowValue)return t;if(0==(1&this._relative)){var n=e-this._dowValue;return t.plus(n>=0?7-n:-n,w.DAYS)}var i=this._dowValue-e;return t.minus(i>=0?7-i:-i,w.DAYS)},e}(jt),$t=function(t){function e(){return t.apply(this,arguments)||this}h(e,t),e.isLeapYear=function(t){return 0==(3&t)&&(t%100!=0||t%400==0)};var i=e.prototype;return i._updateResolveMap=function(t,e,i){_(t,"fieldValues"),_(e,"field");var r=t.get(e);if(null!=r&&r!==i)throw new n("Invalid state, field: "+e+" "+r+" conflicts with "+e+" "+i);t.put(e,i)},i.resolveDate=function(t,e){if(t.containsKey(R.EPOCH_DAY))return oe.ofEpochDay(t.remove(R.EPOCH_DAY));var i=t.remove(R.PROLEPTIC_MONTH);null!=i&&(e!==x.LENIENT&&R.PROLEPTIC_MONTH.checkValidValue(i),this._updateResolveMap(t,R.MONTH_OF_YEAR,m.floorMod(i,12)+1),this._updateResolveMap(t,R.YEAR,m.floorDiv(i,12)));var r=t.remove(R.YEAR_OF_ERA);if(null!=r){e!==x.LENIENT&&R.YEAR_OF_ERA.checkValidValue(r);var s=t.remove(R.ERA);if(null==s){var o=t.get(R.YEAR);e===x.STRICT?null!=o?this._updateResolveMap(t,R.YEAR,o>0?r:m.safeSubtract(1,r)):t.put(R.YEAR_OF_ERA,r):this._updateResolveMap(t,R.YEAR,null==o||o>0?r:m.safeSubtract(1,r))}else if(1===s)this._updateResolveMap(t,R.YEAR,r);else{if(0!==s)throw new n("Invalid value for era: "+s);this._updateResolveMap(t,R.YEAR,m.safeSubtract(1,r))}}else t.containsKey(R.ERA)&&R.ERA.checkValidValue(t.get(R.ERA));if(t.containsKey(R.YEAR)){if(t.containsKey(R.MONTH_OF_YEAR)&&t.containsKey(R.DAY_OF_MONTH)){var a=R.YEAR.checkValidIntValue(t.remove(R.YEAR)),u=t.remove(R.MONTH_OF_YEAR),h=t.remove(R.DAY_OF_MONTH);if(e===x.LENIENT){var f=u-1,c=h-1;return oe.of(a,1,1).plusMonths(f).plusDays(c)}return e===x.SMART?(R.DAY_OF_MONTH.checkValidValue(h),4===u||6===u||9===u||11===u?h=Math.min(h,30):2===u&&(h=Math.min(h,U.FEBRUARY.length(Kt.isLeap(a)))),oe.of(a,u,h)):oe.of(a,u,h)}if(t.containsKey(R.DAY_OF_YEAR)){var l=R.YEAR.checkValidIntValue(t.remove(R.YEAR));if(e===x.LENIENT){var _=m.safeSubtract(t.remove(R.DAY_OF_YEAR),1);return oe.ofYearDay(l,1).plusDays(_)}var d=R.DAY_OF_YEAR.checkValidIntValue(t.remove(R.DAY_OF_YEAR));return oe.ofYearDay(l,d)}if(t.containsKey(R.ALIGNED_WEEK_OF_YEAR)){if(t.containsKey(R.ALIGNED_DAY_OF_WEEK_IN_YEAR)){var p=R.YEAR.checkValidIntValue(t.remove(R.YEAR));if(e===x.LENIENT){var O=m.safeSubtract(t.remove(R.ALIGNED_WEEK_OF_YEAR),1),E=m.safeSubtract(t.remove(R.ALIGNED_DAY_OF_WEEK_IN_YEAR),1);return oe.of(p,1,1).plusWeeks(O).plusDays(E)}var S=R.ALIGNED_WEEK_OF_YEAR.checkValidIntValue(t.remove(R.ALIGNED_WEEK_OF_YEAR)),N=R.ALIGNED_DAY_OF_WEEK_IN_YEAR.checkValidIntValue(t.remove(R.ALIGNED_DAY_OF_WEEK_IN_YEAR)),D=oe.of(p,1,1).plusDays(7*(S-1)+(N-1));if(e===x.STRICT&&D.get(R.YEAR)!==p)throw new n("Strict mode rejected date parsed to a different year");return D}if(t.containsKey(R.DAY_OF_WEEK)){var A=R.YEAR.checkValidIntValue(t.remove(R.YEAR));if(e===x.LENIENT){var T=m.safeSubtract(t.remove(R.ALIGNED_WEEK_OF_YEAR),1),v=m.safeSubtract(t.remove(R.DAY_OF_WEEK),1);return oe.of(A,1,1).plusWeeks(T).plusDays(v)}var w=R.ALIGNED_WEEK_OF_YEAR.checkValidIntValue(t.remove(R.ALIGNED_WEEK_OF_YEAR)),y=R.DAY_OF_WEEK.checkValidIntValue(t.remove(R.DAY_OF_WEEK)),M=oe.of(A,1,1).plusWeeks(w-1).with(Gt.nextOrSame(L.of(y)));if(e===x.STRICT&&M.get(R.YEAR)!==A)throw new n("Strict mode rejected date parsed to a different month");return M}}}return null},i.date=function(t){return oe.from(t)},e}(N);var te=function(t){function e(e,n){var i;return i=t.call(this)||this,_(e,"time"),d(e,he,"time"),_(n,"offset"),d(n,X,"offset"),i._time=e,i._offset=n,i}h(e,t),e.from=function(t){if(_(t,"temporal"),t instanceof e)return t;if(t instanceof ie)return t.toOffsetTime();try{return new e(he.from(t),X.from(t))}catch(e){throw new n("Unable to obtain OffsetTime TemporalAccessor: "+t+", type "+(null!=t.constructor?t.constructor.name:""))}},e.now=function(t){return 0===arguments.length?e._now(le.systemDefaultZone()):t instanceof le?e._now(t):e._now(le.system(t))},e._now=function(t){_(t,"clock");var n=t.instant();return e.ofInstant(n,t.zone().rules().offset(n))},e.of=function(){return arguments.length<=2?e.ofTimeAndOffset.apply(this,arguments):e.ofNumbers.apply(this,arguments)},e.ofNumbers=function(t,n,i,r,s){return new e(he.of(t,n,i,r),s)},e.ofTimeAndOffset=function(t,n){return new e(t,n)},e.ofInstant=function(t,n){_(t,"instant"),d(t,ce,"instant"),_(n,"zone"),d(n,Z,"zone");var i=n.rules().offset(t),r=t.epochSecond()%he.SECONDS_PER_DAY;return(r=(r+i.totalSeconds())%he.SECONDS_PER_DAY)<0&&(r+=he.SECONDS_PER_DAY),new e(he.ofSecondOfDay(r,t.nano()),i)},e.parse=function(t,n){return void 0===n&&(n=xt.ISO_OFFSET_TIME),_(n,"formatter"),n.parse(t,e.FROM)};var i=e.prototype;return i.adjustInto=function(t){return t.with(R.NANO_OF_DAY,this._time.toNanoOfDay()).with(R.OFFSET_SECONDS,this.offset().totalSeconds())},i.atDate=function(t){return ie.of(t,this._time,this._offset)},i.format=function(t){return _(t,"formatter"),t.format(this,e.FROM)},i.get=function(e){return t.prototype.get.call(this,e)},i.getLong=function(t){return t instanceof R?t===R.OFFSET_SECONDS?this._offset.totalSeconds():this._time.getLong(t):t.getFrom(this)},i.hour=function(){return this._time.hour()},i.minute=function(){return this._time.minute()},i.second=function(){return this._time.second()},i.nano=function(){return this._time.nano()},i.offset=function(){return this._offset},i.isAfter=function(t){return _(t,"other"),this._toEpochNano()>t._toEpochNano()},i.isBefore=function(t){return _(t,"other"),this._toEpochNano()<t._toEpochNano()},i.isEqual=function(t){return _(t,"other"),this._toEpochNano()===t._toEpochNano()},i.isSupported=function(t){return t instanceof R?t.isTimeBased()||t===R.OFFSET_SECONDS:t instanceof w?t.isTimeBased():null!=t&&t.isSupportedBy(this)},i.minusHours=function(t){return this._withLocalTimeOffset(this._time.minusHours(t),this._offset)},i.minusMinutes=function(t){return this._withLocalTimeOffset(this._time.minusMinutes(t),this._offset)},i.minusSeconds=function(t){return this._withLocalTimeOffset(this._time.minusSeconds(t),this._offset)},i.minusNanos=function(t){return this._withLocalTimeOffset(this._time.minusNanos(t),this._offset)},i._minusAmount=function(t){return _(t),t.subtractFrom(this)},i._minusUnit=function(t,e){return this.plus(-1*t,e)},i._plusAmount=function(t){return _(t),t.addTo(this)},i._plusUnit=function(t,e){return e instanceof w?this._withLocalTimeOffset(this._time.plus(t,e),this._offset):e.addTo(this,t)},i.plusHours=function(t){return this._withLocalTimeOffset(this._time.plusHours(t),this._offset)},i.plusMinutes=function(t){return this._withLocalTimeOffset(this._time.plusMinutes(t),this._offset)},i.plusSeconds=function(t){return this._withLocalTimeOffset(this._time.plusSeconds(t),this._offset)},i.plusNanos=function(t){return this._withLocalTimeOffset(this._time.plusNanos(t),this._offset)},i.query=function(e){return _(e,"query"),e===g.precision()?w.NANOS:e===g.offset()||e===g.zone()?this.offset():e===g.localTime()?this._time:e===g.chronology()||e===g.localDate()||e===g.zoneId()?null:t.prototype.query.call(this,e)},i.range=function(t){return t instanceof R?t===R.OFFSET_SECONDS?t.range():this._time.range(t):t.rangeRefinedBy(this)},i.toLocalTime=function(){return this._time},i.truncatedTo=function(t){return this._withLocalTimeOffset(this._time.truncatedTo(t),this._offset)},i.until=function(t,n){_(t,"endExclusive"),_(n,"unit");var i=e.from(t);if(n instanceof w){var s=i._toEpochNano()-this._toEpochNano();switch(n){case w.NANOS:return s;case w.MICROS:return Math.floor(s/1e3);case w.MILLIS:return Math.floor(s/1e6);case w.SECONDS:return Math.floor(s/he.NANOS_PER_SECOND);case w.MINUTES:return Math.floor(s/he.NANOS_PER_MINUTE);case w.HOURS:return Math.floor(s/he.NANOS_PER_HOUR);case w.HALF_DAYS:return Math.floor(s/(12*he.NANOS_PER_HOUR))}throw new r("Unsupported unit: "+n)}return n.between(this,i)},i.withHour=function(t){return this._withLocalTimeOffset(this._time.withHour(t),this._offset)},i.withMinute=function(t){return this._withLocalTimeOffset(this._time.withMinute(t),this._offset)},i.withSecond=function(t){return this._withLocalTimeOffset(this._time.withSecond(t),this._offset)},i.withNano=function(t){return this._withLocalTimeOffset(this._time.withNano(t),this._offset)},i.withOffsetSameInstant=function(t){if(_(t,"offset"),t.equals(this._offset))return this;var n=t.totalSeconds()-this._offset.totalSeconds();return new e(this._time.plusSeconds(n),t)},i.withOffsetSameLocal=function(t){return null!=t&&t.equals(this._offset)?this:new e(this._time,t)},i._toEpochNano=function(){return this._time.toNanoOfDay()-this._offset.totalSeconds()*he.NANOS_PER_SECOND},i._withAdjuster=function(t){return _(t,"adjuster"),t instanceof he?this._withLocalTimeOffset(t,this._offset):t instanceof X?this._withLocalTimeOffset(this._time,t):t instanceof e?t:t.adjustInto(this)},i._withField=function(t,e){return _(t,"field"),t instanceof R?t===R.OFFSET_SECONDS?this._withLocalTimeOffset(this._time,X.ofTotalSeconds(t.checkValidIntValue(e))):this._withLocalTimeOffset(this._time.with(t,e),this._offset):t.adjustInto(this,e)},i._withLocalTimeOffset=function(t,n){return this._time===t&&this._offset.equals(n)?this:new e(t,n)},i.compareTo=function(t){if(_(t,"other"),d(t,e,"other"),this._offset.equals(t._offset))return this._time.compareTo(t._time);var n=m.compareNumbers(this._toEpochNano(),t._toEpochNano());return 0===n?this._time.compareTo(t._time):n},i.equals=function(t){return this===t||t instanceof e&&(this._time.equals(t._time)&&this._offset.equals(t._offset))},i.hashCode=function(){return this._time.hashCode()^this._offset.hashCode()},i.toString=function(){return this._time.toString()+this._offset.toString()},i.toJSON=function(){return this.toString()},e}(k);var ee=function(t){function e(){return t.apply(this,arguments)||this}h(e,t);var n=e.prototype;return n.query=function(e){return e===g.zoneId()||e===g.zone()?this.zone():e===g.chronology()?this.toLocalDate().chronology():e===g.precision()?w.NANOS:e===g.offset()?this.offset():e===g.localDate()?oe.ofEpochDay(this.toLocalDate().toEpochDay()):e===g.localTime()?this.toLocalTime():t.prototype.query.call(this,e)},n.format=function(t){return _(t,"formatter"),t.format(this)},n.toInstant=function(){return ce.ofEpochSecond(this.toEpochSecond(),this.toLocalTime().nano())},n.toEpochSecond=function(){var t=86400*this.toLocalDate().toEpochDay()+this.toLocalTime().toSecondOfDay();return t-=this.offset().totalSeconds()},n.compareTo=function(t){_(t,"other");var e=m.compareNumbers(this.toEpochSecond(),t.toEpochSecond());return 0===e&&0===(e=this.toLocalTime().nano()-t.toLocalTime().nano())&&0===(e=this.toLocalDateTime().compareTo(t.toLocalDateTime()))&&(e=function(t,e){if(t<e)return-1;if(t>e)return 1;return 0}(this.zone().id(),t.zone().id())),e},n.isAfter=function(t){_(t,"other");var e=this.toEpochSecond(),n=t.toEpochSecond();return e>n||e===n&&this.toLocalTime().nano()>t.toLocalTime().nano()},n.isBefore=function(t){_(t,"other");var e=this.toEpochSecond(),n=t.toEpochSecond();return e<n||e===n&&this.toLocalTime().nano()<t.toLocalTime().nano()},n.isEqual=function(t){return _(t,"other"),this.toEpochSecond()===t.toEpochSecond()&&this.toLocalTime().nano()===t.toLocalTime().nano()},n.equals=function(t){return this===t||t instanceof e&&0===this.compareTo(t)},e}(k);var ne=function(t){function e(e,n,i){var r;return _(e,"dateTime"),_(n,"offset"),_(i,"zone"),(r=t.call(this)||this)._dateTime=e,r._offset=n,r._zone=i,r}h(e,t),e.now=function(t){var n;return n=t instanceof Z?le.system(t):null==t?le.systemDefaultZone():t,e.ofInstant(n.instant(),n.zone())},e.of=function(){return arguments.length<=2?e.of2.apply(this,arguments):3===arguments.length&&arguments[0]instanceof oe?e.of3.apply(this,arguments):e.of8.apply(this,arguments)},e.of3=function(t,n,i){return e.of2(ue.of(t,n),i)},e.of2=function(t,n){return e.ofLocal(t,n,null)},e.of8=function(t,n,i,r,s,o,a,u){var h=ue.of(t,n,i,r,s,o,a);return e.ofLocal(h,u,null)},e.ofLocal=function(t,n,i){if(_(t,"localDateTime"),_(n,"zone"),n instanceof X)return new e(t,n,n);var r=null,s=n.rules(),o=s.validOffsets(t);if(1===o.length)r=o[0];else if(0===o.length){var a=s.transition(t);t=t.plusSeconds(a.duration().seconds()),r=a.offsetAfter()}else r=null!=i&&o.some((function(t){return t.equals(i)}))?i:_(o[0],"offset");return new e(t,r,n)},e.ofInstant=function(){return 2===arguments.length?e.ofInstant2.apply(this,arguments):e.ofInstant3.apply(this,arguments)},e.ofInstant2=function(t,n){return _(t,"instant"),_(n,"zone"),e._create(t.epochSecond(),t.nano(),n)},e.ofInstant3=function(t,n,i){return _(t,"localDateTime"),_(n,"offset"),_(i,"zone"),e._create(t.toEpochSecond(n),t.nano(),i)},e._create=function(t,n,i){var r=i.rules(),s=ce.ofEpochSecond(t,n),o=r.offset(s);return new e(ue.ofEpochSecond(t,n,o),o,i)},e.ofStrict=function(t,i,r){_(t,"localDateTime"),_(i,"offset"),_(r,"zone");var s=r.rules();if(!1===s.isValidOffset(t,i)){var o=s.transition(t);if(null!=o&&o.isGap())throw new n("LocalDateTime "+t+" does not exist in zone "+r+" due to a gap in the local time-line, typically caused by daylight savings");throw new n('ZoneOffset "'+i+'" is not valid for LocalDateTime "'+t+'" in zone "'+r+'"')}return new e(t,i,r)},e.ofLenient=function(t,n,i){if(_(t,"localDateTime"),_(n,"offset"),_(i,"zone"),i instanceof X&&!1===n.equals(i))throw new o("ZoneId must match ZoneOffset");return new e(t,n,i)},e.from=function(t){if(_(t,"temporal"),t instanceof e)return t;var n=Z.from(t);if(t.isSupported(R.INSTANT_SECONDS)){var i=e._from(t,n);if(null!=i)return i}var r=ue.from(t);return e.of2(r,n)},e._from=function(t,i){try{return e.__from(t,i)}catch(t){if(!(t instanceof n))throw t}},e.__from=function(t,n){var i=t.getLong(R.INSTANT_SECONDS),r=t.get(R.NANO_OF_SECOND);return e._create(i,r,n)},e.parse=function(t,n){return void 0===n&&(n=xt.ISO_ZONED_DATE_TIME),_(n,"formatter"),n.parse(t,e.FROM)};var i=e.prototype;return i._resolveLocal=function(t){return _(t,"newDateTime"),e.ofLocal(t,this._zone,this._offset)},i._resolveInstant=function(t){return e.ofInstant3(t,this._offset,this._zone)},i._resolveOffset=function(t){return!1===t.equals(this._offset)&&this._zone.rules().isValidOffset(this._dateTime,t)?new e(this._dateTime,t,this._zone):this},i.isSupported=function(t){return t instanceof R||(t instanceof w?t.isDateBased()||t.isTimeBased():null!=t&&t.isSupportedBy(this))},i.range=function(t){return t instanceof R?t===R.INSTANT_SECONDS||t===R.OFFSET_SECONDS?t.range():this._dateTime.range(t):t.rangeRefinedBy(this)},i.get=function(t){return this.getLong(t)},i.getLong=function(t){if(t instanceof R){switch(t){case R.INSTANT_SECONDS:return this.toEpochSecond();case R.OFFSET_SECONDS:return this._offset.totalSeconds()}return this._dateTime.getLong(t)}return _(t,"field"),t.getFrom(this)},i.offset=function(){return this._offset},i.withEarlierOffsetAtOverlap=function(){var t=this._zone.rules().transition(this._dateTime);if(null!=t&&t.isOverlap()){var n=t.offsetBefore();if(!1===n.equals(this._offset))return new e(this._dateTime,n,this._zone)}return this},i.withLaterOffsetAtOverlap=function(){var t=this._zone.rules().transition(this.toLocalDateTime());if(null!=t){var n=t.offsetAfter();if(!1===n.equals(this._offset))return new e(this._dateTime,n,this._zone)}return this},i.zone=function(){return this._zone},i.withZoneSameLocal=function(t){return _(t,"zone"),this._zone.equals(t)?this:e.ofLocal(this._dateTime,t,this._offset)},i.withZoneSameInstant=function(t){return _(t,"zone"),this._zone.equals(t)?this:e._create(this._dateTime.toEpochSecond(this._offset),this._dateTime.nano(),t)},i.withFixedOffsetZone=function(){return this._zone.equals(this._offset)?this:new e(this._dateTime,this._offset,this._offset)},i.year=function(){return this._dateTime.year()},i.monthValue=function(){return this._dateTime.monthValue()},i.month=function(){return this._dateTime.month()},i.dayOfMonth=function(){return this._dateTime.dayOfMonth()},i.dayOfYear=function(){return this._dateTime.dayOfYear()},i.dayOfWeek=function(){return this._dateTime.dayOfWeek()},i.hour=function(){return this._dateTime.hour()},i.minute=function(){return this._dateTime.minute()},i.second=function(){return this._dateTime.second()},i.nano=function(){return this._dateTime.nano()},i._withAdjuster=function(n){if(n instanceof oe)return this._resolveLocal(ue.of(n,this._dateTime.toLocalTime()));if(n instanceof he)return this._resolveLocal(ue.of(this._dateTime.toLocalDate(),n));if(n instanceof ue)return this._resolveLocal(n);if(n instanceof ce){var i=n;return e._create(i.epochSecond(),i.nano(),this._zone)}return n instanceof X?this._resolveOffset(n):t.prototype._withAdjuster.call(this,n)},i._withField=function(t,n){if(t instanceof R){switch(t){case R.INSTANT_SECONDS:return e._create(n,this.nano(),this._zone);case R.OFFSET_SECONDS:var i=X.ofTotalSeconds(t.checkValidIntValue(n));return this._resolveOffset(i)}return this._resolveLocal(this._dateTime.with(t,n))}return t.adjustInto(this,n)},i.withYear=function(t){return this._resolveLocal(this._dateTime.withYear(t))},i.withMonth=function(t){return this._resolveLocal(this._dateTime.withMonth(t))},i.withDayOfMonth=function(t){return this._resolveLocal(this._dateTime.withDayOfMonth(t))},i.withDayOfYear=function(t){return this._resolveLocal(this._dateTime.withDayOfYear(t))},i.withHour=function(t){return this._resolveLocal(this._dateTime.withHour(t))},i.withMinute=function(t){return this._resolveLocal(this._dateTime.withMinute(t))},i.withSecond=function(t){return this._resolveLocal(this._dateTime.withSecond(t))},i.withNano=function(t){return this._resolveLocal(this._dateTime.withNano(t))},i.truncatedTo=function(t){return this._resolveLocal(this._dateTime.truncatedTo(t))},i._plusUnit=function(t,e){return e instanceof w?e.isDateBased()?this._resolveLocal(this._dateTime.plus(t,e)):this._resolveInstant(this._dateTime.plus(t,e)):(_(e,"unit"),e.addTo(this,t))},i.plusYears=function(t){return this._resolveLocal(this._dateTime.plusYears(t))},i.plusMonths=function(t){return this._resolveLocal(this._dateTime.plusMonths(t))},i.plusWeeks=function(t){return this._resolveLocal(this._dateTime.plusWeeks(t))},i.plusDays=function(t){return this._resolveLocal(this._dateTime.plusDays(t))},i.plusHours=function(t){return this._resolveInstant(this._dateTime.plusHours(t))},i.plusMinutes=function(t){return this._resolveInstant(this._dateTime.plusMinutes(t))},i.plusSeconds=function(t){return this._resolveInstant(this._dateTime.plusSeconds(t))},i.plusNanos=function(t){return this._resolveInstant(this._dateTime.plusNanos(t))},i._minusUnit=function(t,e){return this._plusUnit(-1*t,e)},i.minusYears=function(t){return this.plusYears(-1*t)},i.minusMonths=function(t){return this.plusMonths(-1*t)},i.minusWeeks=function(t){return this.plusWeeks(-1*t)},i.minusDays=function(t){return this.plusDays(-1*t)},i.minusHours=function(t){return this.plusHours(-1*t)},i.minusMinutes=function(t){return this.plusMinutes(-1*t)},i.minusSeconds=function(t){return this.plusSeconds(-1*t)},i.minusNanos=function(t){return this.plusNanos(-1*t)},i.query=function(e){return e===g.localDate()?this.toLocalDate():(_(e,"query"),t.prototype.query.call(this,e))},i.until=function(t,n){var i=e.from(t);if(n instanceof w){if(i=i.withZoneSameInstant(this._zone),n.isDateBased())return this._dateTime.until(i._dateTime,n);var r=this._offset.totalSeconds()-i._offset.totalSeconds(),s=i._dateTime.plusSeconds(r);return this._dateTime.until(s,n)}return n.between(this,i)},i.toLocalDateTime=function(){return this._dateTime},i.toLocalDate=function(){return this._dateTime.toLocalDate()},i.toLocalTime=function(){return this._dateTime.toLocalTime()},i.toOffsetDateTime=function(){return ie.of(this._dateTime,this._offset)},i.equals=function(t){return this===t||t instanceof e&&(this._dateTime.equals(t._dateTime)&&this._offset.equals(t._offset)&&this._zone.equals(t._zone))},i.hashCode=function(){return m.hashCode(this._dateTime.hashCode(),this._offset.hashCode(),this._zone.hashCode())},i.toString=function(){var t=this._dateTime.toString()+this._offset.toString();return this._offset!==this._zone&&(t+="["+this._zone.toString()+"]"),t},i.toJSON=function(){return this.toString()},i.format=function(e){return t.prototype.format.call(this,e)},e}(ee);var ie=function(t){function e(e,n){var i;return i=t.call(this)||this,_(e,"dateTime"),d(e,ue,"dateTime"),_(n,"offset"),d(n,X,"offset"),i._dateTime=e,i._offset=n,i}h(e,t),e.from=function(t){if(_(t,"temporal"),t instanceof e)return t;try{var i=X.from(t);try{var r=ue.from(t);return e.of(r,i)}catch(n){var s=ce.from(t);return e.ofInstant(s,i)}}catch(e){throw new n("Unable to obtain OffsetDateTime TemporalAccessor: "+t+", type "+(null!=t.constructor?t.constructor.name:""))}},e.now=function(t){if(0===arguments.length)return e.now(le.systemDefaultZone());if(_(t,"clockOrZone"),t instanceof Z)return e.now(le.system(t));if(t instanceof le){var n=t.instant();return e.ofInstant(n,t.zone().rules().offset(n))}throw new o("clockOrZone must be an instance of ZoneId or Clock")},e.of=function(){return arguments.length<=2?e.ofDateTime.apply(this,arguments):3===arguments.length?e.ofDateAndTime.apply(this,arguments):e.ofNumbers.apply(this,arguments)},e.ofDateTime=function(t,n){return new e(t,n)},e.ofDateAndTime=function(t,n,i){return new e(ue.of(t,n),i)},e.ofNumbers=function(t,n,i,r,s,o,a,u){return void 0===r&&(r=0),void 0===s&&(s=0),void 0===o&&(o=0),void 0===a&&(a=0),new e(ue.of(t,n,i,r,s,o,a),u)},e.ofInstant=function(t,n){_(t,"instant"),_(n,"zone");var i=n.rules().offset(t);return new e(ue.ofEpochSecond(t.epochSecond(),t.nano(),i),i)},e.parse=function(t,n){return void 0===n&&(n=xt.ISO_OFFSET_DATE_TIME),_(n,"formatter"),n.parse(t,e.FROM)};var i=e.prototype;return i.adjustInto=function(t){return t.with(R.EPOCH_DAY,this.toLocalDate().toEpochDay()).with(R.NANO_OF_DAY,this.toLocalTime().toNanoOfDay()).with(R.OFFSET_SECONDS,this.offset().totalSeconds())},i.until=function(t,n){var i=e.from(t);return n instanceof w?(i=i.withOffsetSameInstant(this._offset),this._dateTime.until(i._dateTime,n)):n.between(this,i)},i.atZoneSameInstant=function(t){return ne.ofInstant(this._dateTime,this._offset,t)},i.atZoneSimilarLocal=function(t){return ne.ofLocal(this._dateTime,t,this._offset)},i.query=function(e){return _(e,"query"),e===g.chronology()?$t.INSTANCE:e===g.precision()?w.NANOS:e===g.offset()||e===g.zone()?this.offset():e===g.localDate()?this.toLocalDate():e===g.localTime()?this.toLocalTime():e===g.zoneId()?null:t.prototype.query.call(this,e)},i.get=function(e){if(e instanceof R){switch(e){case R.INSTANT_SECONDS:throw new n("Field too large for an int: "+e);case R.OFFSET_SECONDS:return this.offset().totalSeconds()}return this._dateTime.get(e)}return t.prototype.get.call(this,e)},i.getLong=function(t){if(t instanceof R){switch(t){case R.INSTANT_SECONDS:return this.toEpochSecond();case R.OFFSET_SECONDS:return this.offset().totalSeconds()}return this._dateTime.getLong(t)}return t.getFrom(this)},i.offset=function(){return this._offset},i.year=function(){return this._dateTime.year()},i.monthValue=function(){return this._dateTime.monthValue()},i.month=function(){return this._dateTime.month()},i.dayOfMonth=function(){return this._dateTime.dayOfMonth()},i.dayOfYear=function(){return this._dateTime.dayOfYear()},i.dayOfWeek=function(){return this._dateTime.dayOfWeek()},i.hour=function(){return this._dateTime.hour()},i.minute=function(){return this._dateTime.minute()},i.second=function(){return this._dateTime.second()},i.nano=function(){return this._dateTime.nano()},i.toLocalDateTime=function(){return this._dateTime},i.toLocalDate=function(){return this._dateTime.toLocalDate()},i.toLocalTime=function(){return this._dateTime.toLocalTime()},i.toOffsetTime=function(){return te.of(this._dateTime.toLocalTime(),this._offset)},i.toZonedDateTime=function(){return ne.of(this._dateTime,this._offset)},i.toInstant=function(){return this._dateTime.toInstant(this._offset)},i.toEpochSecond=function(){return this._dateTime.toEpochSecond(this._offset)},i.isSupported=function(t){return t instanceof R||t instanceof w?t.isDateBased()||t.isTimeBased():null!=t&&t.isSupportedBy(this)},i.range=function(t){return t instanceof R?t===R.INSTANT_SECONDS||t===R.OFFSET_SECONDS?t.range():this._dateTime.range(t):t.rangeRefinedBy(this)},i._withAdjuster=function(t){return _(t),t instanceof oe||t instanceof he||t instanceof ue?this._withDateTimeOffset(this._dateTime.with(t),this._offset):t instanceof ce?e.ofInstant(t,this._offset):t instanceof X?this._withDateTimeOffset(this._dateTime,t):t instanceof e?t:t.adjustInto(this)},i._withField=function(t,n){if(_(t),t instanceof R){var i=t;switch(i){case R.INSTANT_SECONDS:return e.ofInstant(ce.ofEpochSecond(n,this.nano()),this._offset);case R.OFFSET_SECONDS:return this._withDateTimeOffset(this._dateTime,X.ofTotalSeconds(i.checkValidIntValue(n)))}return this._withDateTimeOffset(this._dateTime.with(t,n),this._offset)}return t.adjustInto(this,n)},i._withDateTimeOffset=function(t,n){return this._dateTime===t&&this._offset.equals(n)?this:new e(t,n)},i.withYear=function(t){return this._withDateTimeOffset(this._dateTime.withYear(t),this._offset)},i.withMonth=function(t){return this._withDateTimeOffset(this._dateTime.withMonth(t),this._offset)},i.withDayOfMonth=function(t){return this._withDateTimeOffset(this._dateTime.withDayOfMonth(t),this._offset)},i.withDayOfYear=function(t){return this._withDateTimeOffset(this._dateTime.withDayOfYear(t),this._offset)},i.withHour=function(t){return this._withDateTimeOffset(this._dateTime.withHour(t),this._offset)},i.withMinute=function(t){return this._withDateTimeOffset(this._dateTime.withMinute(t),this._offset)},i.withSecond=function(t){return this._withDateTimeOffset(this._dateTime.withSecond(t),this._offset)},i.withNano=function(t){return this._withDateTimeOffset(this._dateTime.withNano(t),this._offset)},i.withOffsetSameLocal=function(t){return _(t,"offset"),this._withDateTimeOffset(this._dateTime,t)},i.withOffsetSameInstant=function(t){if(_(t,"offset"),t.equals(this._offset))return this;var n=t.totalSeconds()-this._offset.totalSeconds();return new e(this._dateTime.plusSeconds(n),t)},i.truncatedTo=function(t){return this._withDateTimeOffset(this._dateTime.truncatedTo(t),this._offset)},i._plusAmount=function(t){return _(t,"amount"),t.addTo(this)},i._plusUnit=function(t,e){return e instanceof w?this._withDateTimeOffset(this._dateTime.plus(t,e),this._offset):e.addTo(this,t)},i.plusYears=function(t){return this._withDateTimeOffset(this._dateTime.plusYears(t),this._offset)},i.plusMonths=function(t){return this._withDateTimeOffset(this._dateTime.plusMonths(t),this._offset)},i.plusWeeks=function(t){return this._withDateTimeOffset(this._dateTime.plusWeeks(t),this._offset)},i.plusDays=function(t){return this._withDateTimeOffset(this._dateTime.plusDays(t),this._offset)},i.plusHours=function(t){return this._withDateTimeOffset(this._dateTime.plusHours(t),this._offset)},i.plusMinutes=function(t){return this._withDateTimeOffset(this._dateTime.plusMinutes(t),this._offset)},i.plusSeconds=function(t){return this._withDateTimeOffset(this._dateTime.plusSeconds(t),this._offset)},i.plusNanos=function(t){return this._withDateTimeOffset(this._dateTime.plusNanos(t),this._offset)},i._minusAmount=function(t){return _(t),t.subtractFrom(this)},i._minusUnit=function(t,e){return this.plus(-1*t,e)},i.minusYears=function(t){return this._withDateTimeOffset(this._dateTime.minusYears(t),this._offset)},i.minusMonths=function(t){return this._withDateTimeOffset(this._dateTime.minusMonths(t),this._offset)},i.minusWeeks=function(t){return this._withDateTimeOffset(this._dateTime.minusWeeks(t),this._offset)},i.minusDays=function(t){return this._withDateTimeOffset(this._dateTime.minusDays(t),this._offset)},i.minusHours=function(t){return this._withDateTimeOffset(this._dateTime.minusHours(t),this._offset)},i.minusMinutes=function(t){return this._withDateTimeOffset(this._dateTime.minusMinutes(t),this._offset)},i.minusSeconds=function(t){return this._withDateTimeOffset(this._dateTime.minusSeconds(t),this._offset)},i.minusNanos=function(t){return this._withDateTimeOffset(this._dateTime.minusNanos(t),this._offset)},i.compareTo=function(t){if(_(t,"other"),d(t,e,"other"),this.offset().equals(t.offset()))return this.toLocalDateTime().compareTo(t.toLocalDateTime());var n=m.compareNumbers(this.toEpochSecond(),t.toEpochSecond());return 0===n&&0===(n=this.toLocalTime().nano()-t.toLocalTime().nano())&&(n=this.toLocalDateTime().compareTo(t.toLocalDateTime())),n},i.isAfter=function(t){_(t,"other");var e=this.toEpochSecond(),n=t.toEpochSecond();return e>n||e===n&&this.toLocalTime().nano()>t.toLocalTime().nano()},i.isBefore=function(t){_(t,"other");var e=this.toEpochSecond(),n=t.toEpochSecond();return e<n||e===n&&this.toLocalTime().nano()<t.toLocalTime().nano()},i.isEqual=function(t){return _(t,"other"),this.toEpochSecond()===t.toEpochSecond()&&this.toLocalTime().nano()===t.toLocalTime().nano()},i.equals=function(t){return this===t||t instanceof e&&(this._dateTime.equals(t._dateTime)&&this._offset.equals(t._offset))},i.hashCode=function(){return this._dateTime.hashCode()^this._offset.hashCode()},i.toString=function(){return this._dateTime.toString()+this._offset.toString()},i.toJSON=function(){return this.toString()},i.format=function(t){return _(t,"formatter"),t.format(this)},e}(k);var re=146097,se=719528,oe=function(t){function e(n,i,r){var s;return s=t.call(this)||this,_(n,"year"),_(i,"month"),_(r,"dayOfMonth"),i instanceof U&&(i=i.value()),s._year=m.safeToInt(n),s._month=m.safeToInt(i),s._day=m.safeToInt(r),e._validate(s._year,s._month,s._day),s}h(e,t),e.now=function(t){var n;return n=null==t?le.systemDefaultZone():t instanceof Z?le.system(t):t,e.ofInstant(n.instant(),n.zone())},e.ofInstant=function(t,n){void 0===n&&(n=Z.systemDefault()),_(t,"instant");var i=n.rules().offset(t),r=t.epochSecond()+i.totalSeconds(),s=m.floorDiv(r,he.SECONDS_PER_DAY);return e.ofEpochDay(s)},e.of=function(t,n,i){return new e(t,n,i)},e.ofYearDay=function(t,i){R.YEAR.checkValidValue(t);var r=$t.isLeapYear(t);366===i&&!1===r&&l(!1,"Invalid date 'DayOfYear 366' as '"+t+"' is not a leap year",n);var s=U.of(Math.floor((i-1)/31+1));i>s.firstDayOfYear(r)+s.length(r)-1&&(s=s.plus(1));var o=i-s.firstDayOfYear(r)+1;return new e(t,s.value(),o)},e.ofEpochDay=function(t){var n,i,r,s,o;void 0===t&&(t=0),o=t+se,n=0,(o-=60)<0&&(n=400*(i=m.intDiv(o+1,re)-1),o+=-i*re),(r=o-(365*(s=m.intDiv(400*o+591,re))+m.intDiv(s,4)-m.intDiv(s,100)+m.intDiv(s,400)))<0&&(r=o-(365*--s+m.intDiv(s,4)-m.intDiv(s,100)+m.intDiv(s,400))),s+=n;var a=r,u=m.intDiv(5*a+2,153),h=(u+2)%12+1,f=a-m.intDiv(306*u+5,10)+1;return new e(s+=m.intDiv(u,10),h,f)},e.from=function(t){_(t,"temporal");var e=t.query(g.localDate());if(null==e)throw new n("Unable to obtain LocalDate from TemporalAccessor: "+t+", type "+(null!=t.constructor?t.constructor.name:""));return e},e.parse=function(t,n){return void 0===n&&(n=xt.ISO_LOCAL_DATE),l(null!=n,"formatter",u),n.parse(t,e.FROM)},e._resolvePreviousValid=function(t,n,i){switch(n){case 2:i=Math.min(i,$t.isLeapYear(t)?29:28);break;case 4:case 6:case 9:case 11:i=Math.min(i,30)}return e.of(t,n,i)},e._validate=function(t,e,i){var r;if(R.YEAR.checkValidValue(t),R.MONTH_OF_YEAR.checkValidValue(e),R.DAY_OF_MONTH.checkValidValue(i),i>28){switch(r=31,e){case 2:r=$t.isLeapYear(t)?29:28;break;case 4:case 6:case 9:case 11:r=30}i>r&&l(!1,29===i?"Invalid date 'February 29' as '"+t+"' is not a leap year":"Invalid date '"+t+"' '"+e+"' '"+i+"'",n)}};var i=e.prototype;return i.isSupported=function(e){return t.prototype.isSupported.call(this,e)},i.range=function(t){if(t instanceof R){if(t.isDateBased()){switch(t){case R.DAY_OF_MONTH:return M.of(1,this.lengthOfMonth());case R.DAY_OF_YEAR:return M.of(1,this.lengthOfYear());case R.ALIGNED_WEEK_OF_MONTH:return M.of(1,this.month()===U.FEBRUARY&&!1===this.isLeapYear()?4:5);case R.YEAR_OF_ERA:return this._year<=0?M.of(1,Kt.MAX_VALUE+1):M.of(1,Kt.MAX_VALUE)}return t.range()}throw new r("Unsupported field: "+t)}return t.rangeRefinedBy(this)},i.get=function(t){return this.getLong(t)},i.getLong=function(t){return l(null!=t,"",u),t instanceof R?this._get0(t):t.getFrom(this)},i._get0=function(t){switch(t){case R.DAY_OF_WEEK:return this.dayOfWeek().value();case R.ALIGNED_DAY_OF_WEEK_IN_MONTH:return m.intMod(this._day-1,7)+1;case R.ALIGNED_DAY_OF_WEEK_IN_YEAR:return m.intMod(this.dayOfYear()-1,7)+1;case R.DAY_OF_MONTH:return this._day;case R.DAY_OF_YEAR:return this.dayOfYear();case R.EPOCH_DAY:return this.toEpochDay();case R.ALIGNED_WEEK_OF_MONTH:return m.intDiv(this._day-1,7)+1;case R.ALIGNED_WEEK_OF_YEAR:return m.intDiv(this.dayOfYear()-1,7)+1;case R.MONTH_OF_YEAR:return this._month;case R.PROLEPTIC_MONTH:return this._prolepticMonth();case R.YEAR_OF_ERA:return this._year>=1?this._year:1-this._year;case R.YEAR:return this._year;case R.ERA:return this._year>=1?1:0}throw new r("Unsupported field: "+t)},i._prolepticMonth=function(){return 12*this._year+(this._month-1)},i.chronology=function(){return $t.INSTANCE},i.year=function(){return this._year},i.monthValue=function(){return this._month},i.month=function(){return U.of(this._month)},i.dayOfMonth=function(){return this._day},i.dayOfYear=function(){return this.month().firstDayOfYear(this.isLeapYear())+this._day-1},i.dayOfWeek=function(){var t=m.floorMod(this.toEpochDay()+3,7);return L.of(t+1)},i.isLeapYear=function(){return $t.isLeapYear(this._year)},i.lengthOfMonth=function(){switch(this._month){case 2:return this.isLeapYear()?29:28;case 4:case 6:case 9:case 11:return 30;default:return 31}},i.lengthOfYear=function(){return this.isLeapYear()?366:365},i._withAdjuster=function(n){return _(n,"adjuster"),n instanceof e?n:t.prototype._withAdjuster.call(this,n)},i._withField=function(t,n){if(l(null!=t,"field",u),t instanceof R){var i=t;switch(i.checkValidValue(n),i){case R.DAY_OF_WEEK:return this.plusDays(n-this.dayOfWeek().value());case R.ALIGNED_DAY_OF_WEEK_IN_MONTH:return this.plusDays(n-this.getLong(R.ALIGNED_DAY_OF_WEEK_IN_MONTH));case R.ALIGNED_DAY_OF_WEEK_IN_YEAR:return this.plusDays(n-this.getLong(R.ALIGNED_DAY_OF_WEEK_IN_YEAR));case R.DAY_OF_MONTH:return this.withDayOfMonth(n);case R.DAY_OF_YEAR:return this.withDayOfYear(n);case R.EPOCH_DAY:return e.ofEpochDay(n);case R.ALIGNED_WEEK_OF_MONTH:return this.plusWeeks(n-this.getLong(R.ALIGNED_WEEK_OF_MONTH));case R.ALIGNED_WEEK_OF_YEAR:return this.plusWeeks(n-this.getLong(R.ALIGNED_WEEK_OF_YEAR));case R.MONTH_OF_YEAR:return this.withMonth(n);case R.PROLEPTIC_MONTH:return this.plusMonths(n-this.getLong(R.PROLEPTIC_MONTH));case R.YEAR_OF_ERA:return this.withYear(this._year>=1?n:1-n);case R.YEAR:return this.withYear(n);case R.ERA:return this.getLong(R.ERA)===n?this:this.withYear(1-this._year)}throw new r("Unsupported field: "+t)}return t.adjustInto(this,n)},i.withYear=function(t){return this._year===t?this:(R.YEAR.checkValidValue(t),e._resolvePreviousValid(t,this._month,this._day))},i.withMonth=function(t){var n=t instanceof U?t.value():t;return this._month===n?this:(R.MONTH_OF_YEAR.checkValidValue(n),e._resolvePreviousValid(this._year,n,this._day))},i.withDayOfMonth=function(t){return this._day===t?this:e.of(this._year,this._month,t)},i.withDayOfYear=function(t){return this.dayOfYear()===t?this:e.ofYearDay(this._year,t)},i._plusUnit=function(t,e){if(_(t,"amountToAdd"),_(e,"unit"),e instanceof w){switch(e){case w.DAYS:return this.plusDays(t);case w.WEEKS:return this.plusWeeks(t);case w.MONTHS:return this.plusMonths(t);case w.YEARS:return this.plusYears(t);case w.DECADES:return this.plusYears(m.safeMultiply(t,10));case w.CENTURIES:return this.plusYears(m.safeMultiply(t,100));case w.MILLENNIA:return this.plusYears(m.safeMultiply(t,1e3));case w.ERAS:return this.with(R.ERA,m.safeAdd(this.getLong(R.ERA),t))}throw new r("Unsupported unit: "+e)}return e.addTo(this,t)},i.plusYears=function(t){if(0===t)return this;var n=R.YEAR.checkValidIntValue(this._year+t);return e._resolvePreviousValid(n,this._month,this._day)},i.plusMonths=function(t){if(0===t)return this;var n=12*this._year+(this._month-1)+t,i=R.YEAR.checkValidIntValue(m.floorDiv(n,12)),r=m.floorMod(n,12)+1;return e._resolvePreviousValid(i,r,this._day)},i.plusWeeks=function(t){return this.plusDays(m.safeMultiply(t,7))},i.plusDays=function(t){if(0===t)return this;var n=m.safeAdd(this.toEpochDay(),t);return e.ofEpochDay(n)},i._minusUnit=function(t,e){return _(t,"amountToSubtract"),_(e,"unit"),this._plusUnit(-1*t,e)},i.minusYears=function(t){return this.plusYears(-1*t)},i.minusMonths=function(t){return this.plusMonths(-1*t)},i.minusWeeks=function(t){return this.plusWeeks(-1*t)},i.minusDays=function(t){return this.plusDays(-1*t)},i.query=function(e){return _(e,"query"),e===g.localDate()?this:t.prototype.query.call(this,e)},i.adjustInto=function(e){return t.prototype.adjustInto.call(this,e)},i.until=function(t,e){return arguments.length<2?this.until1(t):this.until2(t,e)},i.until2=function(t,n){var i=e.from(t);if(n instanceof w){switch(n){case w.DAYS:return this.daysUntil(i);case w.WEEKS:return m.intDiv(this.daysUntil(i),7);case w.MONTHS:return this._monthsUntil(i);case w.YEARS:return m.intDiv(this._monthsUntil(i),12);case w.DECADES:return m.intDiv(this._monthsUntil(i),120);case w.CENTURIES:return m.intDiv(this._monthsUntil(i),1200);case w.MILLENNIA:return m.intDiv(this._monthsUntil(i),12e3);case w.ERAS:return i.getLong(R.ERA)-this.getLong(R.ERA)}throw new r("Unsupported unit: "+n)}return n.between(this,i)},i.daysUntil=function(t){return t.toEpochDay()-this.toEpochDay()},i._monthsUntil=function(t){var e=32*this._prolepticMonth()+this.dayOfMonth(),n=32*t._prolepticMonth()+t.dayOfMonth();return m.intDiv(n-e,32)},i.until1=function(t){var n=e.from(t),i=n._prolepticMonth()-this._prolepticMonth(),r=n._day-this._day;if(i>0&&r<0){i--;var s=this.plusMonths(i);r=n.toEpochDay()-s.toEpochDay()}else i<0&&r>0&&(i++,r-=n.lengthOfMonth());var o=m.intDiv(i,12),a=m.intMod(i,12);return b.of(o,a,r)},i.atTime=function(){return 1===arguments.length?this.atTime1.apply(this,arguments):this.atTime4.apply(this,arguments)},i.atTime1=function(t){if(_(t,"time"),t instanceof he)return ue.of(this,t);if(t instanceof te)return this._atTimeOffsetTime(t);throw new o("time must be an instance of LocalTime or OffsetTime"+(t&&t.constructor&&t.constructor.name?", but is "+t.constructor.name:""))},i.atTime4=function(t,e,n,i){return void 0===n&&(n=0),void 0===i&&(i=0),this.atTime1(he.of(t,e,n,i))},i._atTimeOffsetTime=function(t){return ie.of(ue.of(this,t.toLocalTime()),t.offset())},i.atStartOfDay=function(t){return null!=t?this._atStartOfDayWithZone(t):ue.of(this,he.MIDNIGHT)},i._atStartOfDayWithZone=function(t){_(t,"zone");var e=this.atTime(he.MIDNIGHT);if(t instanceof X==!1){var n=t.rules().transition(e);null!=n&&n.isGap()&&(e=n.dateTimeAfter())}return ne.of(e,t)},i.toEpochDay=function(){var t=this._year,e=this._month,n=0;return n+=365*t,t>=0?n+=m.intDiv(t+3,4)-m.intDiv(t+99,100)+m.intDiv(t+399,400):n-=m.intDiv(t,-4)-m.intDiv(t,-100)+m.intDiv(t,-400),n+=m.intDiv(367*e-362,12),n+=this.dayOfMonth()-1,e>2&&(n--,$t.isLeapYear(t)||n--),n-se},i.compareTo=function(t){return _(t,"other"),d(t,e,"other"),this._compareTo0(t)},i._compareTo0=function(t){var e=this._year-t._year;return 0===e&&0===(e=this._month-t._month)&&(e=this._day-t._day),e},i.isAfter=function(t){return this.compareTo(t)>0},i.isBefore=function(t){return this.compareTo(t)<0},i.isEqual=function(t){return 0===this.compareTo(t)},i.equals=function(t){return this===t||t instanceof e&&0===this._compareTo0(t)},i.hashCode=function(){var t=this._year,e=this._month,n=this._day;return m.hash(4294965248&t^(t<<11)+(e<<6)+n)},i.toString=function(){var t=this._year,e=this._month,n=this._day;return(Math.abs(t)<1e3?t<0?"-"+(""+(t-1e4)).slice(-4):(""+(t+1e4)).slice(-4):t>9999?"+"+t:""+t)+(e<10?"-0"+e:"-"+e)+(n<10?"-0"+n:"-"+n)},i.toJSON=function(){return this.toString()},i.format=function(e){return _(e,"formatter"),d(e,xt,"formatter"),t.prototype.format.call(this,e)},e}(B);var ae=function(t){function e(){return t.apply(this,arguments)||this}h(e,t);var n=e.prototype;return n.chronology=function(){return this.toLocalDate().chronology()},n.query=function(e){return e===g.chronology()?this.chronology():e===g.precision()?w.NANOS:e===g.localDate()?oe.ofEpochDay(this.toLocalDate().toEpochDay()):e===g.localTime()?this.toLocalTime():e===g.zone()||e===g.zoneId()||e===g.offset()?null:t.prototype.query.call(this,e)},n.adjustInto=function(t){return t.with(R.EPOCH_DAY,this.toLocalDate().toEpochDay()).with(R.NANO_OF_DAY,this.toLocalTime().toNanoOfDay())},n.toInstant=function(t){return d(t,X,"zoneId"),ce.ofEpochSecond(this.toEpochSecond(t),this.toLocalTime().nano())},n.toEpochSecond=function(t){_(t,"offset");var e=86400*this.toLocalDate().toEpochDay()+this.toLocalTime().toSecondOfDay();return e-=t.totalSeconds(),m.safeToInt(e)},e}(k),ue=function(t){function e(e,n){var i;return i=t.call(this)||this,d(e,oe,"date"),d(n,he,"time"),i._date=e,i._time=n,i}h(e,t),e.now=function(t){return null==t?e._now(le.systemDefaultZone()):t instanceof le?e._now(t):e._now(le.system(t))},e._now=function(t){return _(t,"clock"),e.ofInstant(t.instant(),t.zone())},e._ofEpochMillis=function(t,n){var i=m.floorDiv(t,1e3)+n.totalSeconds(),r=m.floorDiv(i,he.SECONDS_PER_DAY),s=m.floorMod(i,he.SECONDS_PER_DAY),o=1e6*m.floorMod(t,1e3);return new e(oe.ofEpochDay(r),he.ofSecondOfDay(s,o))},e.of=function(){return arguments.length<=2?e.ofDateAndTime.apply(this,arguments):e.ofNumbers.apply(this,arguments)},e.ofNumbers=function(t,n,i,r,s,o,a){return void 0===r&&(r=0),void 0===s&&(s=0),void 0===o&&(o=0),void 0===a&&(a=0),new e(oe.of(t,n,i),he.of(r,s,o,a))},e.ofDateAndTime=function(t,n){return _(t,"date"),_(n,"time"),new e(t,n)},e.ofInstant=function(t,n){void 0===n&&(n=Z.systemDefault()),_(t,"instant"),d(t,ce,"instant"),_(n,"zone");var i=n.rules().offset(t);return e.ofEpochSecond(t.epochSecond(),t.nano(),i)},e.ofEpochSecond=function(t,n,i){void 0===t&&(t=0),void 0===n&&(n=0),2===arguments.length&&n instanceof X&&(i=n,n=0),_(i,"offset");var r=t+i.totalSeconds(),s=m.floorDiv(r,he.SECONDS_PER_DAY),o=m.floorMod(r,he.SECONDS_PER_DAY),a=oe.ofEpochDay(s),u=he.ofSecondOfDay(o,n);return new e(a,u)},e.from=function(t){if(_(t,"temporal"),t instanceof e)return t;if(t instanceof ne)return t.toLocalDateTime();try{return new e(oe.from(t),he.from(t))}catch(e){throw new n("Unable to obtain LocalDateTime TemporalAccessor: "+t+", type "+(null!=t.constructor?t.constructor.name:""))}},e.parse=function(t,n){return void 0===n&&(n=xt.ISO_LOCAL_DATE_TIME),_(n,"formatter"),n.parse(t,e.FROM)};var i=e.prototype;return i._withDateTime=function(t,n){return this._date.equals(t)&&this._time.equals(n)?this:new e(t,n)},i.isSupported=function(t){return t instanceof R||t instanceof w?t.isDateBased()||t.isTimeBased():null!=t&&t.isSupportedBy(this)},i.range=function(t){return t instanceof R?t.isTimeBased()?this._time.range(t):this._date.range(t):t.rangeRefinedBy(this)},i.get=function(e){return e instanceof R?e.isTimeBased()?this._time.get(e):this._date.get(e):t.prototype.get.call(this,e)},i.getLong=function(t){return _(t,"field"),t instanceof R?t.isTimeBased()?this._time.getLong(t):this._date.getLong(t):t.getFrom(this)},i.year=function(){return this._date.year()},i.monthValue=function(){return this._date.monthValue()},i.month=function(){return this._date.month()},i.dayOfMonth=function(){return this._date.dayOfMonth()},i.dayOfYear=function(){return this._date.dayOfYear()},i.dayOfWeek=function(){return this._date.dayOfWeek()},i.hour=function(){return this._time.hour()},i.minute=function(){return this._time.minute()},i.second=function(){return this._time.second()},i.nano=function(){return this._time.nano()},i._withAdjuster=function(n){return _(n,"adjuster"),n instanceof oe?this._withDateTime(n,this._time):n instanceof he?this._withDateTime(this._date,n):n instanceof e?n:t.prototype._withAdjuster.call(this,n)},i._withField=function(t,e){return _(t,"field"),t instanceof R?t.isTimeBased()?this._withDateTime(this._date,this._time.with(t,e)):this._withDateTime(this._date.with(t,e),this._time):t.adjustInto(this,e)},i.withYear=function(t){return this._withDateTime(this._date.withYear(t),this._time)},i.withMonth=function(t){return this._withDateTime(this._date.withMonth(t),this._time)},i.withDayOfMonth=function(t){return this._withDateTime(this._date.withDayOfMonth(t),this._time)},i.withDayOfYear=function(t){return this._withDateTime(this._date.withDayOfYear(t),this._time)},i.withHour=function(t){var e=this._time.withHour(t);return this._withDateTime(this._date,e)},i.withMinute=function(t){var e=this._time.withMinute(t);return this._withDateTime(this._date,e)},i.withSecond=function(t){var e=this._time.withSecond(t);return this._withDateTime(this._date,e)},i.withNano=function(t){var e=this._time.withNano(t);return this._withDateTime(this._date,e)},i.truncatedTo=function(t){return this._withDateTime(this._date,this._time.truncatedTo(t))},i._plusUnit=function(t,e){if(_(e,"unit"),e instanceof w){switch(e){case w.NANOS:return this.plusNanos(t);case w.MICROS:return this.plusDays(m.intDiv(t,he.MICROS_PER_DAY)).plusNanos(1e3*m.intMod(t,he.MICROS_PER_DAY));case w.MILLIS:return this.plusDays(m.intDiv(t,he.MILLIS_PER_DAY)).plusNanos(1e6*m.intMod(t,he.MILLIS_PER_DAY));case w.SECONDS:return this.plusSeconds(t);case w.MINUTES:return this.plusMinutes(t);case w.HOURS:return this.plusHours(t);case w.HALF_DAYS:return this.plusDays(m.intDiv(t,256)).plusHours(12*m.intMod(t,256))}return this._withDateTime(this._date.plus(t,e),this._time)}return e.addTo(this,t)},i.plusYears=function(t){var e=this._date.plusYears(t);return this._withDateTime(e,this._time)},i.plusMonths=function(t){var e=this._date.plusMonths(t);return this._withDateTime(e,this._time)},i.plusWeeks=function(t){var e=this._date.plusWeeks(t);return this._withDateTime(e,this._time)},i.plusDays=function(t){var e=this._date.plusDays(t);return this._withDateTime(e,this._time)},i.plusHours=function(t){return this._plusWithOverflow(this._date,t,0,0,0,1)},i.plusMinutes=function(t){return this._plusWithOverflow(this._date,0,t,0,0,1)},i.plusSeconds=function(t){return this._plusWithOverflow(this._date,0,0,t,0,1)},i.plusNanos=function(t){return this._plusWithOverflow(this._date,0,0,0,t,1)},i._minusUnit=function(t,e){return _(e,"unit"),this._plusUnit(-1*t,e)},i.minusYears=function(t){return this.plusYears(-1*t)},i.minusMonths=function(t){return this.plusMonths(-1*t)},i.minusWeeks=function(t){return this.plusWeeks(-1*t)},i.minusDays=function(t){return this.plusDays(-1*t)},i.minusHours=function(t){return this._plusWithOverflow(this._date,t,0,0,0,-1)},i.minusMinutes=function(t){return this._plusWithOverflow(this._date,0,t,0,0,-1)},i.minusSeconds=function(t){return this._plusWithOverflow(this._date,0,0,t,0,-1)},i.minusNanos=function(t){return this._plusWithOverflow(this._date,0,0,0,t,-1)},i._plusWithOverflow=function(t,e,n,i,r,s){if(0===e&&0===n&&0===i&&0===r)return this._withDateTime(t,this._time);var o=m.intDiv(r,he.NANOS_PER_DAY)+m.intDiv(i,he.SECONDS_PER_DAY)+m.intDiv(n,he.MINUTES_PER_DAY)+m.intDiv(e,he.HOURS_PER_DAY);o*=s;var a=m.intMod(r,he.NANOS_PER_DAY)+m.intMod(i,he.SECONDS_PER_DAY)*he.NANOS_PER_SECOND+m.intMod(n,he.MINUTES_PER_DAY)*he.NANOS_PER_MINUTE+m.intMod(e,he.HOURS_PER_DAY)*he.NANOS_PER_HOUR,u=this._time.toNanoOfDay();a=a*s+u,o+=m.floorDiv(a,he.NANOS_PER_DAY);var h=m.floorMod(a,he.NANOS_PER_DAY),f=h===u?this._time:he.ofNanoOfDay(h);return this._withDateTime(t.plusDays(o),f)},i.query=function(e){return _(e,"query"),e===g.localDate()?this.toLocalDate():t.prototype.query.call(this,e)},i.adjustInto=function(e){return t.prototype.adjustInto.call(this,e)},i.until=function(t,n){_(t,"endExclusive"),_(n,"unit");var i=e.from(t);if(n instanceof w){if(n.isTimeBased()){var s=this._date.daysUntil(i._date),o=i._time.toNanoOfDay()-this._time.toNanoOfDay();s>0&&o<0?(s--,o+=he.NANOS_PER_DAY):s<0&&o>0&&(s++,o-=he.NANOS_PER_DAY);var a=s;switch(n){case w.NANOS:return a=m.safeMultiply(a,he.NANOS_PER_DAY),m.safeAdd(a,o);case w.MICROS:return a=m.safeMultiply(a,he.MICROS_PER_DAY),m.safeAdd(a,m.intDiv(o,1e3));case w.MILLIS:return a=m.safeMultiply(a,he.MILLIS_PER_DAY),m.safeAdd(a,m.intDiv(o,1e6));case w.SECONDS:return a=m.safeMultiply(a,he.SECONDS_PER_DAY),m.safeAdd(a,m.intDiv(o,he.NANOS_PER_SECOND));case w.MINUTES:return a=m.safeMultiply(a,he.MINUTES_PER_DAY),m.safeAdd(a,m.intDiv(o,he.NANOS_PER_MINUTE));case w.HOURS:return a=m.safeMultiply(a,he.HOURS_PER_DAY),m.safeAdd(a,m.intDiv(o,he.NANOS_PER_HOUR));case w.HALF_DAYS:return a=m.safeMultiply(a,2),m.safeAdd(a,m.intDiv(o,12*he.NANOS_PER_HOUR))}throw new r("Unsupported unit: "+n)}var u=i._date,h=i._time;return u.isAfter(this._date)&&h.isBefore(this._time)?u=u.minusDays(1):u.isBefore(this._date)&&h.isAfter(this._time)&&(u=u.plusDays(1)),this._date.until(u,n)}return n.between(this,i)},i.atOffset=function(t){return ie.of(this,t)},i.atZone=function(t){return ne.of(this,t)},i.toLocalDate=function(){return this._date},i.toLocalTime=function(){return this._time},i.compareTo=function(t){return _(t,"other"),d(t,e,"other"),this._compareTo0(t)},i._compareTo0=function(t){var e=this._date.compareTo(t.toLocalDate());return 0===e&&(e=this._time.compareTo(t.toLocalTime())),e},i.isAfter=function(t){return this.compareTo(t)>0},i.isBefore=function(t){return this.compareTo(t)<0},i.isEqual=function(t){return 0===this.compareTo(t)},i.equals=function(t){return this===t||t instanceof e&&(this._date.equals(t._date)&&this._time.equals(t._time))},i.hashCode=function(){return this._date.hashCode()^this._time.hashCode()},i.toString=function(){return this._date.toString()+"T"+this._time.toString()},i.toJSON=function(){return this.toString()},i.format=function(t){return _(t,"formatter"),t.format(this)},e}(ae);var he=function(t){function e(n,i,r,s){var o;void 0===n&&(n=0),void 0===i&&(i=0),void 0===r&&(r=0),void 0===s&&(s=0),o=t.call(this)||this;var a=m.safeToInt(n),u=m.safeToInt(i),h=m.safeToInt(r),f=m.safeToInt(s);return e._validate(a,u,h,f),0===u&&0===h&&0===f?(e.HOURS[a]||(o._hour=a,o._minute=u,o._second=h,o._nano=f,e.HOURS[a]=c(o)),e.HOURS[a]||c(o)):(o._hour=a,o._minute=u,o._second=h,o._nano=f,o)}h(e,t),e.now=function(t){return null==t?e._now(le.systemDefaultZone()):t instanceof le?e._now(t):e._now(le.system(t))},e._now=function(t){return void 0===t&&(t=le.systemDefaultZone()),_(t,"clock"),e.ofInstant(t.instant(),t.zone())},e.ofInstant=function(t,n){void 0===n&&(n=Z.systemDefault());var i=n.rules().offset(t),r=m.intMod(t.epochSecond(),e.SECONDS_PER_DAY);return(r=m.intMod(r+i.totalSeconds(),e.SECONDS_PER_DAY))<0&&(r+=e.SECONDS_PER_DAY),e.ofSecondOfDay(r,t.nano())},e.of=function(t,n,i,r){return new e(t,n,i,r)},e.ofSecondOfDay=function(t,n){void 0===t&&(t=0),void 0===n&&(n=0),R.SECOND_OF_DAY.checkValidValue(t),R.NANO_OF_SECOND.checkValidValue(n);var i=m.intDiv(t,e.SECONDS_PER_HOUR);t-=i*e.SECONDS_PER_HOUR;var r=m.intDiv(t,e.SECONDS_PER_MINUTE);return new e(i,r,t-=r*e.SECONDS_PER_MINUTE,n)},e.ofNanoOfDay=function(t){void 0===t&&(t=0),R.NANO_OF_DAY.checkValidValue(t);var n=m.intDiv(t,e.NANOS_PER_HOUR);t-=n*e.NANOS_PER_HOUR;var i=m.intDiv(t,e.NANOS_PER_MINUTE);t-=i*e.NANOS_PER_MINUTE;var r=m.intDiv(t,e.NANOS_PER_SECOND);return new e(n,i,r,t-=r*e.NANOS_PER_SECOND)},e.from=function(t){_(t,"temporal");var e=t.query(g.localTime());if(null==e)throw new n("Unable to obtain LocalTime TemporalAccessor: "+t+", type "+(null!=t.constructor?t.constructor.name:""));return e},e.parse=function(t,n){return void 0===n&&(n=xt.ISO_LOCAL_TIME),_(n,"formatter"),n.parse(t,e.FROM)},e._validate=function(t,e,n,i){R.HOUR_OF_DAY.checkValidValue(t),R.MINUTE_OF_HOUR.checkValidValue(e),R.SECOND_OF_MINUTE.checkValidValue(n),R.NANO_OF_SECOND.checkValidValue(i)};var i=e.prototype;return i.isSupported=function(t){return t instanceof R||t instanceof w?t.isTimeBased():null!=t&&t.isSupportedBy(this)},i.range=function(e){return _(e),t.prototype.range.call(this,e)},i.get=function(t){return this.getLong(t)},i.getLong=function(t){return _(t,"field"),t instanceof R?this._get0(t):t.getFrom(this)},i._get0=function(t){switch(t){case R.NANO_OF_SECOND:return this._nano;case R.NANO_OF_DAY:return this.toNanoOfDay();case R.MICRO_OF_SECOND:return m.intDiv(this._nano,1e3);case R.MICRO_OF_DAY:return m.intDiv(this.toNanoOfDay(),1e3);case R.MILLI_OF_SECOND:return m.intDiv(this._nano,1e6);case R.MILLI_OF_DAY:return m.intDiv(this.toNanoOfDay(),1e6);case R.SECOND_OF_MINUTE:return this._second;case R.SECOND_OF_DAY:return this.toSecondOfDay();case R.MINUTE_OF_HOUR:return this._minute;case R.MINUTE_OF_DAY:return 60*this._hour+this._minute;case R.HOUR_OF_AMPM:return m.intMod(this._hour,12);case R.CLOCK_HOUR_OF_AMPM:var e=m.intMod(this._hour,12);return e%12==0?12:e;case R.HOUR_OF_DAY:return this._hour;case R.CLOCK_HOUR_OF_DAY:return 0===this._hour?24:this._hour;case R.AMPM_OF_DAY:return m.intDiv(this._hour,12)}throw new r("Unsupported field: "+t)},i.hour=function(){return this._hour},i.minute=function(){return this._minute},i.second=function(){return this._second},i.nano=function(){return this._nano},i._withAdjuster=function(n){return _(n,"adjuster"),n instanceof e?n:t.prototype._withAdjuster.call(this,n)},i._withField=function(t,n){if(_(t,"field"),d(t,y,"field"),t instanceof R){switch(t.checkValidValue(n),t){case R.NANO_OF_SECOND:return this.withNano(n);case R.NANO_OF_DAY:return e.ofNanoOfDay(n);case R.MICRO_OF_SECOND:return this.withNano(1e3*n);case R.MICRO_OF_DAY:return e.ofNanoOfDay(1e3*n);case R.MILLI_OF_SECOND:return this.withNano(1e6*n);case R.MILLI_OF_DAY:return e.ofNanoOfDay(1e6*n);case R.SECOND_OF_MINUTE:return this.withSecond(n);case R.SECOND_OF_DAY:return this.plusSeconds(n-this.toSecondOfDay());case R.MINUTE_OF_HOUR:return this.withMinute(n);case R.MINUTE_OF_DAY:return this.plusMinutes(n-(60*this._hour+this._minute));case R.HOUR_OF_AMPM:return this.plusHours(n-m.intMod(this._hour,12));case R.CLOCK_HOUR_OF_AMPM:return this.plusHours((12===n?0:n)-m.intMod(this._hour,12));case R.HOUR_OF_DAY:return this.withHour(n);case R.CLOCK_HOUR_OF_DAY:return this.withHour(24===n?0:n);case R.AMPM_OF_DAY:return this.plusHours(12*(n-m.intDiv(this._hour,12)))}throw new r("Unsupported field: "+t)}return t.adjustInto(this,n)},i.withHour=function(t){return void 0===t&&(t=0),this._hour===t?this:new e(t,this._minute,this._second,this._nano)},i.withMinute=function(t){return void 0===t&&(t=0),this._minute===t?this:new e(this._hour,t,this._second,this._nano)},i.withSecond=function(t){return void 0===t&&(t=0),this._second===t?this:new e(this._hour,this._minute,t,this._nano)},i.withNano=function(t){return void 0===t&&(t=0),this._nano===t?this:new e(this._hour,this._minute,this._second,t)},i.truncatedTo=function(t){if(_(t,"unit"),t===w.NANOS)return this;var i=t.duration();if(i.seconds()>e.SECONDS_PER_DAY)throw new n("Unit is too large to be used for truncation");var r=i.toNanos();if(0!==m.intMod(e.NANOS_PER_DAY,r))throw new n("Unit must divide into a standard day without remainder");var s=this.toNanoOfDay();return e.ofNanoOfDay(m.intDiv(s,r)*r)},i._plusUnit=function(t,n){if(_(n,"unit"),n instanceof w){switch(n){case w.NANOS:return this.plusNanos(t);case w.MICROS:return this.plusNanos(1e3*m.intMod(t,e.MICROS_PER_DAY));case w.MILLIS:return this.plusNanos(1e6*m.intMod(t,e.MILLIS_PER_DAY));case w.SECONDS:return this.plusSeconds(t);case w.MINUTES:return this.plusMinutes(t);case w.HOURS:return this.plusHours(t);case w.HALF_DAYS:return this.plusHours(12*m.intMod(t,2))}throw new r("Unsupported unit: "+n)}return n.addTo(this,t)},i.plusHours=function(t){return 0===t?this:new e(m.intMod(m.intMod(t,e.HOURS_PER_DAY)+this._hour+e.HOURS_PER_DAY,e.HOURS_PER_DAY),this._minute,this._second,this._nano)},i.plusMinutes=function(t){if(0===t)return this;var n=this._hour*e.MINUTES_PER_HOUR+this._minute,i=m.intMod(m.intMod(t,e.MINUTES_PER_DAY)+n+e.MINUTES_PER_DAY,e.MINUTES_PER_DAY);return n===i?this:new e(m.intDiv(i,e.MINUTES_PER_HOUR),m.intMod(i,e.MINUTES_PER_HOUR),this._second,this._nano)},i.plusSeconds=function(t){if(0===t)return this;var n=this._hour*e.SECONDS_PER_HOUR+this._minute*e.SECONDS_PER_MINUTE+this._second,i=m.intMod(m.intMod(t,e.SECONDS_PER_DAY)+n+e.SECONDS_PER_DAY,e.SECONDS_PER_DAY);return n===i?this:new e(m.intDiv(i,e.SECONDS_PER_HOUR),m.intMod(m.intDiv(i,e.SECONDS_PER_MINUTE),e.MINUTES_PER_HOUR),m.intMod(i,e.SECONDS_PER_MINUTE),this._nano)},i.plusNanos=function(t){if(0===t)return this;var n=this.toNanoOfDay(),i=m.intMod(m.intMod(t,e.NANOS_PER_DAY)+n+e.NANOS_PER_DAY,e.NANOS_PER_DAY);return n===i?this:new e(m.intDiv(i,e.NANOS_PER_HOUR),m.intMod(m.intDiv(i,e.NANOS_PER_MINUTE),e.MINUTES_PER_HOUR),m.intMod(m.intDiv(i,e.NANOS_PER_SECOND),e.SECONDS_PER_MINUTE),m.intMod(i,e.NANOS_PER_SECOND))},i._minusUnit=function(t,e){return _(e,"unit"),this._plusUnit(-1*t,e)},i.minusHours=function(t){return this.plusHours(-1*m.intMod(t,e.HOURS_PER_DAY))},i.minusMinutes=function(t){return this.plusMinutes(-1*m.intMod(t,e.MINUTES_PER_DAY))},i.minusSeconds=function(t){return this.plusSeconds(-1*m.intMod(t,e.SECONDS_PER_DAY))},i.minusNanos=function(t){return this.plusNanos(-1*m.intMod(t,e.NANOS_PER_DAY))},i.query=function(t){return _(t,"query"),t===g.precision()?w.NANOS:t===g.localTime()?this:t===g.chronology()||t===g.zoneId()||t===g.zone()||t===g.offset()||t===g.localDate()?null:t.queryFrom(this)},i.adjustInto=function(t){return t.with(e.NANO_OF_DAY,this.toNanoOfDay())},i.until=function(t,n){_(t,"endExclusive"),_(n,"unit");var i=e.from(t);if(n instanceof w){var s=i.toNanoOfDay()-this.toNanoOfDay();switch(n){case w.NANOS:return s;case w.MICROS:return m.intDiv(s,1e3);case w.MILLIS:return m.intDiv(s,1e6);case w.SECONDS:return m.intDiv(s,e.NANOS_PER_SECOND);case w.MINUTES:return m.intDiv(s,e.NANOS_PER_MINUTE);case w.HOURS:return m.intDiv(s,e.NANOS_PER_HOUR);case w.HALF_DAYS:return m.intDiv(s,12*e.NANOS_PER_HOUR)}throw new r("Unsupported unit: "+n)}return n.between(this,i)},i.atDate=function(t){return ue.of(t,this)},i.atOffset=function(t){return te.of(this,t)},i.toSecondOfDay=function(){var t=this._hour*e.SECONDS_PER_HOUR;return t+=this._minute*e.SECONDS_PER_MINUTE,t+=this._second},i.toNanoOfDay=function(){var t=this._hour*e.NANOS_PER_HOUR;return t+=this._minute*e.NANOS_PER_MINUTE,t+=this._second*e.NANOS_PER_SECOND,t+=this._nano},i.compareTo=function(t){_(t,"other"),d(t,e,"other");var n=m.compareNumbers(this._hour,t._hour);return 0===n&&0===(n=m.compareNumbers(this._minute,t._minute))&&0===(n=m.compareNumbers(this._second,t._second))&&(n=m.compareNumbers(this._nano,t._nano)),n},i.isAfter=function(t){return this.compareTo(t)>0},i.isBefore=function(t){return this.compareTo(t)<0},i.equals=function(t){return this===t||t instanceof e&&(this._hour===t._hour&&this._minute===t._minute&&this._second===t._second&&this._nano===t._nano)},i.hashCode=function(){var t=this.toNanoOfDay();return m.hash(t)},i.toString=function(){var t="",e=this._hour,n=this._minute,i=this._second,r=this._nano;return t+=e<10?"0":"",t+=e,t+=n<10?":0":":",t+=n,(i>0||r>0)&&(t+=i<10?":0":":",t+=i,r>0&&(t+=".",0===m.intMod(r,1e6)?t+=(""+(m.intDiv(r,1e6)+1e3)).substring(1):0===m.intMod(r,1e3)?t+=(""+(m.intDiv(r,1e3)+1e6)).substring(1):t+=(""+(r+1e9)).substring(1))),t},i.toJSON=function(){return this.toString()},i.format=function(t){return _(t,"formatter"),t.format(this)},e}(k);he.HOURS_PER_DAY=24,he.MINUTES_PER_HOUR=60,he.MINUTES_PER_DAY=he.MINUTES_PER_HOUR*he.HOURS_PER_DAY,he.SECONDS_PER_MINUTE=60,he.SECONDS_PER_HOUR=he.SECONDS_PER_MINUTE*he.MINUTES_PER_HOUR,he.SECONDS_PER_DAY=he.SECONDS_PER_HOUR*he.HOURS_PER_DAY,he.MILLIS_PER_DAY=1e3*he.SECONDS_PER_DAY,he.MICROS_PER_DAY=1e6*he.SECONDS_PER_DAY,he.NANOS_PER_SECOND=1e9,he.NANOS_PER_MINUTE=he.NANOS_PER_SECOND*he.SECONDS_PER_MINUTE,he.NANOS_PER_HOUR=he.NANOS_PER_MINUTE*he.MINUTES_PER_HOUR,he.NANOS_PER_DAY=he.NANOS_PER_HOUR*he.HOURS_PER_DAY;var fe=1e6,ce=function(t){function e(n,i){var r;return r=t.call(this)||this,e._validate(n,i),r._seconds=m.safeToInt(n),r._nanos=m.safeToInt(i),r}h(e,t),e.now=function(t){return void 0===t&&(t=le.systemUTC()),t.instant()},e.ofEpochSecond=function(t,n){void 0===n&&(n=0);var i=t+m.floorDiv(n,he.NANOS_PER_SECOND),r=m.floorMod(n,he.NANOS_PER_SECOND);return e._create(i,r)},e.ofEpochMilli=function(t){var n=m.floorDiv(t,1e3),i=m.floorMod(t,1e3);return e._create(n,1e6*i)},e.ofEpochMicro=function(t){var n=m.floorDiv(t,1e6),i=m.floorMod(t,1e6);return e._create(n,1e3*i)},e.from=function(t){try{var i=t.getLong(R.INSTANT_SECONDS),r=t.get(R.NANO_OF_SECOND);return e.ofEpochSecond(i,r)}catch(e){throw new n("Unable to obtain Instant from TemporalAccessor: "+t+", type "+typeof t,e)}},e.parse=function(t){return xt.ISO_INSTANT.parse(t,e.FROM)},e._create=function(t,n){return 0===t&&0===n?e.EPOCH:new e(t,n)},e._validate=function(t,i){if(t<e.MIN_SECONDS||t>e.MAX_SECONDS)throw new n("Instant exceeds minimum or maximum instant");if(i<0||i>he.NANOS_PER_SECOND)throw new n("Instant exceeds minimum or maximum instant")};var i=e.prototype;return i.isSupported=function(t){return t instanceof R?t===R.INSTANT_SECONDS||t===R.NANO_OF_SECOND||t===R.MICRO_OF_SECOND||t===R.MILLI_OF_SECOND:t instanceof w?t.isTimeBased()||t===w.DAYS:null!=t&&t.isSupportedBy(this)},i.range=function(e){return t.prototype.range.call(this,e)},i.get=function(t){return this.getLong(t)},i.getLong=function(t){if(t instanceof R){switch(t){case R.NANO_OF_SECOND:return this._nanos;case R.MICRO_OF_SECOND:return m.intDiv(this._nanos,1e3);case R.MILLI_OF_SECOND:return m.intDiv(this._nanos,fe);case R.INSTANT_SECONDS:return this._seconds}throw new r("Unsupported field: "+t)}return t.getFrom(this)},i.epochSecond=function(){return this._seconds},i.nano=function(){return this._nanos},i._withField=function(t,n){if(_(t,"field"),t instanceof R){switch(t.checkValidValue(n),t){case R.MILLI_OF_SECOND:var i=n*fe;return i!==this._nanos?e._create(this._seconds,i):this;case R.MICRO_OF_SECOND:var s=1e3*n;return s!==this._nanos?e._create(this._seconds,s):this;case R.NANO_OF_SECOND:return n!==this._nanos?e._create(this._seconds,n):this;case R.INSTANT_SECONDS:return n!==this._seconds?e._create(n,this._nanos):this}throw new r("Unsupported field: "+t)}return t.adjustInto(this,n)},i.truncatedTo=function(t){if(_(t,"unit"),t===w.NANOS)return this;var e=t.duration();if(e.seconds()>he.SECONDS_PER_DAY)throw new n("Unit is too large to be used for truncation");var i=e.toNanos();if(0!==m.intMod(he.NANOS_PER_DAY,i))throw new n("Unit must divide into a standard day without remainder");var r=m.intMod(this._seconds,he.SECONDS_PER_DAY)*he.NANOS_PER_SECOND+this._nanos,s=m.intDiv(r,i)*i;return this.plusNanos(s-r)},i._plusUnit=function(t,e){if(_(t,"amountToAdd"),_(e,"unit"),d(e,A),e instanceof w){switch(e){case w.NANOS:return this.plusNanos(t);case w.MICROS:return this.plusMicros(t);case w.MILLIS:return this.plusMillis(t);case w.SECONDS:return this.plusSeconds(t);case w.MINUTES:return this.plusSeconds(m.safeMultiply(t,he.SECONDS_PER_MINUTE));case w.HOURS:return this.plusSeconds(m.safeMultiply(t,he.SECONDS_PER_HOUR));case w.HALF_DAYS:return this.plusSeconds(m.safeMultiply(t,he.SECONDS_PER_DAY/2));case w.DAYS:return this.plusSeconds(m.safeMultiply(t,he.SECONDS_PER_DAY))}throw new r("Unsupported unit: "+e)}return e.addTo(this,t)},i.plusSeconds=function(t){return this._plus(t,0)},i.plusMillis=function(t){return this._plus(m.intDiv(t,1e3),m.intMod(t,1e3)*fe)},i.plusNanos=function(t){return this._plus(0,t)},i.plusMicros=function(t){return this._plus(m.intDiv(t,1e6),1e3*m.intMod(t,1e6))},i._plus=function(t,n){if(0===t&&0===n)return this;var i=this._seconds+t;i+=m.intDiv(n,he.NANOS_PER_SECOND);var r=this._nanos+n%he.NANOS_PER_SECOND;return e.ofEpochSecond(i,r)},i._minusUnit=function(t,e){return this._plusUnit(-1*t,e)},i.minusSeconds=function(t){return this.plusSeconds(-1*t)},i.minusMillis=function(t){return this.plusMillis(-1*t)},i.minusNanos=function(t){return this.plusNanos(-1*t)},i.minusMicros=function(t){return this.plusMicros(-1*t)},i.query=function(t){return _(t,"query"),t===g.precision()?w.NANOS:t===g.localDate()||t===g.localTime()||t===g.chronology()||t===g.zoneId()||t===g.zone()||t===g.offset()?null:t.queryFrom(this)},i.adjustInto=function(t){return _(t,"temporal"),t.with(R.INSTANT_SECONDS,this._seconds).with(R.NANO_OF_SECOND,this._nanos)},i.until=function(t,n){_(t,"endExclusive"),_(n,"unit");var i=e.from(t);if(n instanceof w){switch(n){case w.NANOS:return this._nanosUntil(i);case w.MICROS:return this._microsUntil(i);case w.MILLIS:return m.safeSubtract(i.toEpochMilli(),this.toEpochMilli());case w.SECONDS:return this._secondsUntil(i);case w.MINUTES:return m.intDiv(this._secondsUntil(i),he.SECONDS_PER_MINUTE);case w.HOURS:return m.intDiv(this._secondsUntil(i),he.SECONDS_PER_HOUR);case w.HALF_DAYS:return m.intDiv(this._secondsUntil(i),12*he.SECONDS_PER_HOUR);case w.DAYS:return m.intDiv(this._secondsUntil(i),he.SECONDS_PER_DAY)}throw new r("Unsupported unit: "+n)}return n.between(this,i)},i._microsUntil=function(t){var e=m.safeSubtract(t.epochSecond(),this.epochSecond()),n=m.safeMultiply(e,1e6);return m.safeAdd(n,m.intDiv(t.nano()-this.nano(),1e3))},i._nanosUntil=function(t){var e=m.safeSubtract(t.epochSecond(),this.epochSecond()),n=m.safeMultiply(e,he.NANOS_PER_SECOND);return m.safeAdd(n,t.nano()-this.nano())},i._secondsUntil=function(t){var e=m.safeSubtract(t.epochSecond(),this.epochSecond()),n=t.nano()-this.nano();return e>0&&n<0?e--:e<0&&n>0&&e++,e},i.atOffset=function(t){return ie.ofInstant(this,t)},i.atZone=function(t){return ne.ofInstant(this,t)},i.toEpochMilli=function(){return m.safeMultiply(this._seconds,1e3)+m.intDiv(this._nanos,fe)},i.compareTo=function(t){_(t,"otherInstant"),d(t,e,"otherInstant");var n=m.compareNumbers(this._seconds,t._seconds);return 0!==n?n:this._nanos-t._nanos},i.isAfter=function(t){return this.compareTo(t)>0},i.isBefore=function(t){return this.compareTo(t)<0},i.equals=function(t){return this===t||t instanceof e&&(this.epochSecond()===t.epochSecond()&&this.nano()===t.nano())},i.hashCode=function(){return m.hashCode(this._seconds,this._nanos)},i.toString=function(){return xt.ISO_INSTANT.format(this)},i.toJSON=function(){return this.toString()},e}(k);var le=function(){function t(){}t.systemUTC=function(){return new _e(X.UTC)},t.systemDefaultZone=function(){return new _e(Z.systemDefault())},t.system=function(t){return new _e(t)},t.fixed=function(t,e){return new de(t,e)},t.offset=function(t,e){return new pe(t,e)};var e=t.prototype;return e.millis=function(){p("Clock.millis")},e.instant=function(){p("Clock.instant")},e.zone=function(){p("Clock.zone")},e.withZone=function(){p("Clock.withZone")},t}(),_e=function(t){function e(e){var n;return _(e,"zone"),(n=t.call(this)||this)._zone=e,n}h(e,t);var n=e.prototype;return n.zone=function(){return this._zone},n.millis=function(){return(new Date).getTime()},n.instant=function(){return ce.ofEpochMilli(this.millis())},n.equals=function(t){return t instanceof e&&this._zone.equals(t._zone)},n.withZone=function(t){return t.equals(this._zone)?this:new e(t)},n.toString=function(){return"SystemClock["+this._zone.toString()+"]"},e}(le),de=function(t){function e(e,n){var i;return(i=t.call(this)||this)._instant=e,i._zoneId=n,i}h(e,t);var n=e.prototype;return n.instant=function(){return this._instant},n.millis=function(){return this._instant.toEpochMilli()},n.zone=function(){return this._zoneId},n.toString=function(){return"FixedClock[]"},n.equals=function(t){return t instanceof e&&(this._instant.equals(t._instant)&&this._zoneId.equals(t._zoneId))},n.withZone=function(t){return t.equals(this._zoneId)?this:new e(this._instant,t)},e}(le),pe=function(t){function e(e,n){var i;return(i=t.call(this)||this)._baseClock=e,i._offset=n,i}h(e,t);var n=e.prototype;return n.zone=function(){return this._baseClock.zone()},n.withZone=function(t){return t.equals(this._baseClock.zone())?this:new e(this._baseClock.withZone(t),this._offset)},n.millis=function(){return this._baseClock.millis()+this._offset.toMillis()},n.instant=function(){return this._baseClock.instant().plus(this._offset)},n.equals=function(t){return t instanceof e&&(this._baseClock.equals(t._baseClock)&&this._offset.equals(t._offset))},n.toString=function(){return"OffsetClock["+this._baseClock+","+this._offset+"]"},e}(le),Oe=function(){function t(t,e,n){if(_(t,"transition"),_(e,"offsetBefore"),_(n,"offsetAfter"),e.equals(n))throw new o("Offsets must not be equal");if(0!==t.nano())throw new o("Nano-of-second must be zero");this._transition=t instanceof ue?t:ue.ofEpochSecond(t,0,e),this._offsetBefore=e,this._offsetAfter=n}t.of=function(e,n,i){return new t(e,n,i)};var e=t.prototype;return e.instant=function(){return this._transition.toInstant(this._offsetBefore)},e.toEpochSecond=function(){return this._transition.toEpochSecond(this._offsetBefore)},e.dateTimeBefore=function(){return this._transition},e.dateTimeAfter=function(){return this._transition.plusSeconds(this.durationSeconds())},e.offsetBefore=function(){return this._offsetBefore},e.offsetAfter=function(){return this._offsetAfter},e.duration=function(){return T.ofSeconds(this.durationSeconds())},e.durationSeconds=function(){return this._offsetAfter.totalSeconds()-this._offsetBefore.totalSeconds()},e.isGap=function(){return this._offsetAfter.totalSeconds()>this._offsetBefore.totalSeconds()},e.isOverlap=function(){return this._offsetAfter.totalSeconds()<this._offsetBefore.totalSeconds()},e.isValidOffset=function(t){return!this.isGap()&&(this._offsetBefore.equals(t)||this._offsetAfter.equals(t))},e.validOffsets=function(){return this.isGap()?[]:[this._offsetBefore,this._offsetAfter]},e.compareTo=function(t){return this.instant().compareTo(t.instant())},e.equals=function(e){if(e===this)return!0;if(e instanceof t){var n=e;return this._transition.equals(n._transition)&&this._offsetBefore.equals(n.offsetBefore())&&this._offsetAfter.equals(n.offsetAfter())}return!1},e.hashCode=function(){return this._transition.hashCode()^this._offsetBefore.hashCode()^this._offsetAfter.hashCode()>>>16},e.toString=function(){return"Transition["+(this.isGap()?"Gap":"Overlap")+" at "+this._transition.toString()+this._offsetBefore.toString()+" to "+this._offsetAfter+"]"},t}();var Ee=function(t){function e(){return t.apply(this,arguments)||this}h(e,t);var i=e.prototype;return i.isFixedOffset=function(){return!1},i.offsetOfInstant=function(t){var e=new Date(t.toEpochMilli()).getTimezoneOffset();return X.ofTotalMinutes(-1*e)},i.offsetOfEpochMilli=function(t){var e=new Date(t).getTimezoneOffset();return X.ofTotalMinutes(-1*e)},i.offsetOfLocalDateTime=function(t){var e=1e3*t.toEpochSecond(X.UTC),n=new Date(e).getTimezoneOffset(),i=new Date(e+6e4*n).getTimezoneOffset();return X.ofTotalMinutes(-1*i)},i.validOffsets=function(t){return[this.offsetOfLocalDateTime(t)]},i.transition=function(){return null},i.standardOffset=function(t){return this.offsetOfInstant(t)},i.daylightSavings=function(){this._throwNotSupported()},i.isDaylightSavings=function(){this._throwNotSupported()},i.isValidOffset=function(t,e){return this.offsetOfLocalDateTime(t).equals(e)},i.nextTransition=function(){this._throwNotSupported()},i.previousTransition=function(){this._throwNotSupported()},i.transitions=function(){this._throwNotSupported()},i.transitionRules=function(){this._throwNotSupported()},i._throwNotSupported=function(){throw new n("not supported operation")},i.equals=function(t){return this===t||t instanceof e},i.toString=function(){return"SYSTEM"},e}(z),Se=function(t){function e(){var e;return(e=t.call(this)||this)._rules=new Ee,e}h(e,t);var n=e.prototype;return n.rules=function(){return this._rules},n.equals=function(t){return this===t},n.id=function(){return"SYSTEM"},e}(Z),me=function(){function t(){}return t.systemDefault=function(){return Ne},t.getAvailableZoneIds=function(){return gt.getAvailableZoneIds()},t.of=function(t){if(_(t,"zoneId"),"Z"===t)return X.UTC;if(1===t.length)throw new n("Invalid zone: "+t);if(q.startsWith(t,"+")||q.startsWith(t,"-"))return X.of(t);if("UTC"===t||"GMT"===t||"GMT0"===t||"UT"===t)return new It(t,X.UTC.rules());if(q.startsWith(t,"UTC+")||q.startsWith(t,"GMT+")||q.startsWith(t,"UTC-")||q.startsWith(t,"GMT-")){var e=X.of(t.substring(3));return 0===e.totalSeconds()?new It(t.substring(0,3),e.rules()):new It(t.substring(0,3)+e.id(),e.rules())}if(q.startsWith(t,"UT+")||q.startsWith(t,"UT-")){var i=X.of(t.substring(2));return 0===i.totalSeconds()?new It("UT",i.rules()):new It("UT"+i.id(),i.rules())}return"SYSTEM"===t?Z.systemDefault():It.ofId(t)},t.ofOffset=function(t,e){if(_(t,"prefix"),_(e,"offset"),0===t.length)return e;if("GMT"===t||"UTC"===t||"UT"===t)return 0===e.totalSeconds()?new It(t,e.rules()):new It(t+e.id(),e.rules());throw new o("Invalid prefix, must be GMT, UTC or UT: "+t)},t.from=function(t){_(t,"temporal");var e=t.query(g.zone());if(null==e)throw new n("Unable to obtain ZoneId from TemporalAccessor: "+t+", type "+(null!=t.constructor?t.constructor.name:""));return e},t}(),Ne=null;var De=!1;De||(De=!0,v.MIN_VALUE=-999999,v.MAX_VALUE=999999,T.ZERO=new T(0,0),w.NANOS=new w("Nanos",T.ofNanos(1)),w.MICROS=new w("Micros",T.ofNanos(1e3)),w.MILLIS=new w("Millis",T.ofNanos(1e6)),w.SECONDS=new w("Seconds",T.ofSeconds(1)),w.MINUTES=new w("Minutes",T.ofSeconds(60)),w.HOURS=new w("Hours",T.ofSeconds(3600)),w.HALF_DAYS=new w("HalfDays",T.ofSeconds(43200)),w.DAYS=new w("Days",T.ofSeconds(86400)),w.WEEKS=new w("Weeks",T.ofSeconds(604800)),w.MONTHS=new w("Months",T.ofSeconds(2629746)),w.YEARS=new w("Years",T.ofSeconds(31556952)),w.DECADES=new w("Decades",T.ofSeconds(315569520)),w.CENTURIES=new w("Centuries",T.ofSeconds(3155695200)),w.MILLENNIA=new w("Millennia",T.ofSeconds(31556952e3)),w.ERAS=new w("Eras",T.ofSeconds(31556952*(v.MAX_VALUE+1))),w.FOREVER=new w("Forever",T.ofSeconds(m.MAX_SAFE_INTEGER,999999999)),R.NANO_OF_SECOND=new R("NanoOfSecond",w.NANOS,w.SECONDS,M.of(0,999999999)),R.NANO_OF_DAY=new R("NanoOfDay",w.NANOS,w.DAYS,M.of(0,86399999999999)),R.MICRO_OF_SECOND=new R("MicroOfSecond",w.MICROS,w.SECONDS,M.of(0,999999)),R.MICRO_OF_DAY=new R("MicroOfDay",w.MICROS,w.DAYS,M.of(0,86399999999)),R.MILLI_OF_SECOND=new R("MilliOfSecond",w.MILLIS,w.SECONDS,M.of(0,999)),R.MILLI_OF_DAY=new R("MilliOfDay",w.MILLIS,w.DAYS,M.of(0,86399999)),R.SECOND_OF_MINUTE=new R("SecondOfMinute",w.SECONDS,w.MINUTES,M.of(0,59)),R.SECOND_OF_DAY=new R("SecondOfDay",w.SECONDS,w.DAYS,M.of(0,86399)),R.MINUTE_OF_HOUR=new R("MinuteOfHour",w.MINUTES,w.HOURS,M.of(0,59)),R.MINUTE_OF_DAY=new R("MinuteOfDay",w.MINUTES,w.DAYS,M.of(0,1439)),R.HOUR_OF_AMPM=new R("HourOfAmPm",w.HOURS,w.HALF_DAYS,M.of(0,11)),R.CLOCK_HOUR_OF_AMPM=new R("ClockHourOfAmPm",w.HOURS,w.HALF_DAYS,M.of(1,12)),R.HOUR_OF_DAY=new R("HourOfDay",w.HOURS,w.DAYS,M.of(0,23)),R.CLOCK_HOUR_OF_DAY=new R("ClockHourOfDay",w.HOURS,w.DAYS,M.of(1,24)),R.AMPM_OF_DAY=new R("AmPmOfDay",w.HALF_DAYS,w.DAYS,M.of(0,1)),R.DAY_OF_WEEK=new R("DayOfWeek",w.DAYS,w.WEEKS,M.of(1,7)),R.ALIGNED_DAY_OF_WEEK_IN_MONTH=new R("AlignedDayOfWeekInMonth",w.DAYS,w.WEEKS,M.of(1,7)),R.ALIGNED_DAY_OF_WEEK_IN_YEAR=new R("AlignedDayOfWeekInYear",w.DAYS,w.WEEKS,M.of(1,7)),R.DAY_OF_MONTH=new R("DayOfMonth",w.DAYS,w.MONTHS,M.of(1,28,31),"day"),R.DAY_OF_YEAR=new R("DayOfYear",w.DAYS,w.YEARS,M.of(1,365,366)),R.EPOCH_DAY=new R("EpochDay",w.DAYS,w.FOREVER,M.of(Math.floor(365.25*v.MIN_VALUE),Math.floor(365.25*v.MAX_VALUE))),R.ALIGNED_WEEK_OF_MONTH=new R("AlignedWeekOfMonth",w.WEEKS,w.MONTHS,M.of(1,4,5)),R.ALIGNED_WEEK_OF_YEAR=new R("AlignedWeekOfYear",w.WEEKS,w.YEARS,M.of(1,53)),R.MONTH_OF_YEAR=new R("MonthOfYear",w.MONTHS,w.YEARS,M.of(1,12),"month"),R.PROLEPTIC_MONTH=new R("ProlepticMonth",w.MONTHS,w.FOREVER,M.of(12*v.MIN_VALUE,12*v.MAX_VALUE+11)),R.YEAR_OF_ERA=new R("YearOfEra",w.YEARS,w.FOREVER,M.of(1,v.MAX_VALUE,v.MAX_VALUE+1)),R.YEAR=new R("Year",w.YEARS,w.FOREVER,M.of(v.MIN_VALUE,v.MAX_VALUE),"year"),R.ERA=new R("Era",w.ERAS,w.FOREVER,M.of(0,1)),R.INSTANT_SECONDS=new R("InstantSeconds",w.SECONDS,w.FOREVER,M.of(S,E)),R.OFFSET_SECONDS=new R("OffsetSeconds",w.SECONDS,w.FOREVER,M.of(-64800,64800)),function(){he.HOURS=[];for(var t=0;t<24;t++)he.of(t,0,0,0);he.MIN=he.HOURS[0],he.MAX=new he(23,59,59,999999999),he.MIDNIGHT=he.HOURS[0],he.NOON=he.HOURS[12],he.FROM=Y("LocalTime.FROM",(function(t){return he.from(t)}))}(),ht=new rt,ft=new st,ct=new ot,lt=new at,_t=new ut("WeekBasedYears",T.ofSeconds(31556952)),dt=new ut("QuarterYears",T.ofSeconds(7889238)),et.DAY_OF_QUARTER=ht,et.QUARTER_OF_YEAR=ft,et.WEEK_OF_WEEK_BASED_YEAR=ct,et.WEEK_BASED_YEAR=lt,et.WEEK_BASED_YEARS=_t,et.QUARTER_YEARS=dt,oe.prototype.isoWeekOfWeekyear=function(){return this.get(et.WEEK_OF_WEEK_BASED_YEAR)},oe.prototype.isoWeekyear=function(){return this.get(et.WEEK_BASED_YEAR)},g.ZONE_ID=Y("ZONE_ID",(function(t){return t.query(g.ZONE_ID)})),g.CHRONO=Y("CHRONO",(function(t){return t.query(g.CHRONO)})),g.PRECISION=Y("PRECISION",(function(t){return t.query(g.PRECISION)})),g.OFFSET=Y("OFFSET",(function(t){return t.isSupported(R.OFFSET_SECONDS)?X.ofTotalSeconds(t.get(R.OFFSET_SECONDS)):null})),g.ZONE=Y("ZONE",(function(t){var e=t.query(g.ZONE_ID);return null!=e?e:t.query(g.OFFSET)})),g.LOCAL_DATE=Y("LOCAL_DATE",(function(t){return t.isSupported(R.EPOCH_DAY)?oe.ofEpochDay(t.getLong(R.EPOCH_DAY)):null})),g.LOCAL_TIME=Y("LOCAL_TIME",(function(t){return t.isSupported(R.NANO_OF_DAY)?he.ofNanoOfDay(t.getLong(R.NANO_OF_DAY)):null})),L.MONDAY=new L(0,"MONDAY"),L.TUESDAY=new L(1,"TUESDAY"),L.WEDNESDAY=new L(2,"WEDNESDAY"),L.THURSDAY=new L(3,"THURSDAY"),L.FRIDAY=new L(4,"FRIDAY"),L.SATURDAY=new L(5,"SATURDAY"),L.SUNDAY=new L(6,"SUNDAY"),L.FROM=Y("DayOfWeek.FROM",(function(t){return L.from(t)})),C=[L.MONDAY,L.TUESDAY,L.WEDNESDAY,L.THURSDAY,L.FRIDAY,L.SATURDAY,L.SUNDAY],ce.MIN_SECONDS=-31619119219200,ce.MAX_SECONDS=31494816403199,ce.EPOCH=new ce(0,0),ce.MIN=ce.ofEpochSecond(ce.MIN_SECONDS,0),ce.MAX=ce.ofEpochSecond(ce.MAX_SECONDS,999999999),ce.FROM=Y("Instant.FROM",(function(t){return ce.from(t)})),oe.MIN=oe.of(v.MIN_VALUE,1,1),oe.MAX=oe.of(v.MAX_VALUE,12,31),oe.EPOCH_0=oe.ofEpochDay(0),oe.FROM=Y("LocalDate.FROM",(function(t){return oe.from(t)})),ue.MIN=ue.of(oe.MIN,he.MIN),ue.MAX=ue.of(oe.MAX,he.MAX),ue.FROM=Y("LocalDateTime.FROM",(function(t){return ue.from(t)})),Kt.MIN_VALUE=v.MIN_VALUE,Kt.MAX_VALUE=v.MAX_VALUE,zt=(new Ut).appendValue(R.YEAR,4,10,Ot.EXCEEDS_PAD).toFormatter(),Kt.FROM=Y("Year.FROM",(function(t){return Kt.from(t)})),U.JANUARY=new U(1,"JANUARY"),U.FEBRUARY=new U(2,"FEBRUARY"),U.MARCH=new U(3,"MARCH"),U.APRIL=new U(4,"APRIL"),U.MAY=new U(5,"MAY"),U.JUNE=new U(6,"JUNE"),U.JULY=new U(7,"JULY"),U.AUGUST=new U(8,"AUGUST"),U.SEPTEMBER=new U(9,"SEPTEMBER"),U.OCTOBER=new U(10,"OCTOBER"),U.NOVEMBER=new U(11,"NOVEMBER"),U.DECEMBER=new U(12,"DECEMBER"),P=[U.JANUARY,U.FEBRUARY,U.MARCH,U.APRIL,U.MAY,U.JUNE,U.JULY,U.AUGUST,U.SEPTEMBER,U.OCTOBER,U.NOVEMBER,U.DECEMBER],qt=(new Ut).appendValue(R.YEAR,4,10,Ot.EXCEEDS_PAD).appendLiteral("-").appendValue(R.MONTH_OF_YEAR,2).toFormatter(),Zt.FROM=Y("YearMonth.FROM",(function(t){return Zt.from(t)})),kt=(new Ut).appendLiteral("--").appendValue(R.MONTH_OF_YEAR,2).appendLiteral("-").appendValue(R.DAY_OF_MONTH,2).toFormatter(),Bt.FROM=Y("MonthDay.FROM",(function(t){return Bt.from(t)})),b.ofDays(0),X.MAX_SECONDS=18*he.SECONDS_PER_HOUR,X.UTC=X.ofTotalSeconds(0),X.MIN=X.ofTotalSeconds(-X.MAX_SECONDS),X.MAX=X.ofTotalSeconds(X.MAX_SECONDS),ne.FROM=Y("ZonedDateTime.FROM",(function(t){return ne.from(t)})),Ne=new Se,Z.systemDefault=me.systemDefault,Z.getAvailableZoneIds=me.getAvailableZoneIds,Z.of=me.of,Z.ofOffset=me.ofOffset,Z.from=me.from,X.from=me.from,Z.SYSTEM=Ne,Z.UTC=X.ofTotalSeconds(0),$t.INSTANCE=new $t("IsoChronology"),xt.ISO_LOCAL_DATE=(new Ut).appendValue(R.YEAR,4,10,Ot.EXCEEDS_PAD).appendLiteral("-").appendValue(R.MONTH_OF_YEAR,2).appendLiteral("-").appendValue(R.DAY_OF_MONTH,2).toFormatter(x.STRICT).withChronology($t.INSTANCE),xt.ISO_LOCAL_TIME=(new Ut).appendValue(R.HOUR_OF_DAY,2).appendLiteral(":").appendValue(R.MINUTE_OF_HOUR,2).optionalStart().appendLiteral(":").appendValue(R.SECOND_OF_MINUTE,2).optionalStart().appendFraction(R.NANO_OF_SECOND,0,9,!0).toFormatter(x.STRICT),xt.ISO_LOCAL_DATE_TIME=(new Ut).parseCaseInsensitive().append(xt.ISO_LOCAL_DATE).appendLiteral("T").append(xt.ISO_LOCAL_TIME).toFormatter(x.STRICT).withChronology($t.INSTANCE),xt.ISO_INSTANT=(new Ut).parseCaseInsensitive().appendInstant().toFormatter(x.STRICT),xt.ISO_OFFSET_DATE_TIME=(new Ut).parseCaseInsensitive().append(xt.ISO_LOCAL_DATE_TIME).appendOffsetId().toFormatter(x.STRICT).withChronology($t.INSTANCE),xt.ISO_ZONED_DATE_TIME=(new Ut).append(xt.ISO_OFFSET_DATE_TIME).optionalStart().appendLiteral("[").parseCaseSensitive().appendZoneId().appendLiteral("]").toFormatter(x.STRICT).withChronology($t.INSTANCE),xt.BASIC_ISO_DATE=(new Ut).appendValue(R.YEAR,4,10,Ot.EXCEEDS_PAD).appendValue(R.MONTH_OF_YEAR,2).appendValue(R.DAY_OF_MONTH,2).toFormatter(x.STRICT).withChronology($t.INSTANCE),xt.ISO_OFFSET_DATE=(new Ut).parseCaseInsensitive().append(xt.ISO_LOCAL_DATE).appendOffsetId().toFormatter(x.STRICT).withChronology($t.INSTANCE),xt.ISO_OFFSET_TIME=(new Ut).parseCaseInsensitive().append(xt.ISO_LOCAL_TIME).appendOffsetId().toFormatter(x.STRICT).withChronology($t.INSTANCE),xt.ISO_ORDINAL_DATE=(new Ut).appendValue(R.YEAR,4,10,Ot.EXCEEDS_PAD).appendLiteral("-").appendValue(R.DAY_OF_YEAR).toFormatter(x.STRICT),xt.ISO_WEEK_DATE=(new Ut).appendValue(R.YEAR,4,10,Ot.EXCEEDS_PAD).appendLiteral("-W").appendValue(R.ALIGNED_WEEK_OF_YEAR).appendLiteral("-").appendValue(R.DAY_OF_WEEK).toFormatter(x.STRICT),xt.ISO_DATE=(new Ut).parseCaseInsensitive().append(xt.ISO_LOCAL_DATE).optionalStart().appendOffsetId().optionalEnd().toFormatter(x.STRICT).withChronology($t.INSTANCE),xt.ISO_TIME=(new Ut).parseCaseInsensitive().append(xt.ISO_LOCAL_TIME).optionalStart().appendOffsetId().optionalEnd().toFormatter(x.STRICT),xt.ISO_DATE_TIME=(new Ut).append(xt.ISO_LOCAL_DATE_TIME).optionalStart().appendOffsetId().optionalEnd().toFormatter(x.STRICT).withChronology($t.INSTANCE),xt.PARSED_EXCESS_DAYS=Y("PARSED_EXCESS_DAYS",(function(t){return t instanceof J?t.excessDays:b.ZERO})),xt.PARSED_LEAP_SECOND=Y("PARSED_LEAP_SECOND",(function(t){return t instanceof J&&t.leapSecond})),Tt.BASE_DATE=oe.of(2e3,1,1),Ut.CompositePrinterParser=mt,Ut.PadPrinterParserDecorator=yt,Ut.SettingsParser=Mt,Ut.CharLiteralPrinterParser=Rt,Ut.StringLiteralPrinterParser=Rt,Ut.CharLiteralPrinterParser=St,Ut.NumberPrinterParser=At,Ut.ReducedPrinterParser=Tt,Ut.FractionPrinterParser=Nt,Ut.OffsetIdPrinterParser=wt,Ut.ZoneIdPrinterParser=Ft,ie.MIN=ue.MIN.atOffset(X.MAX),ie.MAX=ue.MAX.atOffset(X.MIN),ie.FROM=Y("OffsetDateTime.FROM",(function(t){return ie.from(t)})),te.MIN=te.ofNumbers(0,0,0,0,X.MAX),te.MAX=te.ofNumbers(23,59,59,999999999,X.MIN),te.FROM=Y("OffsetTime.FROM",(function(t){return te.from(t)})));var Ae=function(){function t(t,e){var n;if(t instanceof ce)this.instant=t;else{if(t instanceof oe)e=null==e?Z.systemDefault():e,n=t.atStartOfDay(e);else if(t instanceof ue)e=null==e?Z.systemDefault():e,n=t.atZone(e);else{if(!(t instanceof ne))throw new o("unsupported instance for convert operation:"+t);n=null==e?t:t.withZoneSameInstant(e)}this.instant=n.toInstant()}}var e=t.prototype;return e.toDate=function(){return new Date(this.instant.toEpochMilli())},e.toEpochMilli=function(){return this.instant.toEpochMilli()},t}();function Te(t,e){return new Ae(t,e)}var ve=function(t){function e(e,n){var i;return void 0===n&&(n=Z.systemDefault()),(i=t.call(this)||this)._zone=n,e instanceof Date?(i._epochMilli=e.getTime(),c(i)):"function"==typeof e.toDate&&e.toDate()instanceof Date?(i._epochMilli=e.toDate().getTime(),c(i)):(l(!1,"date must be either a javascript date or a moment"),i)}h(e,t);var n=e.prototype;return n.query=function(e){return _(e,"query"),e===g.localDate()?oe.ofInstant(ce.ofEpochMilli(this._epochMilli),this._zone):e===g.localTime()?he.ofInstant(ce.ofEpochMilli(this._epochMilli),this._zone):e===g.zone()?this._zone:t.prototype.query.call(this,e)},n.get=function(t){return this.getLong(t)},n.getLong=function(t){if(_(t,"field"),t instanceof R){switch(t){case R.NANO_OF_SECOND:return 1e6*m.floorMod(this._epochMilli,1e3);case R.INSTANT_SECONDS:return m.floorDiv(this._epochMilli,1e3)}throw new r("Unsupported field: "+t)}return t.getFrom(this)},n.isSupported=function(t){return t===R.INSTANT_SECONDS||t===R.NANO_OF_SECOND},e}(I);function we(t,e){return new ve(t,e)}var ye,Me,Re={assert:O,DateTimeBuilder:J,DateTimeParseContext:Q,DateTimePrintContext:tt,MathUtil:m,StringUtil:q,StringBuilder:Wt},ge={_:Re,convert:Te,nativeJs:we,ArithmeticException:s,DateTimeException:n,DateTimeParseException:i,IllegalArgumentException:o,IllegalStateException:a,UnsupportedTemporalTypeException:r,NullPointerException:u,Clock:le,DayOfWeek:L,Duration:T,Instant:ce,LocalDate:oe,LocalTime:he,LocalDateTime:ue,OffsetTime:te,OffsetDateTime:ie,Month:U,MonthDay:Bt,Period:b,Year:Kt,YearConstants:v,YearMonth:Zt,ZonedDateTime:ne,ZoneOffset:X,ZoneId:Z,ZoneRegion:It,ZoneOffsetTransition:Oe,ZoneRules:z,ZoneRulesProvider:gt,ChronoLocalDate:B,ChronoLocalDateTime:ae,ChronoZonedDateTime:ee,IsoChronology:$t,ChronoField:R,ChronoUnit:w,IsoFields:et,Temporal:k,TemporalAccessor:I,TemporalAdjuster:jt,TemporalAdjusters:Gt,TemporalAmount:D,TemporalField:y,TemporalQueries:g,TemporalQuery:F,TemporalUnit:A,ValueRange:M,DateTimeFormatter:xt,DateTimeFormatterBuilder:Ut,DecimalStyle:pt,ResolverStyle:x,SignStyle:Ot,TextStyle:Et},Ie=(ye=ge,Me=[],function(t){return~Me.indexOf(t)||(t(ye),Me.push(t)),ye});return ge.use=Ie,t.ArithmeticException=s,t.ChronoField=R,t.ChronoLocalDate=B,t.ChronoLocalDateTime=ae,t.ChronoUnit=w,t.ChronoZonedDateTime=ee,t.Clock=le,t.DateTimeException=n,t.DateTimeFormatter=xt,t.DateTimeFormatterBuilder=Ut,t.DateTimeParseException=i,t.DayOfWeek=L,t.DecimalStyle=pt,t.Duration=T,t.IllegalArgumentException=o,t.IllegalStateException=a,t.Instant=ce,t.IsoChronology=$t,t.IsoFields=et,t.LocalDate=oe,t.LocalDateTime=ue,t.LocalTime=he,t.Month=U,t.MonthDay=Bt,t.NullPointerException=u,t.OffsetDateTime=ie,t.OffsetTime=te,t.Period=b,t.ResolverStyle=x,t.SignStyle=Ot,t.Temporal=k,t.TemporalAccessor=I,t.TemporalAdjuster=jt,t.TemporalAdjusters=Gt,t.TemporalAmount=D,t.TemporalField=y,t.TemporalQueries=g,t.TemporalQuery=F,t.TemporalUnit=A,t.TextStyle=Et,t.UnsupportedTemporalTypeException=r,t.ValueRange=M,t.Year=Kt,t.YearConstants=v,t.YearMonth=Zt,t.ZoneId=Z,t.ZoneOffset=X,t.ZoneOffsetTransition=Oe,t.ZoneRegion=It,t.ZoneRules=z,t.ZoneRulesProvider=gt,t.ZonedDateTime=ne,t._=Re,t.convert=Te,t.nativeJs=we,t.use=Ie,Object.defineProperty(t,"__esModule",{value:!0}),t}({});