!function(t,n){if("object"==typeof exports&&"object"==typeof module)module.exports=n();else if("function"==typeof define&&define.amd)define([],n);else{var e=n();for(var i in e)("object"==typeof exports?exports:t)[i]=e[i]}}(self,()=>(()=>{"use strict";var t,n,e={d:(t,n)=>{for(var i in n)e.o(n,i)&&!e.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:n[i]})},o:(t,n)=>Object.prototype.hasOwnProperty.call(t,n),r:t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}},i={};e.r(i),e.d(i,{decodeUplink:()=>rl,default:()=>sl}),void 0===Math.imul&&(Math.imul=function(t,n){return(4294901760&t)*(65535&n)+(65535&t)*(0|n)|0}),void 0===ArrayBuffer.isView&&(ArrayBuffer.isView=function(t){return null!=t&&null!=t.__proto__&&t.__proto__.__proto__===Int8Array.prototype.__proto__}),void 0===Array.prototype.fill&&Object.defineProperty(Array.prototype,"fill",{value:function(t){if(null==this)throw new TypeError("this is null or not defined");for(var n=Object(this),e=n.length>>>0,i=0|arguments[1],r=i<0?Math.max(e+i,0):Math.min(i,e),s=arguments[2],o=void 0===s?e:0|s,u=o<0?Math.max(e+o,0):Math.min(o,e);r>>0;return 0===i?32:31-(t(i)/n|0)|0}));var r,s,o,u,a,h,f,c,l,_,d,p,m,E,O,S,w,v,N,A,D,g,T,y,M,R,I,C,F,b,Y,L,P,U,V,x,k,H,q=Math.imul,B=ArrayBuffer.isView,W=Math.clz32;function z(){return _=this,u=function(){return _.j()},a=function(t){return function(n){return t.k(n)}}(this),(l=function(){return Lt(),D}).callableName="UNSUPPORTED_OPERATION",h=l,f=function(){var t=function(){return Lt(),D};return t.callableName="UNSUPPORTED_OPERATION",t}(),c=function(){var t=function(){return Lt(),D};return t.callableName="UNSUPPORTED_OPERATION",t}(),t=u,n=a,e=h,i=f,r=c,s=new Array,o=Pt,Object.setPrototypeOf(s,o.prototype),new Proxy(s,{get:function(e,i,r){if("length"===i)return t();var s=typeof i,o="string"===s||"number"===s?+i:void 0;return isNaN(o)?e[i]:n(o)},has:function(n,e){return!isNaN(e)&&e1&&n.f(e),!(s<0||a<=s))break t;vr(n,f,u)}return s>=0&&a>s&&n.f(o),n.f(r),n}(t,Ri(),n,e,i,r,s,o).toString()}function X(t,n){for(var e=t.g();e.h();){var i=e.i();n.e(i)}return n}function J(t){this.l_1=t}function $(t,n){return tn?n:t}function tt(t){return Bt(t)}function nt(t){return t}function et(t,n){return t-n|0}function it(t,n){return t-n|0}function rt(t){return t}function st(t){return String.fromCharCode(t)}function ot(){}function ut(){}function at(){}function ht(){}function ft(){}function ct(){}function lt(){}function _t(){}function dt(t,n){this.f1_1=t,this.g1_1=n}function pt(t){var n=null==t?null:Bt(t);return null==n?"null":n}function mt(){r=this,this.i1_1=new Et(0,-2147483648),this.j1_1=new Et(-1,2147483647),this.k1_1=8,this.l1_1=64}function Et(t,n){null==r&&new mt,K.call(this),this.n_1=t,this.o_1=n}function Ot(t){var n=t>>5,e=new Int32Array(n+1|0),i=1<<(31&t);return e[n]=e[n]|i,e}function St(){}function wt(t,n){var e=0,i=t.length-1|0;if(e<=i)do{var r=e;e=e+1|0,t[r]=n}while(r!==i);return t}function vt(t){var n=new Uint16Array(t);return n.$type$="CharArray",n}function Nt(t){var n=new Uint16Array(t);return n.$type$="CharArray",n}function At(t){this.e2_1=t,this.d2_1=0}function Dt(){return Rt(),s}function gt(){return Rt(),o}function Tt(){return Rt(),u}function yt(){return Rt(),a}function Mt(t){return Rt(),(0|t)===t?In(t):(gt()[0]=t,q(Tt()[(Rt(),h)],31)+Tt()[yt()]|0)}function Rt(){f||(f=!0,s=new ArrayBuffer(8),o=new Float64Array(Dt()),new Float32Array(Dt()),u=new Int32Array(Dt()),gt()[0]=-1,a=0!==Tt()[0]?1:0,h=1-yt()|0)}function It(t,n){var e;if(Ct(t)){var i=t.charCodeAt(n);if(i<0||i>65535)throw Ge("Invalid Char code: "+i);e=bn(i)}else e=t.b(n);return e}function Ct(t){return"string"==typeof t}function Ft(t){return Ct(t)?t.length:t.a()}function bt(t,n,e){return Ct(t)?t.substring(n,e):t.c(n,e)}function Yt(t){return Bt(t)}function Lt(){throw ti()}function Pt(){Array.call(this)}function Ut(t,n){var e;switch(typeof t){case"number":e="number"==typeof n?Vt(t,n):n instanceof Et?Vt(t,n.b2()):xt(t,n);break;case"string":case"boolean":e=xt(t,n);break;default:e=function(t,n){return t.d(n)}(t,n)}return e}function Vt(t,n){var e;if(tn)e=1;else if(t===n){var i;if(0!==t)i=0;else{var r=1/t;i=r===1/n?0:r<0?-1:1}e=i}else e=t!=t?n!=n?0:1:-1;return e}function xt(t,n){return tn?1:0}function kt(t){if(!("kotlinHashCodeValue$"in t)){var n=Ht(),e=new Object;e.value=n,e.enumerable=!1,Object.defineProperty(t,"kotlinHashCodeValue$",e)}return t.kotlinHashCodeValue$}function Ht(){return 4294967296*Math.random()|0}function qt(t){return t=t===v?null:t,Object.create(t)}function Bt(t){return null==t?"null":function(t){return n=t,Array.isArray(n)||B(t);var n}(t)?"[...]":"function"!=typeof t.toString?function(t){return Object.prototype.toString.call(t)}(t):t.toString()}function Wt(t,n){if(null==t)return null==n;if(null==n)return!1;if("object"==typeof t&&"function"==typeof t.equals)return t.equals(n);if(t!=t)return n!=n;if("number"==typeof t&&"number"==typeof n){var e;if(t===n)e=0!==t||1/t==1/n;else e=!1;return e}return t===n}function zt(t){if(null==t)return 0;var n,e=typeof t;switch(e){case"object":n="function"==typeof t.hashCode?t.hashCode():kt(t);break;case"function":n=kt(t);break;case"number":n=Mt(t);break;case"boolean":n=jt(t);break;case"string":n=Zt(String(t));break;case"bigint":n=function(t){for(var n=BigInt(32),e=BigInt(4294967295),i=t<0?-t:t,r=0,s=t<0?-1:1;0!=i;){var o=Number(i&e);r=q(31,r)+o|0,i>>=n}return q(r,s)}(t);break;case"symbol":n=function(t){var n,e=(n=t,Symbol.keyFor(n)!=v?(c===v&&(c=new Map),c):(l===v&&(l=new WeakMap),l)),i=e.get(t);if(i!==v)return i;var r=Ht();return e.set(t,r),r}(t);break;default:n=function(){throw new Error("Unexpected typeof `"+e+"`")}()}return n}function jt(t){return t?1231:1237}function Zt(t){var n=0,e=0,i=t.length-1|0;if(e<=i)do{var r=e;e=e+1|0;var s=t.charCodeAt(r);n=q(n,31)+s|0}while(r!==i);return n}function Kt(t,n){null!=Error.captureStackTrace?Error.captureStackTrace(t,n):t.stack=(new Error).stack}function Gt(t){return t.prototype}function Xt(t,n,e){Error.call(t),function(t,n,e){var i=Vn(Object.getPrototypeOf(t));if(!(1&i)){var r;if(null==n){var s;if(null!==n){var o=null==e?null:e.toString();s=null==o?v:o}else s=v;r=s}else r=n;t.message=r}2&i||(t.cause=e),t.name=Object.getPrototypeOf(t).constructor.name}(t,n,e)}function Jt(t){var n;return null==t?function(){throw wi()}():n=t,n}function $t(){throw Di()}function Qt(){return An(),_}function tn(){return An(),d}function nn(){return An(),p}function en(){return An(),E}function rn(){return An(),O}function sn(t,n){if(An(),_n(t,n))return 0;var e=pn(t),i=pn(n);return e&&!i?-1:!e&&i?1:pn(un(t,n))?-1:1}function on(t,n){An();var e=t.o_1>>>16|0,i=65535&t.o_1,r=t.n_1>>>16|0,s=65535&t.n_1,o=n.o_1>>>16|0,u=65535&n.o_1,a=n.n_1>>>16|0,h=0,f=0,c=0,l=0;return h=(h=h+((f=(f=f+((c=(c=c+((l=l+(s+(65535&n.n_1)|0)|0)>>>16|0)|0)+(r+a|0)|0)>>>16|0)|0)+(i+u|0)|0)>>>16|0)|0)+(e+o|0)|0,new Et((c&=65535)<<16|(l&=65535),(h&=65535)<<16|(f&=65535))}function un(t,n){return An(),on(t,n.t1())}function an(t,n){if(An(),mn(t))return Qt();if(mn(n))return Qt();if(_n(t,en()))return En(n)?en():Qt();if(_n(n,en()))return En(t)?en():Qt();if(pn(t))return pn(n)?an(On(t),On(n)):On(an(On(t),n));if(pn(n))return On(an(t,On(n)));if(Sn(t,rn())&&Sn(n,rn()))return wn(cn(t)*cn(n));var e=t.o_1>>>16|0,i=65535&t.o_1,r=t.n_1>>>16|0,s=65535&t.n_1,o=n.o_1>>>16|0,u=65535&n.o_1,a=n.n_1>>>16|0,h=65535&n.n_1,f=0,c=0,l=0,_=0;return l=l+((_=_+q(s,h)|0)>>>16|0)|0,_&=65535,c=(c=c+((l=l+q(r,h)|0)>>>16|0)|0)+((l=(l&=65535)+q(s,a)|0)>>>16|0)|0,l&=65535,f=(f=(f=f+((c=c+q(i,h)|0)>>>16|0)|0)+((c=(c&=65535)+q(r,a)|0)>>>16|0)|0)+((c=(c&=65535)+q(s,u)|0)>>>16|0)|0,c&=65535,f=f+(((q(e,h)+q(i,a)|0)+q(r,u)|0)+q(s,o)|0)|0,new Et(l<<16|_,(f&=65535)<<16|c)}function hn(t,n){An();var e=63&n;return 0===e?t:e<32?new Et(t.n_1<>>(32-e|0)):new Et(0,t.n_1<<(e-32|0))}function fn(t,n){An();var e=63&n;return 0===e?t:e<32?new Et(t.n_1>>>e|t.o_1<<(32-e|0),t.o_1>>e):new Et(t.o_1>>(e-32|0),t.o_1>=0?0:-1)}function cn(t){return An(),4294967296*t.o_1+function(t){return An(),t.n_1>=0?t.n_1:4294967296+t.n_1}(t)}function ln(t,n){if(An(),n<2||36=0x8000000000000000)return An(),m;if(t<0)return On(wn(-t));var n,e=4294967296;return new Et(t%e|0,t/e|0)}function vn(t,n){return An(),sn(t,n)>0}function Nn(t,n){return An(),sn(t,n)>=0}function An(){S||(S=!0,_=dn(0),d=dn(1),p=dn(-1),m=new Et(-1,2147483647),E=new Et(0,-2147483648),O=dn(16777216))}function Dn(t,n,e,i,r,s,o,u,a){null!=r&&(n.prototype=Object.create(r.prototype),n.prototype.constructor=n);var h=function(t,n,e,i,r,s){return{kind:t,simpleName:n,associatedObjectKey:i,associatedObjects:r,suspendArity:s,$kClass$:v,defaultConstructor:e,iid:"interface"===t?(w===v&&(w=0),w=w+1|0):v}}(t,e,i,u,a,o);n.$metadata$=h,null!=s&&((Wt(h.iid,v)?n.prototype:n).$imask$=function(t){for(var n=1,e=[],i=0,r=t.length;in&&(n=o)}return function(t,n){for(var e=0,i=new Int32Array(t);e>24}function In(t){return t instanceof Et?t.p():function(t){return t>2147483647?2147483647:t<-2147483648?-2147483648:0|t}(t)}function Cn(t){return t<<16>>16}function Fn(t){return t instanceof Et?t:wn(t)}function bn(t){return 65535&Cn(In(t))}function Yn(t){return dn(t)}function Ln(t,n){return new mr(t,n)}function Pn(t,n){return function(t,n){var e=t.$imask$;return null!=e&&function(t,n){var e=n>>5;if(e>t.length)return!1;var i=1<<(31&n);return!(0===(t[e]&i))}(e,n)}(t,n.$metadata$.iid)}function Un(t){return"string"==typeof t||Pn(t,j)}function Vn(t){var n=t.constructor,e=null==n?null:n.$metadata$,i=null==e?null:e.errorInfo;if(null!=i)return i;var r,s=0;if(xn(t,"message")&&(s|=1),xn(t,"cause")&&(s|=2),3!==s){var o=(r=t,Object.getPrototypeOf(r));o!=Error.prototype&&(s|=Vn(o))}return null!=e&&(e.errorInfo=s),s}function xn(t,n){return t.hasOwnProperty(n)}function kn(t,n,e){for(var i=new Int32Array(e),r=0,s=0,o=0,u=0,a=t.length;u(s=t[r=(e+i|0)/2|0]))e=r+1|0;else{if(n===s)return r;i=r-1|0}return r-(n=a)return!1}while(r=0))throw Ge(Bt("capacity must be non-negative."));return wt(Array(t),null)}function se(t,n,e){t.fill(null,n,e)}function oe(t,n){return function(t,n){if(!(n>=0))throw Ge(Bt("Invalid new array size: "+n+"."));return function(t,n){var e=t.slice(0,n);void 0!==t.$type$&&(e.$type$=t.$type$);var i=t.length;if(n>i)for(e.length=n;i=0))throw Ge(Bt("Negative initial capacity: "+t));return n}(t,qt(Gt(_e)))}function ce(t){return function(t,n){var e=Jn(t);return _e.call(n,e),n}(t,qt(Gt(_e)))}function le(t,n){return R.h3(n,t.j()),n}function _e(t){ae(),ee.call(this),this.s_1=t,this.t_1=!1}function de(t,n,e,i,r){if(e===i)return t;var s=(e+i|0)/2|0,o=de(t,n,e,s,r),u=de(t,n,s+1|0,i,r),a=o===n?t:n,h=e,f=s+1|0,c=e;if(c<=i)do{var l=c;if(c=c+1|0,h<=s&&f<=i){var _=o[h],d=u[f];r.compare(_,d)<=0?(a[l]=_,h=h+1|0):(a[l]=d,f=f+1|0)}else h<=s?(a[l]=o[h],h=h+1|0):(a[l]=u[f],f=f+1|0)}while(l!==i);return a}function pe(t,n){return(3&t)-(3&n)|0}function me(t,n){return ie.call(n),Se.call(n),n.q3_1=t,n}function Ee(t){return me(Ae(),t),t}function Oe(t,n,e){return me(function(t,n){return function(t,n,e){if(De(t,e),!(n>0))throw Ge(Bt("Non-positive load factor: "+n));return e}(t,n,qt(Gt(xe)))}(t,n),e),e}function Se(){}function we(t,n){return 0===(e=q($(n,1),3))?0:1<<31-W(e);var e}function ve(t,n){return W(n)+1|0}function Ne(t){if(t.e4_1.b4_1!==t.g4_1)throw mi("The backing map has been modified after this entry was obtained.")}function Ae(){return De(8,t=qt(Gt(xe))),t;var t}function De(t,n){return xe.call(n,re(t),null,new Int32Array(t),new Int32Array(we(0,t)),2,0),n}function ge(t){return t.u3_1.length}function Te(t){return t.x3_1.length}function ye(t){t.b4_1=t.b4_1+1|0}function Me(t,n){!function(t,n){var e=ge(t)-t.z3_1|0,i=t.z3_1-t.j()|0;return e=n&&i>=(ge(t)/4|0)}(t,n)?function(t,n){if(n<0)throw si("too many elements");if(n>ge(t)){var e=R.h4(ge(t),n);t.u3_1=oe(t.u3_1,e);var i=t,r=t.v3_1;i.v3_1=null==r?null:oe(r,e),t.w3_1=function(t,n){if(!(n>=0))throw Ge(Bt("Invalid new array size: "+n+"."));return function(t,n){for(var e=t.length,i=n.length,r=0,s=n;rTe(t)&&Ce(t,s)}}(t,t.z3_1+n|0):Ie(t,!0)}function Re(t,n){return null==n?0:q(zt(n),-1640531527)>>>t.a4_1|0}function Ie(t,n){for(var e=0,i=0,r=t.v3_1;e=0&&(t.u3_1[i]=t.u3_1[e],null!=r&&(r[i]=r[e]),n&&(t.w3_1[i]=s,t.x3_1[s]=i+1|0),i=i+1|0),e=e+1|0}se(t.u3_1,i,t.z3_1),null==r||se(r,i,t.z3_1),t.z3_1=i}function Ce(t,n){ye(t),t.z3_1>t.c4_1&&Ie(t,!1),t.x3_1=new Int32Array(n),t.a4_1=ve(0,n);for(var e=0;e0&&Wt(t.u3_1[r-1|0],n))return r-1|0;if((i=i-1|0)<0)return-1;var s=e;e=s-1|0,0===s&&(e=Te(t)-1|0)}}function Ye(){this.k4_1=-1640531527,this.l4_1=8,this.m4_1=2,this.n4_1=-1}function Le(t){this.o4_1=t,this.p4_1=0,this.q4_1=-1,this.r4_1=this.o4_1.b4_1,this.s4()}function Pe(t){Le.call(this,t)}function Ue(t){Le.call(this,t)}function Ve(t,n){this.e4_1=t,this.f4_1=n,this.g4_1=this.e4_1.b4_1}function xe(t,n,e,i,r,s){this.u3_1=t,this.v3_1=n,this.w3_1=e,this.x3_1=i,this.y3_1=r,this.z3_1=s,this.a4_1=ve(0,Te(this)),this.b4_1=0,this.c4_1=0,this.d4_1=!1}function ke(){}function He(){return Ee(t=qt(Gt(qe))),qe.call(t),t;var t}function qe(){}function Be(t){return Xt(t),je.call(t),t}function We(t,n){return Xt(n,t),je.call(n),n}function ze(t){var n=We(t,qt(Gt(je)));return Kt(n,ze),n}function je(){Kt(this,je)}function Ze(t){return ii(t),Je.call(t),t}function Ke(t,n){return ri(t,n),Je.call(n),n}function Ge(t){var n=Ke(t,qt(Gt(Je)));return Kt(n,Ge),n}function Xe(t){var n=function(t,n){return oi(t,n),Je.call(n),n}(t,qt(Gt(Je)));return Kt(n,Xe),n}function Je(){Kt(this,Je)}function $e(t){var n=function(t,n){return ri(t,n),Qe.call(n),n}(t,qt(Gt(Qe)));return Kt(n,$e),n}function Qe(){Kt(this,Qe)}function ti(){var t,n=(ii(t=qt(Gt(ei))),ei.call(t),t);return Kt(n,ti),n}function ni(t){var n=function(t,n){return ri(t,n),ei.call(n),n}(t,qt(Gt(ei)));return Kt(n,ni),n}function ei(){Kt(this,ei)}function ii(t){return Be(t),ui.call(t),t}function ri(t,n){return We(t,n),ui.call(n),n}function si(t){var n=ri(t,qt(Gt(ui)));return Kt(n,si),n}function oi(t,n){return function(t,n){Xt(n,v,t),je.call(n)}(t,n),ui.call(n),n}function ui(){Kt(this,ui)}function ai(){var t,n=(ii(t=qt(Gt(fi))),fi.call(t),t);return Kt(n,ai),n}function hi(t){var n=function(t,n){return ri(t,n),fi.call(n),n}(t,qt(Gt(fi)));return Kt(n,hi),n}function fi(){Kt(this,fi)}function ci(t){var n=function(t,n){return ri(t,n),li.call(n),n}(t,qt(Gt(li)));return Kt(n,ci),n}function li(){Kt(this,li)}function _i(t){var n=function(t,n){return ri(t,n),di.call(n),n}(t,qt(Gt(di)));return Kt(n,_i),n}function di(){Kt(this,di)}function pi(){var t,n=(ii(t=qt(Gt(Ei))),Ei.call(t),t);return Kt(n,pi),n}function mi(t){var n=function(t,n){return ri(t,n),Ei.call(n),n}(t,qt(Gt(Ei)));return Kt(n,mi),n}function Ei(){Kt(this,Ei)}function Oi(t){var n=function(t,n){return Ke(t,n),Si.call(n),n}(t,qt(Gt(Si)));return Kt(n,Oi),n}function Si(){Kt(this,Si)}function wi(){var t,n=(ii(t=qt(Gt(vi))),vi.call(t),t);return Kt(n,wi),n}function vi(){Kt(this,vi)}function Ni(){var t,n=(ii(t=qt(Gt(Ai))),Ai.call(t),t);return Kt(n,Ni),n}function Ai(){Kt(this,Ai)}function Di(){var t,n=(ii(t=qt(Gt(gi))),gi.call(t),t);return Kt(n,Di),n}function gi(){Kt(this,gi)}function Ti(t){return t.q(new Et(0,0))<0?t.t1():t}function yi(t){return Mi(n=qt(Gt(Ii))),n;var n}function Mi(t){return Ii.call(t,""),t}function Ri(){return Mi(qt(Gt(Ii)))}function Ii(t){this.e5_1=t}function Ci(t){var n=st(t).toUpperCase();return n.length>1?t:It(n,0)}function Fi(t){return 97<=t&&t<=122||65<=t&&t<=90||!(et(t,128)<0)&&function(t){return!(0===function(t){var n=t,e=Hn(zn().j2_1,n),i=zn().j2_1[e],r=(i+zn().k2_1[e]|0)-1|0,s=zn().l2_1[e];if(n>r)return 0;var o=3&s;if(0===o){var u=2,a=i,h=0;if(h<=1)do{if(h=h+1|0,(a=a+(s>>u&127)|0)>n)return 3;if((a=a+(s>>(u=u+7|0)&127)|0)>n)return 0;u=u+7|0}while(h<=1);return 3}if(s<=7)return o;var f=n-i|0;return s>>q(2,s<=31?f%2|0:f)&3}(t))}(t)}function bi(t,n){return ln(t,Yi(n))}function Yi(t){if(!(2<=t&&t<=36))throw Ge("radix "+t+" was not in valid range 2..36");return t}function Li(t){var n,e=function(t){return Vr(t,10)}(t);return null==e?xr(t):n=e,n}function Pi(t,n){var e,i=Vr(t,n);return null==i?xr(t):e=i,e}function Ui(t,n){var e,i,r,s=et(t,48)>=0&&et(t,57)<=0?it(t,48):et(t,65)>=0&&et(t,90)<=0?it(t,65)+10|0:et(t,97)>=0&&et(t,122)<=0?it(t,97)+10|0:et(t,128)<0?-1:et(t,65313)>=0&&et(t,65338)<=0?it(t,65313)+10|0:et(t,65345)>=0&&et(t,65370)<=0?it(t,65345)+10|0:(e=t,i=Hn(Bn().i2_1,e),(r=e-Bn().i2_1[i]|0)<10?r:-1);return s>=n?-1:s}function Vi(){y=this,this.s5_1=new RegExp("[\\\\^$*+?.()|[\\]{}]","g"),this.t5_1=new RegExp("[\\\\$]","g"),this.u5_1=new RegExp("\\$","g")}function xi(){return null==y&&new Vi,y}function ki(t,n){xi(),this.x5_1=t,this.y5_1=function(t){if(Pn(t,ht)){var n;switch(t.j()){case 0:n=lr();break;case 1:n=Gn(Pn(t,at)?t.k(0):t.g().i());break;default:n=X(t,(function(t,n,e){Oe(t,1,e),qe.call(e)}(t.j(),0,e=qt(Gt(qe))),e))}return n}var e;return function(t){switch(t.j()){case 0:return lr();case 1:return Gn(t.g().i());default:return t}}(X(t,He()))}(n),this.z5_1=new RegExp(t,G(n,"","gu",v,v,v,ji)),this.a6_1=null,this.b6_1=null}function Hi(t,n,e,i){t.lastIndex=e;var r=t.exec(n);return null==r?null:new Ki(Ln(r.index,t.lastIndex-1|0),r,i,n)}function qi(t){this.n6_1=t}function Bi(t,n){for(var e=n;e0?new _e(t):(null==C&&new rr,C)}function rr(){C=this,this.d7_1=new Et(-1478467534,-1720727600)}function sr(t,n){this.i7_1=t,this.j7_1=n}function or(){}function ur(t,n){return Pn(t,ht)?t.j():n}function ar(){}function hr(t){this.m7_1=t,this.l7_1=t.n7_1.g()}function fr(t,n){this.n7_1=t,this.o7_1=n}function cr(){b=this,this.p7_1=new Et(1993859828,793161749)}function lr(){return null==b&&new cr,b}function _r(t,n,e){return dr(dr(t,e)-dr(n,e)|0,e)}function dr(t,n){var e=t%n|0;return e>=0?e:e+n|0}function pr(){Y=this,this.q7_1=new mr(1,0)}function mr(t,n){null==Y&&new pr,Sr.call(this,t,n,1)}function Er(t,n,e){ar.call(this),this.v7_1=e,this.w7_1=n,this.x7_1=this.v7_1>0?t<=n:t>=n,this.y7_1=this.x7_1?t:this.w7_1}function Or(){}function Sr(t,n,e){if(0===e)throw Ge("Step must be non-zero.");if(-2147483648===e)throw Ge("Step must be greater than Int.MIN_VALUE to avoid overflow on negation.");this.r7_1=t,this.s7_1=function(t,n,e){var i;if(e>0)i=t>=n?n:n-_r(n,t,e)|0;else{if(!(e<0))throw Ge("Step is zero.");i=t<=n?n:n+_r(t,n,0|-e)|0}return i}(t,n,e),this.t7_1=e}function wr(){}function vr(t,n,e){null!=e?t.f(e(n)):null==n||Un(n)?t.f(n):n instanceof ot?t.h5(n.z7_1):t.f(Bt(n))}function Nr(t,n,e){if(t===n)return!0;if(!(e=e!==v&&e))return!1;var i=Ci(t),r=Ci(n);return i===r||It(st(i).toLowerCase(),0)===It(st(r).toLowerCase(),0)}function Ar(t,n,e){switch(yr(),t.length){case 0:break;case 1:n[e]=It(t,0);break;default:!function(t,n,e,i,r){e=e===v?0:e,i=i===v?0:i,r=r===v?t.length:r,$i(),R.r5(i,r,t.length),R.r5(e,(e+r|0)-i|0,n.length);var s=e,o=i;if(o>8),i[r+1|0]=bn(255&s),r+2|0}function yr(){if(!U){U=!0;for(var t=0,n=new Int32Array(256);t<256;){var e=t,i=rt(It("0123456789abcdef",e>>4))<<8,r=It("0123456789abcdef",15&e);n[e]=i|rt(r),t=t+1|0}L=n;for(var s=0,o=new Int32Array(256);s<256;){var u=s,a=rt(It("0123456789ABCDEF",u>>4))<<8,h=It("0123456789ABCDEF",15&u);o[u]=a|rt(h),s=s+1|0}P=o;for(var f=0,c=new Int32Array(256);f<256;)c[f]=-1,f=f+1|0;for(var l=0,_="0123456789abcdef",d=0;d=0||Fi(i)){n=!0;break t}}n=!1}return n}function Vr(t,n){Yi(n);var e,i,r,s=t.length;if(0===s)return null;var o=It(t,0);if(et(o,48)<0){if(1===s)return null;if(e=1,45===o)i=!0,r=-2147483648;else{if(43!==o)return null;i=!1,r=-2147483647}}else e=0,i=!1,r=-2147483647;var u=-59652323,a=u,h=0,f=e;if(f=0}function Hr(t){return Ft(t)-1|0}function qr(){}function Br(){H=this,this.y8_1=new Et(0,0),this.z8_1=new Et(-1,-1),this.a9_1=8,this.b9_1=64}function Wr(t,n){return e=n,t.a2(new Et(0,-2147483648)).q(e.a2(new Et(0,-2147483648)));var e}function zr(t){null==H&&new Br,this.c9_1=t}function jr(t,n,e){function i(t){Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=t,n&&n.apply(this,arguments),this.toString=function(){return this.name+": "+this.message}}return void 0===e&&(e=Error),i.prototype=Object.create(e.prototype),i.prototype.name=t,i.prototype.constructor=i,i}yn(j,"CharSequence"),yn(Z,"Comparable"),gn(K,"Number"),gn(J),gn(ot,"Char",v,v,[Z]),Mn(ut),yn(ht,"Collection"),yn(at,"List",v,v,[ht]),yn(ft,"Set",v,v,[ht]),yn(ct,"Entry"),yn(lt,"Map"),Mn(_t),gn(dt,"Enum",v,v,[Z]),Mn(mt),gn(Et,"Long",v,K,[K,Z]),yn(St,"FunctionAdapter"),gn(At),gn(Pt,"JsArrayView",Pt,Array),Tn(qn,"Digit"),Tn(Wn,"Letter"),yn(jn,"Comparator"),Tn(Zn,"Unit"),gn(tr,"AbstractCollection",v,v,[ht]),gn($n,"AbstractMutableCollection",v,tr,[tr,ht]),gn(Qn,"IteratorImpl"),gn(te,"ListIteratorImpl",v,Qn),gn(ee,"AbstractMutableList",v,$n,[$n,ht,at]),gn(ne,"SubList",v,ee),gn(ie,"AbstractMutableSet",v,$n,[$n,ft,ht]),Mn(ue),gn(_e,"ArrayList",he,ee,[ee,ht,at]),gn(Se,"HashSet",function(){return Ee(qt(Gt(Se)))},ie,[ie,ft,ht]),Mn(Ye),gn(Le,"Itr"),gn(Pe,"KeysItr",v,Le),gn(Ue,"EntriesItr",v,Le),gn(Ve,"EntryRef",v,v,[ct]),yn(ke,"InternalMap"),gn(xe,"InternalHashMap",Ae,v,[ke]),gn(qe,"LinkedHashSet",He,Se,[Se,ft,ht]),gn(je,"Exception",function t(){var n=Be(qt(Gt(je)));return Kt(n,t),n},Error),gn(ui,"RuntimeException",function t(){var n=ii(qt(Gt(ui)));return Kt(n,t),n},je),gn(Je,"IllegalArgumentException",function t(){var n=Ze(qt(Gt(Je)));return Kt(n,t),n},ui),gn(Qe,"IllegalStateException",function t(){var n,e=(ii(n=qt(Gt(Qe))),Qe.call(n),n);return Kt(e,t),e},ui),gn(ei,"UnsupportedOperationException",ti,ui),gn(fi,"NoSuchElementException",ai,ui),gn(li,"IndexOutOfBoundsException",function t(){var n,e=(ii(n=qt(Gt(li))),li.call(n),n);return Kt(e,t),e},ui),gn(di,"ArithmeticException",function t(){var n,e=(ii(n=qt(Gt(di))),di.call(n),n);return Kt(e,t),e},ui),gn(Ei,"ConcurrentModificationException",pi,ui),gn(Si,"NumberFormatException",function t(){var n,e=(Ze(n=qt(Gt(Si))),Si.call(n),n);return Kt(e,t),e},Je),gn(vi,"NullPointerException",wi,ui),gn(Ai,"NoWhenBranchMatchedException",Ni,ui),gn(gi,"ClassCastException",Di,ui),gn(Ii,"StringBuilder",Ri,v,[j]),Mn(Vi),gn(ki,"Regex"),gn(qi,"MatchGroup"),yn(qr,"MatchNamedGroupCollection",v,v,[ht]),gn(Zi,v,v,tr,[qr,tr]),gn(Ki),gn(Xi,"sam$kotlin_Comparator$0",v,v,[jn,St]),Mn(nr),Mn(er),Tn(rr,"EmptyList",v,v,[at]),gn(sr,"ArrayAsCollection",v,v,[ht]),Tn(or,"EmptyIterator"),gn(ar,"IntIterator"),gn(hr),gn(fr,"TransformingSequence"),Tn(cr,"EmptySet",v,v,[ft]),Mn(pr),gn(Sr,"IntProgression"),yn(wr,"ClosedRange"),gn(mr,"IntRange",v,Sr,[Sr,wr]),gn(Er,"IntProgressionIterator",v,ar),Mn(Or),Mn(Mr),Mn(Ir),gn(Fr,"BytesHexFormat"),gn(br,"NumberHexFormat"),Mn(Yr),gn(Pr,"HexFormat"),Mn(Br),gn(zr,"ULong",v,v,[Z]),Gt(J).g=function(){return this.l_1.g()},Gt(ut).fromJsArray=function(t){return function(t){return new _e(t.slice()).f2()}(t)},Gt(dt).h1=function(t){return Ut(this.g1_1,t.g1_1)},Gt(dt).d=function(t){return this.h1(t instanceof dt?t:$t())},Gt(dt).equals=function(t){return this===t},Gt(dt).hashCode=function(){return kt(this)},Gt(dt).toString=function(){return this.f1_1},Gt(Et).q=function(t){return sn(this,t)},Gt(Et).d=function(t){return this.q(t instanceof Et?t:$t())},Gt(Et).m1=function(t){return on(this,t)},Gt(Et).n1=function(t){return un(this,t)},Gt(Et).o1=function(t){return an(this,t)},Gt(Et).p1=function(t){return function(t,n){if(An(),mn(n))throw ze("division by zero");if(mn(t))return Qt();if(_n(t,en())){if(_n(n,tn())||_n(n,nn()))return en();if(_n(n,en()))return tn();var e=hn(fn(t,1).p1(n),1);return _n(e,Qt())?pn(n)?tn():nn():on(e,un(t,an(n,e)).p1(n))}if(_n(n,en()))return Qt();if(pn(t))return pn(n)?On(t).p1(On(n)):On(On(t).p1(n));if(pn(n))return On(t.p1(On(n)));for(var i=Qt(),r=t;Nn(r,n);){for(var s=cn(r)/cn(n),o=Math.max(1,Math.floor(s)),u=Math.ceil(Math.log(o)/Math.LN2),a=u<=48?1:Math.pow(2,u-48),h=wn(o),f=an(h,n);pn(f)||vn(f,r);)f=an(h=wn(o-=a),n);mn(h)&&(h=tn()),i=on(i,h),r=un(r,f)}return i}(this,t)},Gt(Et).q1=function(t){return function(t,n){return An(),un(t,an(t.p1(n),n))}(this,t)},Gt(Et).r1=function(){return this.m1(new Et(1,0))},Gt(Et).s1=function(){return this.n1(new Et(1,0))},Gt(Et).t1=function(){return this.u1().m1(new Et(1,0))},Gt(Et).v1=function(t){return hn(this,t)},Gt(Et).w1=function(t){return fn(this,t)},Gt(Et).x1=function(t){return function(t,n){An();var e=63&n;return 0===e?t:e<32?new Et(t.n_1>>>e|t.o_1<<(32-e|0),t.o_1>>>e|0):new Et(32===e?t.o_1:t.o_1>>>(e-32|0)|0,0)}(this,t)},Gt(Et).y1=function(t){return new Et(this.n_1&t.n_1,this.o_1&t.o_1)},Gt(Et).z1=function(t){return new Et(this.n_1|t.n_1,this.o_1|t.o_1)},Gt(Et).a2=function(t){return new Et(this.n_1^t.n_1,this.o_1^t.o_1)},Gt(Et).u1=function(){return new Et(~this.n_1,~this.o_1)},Gt(Et).p=function(){return this.n_1},Gt(Et).b2=function(){return cn(this)},Gt(Et).toString=function(){return ln(this,10)},Gt(Et).equals=function(t){return t instanceof Et&&_n(this,t)},Gt(Et).hashCode=function(){return An(),this.n_1^this.o_1},Gt(Et).valueOf=function(){return this.b2()},Gt(At).h=function(){return!(this.d2_1===this.e2_1.length)},Gt(At).i=function(){if(this.d2_1===this.e2_1.length)throw hi(""+this.d2_1);var t=this.d2_1;return this.d2_1=t+1|0,this.e2_1[t]},Gt(Zn).toString=function(){return"kotlin.Unit"},Gt($n).toJSON=function(){return this.toArray()},Gt($n).n2=function(){},Gt(Qn).h=function(){return this.o2_10},Gt(te).a3=function(){return this.o2_1},Gt(te).b3=function(){if(!this.z2())throw ai();return this.o2_1=this.o2_1-1|0,this.p2_1=this.o2_1,this.x2_1.k(this.p2_1)},Gt(ne).g3=function(t,n){R.y2(t,this.f3_1),this.d3_1.g3(this.e3_1+t|0,n),this.f3_1=this.f3_1+1|0},Gt(ne).k=function(t){return R.h3(t,this.f3_1),this.d3_1.k(this.e3_1+t|0)},Gt(ne).t2=function(t){R.h3(t,this.f3_1);var n=this.d3_1.t2(this.e3_1+t|0);return this.f3_1=this.f3_1-1|0,n},Gt(ne).m2=function(t,n){return R.h3(t,this.f3_1),this.d3_1.m2(this.e3_1+t|0,n)},Gt(ne).i3=function(t,n){this.d3_1.i3(this.e3_1+t|0,this.e3_1+n|0),this.f3_1=this.f3_1-(n-t|0)|0},Gt(ne).j=function(){return this.f3_1},Gt(ne).n2=function(){return this.d3_1.n2()},Gt(ee).e=function(t){return this.n2(),this.g3(this.j(),t),!0},Gt(ee).j3=function(){this.n2(),this.i3(0,this.j())},Gt(ee).g=function(){return new Qn(this)},Gt(ee).v=function(t){return this.x(t)>=0},Gt(ee).x=function(t){var n;t:{for(var e=0,i=this.g();i.h();){if(Wt(i.i(),t)){n=e;break t}e=e+1|0}n=-1}return n},Gt(ee).y=function(t){var n;t:{for(var e=this.a1(this.j());e.z2();)if(Wt(e.b3(),t)){n=e.a3();break t}n=-1}return n},Gt(ee).z=function(){return this.a1(0)},Gt(ee).a1=function(t){return new te(this,t)},Gt(ee).b1=function(t,n){return new ne(this,t,n)},Gt(ee).i3=function(t,n){var e=this.a1(t),i=n-t|0,r=0;if(r0?this:ae().o3_1},Gt(_e).j=function(){return this.s_1.length},Gt(_e).k=function(t){var n=this.s_1[le(this,t)];return null==n||null!=n?n:$t()},Gt(_e).m2=function(t,n){this.n2(),le(this,t);var e=this.s_1[t];return this.s_1[t]=n,null==e||null!=e?e:$t()},Gt(_e).e=function(t){return this.n2(),this.s_1.push(t),this.s2_1=this.s2_1+1|0,!0},Gt(_e).g3=function(t,n){this.n2(),this.s_1.splice(function(t,n){return R.y2(n,t.j()),n}(this,t),0,n),this.s2_1=this.s2_1+1|0},Gt(_e).t2=function(t){return this.n2(),le(this,t),this.s2_1=this.s2_1+1|0,t===(this.j()-1|0)?this.s_1.pop():this.s_1.splice(t,1)[0]},Gt(_e).i3=function(t,n){this.n2(),this.s2_1=this.s2_1+1|0,this.s_1.splice(t,n-t|0)},Gt(_e).j3=function(){this.n2(),this.s_1=[],this.s2_1=this.s2_1+1|0},Gt(_e).x=function(t){return function(t,n){if(null==n){var e=0,i=t.length-1|0;if(e<=i)do{var r=e;if(e=e+1|0,null==t[r])return r}while(e<=i)}else{var s=0,o=t.length-1|0;if(s<=o)do{var u=s;if(s=s+1|0,Wt(n,t[u]))return u}while(s<=o)}return-1}(this.s_1,t)},Gt(_e).y=function(t){return function(t,n){if(null==n){var e=t.length-1|0;if(0<=e)do{var i=e;if(e=e+-1|0,null==t[i])return i}while(0<=e)}else{var r=t.length-1|0;if(0<=r)do{var s=r;if(r=r+-1|0,Wt(n,t[s]))return s}while(0<=r)}return-1}(this.s_1,t)},Gt(_e).toString=function(){return t=this.s_1,n=(n=", ")===v?", ":n,e=(e="[")===v?"":e,i=(i="]")===v?"":i,r=(r=v)===v?-1:r,s=(s=v)===v?"...":s,o=(o=Yt)===v?null:o,function(t,n,e,i,r,s,o,u){e=e===v?", ":e,i=i===v?"":i,r=r===v?"":r,s=s===v?-1:s,o=o===v?"...":o,u=u===v?null:u,n.f(i);var a=0,h=0,f=t.length;t:for(;h1&&n.f(e),!(s<0||a<=s))break t;vr(n,c,u)}return s>=0&&a>s&&n.f(o),n.f(r),n}(t,Ri(),n,e,i,r,s,o).toString();var t,n,e,i,r,s,o},Gt(_e).p3=function(){return[].slice.call(this.s_1)},Gt(_e).toArray=function(){return this.p3()},Gt(_e).n2=function(){if(this.t_1)throw ti()},Gt(Se).e=function(t){return null==this.q3_1.r3(t,!0)},Gt(Se).v=function(t){return this.q3_1.s3(t)},Gt(Se).u=function(){return 0===this.q3_1.j()},Gt(Se).g=function(){return this.q3_1.t3()},Gt(Se).j=function(){return this.q3_1.j()},Gt(Le).s4=function(){for(;this.p4_1=this.o4_1.z3_1)throw ai();var t=this.p4_1;this.p4_1=t+1|0,this.q4_1=t;var n=this.o4_1.u3_1[this.q4_1];return this.s4(),n},Gt(Ue).i=function(){if(this.t4(),this.p4_1>=this.o4_1.z3_1)throw ai();var t=this.p4_1;this.p4_1=t+1|0,this.q4_1=t;var n=new Ve(this.o4_1,this.q4_1);return this.s4(),n},Gt(Ue).c5=function(){if(this.p4_1>=this.o4_1.z3_1)throw ai();var t=this.p4_1;this.p4_1=t+1|0,this.q4_1=t;var n=this.o4_1.u3_1[this.q4_1],e=null==n?null:zt(n),i=null==e?0:e,r=Jt(this.o4_1.v3_1)[this.q4_1],s=null==r?null:zt(r),o=i^(null==s?0:s);return this.s4(),o},Gt(Ue).d5=function(t){if(this.p4_1>=this.o4_1.z3_1)throw ai();var n=this.p4_1;this.p4_1=n+1|0,this.q4_1=n;var e=this.o4_1.u3_1[this.q4_1];Wt(e,this.o4_1)?t.g5("(this Map)"):t.f5(e),t.h5(61);var i=Jt(this.o4_1.v3_1)[this.q4_1];Wt(i,this.o4_1)?t.g5("(this Map)"):t.f5(i),this.s4()},Gt(Ve).c1=function(){return Ne(this),this.e4_1.u3_1[this.f4_1]},Gt(Ve).d1=function(){return Ne(this),Jt(this.e4_1.v3_1)[this.f4_1]},Gt(Ve).equals=function(t){return!(null==t||!Pn(t,ct)||!Wt(t.c1(),this.c1()))&&Wt(t.d1(),this.d1())},Gt(Ve).hashCode=function(){var t=this.c1(),n=null==t?null:zt(t),e=null==n?0:n,i=this.d1(),r=null==i?null:zt(i);return e^(null==r?0:r)},Gt(Ve).toString=function(){return pt(this.c1())+"="+pt(this.d1())},Gt(xe).j=function(){return this.c4_1},Gt(xe).s3=function(t){return be(this,t)>=0},Gt(xe).r3=function(t,n){var e=function(t,n){t.i4();t:for(;;)for(var e=Re(t,n),i=Q(q(t.y3_1,2),Te(t)/2|0),r=0;;){var s=t.x3_1[e];if(s<=0){if(t.z3_1>=ge(t)){Me(t,1);continue t}var o=t.z3_1;t.z3_1=o+1|0;var u=o;return t.u3_1[u]=n,t.w3_1[u]=e,t.x3_1[e]=u+1|0,t.c4_1=t.c4_1+1|0,ye(t),r>t.y3_1&&(t.y3_1=r),u}if(Wt(t.u3_1[s-1|0],n))return 0|-s;if((r=r+1|0)>i){Ce(t,q(Te(t),2));continue t}var a=e;e=a-1|0,0===a&&(e=Te(t)-1|0)}}(this,t),i=function(t){var n=t.v3_1;if(null!=n)return n;var e=re(ge(t));return t.v3_1=e,e}(this);if(e<0){var r=i[(0|-e)-1|0];return i[(0|-e)-1|0]=n,r}return i[e]=n,null},Gt(xe).equals=function(t){var n,e;return t===this?n=!0:(e=!(null==t||!Pn(t,lt))&&function(t,n){return t.c4_1===n.j()&&t.j4(n.e1())}(this,t),n=e),n},Gt(xe).hashCode=function(){for(var t=0,n=this.i5();n.h();)t=t+n.c5()|0;return t},Gt(xe).toString=function(){var t=yi(q(this.c4_1,3));t.g5("{");for(var n=0,e=this.i5();e.h();)n>0&&t.g5(", "),e.d5(t),n=n+1|0;return t.g5("}"),t.toString()},Gt(xe).i4=function(){if(this.d4_1)throw ti()},Gt(xe).j5=function(t){var n=be(this,t.c1());return!(n<0)&&Wt(Jt(this.v3_1)[n],t.d1())},Gt(xe).k5=function(t){return this.j5(Pn(t,ct)?t:$t())},Gt(xe).t3=function(){return new Pe(this)},Gt(xe).i5=function(){return new Ue(this)},Gt(Ii).a=function(){return this.e5_1.length},Gt(Ii).b=function(t){var n=this.e5_1;if(!(0<=t&&t<=(Ft(n)-1|0)))throw ci("index: "+t+", length: "+this.a()+"}");return It(n,t)},Gt(Ii).c=function(t,n){return this.e5_1.substring(t,n)},Gt(Ii).h5=function(t){return this.e5_1=this.e5_1+st(t),this},Gt(Ii).f=function(t){return this.e5_1=this.e5_1+pt(t),this},Gt(Ii).n5=function(t,n,e){return this.o5(null==t?"null":t,n,e)},Gt(Ii).f5=function(t){return this.e5_1=this.e5_1+pt(t),this},Gt(Ii).p5=function(t){return this.e5_1=this.e5_1+t,this},Gt(Ii).q5=function(t){return this.g5(t.toString())},Gt(Ii).g5=function(t){var n=this.e5_1;return this.e5_1=n+(null==t?"null":t),this},Gt(Ii).toString=function(){return this.e5_1},Gt(Ii).o5=function(t,n,e){var i=Bt(t);R.r5(n,e,i.length);var r=this.e5_1;return this.e5_1=r+i.substring(n,e),this},Gt(Vi).v5=function(t){var n=this.s5_1;return t.replace(n,"\\$&")},Gt(Vi).w5=function(t){var n=this.u5_1;return t.replace(n,"$$$$")},Gt(ki).c6=function(t,n){if(n<0||n>Ft(t))throw ci("Start index out of bounds: "+n+", input length: "+Ft(t));return Hi(this.z5_1,Bt(t),n,this.z5_1)},Gt(ki).d6=function(t,n,e){return n=n===v?0:n,e===v?this.c6(t,n):e.c6.call(this,t,n)},Gt(ki).e6=function(t,n){if(!kr(n,92)&&!kr(n,36)){var e=Bt(t),i=this.z5_1;return e.replace(i,n)}return this.f6(t,(r=n,function(t){return function(t,n){for(var e=0,i=Ri();e=_.j())throw ci("Group with index "+m+" does not exist");var E=_.k(m),O=null==E?null:E.n6_1;i.g5(null==O?"":O),e=d}}else i.h5(s)}return i.toString()}(t,r)}));var r},Gt(ki).f6=function(t,n){var e=this.d6(t);if(null==e)return Bt(t);var i=0,r=Ft(t),s=yi();do{var o=Jt(e);s.n5(t,i,o.g6().k6()),s.f(n(o)),i=o.g6().l6()+1|0,e=o.i()}while(i=n)throw ci("index: "+t+", size: "+n)},Gt(nr).y2=function(t,n){if(t<0||t>n)throw ci("index: "+t+", size: "+n)},Gt(nr).h2=function(t,n,e){if(t<0||n>e)throw ci("fromIndex: "+t+", toIndex: "+n+", size: "+e);if(t>n)throw Ge("fromIndex: "+t+" > toIndex: "+n)},Gt(nr).r5=function(t,n,e){if(t<0||n>e)throw ci("startIndex: "+t+", endIndex: "+n+", size: "+e);if(t>n)throw Ge("startIndex: "+t+" > endIndex: "+n)},Gt(nr).h4=function(t,n){var e=t+(t>>1)|0;return(e-n|0)<0&&(e=n),(e-2147483639|0)>0&&(e=n>2147483639?2147483647:2147483639),e},Gt(nr).l3=function(t){for(var n=1,e=t.g();e.h();){var i=e.i(),r=q(31,n),s=null==i?null:zt(i);n=r+(null==s?0:s)|0}return n},Gt(nr).k3=function(t,n){if(t.j()!==n.j())return!1;for(var e=n.g(),i=t.g();i.h();)if(!Wt(i.i(),e.i()))return!1;return!0},Gt(er).n3=function(t){for(var n=0,e=t.g();e.h();){var i=e.i(),r=n,s=null==i?null:zt(i);n=r+(null==s?0:s)|0}return n},Gt(er).m3=function(t,n){return t.j()===n.j()&&t.w(n)},Gt(rr).equals=function(t){return!(null==t||!Pn(t,at))&&t.u()},Gt(rr).hashCode=function(){return 1},Gt(rr).toString=function(){return"[]"},Gt(rr).j=function(){return 0},Gt(rr).u=function(){return!0},Gt(rr).e7=function(t){return!1},Gt(rr).v=function(t){return!1},Gt(rr).f7=function(t){return t.u()},Gt(rr).w=function(t){return this.f7(t)},Gt(rr).k=function(t){throw ci("Empty list doesn't contain element at index "+t+".")},Gt(rr).g7=function(t){return-1},Gt(rr).x=function(t){return-1},Gt(rr).h7=function(t){return-1},Gt(rr).y=function(t){return-1},Gt(rr).g=function(){return F},Gt(rr).z=function(){return F},Gt(rr).a1=function(t){if(0!==t)throw ci("Index: "+t);return F},Gt(rr).b1=function(t,n){if(0===t&&0===n)return this;throw ci("fromIndex: "+t+", toIndex: "+n)},Gt(sr).j=function(){return this.i7_1.length},Gt(sr).u=function(){return 0===this.i7_1.length},Gt(sr).g=function(){return new At(this.i7_1)},Gt(or).h=function(){return!1},Gt(or).z2=function(){return!1},Gt(or).a3=function(){return 0},Gt(or).i=function(){throw ai()},Gt(or).b3=function(){throw ai()},Gt(ar).i=function(){return this.k7()},Gt(hr).i=function(){return this.m7_1.o7_1(this.l7_1.i())},Gt(hr).h=function(){return this.l7_1.h()},Gt(fr).g=function(){return new hr(this)},Gt(cr).equals=function(t){return!(null==t||!Pn(t,ft))&&t.u()},Gt(cr).hashCode=function(){return 0},Gt(cr).toString=function(){return"[]"},Gt(cr).j=function(){return 0},Gt(cr).u=function(){return!0},Gt(cr).f7=function(t){return t.u()},Gt(cr).w=function(t){return this.f7(t)},Gt(cr).g=function(){return F},Gt(mr).k6=function(){return this.r7_1},Gt(mr).l6=function(){return this.s7_1},Gt(mr).u7=function(t){return this.r7_1<=t&&t<=this.s7_1},Gt(mr).m=function(t){return this.u7("number"==typeof t?t:$t())},Gt(mr).u=function(){return this.r7_1>this.s7_1},Gt(mr).equals=function(t){return t instanceof mr&&(this.u()&&t.u()||this.r7_1===t.r7_1&&this.s7_1===t.s7_1)},Gt(mr).hashCode=function(){return this.u()?-1:q(31,this.r7_1)+this.s7_1|0},Gt(mr).toString=function(){return this.r7_1+".."+this.s7_1},Gt(Er).h=function(){return this.x7_1},Gt(Er).k7=function(){var t=this.y7_1;if(t===this.w7_1){if(!this.x7_1)throw ai();this.x7_1=!1}else this.y7_1=this.y7_1+this.v7_1|0;return t},Gt(Sr).g=function(){return new Er(this.r7_1,this.s7_1,this.t7_1)},Gt(Sr).u=function(){return this.t7_1>0?this.r7_1>this.s7_1:this.r7_10?this.r7_1+".."+this.s7_1+" step "+this.t7_1:this.r7_1+" downTo "+this.s7_1+" step "+(0|-this.t7_1)},Gt(Fr).toString=function(){var t=Ri();return t.g5("BytesHexFormat(").h5(10),this.q8(t," ").h5(10),t.g5(")"),t.toString()},Gt(Fr).q8=function(t,n){return t.g5(n).g5("bytesPerLine = ").q5(this.f8_1).g5(",").h5(10),t.g5(n).g5("bytesPerGroup = ").q5(this.g8_1).g5(",").h5(10),t.g5(n).g5('groupSeparator = "').g5(this.h8_1).g5('",').h5(10),t.g5(n).g5('byteSeparator = "').g5(this.i8_1).g5('",').h5(10),t.g5(n).g5('bytePrefix = "').g5(this.j8_1).g5('",').h5(10),t.g5(n).g5('byteSuffix = "').g5(this.k8_1).g5('"'),t},Gt(br).toString=function(){var t=Ri();return t.g5("NumberHexFormat(").h5(10),this.q8(t," ").h5(10),t.g5(")"),t.toString()},Gt(br).q8=function(t,n){return t.g5(n).g5('prefix = "').g5(this.r8_1).g5('",').h5(10),t.g5(n).g5('suffix = "').g5(this.s8_1).g5('",').h5(10),t.g5(n).g5("removeLeadingZeros = ").p5(this.t8_1).h5(44).h5(10),t.g5(n).g5("minLength = ").q5(this.u8_1),t},Gt(Pr).toString=function(){var t=Ri();return t.g5("HexFormat(").h5(10),t.g5(" upperCase = ").p5(this.c8_1).g5(",").h5(10),t.g5(" bytes = BytesHexFormat(").h5(10),this.d8_1.q8(t," ").h5(10),t.g5(" ),").h5(10),t.g5(" number = NumberHexFormat(").h5(10),this.e8_1.q8(t," ").h5(10),t.g5(" )").h5(10),t.g5(")"),t.toString()},Gt(zr).d9=function(t){return Wr(this.c9_1,t)},Gt(zr).d=function(t){return function(t,n){return Wr(t.c9_1,n instanceof zr?n.c9_1:$t())}(this,t)},Gt(zr).toString=function(){return function(t,n){if(t.q(new Et(0,0))>=0)return bi(t,n);var e=t.x1(1).p1(Yn(n)).v1(1),i=e.o1(Yn(n)),r=t.n1(i);return r.q(Yn(n))>=0&&(r=r.n1(Yn(n)),e=e.m1(Yn(1))),bi(e,n)+bi(r,n)}(this.c9_1,10)},Gt(zr).hashCode=function(){return this.c9_1.hashCode()},Gt(zr).equals=function(t){return function(t,n){if(!(n instanceof zr))return!1;var e=n instanceof zr?n.c9_1:$t();return!!t.equals(e)}(this.c9_1,t)},Gt(ee).asJsReadonlyArrayView=z,Gt(xe).j4=function(t){var n;t:if(Pn(t,ht)&&t.u())n=!0;else{for(var e=t.g();e.h();){var i=e.i();if(null==i||!Pn(i,ct)||!this.k5(i)){n=!1;break t}}n=!0}return n},Gt(rr).asJsReadonlyArrayView=z,new ut,new _t,D=new Zn,T=null,new Ye,R=new nr,I=new er,F=new or,new Or;var Zr=jr("DateTimeException",function(t,n){void 0===n&&(n=null);var e=t||this.name;null!==n&&n instanceof Error&&(e+="\n-------\nCaused by: "+n.stack+"\n-------\n"),this.message=e}),Kr=jr("DateTimeParseException",function(t,n,e,i){void 0===n&&(n=""),void 0===e&&(e=0),void 0===i&&(i=null);var r=t||this.name;r+=": "+n+", at index: "+e,null!==i&&i instanceof Error&&(r+="\n-------\nCaused by: "+i.stack+"\n-------\n"),this.message=r,this.parsedString=function(){return n},this.errorIndex=function(){return e}}),Gr=jr("UnsupportedTemporalTypeException",null,Zr),Xr=jr("ArithmeticException"),Jr=jr("IllegalArgumentException"),$r=jr("IllegalStateException"),Qr=jr("NullPointerException");function ts(t,n){t.prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n}function ns(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function es(t,n,e){if(!t)throw e?new e(n):new Error(n)}function is(t,n){if(null==t)throw new Qr(n+" must not be null");return t}function rs(t,n,e){if(!(t instanceof n))throw new Jr(e+" must be an instance of "+(n.name?n.name:n)+(t&&t.constructor&&t.constructor.name?", but is "+t.constructor.name:""));return t}function ss(t){throw new TypeError('abstract method "'+t+'" is not implemented')}var os=Object.freeze({__proto__:null,assert:es,requireNonNull:is,requireInstance:rs,abstractMethodFail:ss}),us=9007199254740991,as=-9007199254740991,hs=function(){function t(){}return t.intDiv=function(n,e){var i=n/e;return i=t.roundDown(i),t.safeZero(i)},t.intMod=function(n,e){var i=n-t.intDiv(n,e)*e;return i=t.roundDown(i),t.safeZero(i)},t.roundDown=function(t){return t<0?Math.ceil(t):Math.floor(t)},t.floorDiv=function(n,e){var i=Math.floor(n/e);return t.safeZero(i)},t.floorMod=function(n,e){var i=n-t.floorDiv(n,e)*e;return t.safeZero(i)},t.safeAdd=function(n,e){if(t.verifyInt(n),t.verifyInt(e),0===n)return t.safeZero(e);if(0===e)return t.safeZero(n);var i=t.safeToInt(n+e);if(i===n||i===e)throw new Xr("Invalid addition beyond MAX_SAFE_INTEGER!");return i},t.safeSubtract=function(n,e){return t.verifyInt(n),t.verifyInt(e),0===n&&0===e?0:0===n?t.safeZero(-1*e):0===e?t.safeZero(n):t.safeToInt(n-e)},t.safeMultiply=function(n,e){if(t.verifyInt(n),t.verifyInt(e),1===n)return t.safeZero(e);if(1===e)return t.safeZero(n);if(0===n||0===e)return 0;var i=t.safeToInt(n*e);if(i/e!==n||n===as&&-1===e||e===as&&-1===n)throw new Xr("Multiplication overflows: "+n+" * "+e);return i},t.parseInt=function(t){function n(n){return t.apply(this,arguments)}return n.toString=function(){return t.toString()},n}(function(n){var e=parseInt(n);return t.safeToInt(e)}),t.safeToInt=function(n){return t.verifyInt(n),t.safeZero(n)},t.verifyInt=function(t){if(null==t)throw new Xr("Invalid value: '"+t+"', using null or undefined as argument");if(isNaN(t))throw new Xr("Invalid int value, using NaN as argument");if(t%1!=0)throw new Xr("Invalid value: '"+t+"' is a float");if(t>us||tn?1:0},t.smi=function(t){return t>>>1&1073741824|3221225471&t},t.hash=function(n){if(n!=n||n===1/0)return 0;for(var e=n;n>4294967295;)e^=n/=4294967295;return t.smi(e)},t.hashCode=function(){for(var n=17,e=arguments.length,i=new Array(e),r=0;r0&&i<0)i+=nu.NANOS_PER_SECOND;else if(e<0&&i>0)i-=nu.NANOS_PER_SECOND;else if(0===e&&0!==i){var s=n.with(Os.NANO_OF_SECOND,r);e=t.until(s,ps.SECONDS)}}catch(t){}return this.ofSeconds(e,i)},n.parse=function(t){is(t,"text");var e=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!==e&&"T"===e[3]==0){var i="-"===e[1],r=e[2],s=e[4],o=e[5],u=e[6],a=e[7];if(null!=r||null!=s||null!=o||null!=u){var h=n._parseNumber(t,r,nu.SECONDS_PER_DAY,"days"),f=n._parseNumber(t,s,nu.SECONDS_PER_HOUR,"hours"),c=n._parseNumber(t,o,nu.SECONDS_PER_MINUTE,"minutes"),l=n._parseNumber(t,u,1,"seconds"),_=null!=u&&"-"===u.charAt(0),d=n._parseFraction(t,a,_?-1:1);try{return n._create(i,h,f,c,l,d)}catch(n){throw new Kr("Text cannot be parsed to a Duration: overflow",t,0,n)}}}throw new Kr("Text cannot be parsed to a Duration",t,0)},n._parseNumber=function(t,n,e,i){if(null==n)return 0;try{return"+"===n[0]&&(n=n.substring(1)),hs.safeMultiply(parseFloat(n),e)}catch(n){throw new Kr("Text cannot be parsed to a Duration: "+i,t,0,n)}},n._parseFraction=function(t,n,e){return null==n||0===n.length?0:(n=(n+"000000000").substring(0,9),parseFloat(n)*e)},n._create=function(){return arguments.length<=2?n._createSecondsNanos(arguments[0],arguments[1]):n._createNegateDaysHoursMinutesSecondsNanos(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5])},n._createNegateDaysHoursMinutesSecondsNanos=function(t,e,i,r,s,o){var u=hs.safeAdd(e,hs.safeAdd(i,hs.safeAdd(r,s)));return t?n.ofSeconds(u,o).negated():n.ofSeconds(u,o)},n._createSecondsNanos=function(t,e){return void 0===t&&(t=0),void 0===e&&(e=0),0===t&&0===e?n.ZERO:new n(t,e)};var e=n.prototype;return e.get=function(t){if(t===ps.SECONDS)return this._seconds;if(t===ps.NANOS)return this._nanos;throw new Gr("Unsupported unit: "+t)},e.units=function(){return[ps.SECONDS,ps.NANOS]},e.isZero=function(){return 0===this._seconds&&0===this._nanos},e.isNegative=function(){return this._seconds<0},e.seconds=function(){return this._seconds},e.nano=function(){return this._nanos},e.withSeconds=function(t){return n._create(t,this._nanos)},e.withNanos=function(t){return Os.NANO_OF_SECOND.checkValidIntValue(t),n._create(this._seconds,t)},e.plusDuration=function(t){return is(t,"duration"),this.plus(t.seconds(),t.nano())},e.plus=function(t,n){return 1===arguments.length?this.plusDuration(t):2===arguments.length&&n instanceof ls?this.plusAmountUnit(t,n):this.plusSecondsNanos(t,n)},e.plusAmountUnit=function(t,n){if(is(t,"amountToAdd"),is(n,"unit"),n===ps.DAYS)return this.plusSecondsNanos(hs.safeMultiply(t,nu.SECONDS_PER_DAY),0);if(n.isDurationEstimated())throw new Gr("Unit must not have an estimated duration");if(0===t)return this;if(n instanceof ps){switch(n){case ps.NANOS:return this.plusNanos(t);case ps.MICROS:return this.plusSecondsNanos(1e3*hs.intDiv(t,1e9),1e3*hs.intMod(t,1e9));case ps.MILLIS:return this.plusMillis(t);case ps.SECONDS:return this.plusSeconds(t)}return this.plusSecondsNanos(hs.safeMultiply(n.duration().seconds(),t),0)}var e=n.duration().multipliedBy(t);return this.plusSecondsNanos(e.seconds(),e.nano())},e.plusDays=function(t){return this.plusSecondsNanos(hs.safeMultiply(t,nu.SECONDS_PER_DAY),0)},e.plusHours=function(t){return this.plusSecondsNanos(hs.safeMultiply(t,nu.SECONDS_PER_HOUR),0)},e.plusMinutes=function(t){return this.plusSecondsNanos(hs.safeMultiply(t,nu.SECONDS_PER_MINUTE),0)},e.plusSeconds=function(t){return this.plusSecondsNanos(t,0)},e.plusMillis=function(t){return this.plusSecondsNanos(hs.intDiv(t,1e3),1e6*hs.intMod(t,1e3))},e.plusNanos=function(t){return this.plusSecondsNanos(0,t)},e.plusSecondsNanos=function(t,e){if(is(t,"secondsToAdd"),is(e,"nanosToAdd"),0===t&&0===e)return this;var i=hs.safeAdd(this._seconds,t);i=hs.safeAdd(i,hs.intDiv(e,nu.NANOS_PER_SECOND)),e=hs.intMod(e,nu.NANOS_PER_SECOND);var r=hs.safeAdd(this._nanos,e);return n.ofSeconds(i,r)},e.minus=function(t,n){return 1===arguments.length?this.minusDuration(t):this.minusAmountUnit(t,n)},e.minusDuration=function(t){is(t,"duration");var n=t.seconds(),e=t.nano();return n===as?this.plus(us,-e):this.plus(-n,-e)},e.minusAmountUnit=function(t,n){return is(t,"amountToSubtract"),is(n,"unit"),t===as?this.plusAmountUnit(us,n):this.plusAmountUnit(-t,n)},e.minusDays=function(t){return t===as?this.plusDays(us):this.plusDays(-t)},e.minusHours=function(t){return t===as?this.plusHours(us):this.plusHours(-t)},e.minusMinutes=function(t){return t===as?this.plusMinutes(us):this.plusMinutes(-t)},e.minusSeconds=function(t){return t===as?this.plusSeconds(us):this.plusSeconds(-t)},e.minusMillis=function(t){return t===as?this.plusMillis(us):this.plusMillis(-t)},e.minusNanos=function(t){return t===as?this.plusNanos(us):this.plusNanos(-t)},e.multipliedBy=function(t){if(0===t)return n.ZERO;if(1===t)return this;var e=hs.safeMultiply(this._seconds,t),i=hs.safeMultiply(this._nanos,t);return e+=hs.intDiv(i,nu.NANOS_PER_SECOND),i=hs.intMod(i,nu.NANOS_PER_SECOND),n.ofSeconds(e,i)},e.dividedBy=function(t){if(0===t)throw new Xr("Cannot divide by zero");if(1===t)return this;var e=hs.intDiv(this._seconds,t),i=hs.roundDown((this._seconds/t-e)*nu.NANOS_PER_SECOND),r=hs.intDiv(this._nanos,t);return r=i+r,n.ofSeconds(e,r)},e.negated=function(){return this.multipliedBy(-1)},e.abs=function(){return this.isNegative()?this.negated():this},e.addTo=function(t){return is(t,"temporal"),0!==this._seconds&&(t=t.plus(this._seconds,ps.SECONDS)),0!==this._nanos&&(t=t.plus(this._nanos,ps.NANOS)),t},e.subtractFrom=function(t){return is(t,"temporal"),0!==this._seconds&&(t=t.minus(this._seconds,ps.SECONDS)),0!==this._nanos&&(t=t.minus(this._nanos,ps.NANOS)),t},e.toDays=function(){return hs.intDiv(this._seconds,nu.SECONDS_PER_DAY)},e.toHours=function(){return hs.intDiv(this._seconds,nu.SECONDS_PER_HOUR)},e.toMinutes=function(){return hs.intDiv(this._seconds,nu.SECONDS_PER_MINUTE)},e.toMillis=function(){var t=Math.round(hs.safeMultiply(this._seconds,1e3));return hs.safeAdd(t,hs.intDiv(this._nanos,1e6))},e.toNanos=function(){var t=hs.safeMultiply(this._seconds,nu.NANOS_PER_SECOND);return hs.safeAdd(t,this._nanos)},e.compareTo=function(t){is(t,"otherDuration"),rs(t,n,"otherDuration");var e=hs.compareNumbers(this._seconds,t.seconds());return 0!==e?e:this._nanos-t.nano()},e.equals=function(t){return this===t||t instanceof n&&this.seconds()===t.seconds()&&this.nano()===t.nano()},e.toString=function(){if(this===n.ZERO)return"PT0S";var t,e=hs.intDiv(this._seconds,nu.SECONDS_PER_HOUR),i=hs.intDiv(hs.intMod(this._seconds,nu.SECONDS_PER_HOUR),nu.SECONDS_PER_MINUTE),r=hs.intMod(this._seconds,nu.SECONDS_PER_MINUTE),s="PT";if(0!==e&&(s+=e+"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*nu.NANOS_PER_SECOND-this._nanos):""+(nu.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"},e.toJSON=function(){return this.toString()},n}(cs),ds=function(){},ps=function(t){function n(n,e){var i;return(i=t.call(this)||this)._name=n,i._duration=e,i}ts(n,t);var e=n.prototype;return e.duration=function(){return this._duration},e.isDurationEstimated=function(){return this.isDateBased()||this===n.FOREVER},e.isDateBased=function(){return this.compareTo(n.DAYS)>=0&&this!==n.FOREVER},e.isTimeBased=function(){return this.compareTo(n.DAYS)<0},e.isSupportedBy=function(t){if(this===n.FOREVER)return!1;try{return t.plus(1,this),!0}catch(n){try{return t.plus(-1,this),!0}catch(t){return!1}}},e.addTo=function(t,n){return t.plus(n,this)},e.between=function(t,n){return t.until(n,this)},e.toString=function(){return this._name},e.compareTo=function(t){return this.duration().compareTo(t.duration())},n}(ls),ms=function(){function t(){}var n=t.prototype;return n.isDateBased=function(){ss("isDateBased")},n.isTimeBased=function(){ss("isTimeBased")},n.baseUnit=function(){ss("baseUnit")},n.rangeUnit=function(){ss("rangeUnit")},n.range=function(){ss("range")},n.rangeRefinedBy=function(t){ss("rangeRefinedBy")},n.getFrom=function(t){ss("getFrom")},n.adjustInto=function(t,n){ss("adjustInto")},n.isSupportedBy=function(t){ss("isSupportedBy")},n.displayName=function(){ss("displayName")},n.equals=function(t){ss("equals")},n.name=function(){ss("name")},t}(),Es=function(){function t(t,n,e,i){es(!(t>n),"Smallest minimum value '"+t+"' must be less than largest minimum value '"+n+"'",Jr),es(!(e>i),"Smallest maximum value '"+e+"' must be less than largest maximum value '"+i+"'",Jr),es(!(n>i),"Minimum value '"+n+"' must be less than maximum value '"+i+"'",Jr),this._minSmallest=t,this._minLargest=n,this._maxLargest=i,this._maxSmallest=e}var n=t.prototype;return n.isFixed=function(){return this._minSmallest===this._minLargest&&this._maxSmallest===this._maxLargest},n.minimum=function(){return this._minSmallest},n.largestMinimum=function(){return this._minLargest},n.maximum=function(){return this._maxLargest},n.smallestMaximum=function(){return this._maxSmallest},n.isValidValue=function(t){return this.minimum()<=t&&t<=this.maximum()},n.checkValidValue=function(t,n){return this.isValidValue(t)?t:es(!1,null!=n?"Invalid value for "+n+" (valid values "+this.toString()+"): "+t:"Invalid value (valid values "+this.toString()+"): "+t,Zr)},n.checkValidIntValue=function(t,n){if(!1===this.isValidIntValue(t))throw new Zr("Invalid int value for "+n+": "+t);return t},n.isValidIntValue=function(t){return this.isIntValue()&&this.isValidValue(t)},n.isIntValue=function(){return this.minimum()>=hs.MIN_SAFE_INTEGER&&this.maximum()<=hs.MAX_SAFE_INTEGER},n.equals=function(n){return n===this||n instanceof t&&this._minSmallest===n._minSmallest&&this._minLargest===n._minLargest&&this._maxSmallest===n._maxSmallest&&this._maxLargest===n._maxLargest},n.hashCode=function(){return hs.hashCode(this._minSmallest,this._minLargest,this._maxSmallest,this._maxLargest)},n.toString=function(){var t=this.minimum()+(this.minimum()!==this.largestMinimum()?"/"+this.largestMinimum():"");return(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]):es(!1,"Invalid number of arguments "+arguments.length,Jr)},t}(),Os=function(t){function n(n,e,i,r){var s;return(s=t.call(this)||this)._name=n,s._baseUnit=e,s._rangeUnit=i,s._range=r,s}ts(n,t),n.byName=function(t){for(var e in n)if(n[e]&&n[e]instanceof n&&n[e].name()===t)return n[e]};var e=n.prototype;return e.name=function(){return this._name},e.baseUnit=function(){return this._baseUnit},e.rangeUnit=function(){return this._rangeUnit},e.range=function(){return this._range},e.displayName=function(){return this.toString()},e.checkValidValue=function(t){return this.range().checkValidValue(t,this)},e.checkValidIntValue=function(t){return this.range().checkValidIntValue(t,this)},e.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},e.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},e.rangeRefinedBy=function(t){return t.range(this)},e.getFrom=function(t){return t.getLong(this)},e.toString=function(){return this.name()},e.equals=function(t){return this===t},e.adjustInto=function(t,n){return t.with(this,n)},e.isSupportedBy=function(t){return t.isSupported(this)},n}(ms),Ss=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}(),ws=function(){function t(){}var n=t.prototype;return n.query=function(t){return t===Ss.zoneId()||t===Ss.chronology()||t===Ss.precision()?null:t.queryFrom(this)},n.get=function(t){return this.range(t).checkValidIntValue(this.getLong(t),t)},n.range=function(t){if(t instanceof Os){if(this.isSupported(t))return t.range();throw new Gr("Unsupported field: "+t)}return t.rangeRefinedBy(this)},t}(),vs=function(t){function n(){return t.apply(this,arguments)||this}return ts(n,t),n.prototype.queryFrom=function(t){ss("queryFrom")},n}(fs);function Ns(t,n){var e=function(t){function n(){return t.apply(this,arguments)||this}return ts(n,t),n}(vs);return e.prototype.queryFrom=n,new e(t)}var As,Ds,gs=function(t){function n(n,e){var i;return(i=t.call(this)||this)._ordinal=n,i._name=e,i}ts(n,t);var e=n.prototype;return e.ordinal=function(){return this._ordinal},e.name=function(){return this._name},n.values=function(){return As.slice()},n.valueOf=function(t){for(var e=0;e7)throw new Zr("Invalid value for DayOfWeek: "+t);return As[t-1]},n.from=function(t){if(es(null!=t,"temporal",Qr),t instanceof n)return t;try{return n.of(t.get(Os.DAY_OF_WEEK))}catch(n){throw n instanceof Zr?new Zr("Unable to obtain DayOfWeek from TemporalAccessor: "+t+", type "+(null!=t.constructor?t.constructor.name:""),n):n}},e.value=function(){return this._ordinal+1},e.displayName=function(t,n){throw new Jr("Pattern using (localized) text not implemented yet!")},e.isSupported=function(t){return t instanceof Os?t===Os.DAY_OF_WEEK:null!=t&&t.isSupportedBy(this)},e.range=function(t){if(t===Os.DAY_OF_WEEK)return t.range();if(t instanceof Os)throw new Gr("Unsupported field: "+t);return t.rangeRefinedBy(this)},e.get=function(t){return t===Os.DAY_OF_WEEK?this.value():this.range(t).checkValidIntValue(this.getLong(t),t)},e.getLong=function(t){if(t===Os.DAY_OF_WEEK)return this.value();if(t instanceof Os)throw new Gr("Unsupported field: "+t);return t.getFrom(this)},e.plus=function(t){var n=hs.floorMod(t,7);return As[hs.floorMod(this._ordinal+(n+7),7)]},e.minus=function(t){return this.plus(-1*hs.floorMod(t,7))},e.query=function(t){return t===Ss.precision()?ps.DAYS:t===Ss.localDate()||t===Ss.localTime()||t===Ss.chronology()||t===Ss.zone()||t===Ss.zoneId()||t===Ss.offset()?null:(es(null!=t,"query",Qr),t.queryFrom(this))},e.adjustInto=function(t){return is(t,"temporal"),t.with(Os.DAY_OF_WEEK,this.value())},e.equals=function(t){return this===t},e.toString=function(){return this._name},e.compareTo=function(t){return is(t,"other"),rs(t,n,"other"),this._ordinal-t._ordinal},e.toJSON=function(){return this.toString()},n}(ws),Ts=function(t){function n(n,e){var i;return(i=t.call(this)||this)._value=hs.safeToInt(n),i._name=e,i}ts(n,t);var e=n.prototype;return e.value=function(){return this._value},e.ordinal=function(){return this._value-1},e.name=function(){return this._name},e.displayName=function(t,n){throw new Jr("Pattern using (localized) text not implemented yet!")},e.isSupported=function(t){return null!==t&&(t instanceof Os?t===Os.MONTH_OF_YEAR:null!=t&&t.isSupportedBy(this))},e.get=function(t){return t===Os.MONTH_OF_YEAR?this.value():this.range(t).checkValidIntValue(this.getLong(t),t)},e.getLong=function(t){if(t===Os.MONTH_OF_YEAR)return this.value();if(t instanceof Os)throw new Gr("Unsupported field: "+t);return t.getFrom(this)},e.plus=function(t){var e=hs.intMod(t,12)+12,i=hs.intMod(this.value()+e,12);return i=0===i?12:i,n.of(i)},e.minus=function(t){return this.plus(-1*hs.intMod(t,12))},e.length=function(t){switch(this){case n.FEBRUARY:return t?29:28;case n.APRIL:case n.JUNE:case n.SEPTEMBER:case n.NOVEMBER:return 30;default:return 31}},e.minLength=function(){switch(this){case n.FEBRUARY:return 28;case n.APRIL:case n.JUNE:case n.SEPTEMBER:case n.NOVEMBER:return 30;default:return 31}},e.maxLength=function(){switch(this){case n.FEBRUARY:return 29;case n.APRIL:case n.JUNE:case n.SEPTEMBER:case n.NOVEMBER:return 30;default:return 31}},e.firstDayOfYear=function(t){var e=t?1:0;switch(this){case n.JANUARY:return 1;case n.FEBRUARY:return 32;case n.MARCH:return 60+e;case n.APRIL:return 91+e;case n.MAY:return 121+e;case n.JUNE:return 152+e;case n.JULY:return 182+e;case n.AUGUST:return 213+e;case n.SEPTEMBER:return 244+e;case n.OCTOBER:return 274+e;case n.NOVEMBER:return 305+e;case n.DECEMBER:default:return 335+e}},e.firstMonthOfQuarter=function(){switch(this){case n.JANUARY:case n.FEBRUARY:case n.MARCH:return n.JANUARY;case n.APRIL:case n.MAY:case n.JUNE:return n.APRIL;case n.JULY:case n.AUGUST:case n.SEPTEMBER:return n.JULY;case n.OCTOBER:case n.NOVEMBER:case n.DECEMBER:default:return n.OCTOBER}},e.query=function(n){return es(null!=n,"query() parameter must not be null",Zr),n===Ss.chronology()?zo.INSTANCE:n===Ss.precision()?ps.MONTHS:t.prototype.query.call(this,n)},e.toString=function(){switch(this){case n.JANUARY:return"JANUARY";case n.FEBRUARY:return"FEBRUARY";case n.MARCH:return"MARCH";case n.APRIL:return"APRIL";case n.MAY:return"MAY";case n.JUNE:return"JUNE";case n.JULY:return"JULY";case n.AUGUST:return"AUGUST";case n.SEPTEMBER:return"SEPTEMBER";case n.OCTOBER:return"OCTOBER";case n.NOVEMBER:return"NOVEMBER";case n.DECEMBER:return"DECEMBER";default:return"unknown Month, value: "+this.value()}},e.toJSON=function(){return this.toString()},e.adjustInto=function(t){return t.with(Os.MONTH_OF_YEAR,this.value())},e.compareTo=function(t){return is(t,"other"),rs(t,n,"other"),this._value-t._value},e.equals=function(t){return this===t},n.valueOf=function(t){for(var e=0;e12)&&es(!1,"Invalid value for MonthOfYear: "+t,Zr),Ds[t-1]},n.from=function(t){if(t instanceof n)return t;try{return n.of(t.get(Os.MONTH_OF_YEAR))}catch(n){throw new Zr("Unable to obtain Month from TemporalAccessor: "+t+" of type "+(t&&null!=t.constructor?t.constructor.name:""),n)}},n}(ws),ys=/([-+]?)P(?:([-+]?[0-9]+)Y)?(?:([-+]?[0-9]+)M)?(?:([-+]?[0-9]+)W)?(?:([-+]?[0-9]+)D)?/,Ms=function(t){function n(e,i,r){var s;s=t.call(this)||this;var o=hs.safeToInt(e),u=hs.safeToInt(i),a=hs.safeToInt(r);return 0===o&&0===u&&0===a?(n.ZERO||(s._years=o,s._months=u,s._days=a,n.ZERO=ns(s)),n.ZERO||ns(s)):(s._years=o,s._months=u,s._days=a,s)}ts(n,t),n.ofYears=function(t){return n.create(t,0,0)},n.ofMonths=function(t){return n.create(0,t,0)},n.ofWeeks=function(t){return n.create(0,0,hs.safeMultiply(t,7))},n.ofDays=function(t){return n.create(0,0,t)},n.of=function(t,e,i){return n.create(t,e,i)},n.from=function(t){if(t instanceof n)return t;is(t,"amount");for(var e=0,i=0,r=0,s=t.units(),o=0;on.MAX_SECONDS)throw new Zr("Zone offset not in valid range: -18:00 to +18:00")},n._validate=function(t,n,e){if(t<-18||t>18)throw new Zr("Zone offset hours not in valid range: value "+t+" is not in the range -18 to 18");if(t>0){if(n<0||e<0)throw new Zr("Zone offset minutes and seconds must be positive because hours is positive")}else if(t<0){if(n>0||e>0)throw new Zr("Zone offset minutes and seconds must be negative because hours is negative")}else if(n>0&&e<0||n<0&&e>0)throw new Zr("Zone offset minutes and seconds must have the same sign");if(Math.abs(n)>59)throw new Zr("Zone offset minutes not in valid range: abs(value) "+Math.abs(n)+" is not in the range 0 to 59");if(Math.abs(e)>59)throw new Zr("Zone offset seconds not in valid range: abs(value) "+Math.abs(e)+" is not in the range 0 to 59");if(18===Math.abs(t)&&(Math.abs(n)>0||Math.abs(e)>0))throw new Zr("Zone offset not in valid range: -18:00 to +18:00")},n.of=function(t){is(t,"offsetId");var e,i,r,s=Hs[t];if(null!=s)return s;switch(t.length){case 2:t=t[0]+"0"+t[1];case 3:e=n._parseNumber(t,1,!1),i=0,r=0;break;case 5:e=n._parseNumber(t,1,!1),i=n._parseNumber(t,3,!1),r=0;break;case 6:e=n._parseNumber(t,1,!1),i=n._parseNumber(t,4,!0),r=0;break;case 7:e=n._parseNumber(t,1,!1),i=n._parseNumber(t,3,!1),r=n._parseNumber(t,5,!1);break;case 9:e=n._parseNumber(t,1,!1),i=n._parseNumber(t,4,!0),r=n._parseNumber(t,7,!0);break;default:throw new Zr("Invalid ID for ZoneOffset, invalid format: "+t)}var o=t[0];if("+"!==o&&"-"!==o)throw new Zr("Invalid ID for ZoneOffset, plus/minus not found when expected: "+t);return"-"===o?n.ofHoursMinutesSeconds(-e,-i,-r):n.ofHoursMinutesSeconds(e,i,r)},n._parseNumber=function(t,n,e){if(e&&":"!==t[n-1])throw new Zr("Invalid ID for ZoneOffset, colon not found when expected: "+t);var i=t[n],r=t[n+1];if(i<"0"||i>"9"||r<"0"||r>"9")throw new Zr("Invalid ID for ZoneOffset, non numeric characters found: "+t);return 10*(i.charCodeAt(0)-48)+(r.charCodeAt(0)-48)},n.ofHours=function(t){return n.ofHoursMinutesSeconds(t,0,0)},n.ofHoursMinutes=function(t,e){return n.ofHoursMinutesSeconds(t,e,0)},n.ofHoursMinutesSeconds=function(t,e,i){n._validate(t,e,i);var r=t*nu.SECONDS_PER_HOUR+e*nu.SECONDS_PER_MINUTE+i;return n.ofTotalSeconds(r)},n.ofTotalMinutes=function(t){var e=t*nu.SECONDS_PER_MINUTE;return n.ofTotalSeconds(e)},n.ofTotalSeconds=function(t){if(t%(15*nu.SECONDS_PER_MINUTE)==0){var e=t,i=ks[e];return null==i&&(i=new n(t),ks[e]=i,Hs[i.id()]=i),i}return new n(t)},e.rules=function(){return this._rules},e.get=function(t){return this.getLong(t)},e.getLong=function(t){if(t===Os.OFFSET_SECONDS)return this._totalSeconds;if(t instanceof Os)throw new Zr("Unsupported field: "+t);return t.getFrom(this)},e.query=function(t){return is(t,"query"),t===Ss.offset()||t===Ss.zone()?this:t===Ss.localDate()||t===Ss.localTime()||t===Ss.precision()||t===Ss.chronology()||t===Ss.zoneId()?null:t.queryFrom(this)},e.adjustInto=function(t){return t.with(Os.OFFSET_SECONDS,this._totalSeconds)},e.compareTo=function(t){return is(t,"other"),t._totalSeconds-this._totalSeconds},e.equals=function(t){return this===t||t instanceof n&&this._totalSeconds===t._totalSeconds},e.hashCode=function(){return this._totalSeconds},e.toString=function(){return this._id},n}(Us),Bs=function(t){function n(){var n;return(n=t.call(this)||this).fieldValues=new Is,n.chrono=null,n.zone=null,n.date=null,n.time=null,n.leapSecond=!1,n.excessDays=null,n}ts(n,t),n.create=function(t,e){var i=new n;return i._addFieldValue(t,e),i};var e=n.prototype;return e.getFieldValue0=function(t){return this.fieldValues.get(t)},e._addFieldValue=function(t,n){is(t,"field");var e=this.getFieldValue0(t);if(null!=e&&e!==n)throw new Zr("Conflict found: "+t+" "+e+" differs from "+t+" "+n+": "+this);return this._putFieldValue0(t,n)},e._putFieldValue0=function(t,n){return this.fieldValues.put(t,n),this},e.resolve=function(t,n){return null!=n&&this.fieldValues.retainAll(n),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=Ms.ZERO),this._resolveInstant(),this},e._mergeDate=function(t){this._checkDate(zo.INSTANCE.resolveDate(this.fieldValues,t))},e._checkDate=function(t){if(null!=t)for(var n in this._addObject(t),this.fieldValues.keySet()){var e=Os.byName(n);if(e&&void 0!==this.fieldValues.get(e)&&e.isDateBased()){var i=void 0;try{i=t.getLong(e)}catch(t){if(t instanceof Zr)continue;throw t}var r=this.fieldValues.get(e);if(i!==r)throw new Zr("Conflict found: Field "+e+" "+i+" differs from "+e+" "+r+" derived from "+t)}}},e._mergeTime=function(t){if(this.fieldValues.containsKey(Os.CLOCK_HOUR_OF_DAY)){var n=this.fieldValues.remove(Os.CLOCK_HOUR_OF_DAY);t!==Cs.LENIENT&&(t===Cs.SMART&&0===n||Os.CLOCK_HOUR_OF_DAY.checkValidValue(n)),this._addFieldValue(Os.HOUR_OF_DAY,24===n?0:n)}if(this.fieldValues.containsKey(Os.CLOCK_HOUR_OF_AMPM)){var e=this.fieldValues.remove(Os.CLOCK_HOUR_OF_AMPM);t!==Cs.LENIENT&&(t===Cs.SMART&&0===e||Os.CLOCK_HOUR_OF_AMPM.checkValidValue(e)),this._addFieldValue(Os.HOUR_OF_AMPM,12===e?0:e)}if(t!==Cs.LENIENT&&(this.fieldValues.containsKey(Os.AMPM_OF_DAY)&&Os.AMPM_OF_DAY.checkValidValue(this.fieldValues.get(Os.AMPM_OF_DAY)),this.fieldValues.containsKey(Os.HOUR_OF_AMPM)&&Os.HOUR_OF_AMPM.checkValidValue(this.fieldValues.get(Os.HOUR_OF_AMPM))),this.fieldValues.containsKey(Os.AMPM_OF_DAY)&&this.fieldValues.containsKey(Os.HOUR_OF_AMPM)){var i=this.fieldValues.remove(Os.AMPM_OF_DAY),r=this.fieldValues.remove(Os.HOUR_OF_AMPM);this._addFieldValue(Os.HOUR_OF_DAY,12*i+r)}if(this.fieldValues.containsKey(Os.NANO_OF_DAY)){var s=this.fieldValues.remove(Os.NANO_OF_DAY);t!==Cs.LENIENT&&Os.NANO_OF_DAY.checkValidValue(s),this._addFieldValue(Os.SECOND_OF_DAY,hs.intDiv(s,1e9)),this._addFieldValue(Os.NANO_OF_SECOND,hs.intMod(s,1e9))}if(this.fieldValues.containsKey(Os.MICRO_OF_DAY)){var o=this.fieldValues.remove(Os.MICRO_OF_DAY);t!==Cs.LENIENT&&Os.MICRO_OF_DAY.checkValidValue(o),this._addFieldValue(Os.SECOND_OF_DAY,hs.intDiv(o,1e6)),this._addFieldValue(Os.MICRO_OF_SECOND,hs.intMod(o,1e6))}if(this.fieldValues.containsKey(Os.MILLI_OF_DAY)){var u=this.fieldValues.remove(Os.MILLI_OF_DAY);t!==Cs.LENIENT&&Os.MILLI_OF_DAY.checkValidValue(u),this._addFieldValue(Os.SECOND_OF_DAY,hs.intDiv(u,1e3)),this._addFieldValue(Os.MILLI_OF_SECOND,hs.intMod(u,1e3))}if(this.fieldValues.containsKey(Os.SECOND_OF_DAY)){var a=this.fieldValues.remove(Os.SECOND_OF_DAY);t!==Cs.LENIENT&&Os.SECOND_OF_DAY.checkValidValue(a),this._addFieldValue(Os.HOUR_OF_DAY,hs.intDiv(a,3600)),this._addFieldValue(Os.MINUTE_OF_HOUR,hs.intMod(hs.intDiv(a,60),60)),this._addFieldValue(Os.SECOND_OF_MINUTE,hs.intMod(a,60))}if(this.fieldValues.containsKey(Os.MINUTE_OF_DAY)){var h=this.fieldValues.remove(Os.MINUTE_OF_DAY);t!==Cs.LENIENT&&Os.MINUTE_OF_DAY.checkValidValue(h),this._addFieldValue(Os.HOUR_OF_DAY,hs.intDiv(h,60)),this._addFieldValue(Os.MINUTE_OF_HOUR,hs.intMod(h,60))}if(t!==Cs.LENIENT&&(this.fieldValues.containsKey(Os.MILLI_OF_SECOND)&&Os.MILLI_OF_SECOND.checkValidValue(this.fieldValues.get(Os.MILLI_OF_SECOND)),this.fieldValues.containsKey(Os.MICRO_OF_SECOND)&&Os.MICRO_OF_SECOND.checkValidValue(this.fieldValues.get(Os.MICRO_OF_SECOND))),this.fieldValues.containsKey(Os.MILLI_OF_SECOND)&&this.fieldValues.containsKey(Os.MICRO_OF_SECOND)){var f=this.fieldValues.remove(Os.MILLI_OF_SECOND),c=this.fieldValues.get(Os.MICRO_OF_SECOND);this._putFieldValue0(Os.MICRO_OF_SECOND,1e3*f+hs.intMod(c,1e3))}if(this.fieldValues.containsKey(Os.MICRO_OF_SECOND)&&this.fieldValues.containsKey(Os.NANO_OF_SECOND)){var l=this.fieldValues.get(Os.NANO_OF_SECOND);this._putFieldValue0(Os.MICRO_OF_SECOND,hs.intDiv(l,1e3)),this.fieldValues.remove(Os.MICRO_OF_SECOND)}if(this.fieldValues.containsKey(Os.MILLI_OF_SECOND)&&this.fieldValues.containsKey(Os.NANO_OF_SECOND)){var _=this.fieldValues.get(Os.NANO_OF_SECOND);this._putFieldValue0(Os.MILLI_OF_SECOND,hs.intDiv(_,1e6)),this.fieldValues.remove(Os.MILLI_OF_SECOND)}if(this.fieldValues.containsKey(Os.MICRO_OF_SECOND)){var d=this.fieldValues.remove(Os.MICRO_OF_SECOND);this._putFieldValue0(Os.NANO_OF_SECOND,1e3*d)}else if(this.fieldValues.containsKey(Os.MILLI_OF_SECOND)){var p=this.fieldValues.remove(Os.MILLI_OF_SECOND);this._putFieldValue0(Os.NANO_OF_SECOND,1e6*p)}},e._resolveTimeInferZeroes=function(t){var n=this.fieldValues.get(Os.HOUR_OF_DAY),e=this.fieldValues.get(Os.MINUTE_OF_HOUR),i=this.fieldValues.get(Os.SECOND_OF_MINUTE),r=this.fieldValues.get(Os.NANO_OF_SECOND);if(null!=n&&(null!=e||null==i&&null==r)&&(null==e||null!=i||null==r)){if(t!==Cs.LENIENT){if(null!=n){t!==Cs.SMART||24!==n||null!=e&&0!==e||null!=i&&0!==i||null!=r&&0!==r||(n=0,this.excessDays=Ms.ofDays(1));var s=Os.HOUR_OF_DAY.checkValidIntValue(n);if(null!=e){var o=Os.MINUTE_OF_HOUR.checkValidIntValue(e);if(null!=i){var u=Os.SECOND_OF_MINUTE.checkValidIntValue(i);if(null!=r){var a=Os.NANO_OF_SECOND.checkValidIntValue(r);this._addObject(nu.of(s,o,u,a))}else this._addObject(nu.of(s,o,u))}else null==r&&this._addObject(nu.of(s,o))}else null==i&&null==r&&this._addObject(nu.of(s,0))}}else if(null!=n){var h=n;if(null!=e)if(null!=i){null==r&&(r=0);var f=hs.safeMultiply(h,36e11);f=hs.safeAdd(f,hs.safeMultiply(e,6e10)),f=hs.safeAdd(f,hs.safeMultiply(i,1e9)),f=hs.safeAdd(f,r);var c=hs.floorDiv(f,864e11),l=hs.floorMod(f,864e11);this._addObject(nu.ofNanoOfDay(l)),this.excessDays=Ms.ofDays(c)}else{var _=hs.safeMultiply(h,3600);_=hs.safeAdd(_,hs.safeMultiply(e,60));var d=hs.floorDiv(_,86400),p=hs.floorMod(_,86400);this._addObject(nu.ofSecondOfDay(p)),this.excessDays=Ms.ofDays(d)}else{var m=hs.safeToInt(hs.floorDiv(h,24));h=hs.floorMod(h,24),this._addObject(nu.of(h,0)),this.excessDays=Ms.ofDays(m)}}this.fieldValues.remove(Os.HOUR_OF_DAY),this.fieldValues.remove(Os.MINUTE_OF_HOUR),this.fieldValues.remove(Os.SECOND_OF_MINUTE),this.fieldValues.remove(Os.NANO_OF_SECOND)}},e._addObject=function(t){t instanceof Ls?this.date=t:t instanceof nu&&(this.time=t)},e._resolveInstant=function(){if(null!=this.date&&null!=this.time){var t=this.fieldValues.get(Os.OFFSET_SECONDS);if(null!=t){var n=qs.ofTotalSeconds(t),e=this.date.atTime(this.time).atZone(n).getLong(Os.INSTANT_SECONDS);this.fieldValues.put(Os.INSTANT_SECONDS,e)}else if(null!=this.zone){var i=this.date.atTime(this.time).atZone(this.zone).getLong(Os.INSTANT_SECONDS);this.fieldValues.put(Os.INSTANT_SECONDS,i)}}},e.build=function(t){return t.queryFrom(this)},e.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))},e.getLong=function(t){is(t,"field");var n=this.getFieldValue0(t);if(null==n){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 Zr("Field not found: "+t)}return n},e.query=function(t){return t===Ss.zoneId()?this.zone:t===Ss.chronology()?this.chrono:t===Ss.localDate()?null!=this.date?$o.from(this.date):null:t===Ss.localTime()?this.time:t===Ss.zone()||t===Ss.offset()?t.queryFrom(this):t===Ss.precision()?null:t.queryFrom(this)},n}(ws),Ws=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 zs(this)]}var n=t.prototype;return n._constructorParam=function(t,n,e){this._locale=t,this._symbols=n,this._overrideChronology=e},n._constructorFormatter=function(t){this._locale=t.locale(),this._symbols=t.decimalStyle(),this._overrideChronology=t.chronology()},n._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 zs(this)]},n.copy=function(){return new t(this)},n.symbols=function(){return this._symbols},n.isStrict=function(){return this._strict},n.setStrict=function(t){this._strict=t},n.locale=function(){return this._locale},n.setLocale=function(t){this._locale=t},n.startOptional=function(){this._parsed.push(this.currentParsed().copy())},n.endOptional=function(t){t?this._parsed.splice(this._parsed.length-2,1):this._parsed.splice(this._parsed.length-1,1)},n.isCaseSensitive=function(){return this._caseSensitive},n.setCaseSensitive=function(t){this._caseSensitive=t},n.subSequenceEquals=function(t,n,e,i,r){if(n+r>t.length||i+r>e.length)return!1;this.isCaseSensitive()||(t=t.toLowerCase(),e=e.toLowerCase());for(var s=0;s0)return null;throw t}},n.temporal=function(){return this._temporal},n.locale=function(){return this._locale},n.setDateTime=function(t){this._temporal=t},n.setLocale=function(t){this._locale=t},t}(),Zs={},Ks=[0,90,181,273,0,91,182,274],Gs=function(t){function n(){return t.apply(this,arguments)||this}ts(n,t);var e=n.prototype;return e.isDateBased=function(){return!0},e.isTimeBased=function(){return!1},e._isIso=function(){return!0},n._getWeekRangeByLocalDate=function(t){var e=n._getWeekBasedYear(t);return Es.of(1,n._getWeekRangeByYear(e))},n._getWeekRangeByYear=function(t){var n=$o.of(t,1,1);return n.dayOfWeek()===gs.THURSDAY||n.dayOfWeek()===gs.WEDNESDAY&&n.isLeapYear()?53:52},n._getWeek=function(t){var e=t.dayOfWeek().ordinal(),i=t.dayOfYear()-1,r=i+(3-e),s=r-7*hs.intDiv(r,7)-3;if(s<-3&&(s+=7),i=363){var i=t.dayOfWeek().ordinal();(e=e-363-(t.isLeapYear()?1:0))-i>=0&&n++}return n},e.displayName=function(){return this.toString()},e.resolve=function(){return null},e.name=function(){return this.toString()},n}(ms),Xs=function(t){function n(){return t.apply(this,arguments)||this}ts(n,t);var e=n.prototype;return e.toString=function(){return"DayOfQuarter"},e.baseUnit=function(){return ps.DAYS},e.rangeUnit=function(){return oo},e.range=function(){return Es.of(1,90,92)},e.isSupportedBy=function(t){return t.isSupported(Os.DAY_OF_YEAR)&&t.isSupported(Os.MONTH_OF_YEAR)&&t.isSupported(Os.YEAR)&&this._isIso(t)},e.rangeRefinedBy=function(t){if(!1===t.isSupported(this))throw new Gr("Unsupported field: DayOfQuarter");var n=t.getLong(eo);if(1===n){var e=t.getLong(Os.YEAR);return zo.isLeapYear(e)?Es.of(1,91):Es.of(1,90)}return 2===n?Es.of(1,91):3===n||4===n?Es.of(1,92):this.range()},e.getFrom=function(t){if(!1===t.isSupported(this))throw new Gr("Unsupported field: DayOfQuarter");var n=t.get(Os.DAY_OF_YEAR),e=t.get(Os.MONTH_OF_YEAR),i=t.getLong(Os.YEAR);return n-Ks[hs.intDiv(e-1,3)+(zo.isLeapYear(i)?4:0)]},e.adjustInto=function(t,n){var e=this.getFrom(t);return this.range().checkValidValue(n,this),t.with(Os.DAY_OF_YEAR,t.getLong(Os.DAY_OF_YEAR)+(n-e))},e.resolve=function(t,n,e){var i=t.get(Os.YEAR),r=t.get(eo);if(null==i||null==r)return null;var s,o=Os.YEAR.checkValidIntValue(i),u=t.get(no);if(e===Cs.LENIENT){var a=r;s=(s=(s=$o.of(o,1,1)).plusMonths(hs.safeMultiply(hs.safeSubtract(a,1),3))).plusDays(hs.safeSubtract(u,1))}else{var h=eo.range().checkValidIntValue(r,eo);if(e===Cs.STRICT){var f=92;1===h?f=zo.isLeapYear(o)?91:90:2===h&&(f=91),Es.of(1,f).checkValidValue(u,this)}else this.range().checkValidValue(u,this);s=$o.of(o,3*(h-1)+1,1).plusDays(u-1)}return t.remove(this),t.remove(Os.YEAR),t.remove(eo),s},n}(Gs),Js=function(t){function n(){return t.apply(this,arguments)||this}ts(n,t);var e=n.prototype;return e.toString=function(){return"QuarterOfYear"},e.baseUnit=function(){return oo},e.rangeUnit=function(){return ps.YEARS},e.range=function(){return Es.of(1,4)},e.isSupportedBy=function(t){return t.isSupported(Os.MONTH_OF_YEAR)&&this._isIso(t)},e.rangeRefinedBy=function(t){return this.range()},e.getFrom=function(t){if(!1===t.isSupported(this))throw new Gr("Unsupported field: QuarterOfYear");var n=t.getLong(Os.MONTH_OF_YEAR);return hs.intDiv(n+2,3)},e.adjustInto=function(t,n){var e=this.getFrom(t);return this.range().checkValidValue(n,this),t.with(Os.MONTH_OF_YEAR,t.getLong(Os.MONTH_OF_YEAR)+3*(n-e))},n}(Gs),$s=function(t){function n(){return t.apply(this,arguments)||this}ts(n,t);var e=n.prototype;return e.toString=function(){return"WeekOfWeekBasedYear"},e.baseUnit=function(){return ps.WEEKS},e.rangeUnit=function(){return so},e.range=function(){return Es.of(1,52,53)},e.isSupportedBy=function(t){return t.isSupported(Os.EPOCH_DAY)&&this._isIso(t)},e.rangeRefinedBy=function(t){if(!1===t.isSupported(this))throw new Gr("Unsupported field: WeekOfWeekBasedYear");return Gs._getWeekRangeByLocalDate($o.from(t))},e.getFrom=function(t){if(!1===t.isSupported(this))throw new Gr("Unsupported field: WeekOfWeekBasedYear");return Gs._getWeek($o.from(t))},e.adjustInto=function(t,n){return this.range().checkValidValue(n,this),t.plus(hs.safeSubtract(n,this.getFrom(t)),ps.WEEKS)},e.resolve=function(t,n,e){var i=t.get(ro),r=t.get(Os.DAY_OF_WEEK);if(null==i||null==r)return null;var s,o=ro.range().checkValidIntValue(i,ro),u=t.get(io);if(e===Cs.LENIENT){var a=r,h=0;a>7?(h=hs.intDiv(a-1,7),a=hs.intMod(a-1,7)+1):a<1&&(h=hs.intDiv(a,7)-1,a=hs.intMod(a,7)+7),s=$o.of(o,1,4).plusWeeks(u-1).plusWeeks(h).with(Os.DAY_OF_WEEK,a)}else{var f=Os.DAY_OF_WEEK.checkValidIntValue(r);if(e===Cs.STRICT){var c=$o.of(o,1,4);Gs._getWeekRangeByLocalDate(c).checkValidValue(u,this)}else this.range().checkValidValue(u,this);s=$o.of(o,1,4).plusWeeks(u-1).with(Os.DAY_OF_WEEK,f)}return t.remove(this),t.remove(ro),t.remove(Os.DAY_OF_WEEK),s},e.displayName=function(){return"Week"},n}(Gs),Qs=function(t){function n(){return t.apply(this,arguments)||this}ts(n,t);var e=n.prototype;return e.toString=function(){return"WeekBasedYear"},e.baseUnit=function(){return so},e.rangeUnit=function(){return ps.FOREVER},e.range=function(){return Os.YEAR.range()},e.isSupportedBy=function(t){return t.isSupported(Os.EPOCH_DAY)&&this._isIso(t)},e.rangeRefinedBy=function(t){return Os.YEAR.range()},e.getFrom=function(t){if(!1===t.isSupported(this))throw new Gr("Unsupported field: WeekBasedYear");return Gs._getWeekBasedYear($o.from(t))},e.adjustInto=function(t,n){if(!1===this.isSupportedBy(t))throw new Gr("Unsupported field: WeekBasedYear");var e=this.range().checkValidIntValue(n,ro),i=$o.from(t),r=i.get(Os.DAY_OF_WEEK),s=Gs._getWeek(i);53===s&&52===Gs._getWeekRangeByYear(e)&&(s=52);var o=$o.of(e,1,4),u=r-o.get(Os.DAY_OF_WEEK)+7*(s-1);return o=o.plusDays(u),t.with(o)},n}(Gs),to=function(t){function n(n,e){var i;return(i=t.call(this)||this)._name=n,i._duration=e,i}ts(n,t);var e=n.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(Os.EPOCH_DAY)},e.addTo=function(t,n){switch(this){case so:var e=hs.safeAdd(t.get(ro),n);return t.with(ro,e);case oo:return t.plus(hs.intDiv(n,256),ps.YEARS).plus(3*hs.intMod(n,256),ps.MONTHS);default:throw new $r("Unreachable")}},e.between=function(t,n){switch(this){case so:return hs.safeSubtract(n.getLong(ro),t.getLong(ro));case oo:return hs.intDiv(t.until(n,ps.MONTHS),3);default:throw new $r("Unreachable")}},e.toString=function(){return name},n}(ls),no=null,eo=null,io=null,ro=null,so=null,oo=null,uo=function(){function t(t,n,e,i){this._zeroDigit=t,this._zeroDigitCharCode=t.charCodeAt(0),this._positiveSign=n,this._negativeSign=e,this._decimalSeparator=i}var n=t.prototype;return n.positiveSign=function(){return this._positiveSign},n.withPositiveSign=function(n){return n===this._positiveSign?this:new t(this._zeroDigit,n,this._negativeSign,this._decimalSeparator)},n.negativeSign=function(){return this._negativeSign},n.withNegativeSign=function(n){return n===this._negativeSign?this:new t(this._zeroDigit,this._positiveSign,n,this._decimalSeparator)},n.zeroDigit=function(){return this._zeroDigit},n.withZeroDigit=function(n){return n===this._zeroDigit?this:new t(n,this._positiveSign,this._negativeSign,this._decimalSeparator)},n.decimalSeparator=function(){return this._decimalSeparator},n.withDecimalSeparator=function(n){return n===this._decimalSeparator?this:new t(this._zeroDigit,this._positiveSign,this._negativeSign,n)},n.convertToDigit=function(t){var n=t.charCodeAt(0)-this._zeroDigitCharCode;return n>=0&&n<=9?n:-1},n.convertNumberToI18N=function(t){if("0"===this._zeroDigit)return t;for(var n=this._zeroDigitCharCode-"0".charCodeAt(0),e="",i=0;i1)throw new Jr('invalid literal, too long: "'+t+'"');this._literal=t}var n=t.prototype;return n.print=function(t,n){return n.append(this._literal),!0},n.parse=function(t,n,e){if(e===n.length)return~e;var i=n.charAt(e);return!1===t.charEquals(this._literal,i)?~e:e+this._literal.length},n.toString=function(){return"'"===this._literal?"''":"'"+this._literal+"'"},t}(),co=function(){function t(t,n){this._printerParsers=t,this._optional=n}var n=t.prototype;return n.withOptional=function(n){return n===this._optional?this:new t(this._printerParsers,n)},n.print=function(t,n){var e=n.length();this._optional&&t.startOptional();try{for(var i=0;i9)throw new Jr("Minimum width must be from 0 to 9 inclusive but was "+n);if(e<1||e>9)throw new Jr("Maximum width must be from 1 to 9 inclusive but was "+e);if(e0){this.decimalPoint&&n.append(i.decimalSeparator());for(var r=0;r0)for(;s.length>this.minWidth&&"0"===s[s.length-1];)s=s.substr(0,s.length-1);var u=s;u=i.convertNumberToI18N(u),this.decimalPoint&&n.append(i.decimalSeparator()),n.append(u)}return!0},n.parse=function(t,n,e){var i=t.isStrict()?this.minWidth:0,r=t.isStrict()?this.maxWidth:9,s=n.length;if(e===s)return i>0?~e:e;if(this.decimalPoint){if(n[e]!==t.symbols().decimalSeparator())return i>0?~e:e;e++}var o=e+i;if(o>s)return~e;for(var u=Math.min(e+r,s),a=0,h=e;h0&&this._minWidth===this._maxWidth&&this._signStyle===ao.NOT_NEGATIVE},n.print=function(t,n){var e=t.getValue(this._field);if(null==e)return!1;var i=this._getValue(t,e),r=t.symbols(),s=""+Math.abs(i);if(s.length>this._maxWidth)throw new Zr("Field "+this._field+" cannot be printed as the value "+i+" exceeds the maximum print width of "+this._maxWidth);if(s=r.convertNumberToI18N(s),i>=0)switch(this._signStyle){case ao.EXCEEDS_PAD:this._minWidth<15&&i>=_o[this._minWidth]&&n.append(r.positiveSign());break;case ao.ALWAYS:n.append(r.positiveSign())}else switch(this._signStyle){case ao.NORMAL:case ao.EXCEEDS_PAD:case ao.ALWAYS:n.append(r.negativeSign());break;case ao.NOT_NEGATIVE:throw new Zr("Field "+this._field+" cannot be printed as the value "+i+" cannot be negative according to the SignStyle")}for(var o=0;o=0&&ei)return~e;for(var h=(t.isStrict()||this._isFixedWidth()?this._maxWidth:9)+Math.max(this._subsequentWidth,0),f=0,c=e,l=0;l<2;l++){for(var _=Math.min(c+h,i);c<_;){var d=n.charAt(c++),p=t.symbols().convertToDigit(d);if(p<0){if(--c15)throw new Xr("number text exceeds length");f=10*f+p}if(!(this._subsequentWidth>0&&0===l))break;var m=c-e;h=Math.max(u,m-this._subsequentWidth),c=e,f=0}if(s){if(0===f&&t.isStrict())return~(e-1);0!==f&&(f=-f)}else if(this._signStyle===ao.EXCEEDS_PAD&&t.isStrict()){var E=c-e;if(o){if(E<=this._minWidth)return~(e-1)}else if(E>this._minWidth)return~e}return this._setValue(t,f,e,c)},n._getValue=function(t,n){return n},n._setValue=function(t,n,e,i){return t.setParsedField(this._field,n,e,i)},n.toString=function(){return 1===this._minWidth&&15===this._maxWidth&&this._signStyle===ao.NORMAL?"Value("+this._field+")":this._minWidth===this._maxWidth&&this._signStyle===ao.NOT_NEGATIVE?"Value("+this._field+","+this._minWidth+")":"Value("+this._field+","+this._minWidth+","+this._maxWidth+","+this._signStyle+")"},t}(),mo=function(t){function n(n,e,i,r,s){var o;if(o=t.call(this,n,e,i,ao.NOT_NEGATIVE)||this,e<1||e>10)throw new Jr("The width must be from 1 to 10 inclusive but was "+e);if(i<1||i>10)throw new Jr("The maxWidth must be from 1 to 10 inclusive but was "+i);if(ihs.MAX_SAFE_INTEGER)throw new Zr("Unable to add printer-parser as the range exceeds the capacity of an int")}return o._baseValue=r,o._baseDate=s,o}ts(n,t);var e=n.prototype;return e._getValue=function(t,n){var e=Math.abs(n),i=this._baseValue;return null!==this._baseDate&&(t.temporal(),i=zo.INSTANCE.date(this._baseDate).get(this._field)),n>=i&&n=0){var s=_o[this._minWidth],o=r-r%s;(n=r>0?o+n:o-n)=3||this.type>=1&&s>0)&&(n.append(this.type%2==0?":":"").appendChar(hs.intDiv(s,10)+"0").appendChar(s%10+"0"),a+=s,(this.type>=7||this.type>=5&&o>0)&&(n.append(this.type%2==0?":":"").appendChar(hs.intDiv(o,10)+"0").appendChar(o%10+"0"),a+=o)),0===a&&(n.setLength(u),n.append(this.noOffsetText))}return!0},n.parse=function(t,n,e){var i=n.length,r=this.noOffsetText.length;if(0===r){if(e===i)return t.setParsedField(Os.OFFSET_SECONDS,0,e,e)}else{if(e===i)return~e;if(t.subSequenceEquals(n,e,this.noOffsetText,0,r))return t.setParsedField(Os.OFFSET_SECONDS,0,e,e+r)}var s=n[e];if("+"===s||"-"===s){var o="-"===s?-1:1,u=[0,0,0,0];if(u[0]=e+1,!1===(this._parseNumber(u,1,n,!0)||this._parseNumber(u,2,n,this.type>=3)||this._parseNumber(u,3,n,!1))){var a=hs.safeZero(o*(3600*u[1]+60*u[2]+u[3]));return t.setParsedField(Os.OFFSET_SECONDS,a,e,u[0])}}return 0===r?t.setParsedField(Os.OFFSET_SECONDS,0,e,e+r):~e},n._parseNumber=function(t,n,e,i){if((this.type+3)/21){if(r+1>e.length||":"!==e[r])return i;r++}if(r+2>e.length)return i;var s=e[r++],o=e[r++];if(s<"0"||s>"9"||o<"0"||o>"9")return i;var u=10*(s.charCodeAt(0)-48)+(o.charCodeAt(0)-48);return u<0||u>59?i:(t[n]=u,t[0]=r,!1)},n.toString=function(){var t=this.noOffsetText.replace("'","''");return"Offset("+Eo[this.type]+",'"+t+"')"},t}();Oo.INSTANCE_ID=new Oo("Z","+HH:MM:ss"),Oo.PATTERNS=Eo;var So=function(){function t(t,n,e){this._printerParser=t,this._padWidth=n,this._padChar=e}var n=t.prototype;return n.print=function(t,n){var e=n.length();if(!1===this._printerParser.print(t,n))return!1;var i=n.length()-e;if(i>this._padWidth)throw new Zr("Cannot print as output of "+i+" characters exceeds pad width of "+this._padWidth);for(var r=0;rn.length)),es(e>=0),e===n.length)return~e;var s=e+this._padWidth;if(s>n.length){if(i)return~e;s=n.length}for(var o=e;on.length||e<0)),!1===t.subSequenceEquals(n,e,this._literal,0,this._literal.length)?~e:e+this._literal.length},n.toString=function(){return"'"+this._literal.replace("'","''")+"'"},t}(),go=function(){function t(){}return t.getRules=function(t){throw new Zr("unsupported ZoneId:"+t)},t.getAvailableZoneIds=function(){return[]},t}(),To=function(t){function n(n,e){var i;return(i=t.call(this)||this)._id=n,i._rules=e,i}ts(n,t),n.ofId=function(t){return new n(t,go.getRules(t))};var e=n.prototype;return e.id=function(){return this._id},e.rules=function(){return this._rules},n}(Us),yo=function(){function t(t,n){this.query=t,this.description=n}var n=t.prototype;return n.print=function(t,n){var e=t.getValueQuery(this.query);return null!=e&&(n.append(e.id()),!0)},n.parse=function(t,n,e){var i=n.length;if(e>i)return~e;if(e===i)return~e;var r=n.charAt(e);if("+"===r||"-"===r){var s=t.copy(),o=Oo.INSTANCE_ID.parse(s,n,e);if(o<0)return o;var u=s.getParsed(Os.OFFSET_SECONDS),a=qs.ofTotalSeconds(u);return t.setParsedZone(a),o}if(i>=e+2){var h=n.charAt(e+1);if(t.charEquals(r,"U")&&t.charEquals(h,"T"))return i>=e+3&&t.charEquals(n.charAt(e+2),"C")?this._parsePrefixedOffset(t,n,e,e+3):this._parsePrefixedOffset(t,n,e,e+2);if(t.charEquals(r,"G")&&i>=e+3&&t.charEquals(h,"M")&&t.charEquals(n.charAt(e+2),"T"))return this._parsePrefixedOffset(t,n,e,e+3)}if("SYSTEM"===n.substr(e,6))return t.setParsedZone(Us.systemDefault()),e+6;if(t.charEquals(r,"Z"))return t.setParsedZone(qs.UTC),e+1;var f=go.getAvailableZoneIds();Io.size!==f.length&&(Io=Mo.createTreeMap(f));for(var c=i-e,l=Io.treeMap,_=null,d=0;null!=l;){var p=n.substr(e,Math.min(l.length,c));null!=(l=l.get(p))&&l.isLeaf&&(_=p,d=l.length)}return null!=_?(t.setParsedZone(To.ofId(_)),e+d):~e},n._parsePrefixedOffset=function(t,n,e,i){var r=n.substring(e,i).toUpperCase(),s=t.copy();if(ithis.length){var i=n.substr(0,this.length),r=this._treeMap[i];null==r&&(r=new t(e,!1),this._treeMap[i]=r),r.add(n)}},n.get=function(t){return this._treeMap[t]},t}(),Io=new Mo([]),Co=15,Fo=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(n,e){is(n,"parent"),is(e,"optional");var i=new t;return i._parent=n,i._optional=e,i};var n=t.prototype;return n.parseCaseSensitive=function(){return this._appendInternalPrinterParser(wo.SENSITIVE),this},n.parseCaseInsensitive=function(){return this._appendInternalPrinterParser(wo.INSENSITIVE),this},n.parseStrict=function(){return this._appendInternalPrinterParser(wo.STRICT),this},n.parseLenient=function(){return this._appendInternalPrinterParser(wo.LENIENT),this},n.appendValue=function(){return 1===arguments.length?this._appendValue1.apply(this,arguments):2===arguments.length?this._appendValue2.apply(this,arguments):this._appendValue4.apply(this,arguments)},n._appendValue1=function(t){return is(t),this._appendValuePrinterParser(new po(t,1,Co,ao.NORMAL)),this},n._appendValue2=function(t,n){if(is(t),n<1||n>Co)throw new Jr("The width must be from 1 to 15 inclusive but was "+n);var e=new po(t,n,n,ao.NOT_NEGATIVE);return this._appendValuePrinterParser(e),this},n._appendValue4=function(t,n,e,i){if(is(t),is(i),n===e&&i===ao.NOT_NEGATIVE)return this._appendValue2(t,e);if(n<1||n>Co)throw new Jr("The minimum width must be from 1 to 15 inclusive but was "+n);if(e<1||e>Co)throw new Jr("The minimum width must be from 1 to 15 inclusive but was "+e);if(e=0&&this._active._printerParsers[this._active._valueParserIndex]instanceof po){var n=this._active._valueParserIndex,e=this._active._printerParsers[n];t.minWidth()===t.maxWidth()&&t.signStyle()===ao.NOT_NEGATIVE?(e=e.withSubsequentWidth(t.maxWidth()),this._appendInternal(t.withFixedWidth()),this._active._valueParserIndex=n):(e=e.withFixedWidth(),this._active._valueParserIndex=this._appendInternal(t)),this._active._printerParsers[n]=e}else this._active._valueParserIndex=this._appendInternal(t);return this},n.appendFraction=function(t,n,e,i){return this._appendInternal(new lo(t,n,e,i)),this},n.appendInstant=function(t){if(void 0===t&&(t=-2),t<-2||t>9)throw new Jr("Invalid fractional digits: "+t);return this._appendInternal(new Lo(t)),this},n.appendOffsetId=function(){return this._appendInternal(Oo.INSTANCE_ID),this},n.appendOffset=function(t,n){return this._appendInternalPrinterParser(new Oo(n,t)),this},n.appendZoneId=function(){return this._appendInternal(new yo(Ss.zoneId(),"ZoneId()")),this},n.appendPattern=function(t){return is(t,"pattern"),this._parsePattern(t),this},n.appendZoneText=function(){throw new Jr("Pattern using (localized) text not implemented, use js-joda-locale plugin!")},n.appendText=function(){throw new Jr("Pattern using (localized) text not implemented, use js-joda-locale plugin!")},n.appendLocalizedOffset=function(){throw new Jr("Pattern using (localized) text not implemented, use js-joda-locale plugin!")},n.appendWeekField=function(){throw new Jr("Pattern using (localized) text not implemented, use js-joda-locale plugin!")},n._parsePattern=function(t){for(var n={G:Os.ERA,y:Os.YEAR_OF_ERA,u:Os.YEAR,Q:Zs.QUARTER_OF_YEAR,q:Zs.QUARTER_OF_YEAR,M:Os.MONTH_OF_YEAR,L:Os.MONTH_OF_YEAR,D:Os.DAY_OF_YEAR,d:Os.DAY_OF_MONTH,F:Os.ALIGNED_DAY_OF_WEEK_IN_MONTH,E:Os.DAY_OF_WEEK,c:Os.DAY_OF_WEEK,e:Os.DAY_OF_WEEK,a:Os.AMPM_OF_DAY,H:Os.HOUR_OF_DAY,k:Os.CLOCK_HOUR_OF_DAY,K:Os.HOUR_OF_AMPM,h:Os.CLOCK_HOUR_OF_AMPM,m:Os.MINUTE_OF_HOUR,s:Os.SECOND_OF_MINUTE,S:Os.NANO_OF_SECOND,A:Os.MILLI_OF_DAY,n:Os.NANO_OF_SECOND,N:Os.NANO_OF_DAY},e=0;e="A"&&i<="Z"||i>="a"&&i<="z"){for(var r=e++;e="A"&&i<="Z"||i>="a"&&i<="z")){for(o=s,r=e++;e4)throw new Jr("Too many pattern letters: "+i);4===s?this.appendZoneText(ho.FULL):this.appendZoneText(ho.SHORT)}else if("V"===i){if(2!==s)throw new Jr("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(ho.FULL);else{if(5!==s)throw new Jr("Too many pattern letters: "+i);this.appendOffset("+HH:MM:ss","Z")}else if("O"===i)if(1===s)this.appendLocalizedOffset(ho.SHORT);else{if(4!==s)throw new Jr("Pattern letter count must be 1 or 4: "+i);this.appendLocalizedOffset(ho.FULL)}else if("X"===i){if(s>5)throw new Jr("Too many pattern letters: "+i);this.appendOffset(Oo.PATTERNS[s+(1===s?0:1)],"Z")}else if("x"===i){if(s>5)throw new Jr("Too many pattern letters: "+i);var a=1===s?"+00":s%2==0?"+0000":"+00:00";this.appendOffset(Oo.PATTERNS[s+(1===s?0:1)],a)}else if("W"===i){if(s>1)throw new Jr("Too many pattern letters: "+i);this.appendWeekField("W",s)}else if("w"===i){if(s>2)throw new Jr("Too many pattern letters: "+i);this.appendWeekField("w",s)}else{if("Y"!==i)throw new Jr("Unknown pattern letter: "+i);this.appendWeekField("Y",s)}e--}else if("'"===i){for(var h=e++;e=t.length)throw new Jr("Pattern ends with an incomplete string literal: "+t);var f=t.substring(h+1,e);0===f.length?this.appendLiteral("'"):this.appendLiteral(f.replace("''","'"))}else if("["===i)this.optionalStart();else if("]"===i){if(null===this._active._parent)throw new Jr("Pattern invalid as it contains ] without previous [");this.optionalEnd()}else{if("{"===i||"}"===i||"#"===i)throw new Jr("Pattern includes reserved character: '"+i+"'");this.appendLiteral(i)}}},n._parseField=function(t,n,e){switch(t){case"u":case"y":2===n?this.appendValueReduced(e,2,2,mo.BASE_DATE):n<4?this.appendValue(e,n,Co,ao.NORMAL):this.appendValue(e,n,Co,ao.EXCEEDS_PAD);break;case"M":case"Q":switch(n){case 1:this.appendValue(e);break;case 2:this.appendValue(e,2);break;case 3:this.appendText(e,ho.SHORT);break;case 4:this.appendText(e,ho.FULL);break;case 5:this.appendText(e,ho.NARROW);break;default:throw new Jr("Too many pattern letters: "+t)}break;case"L":case"q":switch(n){case 1:this.appendValue(e);break;case 2:this.appendValue(e,2);break;case 3:this.appendText(e,ho.SHORT_STANDALONE);break;case 4:this.appendText(e,ho.FULL_STANDALONE);break;case 5:this.appendText(e,ho.NARROW_STANDALONE);break;default:throw new Jr("Too many pattern letters: "+t)}break;case"e":switch(n){case 1:case 2:this.appendWeekField("e",n);break;case 3:this.appendText(e,ho.SHORT);break;case 4:this.appendText(e,ho.FULL);break;case 5:this.appendText(e,ho.NARROW);break;default:throw new Jr("Too many pattern letters: "+t)}break;case"c":switch(n){case 1:this.appendWeekField("c",n);break;case 2:throw new Jr("Invalid number of pattern letters: "+t);case 3:this.appendText(e,ho.SHORT_STANDALONE);break;case 4:this.appendText(e,ho.FULL_STANDALONE);break;case 5:this.appendText(e,ho.NARROW_STANDALONE);break;default:throw new Jr("Too many pattern letters: "+t)}break;case"a":if(1!==n)throw new Jr("Too many pattern letters: "+t);this.appendText(e,ho.SHORT);break;case"E":case"G":switch(n){case 1:case 2:case 3:this.appendText(e,ho.SHORT);break;case 4:this.appendText(e,ho.FULL);break;case 5:this.appendText(e,ho.NARROW);break;default:throw new Jr("Too many pattern letters: "+t)}break;case"S":this.appendFraction(Os.NANO_OF_SECOND,n,n,!1);break;case"F":if(1!==n)throw new Jr("Too many pattern letters: "+t);this.appendValue(e);break;case"d":case"h":case"H":case"k":case"K":case"m":case"s":if(1===n)this.appendValue(e);else{if(2!==n)throw new Jr("Too many pattern letters: "+t);this.appendValue(e,n)}break;case"D":if(1===n)this.appendValue(e);else{if(!(n<=3))throw new Jr("Too many pattern letters: "+t);this.appendValue(e,n)}break;default:1===n?this.appendValue(e):this.appendValue(e,n)}},n.padNext=function(){return 1===arguments.length?this._padNext1.apply(this,arguments):this._padNext2.apply(this,arguments)},n._padNext1=function(t){return this._padNext2(t," ")},n._padNext2=function(t,n){if(t<1)throw new Jr("The pad width must be at least one but was "+t);return this._active._padNextWidth=t,this._active._padNextChar=n,this._active._valueParserIndex=-1,this},n.optionalStart=function(){return this._active._valueParserIndex=-1,this._active=t._of(this._active,!0),this},n.optionalEnd=function(){if(null==this._active._parent)throw new $r("Cannot call optionalEnd() as there was no previous call to optionalStart()");if(this._active._printerParsers.length>0){var t=new co(this._active._printerParsers,this._active._optional);this._active=this._active._parent,this._appendInternal(t)}else this._active=this._active._parent;return this},n._appendInternal=function(t){return es(null!=t),this._active._padNextWidth>0&&(null!=t&&(t=new So(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},n.appendLiteral=function(t){return es(null!=t),t.length>0&&(1===t.length?this._appendInternalPrinterParser(new fo(t.charAt(0))):this._appendInternalPrinterParser(new Do(t))),this},n._appendInternalPrinterParser=function(t){return es(null!=t),this._active._padNextWidth>0&&(null!=t&&(t=new So(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},n.append=function(t){return is(t,"formatter"),this._appendInternal(t._toPrinterParser(!1)),this},n.toFormatter=function(t){for(void 0===t&&(t=Cs.SMART);null!=this._active._parent;)this.optionalEnd();var n=new co(this._printerParsers,!1);return new Uo(n,null,uo.STANDARD,t,null,null,null)},t}(),bo=31556952e4,Yo=62167219200,Lo=function(){function t(t){this.fractionalDigits=t}var n=t.prototype;return n.print=function(t,n){var e=t.getValue(Os.INSTANT_SECONDS),i=0;if(t.temporal().isSupported(Os.NANO_OF_SECOND)&&(i=t.temporal().getLong(Os.NANO_OF_SECOND)),null==e)return!1;var r=e,s=Os.NANO_OF_SECOND.checkValidIntValue(i);if(r>=-62167219200){var o=r-bo+Yo,u=hs.floorDiv(o,bo)+1,a=hs.floorMod(o,bo),h=tu.ofEpochSecond(a-Yo,0,qs.UTC);u>0&&n.append("+").append(u),n.append(h),0===h.second()&&n.append(":00")}else{var f=r+Yo,c=hs.intDiv(f,bo),l=hs.intMod(f,bo),_=tu.ofEpochSecond(l-Yo,0,qs.UTC),d=n.length();n.append(_),0===_.second()&&n.append(":00"),c<0&&(-1e4===_.year()?n.replace(d,d+2,""+(c-1)):0===l?n.insert(d,c):n.insert(d+1,Math.abs(c)))}if(-2===this.fractionalDigits)0!==s&&(n.append("."),0===hs.intMod(s,1e6)?n.append((""+(hs.intDiv(s,1e6)+1e3)).substring(1)):0===hs.intMod(s,1e3)?n.append((""+(hs.intDiv(s,1e3)+1e6)).substring(1)):n.append((""+(s+1e9)).substring(1)));else if(this.fractionalDigits>0||-1===this.fractionalDigits&&s>0){n.append(".");for(var p=1e8,m=0;-1===this.fractionalDigits&&s>0||m64?t.substring(0,64)+"...":t,new Kr("Text '"+e+"' could not be parsed: "+n.message,t,0,n)},n._parseToBuilder=function(t,n){var e=null!=n?n:new Rs(0),i=this._parseUnresolved0(t,e);if(null==i||e.getErrorIndex()>=0||null==n&&e.getIndex()64?t.substr(0,64).toString()+"...":t,e.getErrorIndex()>=0?new Kr("Text '"+r+"' could not be parsed at index "+e.getErrorIndex(),t,e.getErrorIndex()):new Kr("Text '"+r+"' could not be parsed, unparsed text found at index "+e.getIndex(),t,e.getIndex())}return i.toBuilder()},n.parseUnresolved=function(t,n){return this._parseUnresolved0(t,n)},n._parseUnresolved0=function(t,n){es(null!=t,"text",Qr),es(null!=n,"position",Qr);var e=new Ws(this),i=n.getIndex();return(i=this._printerParser.parse(e,t,i))<0?(n.setErrorIndex(~i),null):(n.setIndex(i),e.toParsed())},n._toPrinterParser=function(t){return this._printerParser.withOptional(t)},n.toString=function(){var t=this._printerParser.toString();return 0===t.indexOf("[")?t:t.substring(1,t.length-1)},t}(),Vo=function(t){function n(n,e){var i;return(i=t.call(this)||this)._month=hs.safeToInt(n),i._day=hs.safeToInt(e),i}ts(n,t),n.now=function(t){return 0===arguments.length?n.now0():1===arguments.length&&t instanceof Us?n.nowZoneId(t):n.nowClock(t)},n.now0=function(){return this.nowClock(ru.systemDefaultZone())},n.nowZoneId=function(t){return is(t,"zone"),this.nowClock(ru.system(t))},n.nowClock=function(t){is(t,"clock");var e=$o.now(t);return n.of(e.month(),e.dayOfMonth())},n.of=function(t,e){return 2===arguments.length&&t instanceof Ts?n.ofMonthNumber(t,e):n.ofNumberNumber(t,e)},n.ofMonthNumber=function(t,e){if(is(t,"month"),Os.DAY_OF_MONTH.checkValidValue(e),e>t.maxLength())throw new Zr("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 is(t,"month"),is(e,"dayOfMonth"),n.of(Ts.of(t),e)},n.from=function(t){if(is(t,"temporal"),rs(t,ws,"temporal"),t instanceof n)return t;try{return n.of(t.get(Os.MONTH_OF_YEAR),t.get(Os.DAY_OF_MONTH))}catch(n){throw new Zr("Unable to obtain MonthDay from TemporalAccessor: "+t+", type "+(t&&null!=t.constructor?t.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,vo)},n.parseStringFormatter=function(t,e){return is(t,"text"),is(e,"formatter"),rs(e,Uo,"formatter"),e.parse(t,n.FROM)};var e=n.prototype;return e.monthValue=function(){return this._month},e.month=function(){return Ts.of(this._month)},e.dayOfMonth=function(){return this._day},e.isSupported=function(t){return t instanceof Os?t===Os.MONTH_OF_YEAR||t===Os.DAY_OF_MONTH:null!=t&&t.isSupportedBy(this)},e.range=function(n){return n===Os.MONTH_OF_YEAR?n.range():n===Os.DAY_OF_MONTH?Es.of(1,this.month().minLength(),this.month().maxLength()):t.prototype.range.call(this,n)},e.get=function(t){return this.range(t).checkValidIntValue(this.getLong(t),t)},e.getLong=function(t){if(is(t,"field"),t instanceof Os){switch(t){case Os.DAY_OF_MONTH:return this._day;case Os.MONTH_OF_YEAR:return this._month}throw new Gr("Unsupported field: "+t)}return t.getFrom(this)},e.isValidYear=function(t){return 0==(29===this._day&&2===this._month&&!1===ko.isLeap(t))},e.withMonth=function(t){return this.with(Ts.of(t))},e.with=function(t){if(is(t,"month"),t.value()===this._month)return this;var e=Math.min(this._day,t.maxLength());return new n(t.value(),e)},e.withDayOfMonth=function(t){return t===this._day?this:n.of(this._month,t)},e.query=function(n){return is(n,"query"),rs(n,vs,"query"),n===Ss.chronology()?zo.INSTANCE:t.prototype.query.call(this,n)},e.adjustInto=function(t){return is(t,"temporal"),(t=t.with(Os.MONTH_OF_YEAR,this._month)).with(Os.DAY_OF_MONTH,Math.min(t.range(Os.DAY_OF_MONTH).maximum(),this._day))},e.atYear=function(t){return $o.of(t,this._month,this.isValidYear(t)?this._day:28)},e.compareTo=function(t){is(t,"other"),rs(t,n,"other");var e=this._month-t.monthValue();return 0===e&&(e=this._day-t.dayOfMonth()),e},e.isAfter=function(t){return is(t,"other"),rs(t,n,"other"),this.compareTo(t)>0},e.isBefore=function(t){return is(t,"other"),rs(t,n,"other"),this.compareTo(t)<0},e.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},e.toString=function(){return"--"+(this._month<10?"0":"")+this._month+(this._day<10?"-0":"-")+this._day},e.toJSON=function(){return this.toString()},e.format=function(t){return is(t,"formatter"),rs(t,Uo,"formatter"),t.format(this)},n}(ws),xo=function(t){function n(n,e){var i;return(i=t.call(this)||this)._year=hs.safeToInt(n),i._month=hs.safeToInt(e),i}ts(n,t),n.now=function(t){return 0===arguments.length?n.now0():1===arguments.length&&t instanceof Us?n.nowZoneId(t):n.nowClock(t)},n.now0=function(){return n.nowClock(ru.systemDefaultZone())},n.nowZoneId=function(t){return n.nowClock(ru.system(t))},n.nowClock=function(t){var e=$o.now(t);return n.of(e.year(),e.month())},n.of=function(t,e){return 2===arguments.length&&e instanceof Ts?n.ofNumberMonth(t,e):n.ofNumberNumber(t,e)},n.ofNumberMonth=function(t,e){return is(e,"month"),rs(e,Ts,"month"),n.ofNumberNumber(t,e.value())},n.ofNumberNumber=function(t,e){return is(t,"year"),is(e,"month"),Os.YEAR.checkValidValue(t),Os.MONTH_OF_YEAR.checkValidValue(e),new n(t,e)},n.from=function(t){if(is(t,"temporal"),t instanceof n)return t;try{return n.of(t.get(Os.YEAR),t.get(Os.MONTH_OF_YEAR))}catch(n){throw new Zr("Unable to obtain YearMonth from TemporalAccessor: "+t+", type "+(t&&null!=t.constructor?t.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,No)},n.parseStringFormatter=function(t,e){return is(e,"formatter"),e.parse(t,n.FROM)};var e=n.prototype;return e.isSupported=function(t){return 1===arguments.length&&t instanceof ms?this.isSupportedField(t):this.isSupportedUnit(t)},e.isSupportedField=function(t){return t instanceof Os?t===Os.YEAR||t===Os.MONTH_OF_YEAR||t===Os.PROLEPTIC_MONTH||t===Os.YEAR_OF_ERA||t===Os.ERA:null!=t&&t.isSupportedBy(this)},e.isSupportedUnit=function(t){return t instanceof ps?t===ps.MONTHS||t===ps.YEARS||t===ps.DECADES||t===ps.CENTURIES||t===ps.MILLENNIA||t===ps.ERAS:null!=t&&t.isSupportedBy(this)},e.range=function(n){return n===Os.YEAR_OF_ERA?this.year()<=0?Es.of(1,ko.MAX_VALUE+1):Es.of(1,ko.MAX_VALUE):t.prototype.range.call(this,n)},e.get=function(t){return is(t,"field"),rs(t,ms,"field"),this.range(t).checkValidIntValue(this.getLong(t),t)},e.getLong=function(t){if(is(t,"field"),rs(t,ms,"field"),t instanceof Os){switch(t){case Os.MONTH_OF_YEAR:return this._month;case Os.PROLEPTIC_MONTH:return this._getProlepticMonth();case Os.YEAR_OF_ERA:return this._year<1?1-this._year:this._year;case Os.YEAR:return this._year;case Os.ERA:return this._year<1?0:1}throw new Gr("Unsupported field: "+t)}return t.getFrom(this)},e._getProlepticMonth=function(){return hs.safeAdd(hs.safeMultiply(this._year,12),this._month-1)},e.year=function(){return this._year},e.monthValue=function(){return this._month},e.month=function(){return Ts.of(this._month)},e.isLeapYear=function(){return zo.isLeapYear(this._year)},e.isValidDay=function(t){return t>=1&&t<=this.lengthOfMonth()},e.lengthOfMonth=function(){return this.month().length(this.isLeapYear())},e.lengthOfYear=function(){return this.isLeapYear()?366:365},e.with=function(t,n){return 1===arguments.length?this.withAdjuster(t):this.withFieldValue(t,n)},e.withAdjuster=function(t){return is(t,"adjuster"),t.adjustInto(this)},e.withFieldValue=function(t,n){if(is(t,"field"),rs(t,ms,"field"),t instanceof Os){var e=t;switch(e.checkValidValue(n),e){case Os.MONTH_OF_YEAR:return this.withMonth(n);case Os.PROLEPTIC_MONTH:return this.plusMonths(n-this.getLong(Os.PROLEPTIC_MONTH));case Os.YEAR_OF_ERA:return this.withYear(this._year<1?1-n:n);case Os.YEAR:return this.withYear(n);case Os.ERA:return this.getLong(Os.ERA)===n?this:this.withYear(1-this._year)}throw new Gr("Unsupported field: "+t)}return t.adjustInto(this,n)},e.withYear=function(t){return Os.YEAR.checkValidValue(t),new n(t,this._month)},e.withMonth=function(t){return Os.MONTH_OF_YEAR.checkValidValue(t),new n(this._year,t)},e.plusAmount=function(t){return is(t,"amount"),rs(t,cs,"amount"),t.addTo(this)},e.plusAmountUnit=function(t,n){if(is(n,"unit"),rs(n,ls,"unit"),n instanceof ps){switch(n){case ps.MONTHS:return this.plusMonths(t);case ps.YEARS:return this.plusYears(t);case ps.DECADES:return this.plusYears(hs.safeMultiply(t,10));case ps.CENTURIES:return this.plusYears(hs.safeMultiply(t,100));case ps.MILLENNIA:return this.plusYears(hs.safeMultiply(t,1e3));case ps.ERAS:return this.with(Os.ERA,hs.safeAdd(this.getLong(Os.ERA),t))}throw new Gr("Unsupported unit: "+n)}return n.addTo(this,t)},e.plusYears=function(t){if(0===t)return this;var n=Os.YEAR.checkValidIntValue(this._year+t);return this.withYear(n)},e.plusMonths=function(t){if(0===t)return this;var e=12*this._year+(this._month-1)+t;return new n(Os.YEAR.checkValidIntValue(hs.floorDiv(e,12)),hs.floorMod(e,12)+1)},e.minusAmount=function(t){return is(t,"amount"),t.subtractFrom(this)},e.minusAmountUnit=function(t,n){return t===hs.MIN_SAFE_INTEGER?this.plusAmountUnit(hs.MAX_SAFE_INTEGER,n).plusAmountUnit(1,n):this.plusAmountUnit(-t,n)},e.minusYears=function(t){return t===hs.MIN_SAFE_INTEGER?this.plusYears(hs.MIN_SAFE_INTEGER).plusYears(1):this.plusYears(-t)},e.minusMonths=function(t){return t===hs.MIN_SAFE_INTEGER?this.plusMonths(Math.MAX_SAFE_INTEGER).plusMonths(1):this.plusMonths(-t)},e.query=function(n){return is(n,"query"),rs(n,vs,"query"),n===Ss.chronology()?zo.INSTANCE:n===Ss.precision()?ps.MONTHS:n===Ss.localDate()||n===Ss.localTime()||n===Ss.zone()||n===Ss.zoneId()||n===Ss.offset()?null:t.prototype.query.call(this,n)},e.adjustInto=function(t){return is(t,"temporal"),rs(t,bs,"temporal"),t.with(Os.PROLEPTIC_MONTH,this._getProlepticMonth())},e.until=function(t,e){is(t,"endExclusive"),is(e,"unit"),rs(t,bs,"endExclusive"),rs(e,ls,"unit");var i=n.from(t);if(e instanceof ps){var r=i._getProlepticMonth()-this._getProlepticMonth();switch(e){case ps.MONTHS:return r;case ps.YEARS:return r/12;case ps.DECADES:return r/120;case ps.CENTURIES:return r/1200;case ps.MILLENNIA:return r/12e3;case ps.ERAS:return i.getLong(Os.ERA)-this.getLong(Os.ERA)}throw new Gr("Unsupported unit: "+e)}return e.between(this,i)},e.atDay=function(t){return $o.of(this._year,this._month,t)},e.atEndOfMonth=function(){return $o.of(this._year,this._month,this.lengthOfMonth())},e.compareTo=function(t){is(t,"other"),rs(t,n,"other");var e=this._year-t.year();return 0===e&&(e=this._month-t.monthValue()),e},e.isAfter=function(t){return this.compareTo(t)>0},e.isBefore=function(t){return this.compareTo(t)<0},e.equals=function(t){if(this===t)return!0;if(t instanceof n){var e=t;return this.year()===e.year()&&this.monthValue()===e.monthValue()}return!1},e.toString=function(){return No.format(this)},e.toJSON=function(){return this.toString()},e.format=function(t){return is(t,"formatter"),t.format(this)},n}(bs),ko=function(t){function n(n){var e;return(e=t.call(this)||this)._year=hs.safeToInt(n),e}ts(n,t);var e=n.prototype;return e.value=function(){return this._year},n.now=function(t){return void 0===t&&(t=void 0),void 0===t?n.now0():t instanceof Us?n.nowZoneId(t):n.nowClock(t)},n.now0=function(){return n.nowClock(ru.systemDefaultZone())},n.nowZoneId=function(t){return is(t,"zone"),rs(t,Us,"zone"),n.nowClock(ru.system(t))},n.nowClock=function(t){is(t,"clock"),rs(t,ru,"clock");var e=$o.now(t);return n.of(e.year())},n.of=function(t){return is(t,"isoYear"),Os.YEAR.checkValidValue(t),new n(t)},n.from=function(t){if(is(t,"temporal"),rs(t,ws,"temporal"),t instanceof n)return t;try{return n.of(t.get(Os.YEAR))}catch(n){throw new Zr("Unable to obtain Year from TemporalAccessor: "+t+", type "+(t&&null!=t.constructor?t.constructor.name:""))}},n.parse=function(t,e){return arguments.length<=1?n.parseText(t):n.parseTextFormatter(t,e)},n.parseText=function(t){return is(t,"text"),n.parse(t,Ao)},n.parseTextFormatter=function(t,e){return void 0===e&&(e=Ao),is(t,"text"),is(e,"formatter"),rs(e,Uo,"formatter"),e.parse(t,n.FROM)},n.isLeap=function(t){return 0===hs.intMod(t,4)&&(0!==hs.intMod(t,100)||0===hs.intMod(t,400))},e.isSupported=function(t){return 1===arguments.length&&t instanceof ms?this.isSupportedField(t):this.isSupportedUnit(t)},e.isSupportedField=function(t){return t instanceof Os?t===Os.YEAR||t===Os.YEAR_OF_ERA||t===Os.ERA:null!=t&&t.isSupportedBy(this)},e.isSupportedUnit=function(t){return t instanceof ps?t===ps.YEARS||t===ps.DECADES||t===ps.CENTURIES||t===ps.MILLENNIA||t===ps.ERAS:null!=t&&t.isSupportedBy(this)},e.range=function(n){if(this.isSupported(n))return n.range();if(n instanceof Os)throw new Gr("Unsupported field: "+n);return t.prototype.range.call(this,n)},e.get=function(t){return this.range(t).checkValidIntValue(this.getLong(t),t)},e.getLong=function(t){if(is(t,"field"),t instanceof Os){switch(t){case Os.YEAR_OF_ERA:return this._year<1?1-this._year:this._year;case Os.YEAR:return this._year;case Os.ERA:return this._year<1?0:1}throw new Gr("Unsupported field: "+t)}return t.getFrom(this)},e.isLeap=function(){return n.isLeap(this._year)},e.withAdjuster=function(t){return is(t,"adjuster"),t.adjustInto(this)},e.withFieldValue=function(t,e){if(is(t,"field"),rs(t,ms,"field"),t instanceof Os){switch(t.checkValidValue(e),t){case Os.YEAR_OF_ERA:return n.of(this._year<1?1-e:e);case Os.YEAR:return n.of(e);case Os.ERA:return this.getLong(Os.ERA)===e?this:n.of(1-this._year)}throw new Gr("Unsupported field: "+t)}return t.adjustInto(this,e)},e.plusAmount=function(t){return is(t,"amount"),rs(t,cs,"amount"),t.addTo(this)},e.plusAmountUnit=function(t,n){if(is(t,"amountToAdd"),is(n,"unit"),rs(n,ls,"unit"),n instanceof ps){switch(n){case ps.YEARS:return this.plusYears(t);case ps.DECADES:return this.plusYears(hs.safeMultiply(t,10));case ps.CENTURIES:return this.plusYears(hs.safeMultiply(t,100));case ps.MILLENNIA:return this.plusYears(hs.safeMultiply(t,1e3));case ps.ERAS:return this.with(Os.ERA,hs.safeAdd(this.getLong(Os.ERA),t))}throw new Gr("Unsupported unit: "+n)}return n.addTo(this,t)},e.plusYears=function(t){return 0===t?this:n.of(Os.YEAR.checkValidIntValue(hs.safeAdd(this._year,t)))},e.minusAmount=function(t){return is(t,"amount"),rs(t,cs,"amount"),t.subtractFrom(this)},e.minusAmountUnit=function(t,n){return is(t,"amountToSubtract"),is(n,"unit"),rs(n,ls,"unit"),t===hs.MIN_SAFE_INTEGER?this.plus(hs.MAX_SAFE_INTEGER,n).plus(1,n):this.plus(-t,n)},e.minusYears=function(t){return t===hs.MIN_SAFE_INTEGER?this.plusYears(hs.MAX_SAFE_INTEGER).plusYears(1):this.plusYears(-t)},e.adjustInto=function(t){return is(t,"temporal"),t.with(Os.YEAR,this._year)},e.isValidMonthDay=function(t){return null!=t&&t.isValidYear(this._year)},e.length=function(){return this.isLeap()?366:365},e.atDay=function(t){return $o.ofYearDay(this._year,t)},e.atMonth=function(t){return 1===arguments.length&&t instanceof Ts?this.atMonthMonth(t):this.atMonthNumber(t)},e.atMonthMonth=function(t){return is(t,"month"),rs(t,Ts,"month"),xo.of(this._year,t)},e.atMonthNumber=function(t){return is(t,"month"),xo.of(this._year,t)},e.atMonthDay=function(t){return is(t,"monthDay"),rs(t,Vo,"monthDay"),t.atYear(this._year)},e.query=function(n){return is(n,"query()"),rs(n,vs,"query()"),n===Ss.chronology()?zo.INSTANCE:n===Ss.precision()?ps.YEARS:n===Ss.localDate()||n===Ss.localTime()||n===Ss.zone()||n===Ss.zoneId()||n===Ss.offset()?null:t.prototype.query.call(this,n)},e.compareTo=function(t){return is(t,"other"),rs(t,n,"other"),this._year-t._year},e.isAfter=function(t){return is(t,"other"),rs(t,n,"other"),this._year>t._year},e.isBefore=function(t){return is(t,"other"),rs(t,n,"other"),this._year=0){var n=t.with(Os.DAY_OF_MONTH,1),e=n.get(Os.DAY_OF_WEEK),i=hs.intMod(this._dowValue-e+7,7);return i+=7*(this._ordinal-1),n.plus(i,ps.DAYS)}var r=t.with(Os.DAY_OF_MONTH,t.range(Os.DAY_OF_MONTH).maximum()),s=r.get(Os.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,ps.DAYS)},n}(Fs),Wo=function(t){function n(n,e){var i;return i=t.call(this)||this,is(e,"dayOfWeek"),i._relative=n,i._dowValue=e.value(),i}return ts(n,t),n.prototype.adjustInto=function(t){var n=t.get(Os.DAY_OF_WEEK);if(this._relative<2&&n===this._dowValue)return t;if(1&this._relative){var e=this._dowValue-n;return t.minus(e>=0?7-e:-e,ps.DAYS)}var i=n-this._dowValue;return t.plus(i>=0?7-i:-i,ps.DAYS)},n}(Fs),zo=function(t){function n(){return t.apply(this,arguments)||this}ts(n,t),n.isLeapYear=function(t){return!(3&t||t%100==0&&t%400!=0)};var e=n.prototype;return e._updateResolveMap=function(t,n,e){is(t,"fieldValues"),is(n,"field");var i=t.get(n);if(null!=i&&i!==e)throw new Zr("Invalid state, field: "+n+" "+i+" conflicts with "+n+" "+e);t.put(n,e)},e.resolveDate=function(t,n){if(t.containsKey(Os.EPOCH_DAY))return $o.ofEpochDay(t.remove(Os.EPOCH_DAY));var e=t.remove(Os.PROLEPTIC_MONTH);null!=e&&(n!==Cs.LENIENT&&Os.PROLEPTIC_MONTH.checkValidValue(e),this._updateResolveMap(t,Os.MONTH_OF_YEAR,hs.floorMod(e,12)+1),this._updateResolveMap(t,Os.YEAR,hs.floorDiv(e,12)));var i=t.remove(Os.YEAR_OF_ERA);if(null!=i){n!==Cs.LENIENT&&Os.YEAR_OF_ERA.checkValidValue(i);var r=t.remove(Os.ERA);if(null==r){var s=t.get(Os.YEAR);n===Cs.STRICT?null!=s?this._updateResolveMap(t,Os.YEAR,s>0?i:hs.safeSubtract(1,i)):t.put(Os.YEAR_OF_ERA,i):this._updateResolveMap(t,Os.YEAR,null==s||s>0?i:hs.safeSubtract(1,i))}else if(1===r)this._updateResolveMap(t,Os.YEAR,i);else{if(0!==r)throw new Zr("Invalid value for era: "+r);this._updateResolveMap(t,Os.YEAR,hs.safeSubtract(1,i))}}else t.containsKey(Os.ERA)&&Os.ERA.checkValidValue(t.get(Os.ERA));if(t.containsKey(Os.YEAR)){if(t.containsKey(Os.MONTH_OF_YEAR)&&t.containsKey(Os.DAY_OF_MONTH)){var o=Os.YEAR.checkValidIntValue(t.remove(Os.YEAR)),u=t.remove(Os.MONTH_OF_YEAR),a=t.remove(Os.DAY_OF_MONTH);if(n===Cs.LENIENT){var h=u-1,f=a-1;return $o.of(o,1,1).plusMonths(h).plusDays(f)}return n===Cs.SMART?(Os.DAY_OF_MONTH.checkValidValue(a),4===u||6===u||9===u||11===u?a=Math.min(a,30):2===u&&(a=Math.min(a,Ts.FEBRUARY.length(ko.isLeap(o)))),$o.of(o,u,a)):$o.of(o,u,a)}if(t.containsKey(Os.DAY_OF_YEAR)){var c=Os.YEAR.checkValidIntValue(t.remove(Os.YEAR));if(n===Cs.LENIENT){var l=hs.safeSubtract(t.remove(Os.DAY_OF_YEAR),1);return $o.ofYearDay(c,1).plusDays(l)}var _=Os.DAY_OF_YEAR.checkValidIntValue(t.remove(Os.DAY_OF_YEAR));return $o.ofYearDay(c,_)}if(t.containsKey(Os.ALIGNED_WEEK_OF_YEAR)){if(t.containsKey(Os.ALIGNED_DAY_OF_WEEK_IN_YEAR)){var d=Os.YEAR.checkValidIntValue(t.remove(Os.YEAR));if(n===Cs.LENIENT){var p=hs.safeSubtract(t.remove(Os.ALIGNED_WEEK_OF_YEAR),1),m=hs.safeSubtract(t.remove(Os.ALIGNED_DAY_OF_WEEK_IN_YEAR),1);return $o.of(d,1,1).plusWeeks(p).plusDays(m)}var E=Os.ALIGNED_WEEK_OF_YEAR.checkValidIntValue(t.remove(Os.ALIGNED_WEEK_OF_YEAR)),O=Os.ALIGNED_DAY_OF_WEEK_IN_YEAR.checkValidIntValue(t.remove(Os.ALIGNED_DAY_OF_WEEK_IN_YEAR)),S=$o.of(d,1,1).plusDays(7*(E-1)+(O-1));if(n===Cs.STRICT&&S.get(Os.YEAR)!==d)throw new Zr("Strict mode rejected date parsed to a different year");return S}if(t.containsKey(Os.DAY_OF_WEEK)){var w=Os.YEAR.checkValidIntValue(t.remove(Os.YEAR));if(n===Cs.LENIENT){var v=hs.safeSubtract(t.remove(Os.ALIGNED_WEEK_OF_YEAR),1),N=hs.safeSubtract(t.remove(Os.DAY_OF_WEEK),1);return $o.of(w,1,1).plusWeeks(v).plusDays(N)}var A=Os.ALIGNED_WEEK_OF_YEAR.checkValidIntValue(t.remove(Os.ALIGNED_WEEK_OF_YEAR)),D=Os.DAY_OF_WEEK.checkValidIntValue(t.remove(Os.DAY_OF_WEEK)),g=$o.of(w,1,1).plusWeeks(A-1).with(Ho.nextOrSame(gs.of(D)));if(n===Cs.STRICT&&g.get(Os.YEAR)!==w)throw new Zr("Strict mode rejected date parsed to a different month");return g}}}return null},e.date=function(t){return $o.from(t)},n}(fs),jo=function(t){function n(n,e){var i;return i=t.call(this)||this,is(n,"time"),rs(n,nu,"time"),is(e,"offset"),rs(e,qs,"offset"),i._time=n,i._offset=e,i}ts(n,t),n.from=function(t){if(is(t,"temporal"),t instanceof n)return t;if(t instanceof Go)return t.toOffsetTime();try{return new n(nu.from(t),qs.from(t))}catch(n){throw new Zr("Unable to obtain OffsetTime TemporalAccessor: "+t+", type "+(null!=t.constructor?t.constructor.name:""))}},n.now=function(t){return 0===arguments.length?n._now(ru.systemDefaultZone()):t instanceof ru?n._now(t):n._now(ru.system(t))},n._now=function(t){is(t,"clock");var e=t.instant();return n.ofInstant(e,t.zone().rules().offset(e))},n.of=function(){return arguments.length<=2?n.ofTimeAndOffset.apply(this,arguments):n.ofNumbers.apply(this,arguments)},n.ofNumbers=function(t,e,i,r,s){return new n(nu.of(t,e,i,r),s)},n.ofTimeAndOffset=function(t,e){return new n(t,e)},n.ofInstant=function(t,e){is(t,"instant"),rs(t,iu,"instant"),is(e,"zone"),rs(e,Us,"zone");var i=e.rules().offset(t),r=t.epochSecond()%nu.SECONDS_PER_DAY;return(r=(r+i.totalSeconds())%nu.SECONDS_PER_DAY)<0&&(r+=nu.SECONDS_PER_DAY),new n(nu.ofSecondOfDay(r,t.nano()),i)},n.parse=function(t,e){return void 0===e&&(e=Uo.ISO_OFFSET_TIME),is(e,"formatter"),e.parse(t,n.FROM)};var e=n.prototype;return e.adjustInto=function(t){return t.with(Os.NANO_OF_DAY,this._time.toNanoOfDay()).with(Os.OFFSET_SECONDS,this.offset().totalSeconds())},e.atDate=function(t){return Go.of(t,this._time,this._offset)},e.format=function(t){return is(t,"formatter"),t.format(this,n.FROM)},e.get=function(n){return t.prototype.get.call(this,n)},e.getLong=function(t){return t instanceof Os?t===Os.OFFSET_SECONDS?this._offset.totalSeconds():this._time.getLong(t):t.getFrom(this)},e.hour=function(){return this._time.hour()},e.minute=function(){return this._time.minute()},e.second=function(){return this._time.second()},e.nano=function(){return this._time.nano()},e.offset=function(){return this._offset},e.isAfter=function(t){return is(t,"other"),this._toEpochNano()>t._toEpochNano()},e.isBefore=function(t){return is(t,"other"),this._toEpochNano()e?1:0),i},e.isAfter=function(t){is(t,"other");var n=this.toEpochSecond(),e=t.toEpochSecond();return n>e||n===e&&this.toLocalTime().nano()>t.toLocalTime().nano()},e.isBefore=function(t){is(t,"other");var n=this.toEpochSecond(),e=t.toEpochSecond();return ne||n===e&&this.toLocalTime().nano()>t.toLocalTime().nano()},e.isBefore=function(t){is(t,"other");var n=this.toEpochSecond(),e=t.toEpochSecond();return nr.firstDayOfYear(i)+r.length(i)-1&&(r=r.plus(1));var s=e-r.firstDayOfYear(i)+1;return new n(t,r.value(),s)},n.ofEpochDay=function(t){var e,i,r,s,o;void 0===t&&(t=0),o=t+Jo,e=0,(o-=60)<0&&(e=400*(i=hs.intDiv(o+1,Xo)-1),o+=-i*Xo),(r=o-(365*(s=hs.intDiv(400*o+591,Xo))+hs.intDiv(s,4)-hs.intDiv(s,100)+hs.intDiv(s,400)))<0&&(r=o-(365*--s+hs.intDiv(s,4)-hs.intDiv(s,100)+hs.intDiv(s,400))),s+=e;var u=r,a=hs.intDiv(5*u+2,153),h=(a+2)%12+1,f=u-hs.intDiv(306*a+5,10)+1;return new n(s+=hs.intDiv(a,10),h,f)},n.from=function(t){is(t,"temporal");var n=t.query(Ss.localDate());if(null==n)throw new Zr("Unable to obtain LocalDate from TemporalAccessor: "+t+", type "+(null!=t.constructor?t.constructor.name:""));return n},n.parse=function(t,e){return void 0===e&&(e=Uo.ISO_LOCAL_DATE),es(null!=e,"formatter",Qr),e.parse(t,n.FROM)},n._resolvePreviousValid=function(t,e,i){switch(e){case 2:i=Math.min(i,zo.isLeapYear(t)?29:28);break;case 4:case 6:case 9:case 11:i=Math.min(i,30)}return n.of(t,e,i)},n._validate=function(t,n,e){var i;if(Os.YEAR.checkValidValue(t),Os.MONTH_OF_YEAR.checkValidValue(n),Os.DAY_OF_MONTH.checkValidValue(e),e>28){switch(i=31,n){case 2:i=zo.isLeapYear(t)?29:28;break;case 4:case 6:case 9:case 11:i=30}e>i&&es(!1,29===e?"Invalid date 'February 29' as '"+t+"' is not a leap year":"Invalid date '"+t+"' '"+n+"' '"+e+"'",Zr)}};var e=n.prototype;return e.isSupported=function(n){return t.prototype.isSupported.call(this,n)},e.range=function(t){if(t instanceof Os){if(t.isDateBased()){switch(t){case Os.DAY_OF_MONTH:return Es.of(1,this.lengthOfMonth());case Os.DAY_OF_YEAR:return Es.of(1,this.lengthOfYear());case Os.ALIGNED_WEEK_OF_MONTH:return Es.of(1,this.month()===Ts.FEBRUARY&&!1===this.isLeapYear()?4:5);case Os.YEAR_OF_ERA:return this._year<=0?Es.of(1,ko.MAX_VALUE+1):Es.of(1,ko.MAX_VALUE)}return t.range()}throw new Gr("Unsupported field: "+t)}return t.rangeRefinedBy(this)},e.get=function(t){return this.getLong(t)},e.getLong=function(t){return es(null!=t,"",Qr),t instanceof Os?this._get0(t):t.getFrom(this)},e._get0=function(t){switch(t){case Os.DAY_OF_WEEK:return this.dayOfWeek().value();case Os.ALIGNED_DAY_OF_WEEK_IN_MONTH:return hs.intMod(this._day-1,7)+1;case Os.ALIGNED_DAY_OF_WEEK_IN_YEAR:return hs.intMod(this.dayOfYear()-1,7)+1;case Os.DAY_OF_MONTH:return this._day;case Os.DAY_OF_YEAR:return this.dayOfYear();case Os.EPOCH_DAY:return this.toEpochDay();case Os.ALIGNED_WEEK_OF_MONTH:return hs.intDiv(this._day-1,7)+1;case Os.ALIGNED_WEEK_OF_YEAR:return hs.intDiv(this.dayOfYear()-1,7)+1;case Os.MONTH_OF_YEAR:return this._month;case Os.PROLEPTIC_MONTH:return this._prolepticMonth();case Os.YEAR_OF_ERA:return this._year>=1?this._year:1-this._year;case Os.YEAR:return this._year;case Os.ERA:return this._year>=1?1:0}throw new Gr("Unsupported field: "+t)},e._prolepticMonth=function(){return 12*this._year+(this._month-1)},e.chronology=function(){return zo.INSTANCE},e.year=function(){return this._year},e.monthValue=function(){return this._month},e.month=function(){return Ts.of(this._month)},e.dayOfMonth=function(){return this._day},e.dayOfYear=function(){return this.month().firstDayOfYear(this.isLeapYear())+this._day-1},e.dayOfWeek=function(){var t=hs.floorMod(this.toEpochDay()+3,7);return gs.of(t+1)},e.isLeapYear=function(){return zo.isLeapYear(this._year)},e.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}},e.lengthOfYear=function(){return this.isLeapYear()?366:365},e.withAdjuster=function(t){return is(t,"adjuster"),t instanceof n?t:(es("function"==typeof t.adjustInto,"adjuster",Jr),t.adjustInto(this))},e.withFieldValue=function(t,e){if(es(null!=t,"field",Qr),t instanceof Os){var i=t;switch(i.checkValidValue(e),i){case Os.DAY_OF_WEEK:return this.plusDays(e-this.dayOfWeek().value());case Os.ALIGNED_DAY_OF_WEEK_IN_MONTH:return this.plusDays(e-this.getLong(Os.ALIGNED_DAY_OF_WEEK_IN_MONTH));case Os.ALIGNED_DAY_OF_WEEK_IN_YEAR:return this.plusDays(e-this.getLong(Os.ALIGNED_DAY_OF_WEEK_IN_YEAR));case Os.DAY_OF_MONTH:return this.withDayOfMonth(e);case Os.DAY_OF_YEAR:return this.withDayOfYear(e);case Os.EPOCH_DAY:return n.ofEpochDay(e);case Os.ALIGNED_WEEK_OF_MONTH:return this.plusWeeks(e-this.getLong(Os.ALIGNED_WEEK_OF_MONTH));case Os.ALIGNED_WEEK_OF_YEAR:return this.plusWeeks(e-this.getLong(Os.ALIGNED_WEEK_OF_YEAR));case Os.MONTH_OF_YEAR:return this.withMonth(e);case Os.PROLEPTIC_MONTH:return this.plusMonths(e-this.getLong(Os.PROLEPTIC_MONTH));case Os.YEAR_OF_ERA:return this.withYear(this._year>=1?e:1-e);case Os.YEAR:return this.withYear(e);case Os.ERA:return this.getLong(Os.ERA)===e?this:this.withYear(1-this._year)}throw new Gr("Unsupported field: "+t)}return t.adjustInto(this,e)},e.withYear=function(t){return this._year===t?this:(Os.YEAR.checkValidValue(t),n._resolvePreviousValid(t,this._month,this._day))},e.withMonth=function(t){var e=t instanceof Ts?t.value():t;return this._month===e?this:(Os.MONTH_OF_YEAR.checkValidValue(e),n._resolvePreviousValid(this._year,e,this._day))},e.withDayOfMonth=function(t){return this._day===t?this:n.of(this._year,this._month,t)},e.withDayOfYear=function(t){return this.dayOfYear()===t?this:n.ofYearDay(this._year,t)},e.plusAmount=function(t){return is(t,"amount"),t.addTo(this)},e.plusAmountUnit=function(t,n){if(is(t,"amountToAdd"),is(n,"unit"),n instanceof ps){switch(n){case ps.DAYS:return this.plusDays(t);case ps.WEEKS:return this.plusWeeks(t);case ps.MONTHS:return this.plusMonths(t);case ps.YEARS:return this.plusYears(t);case ps.DECADES:return this.plusYears(hs.safeMultiply(t,10));case ps.CENTURIES:return this.plusYears(hs.safeMultiply(t,100));case ps.MILLENNIA:return this.plusYears(hs.safeMultiply(t,1e3));case ps.ERAS:return this.with(Os.ERA,hs.safeAdd(this.getLong(Os.ERA),t))}throw new Gr("Unsupported unit: "+n)}return n.addTo(this,t)},e.plusYears=function(t){if(0===t)return this;var e=Os.YEAR.checkValidIntValue(this._year+t);return n._resolvePreviousValid(e,this._month,this._day)},e.plusMonths=function(t){if(0===t)return this;var e=12*this._year+(this._month-1)+t,i=Os.YEAR.checkValidIntValue(hs.floorDiv(e,12)),r=hs.floorMod(e,12)+1;return n._resolvePreviousValid(i,r,this._day)},e.plusWeeks=function(t){return this.plusDays(hs.safeMultiply(t,7))},e.plusDays=function(t){if(0===t)return this;var e=hs.safeAdd(this.toEpochDay(),t);return n.ofEpochDay(e)},e.minusAmount=function(t){return is(t,"amount"),t.subtractFrom(this)},e.minusAmountUnit=function(t,n){return is(t,"amountToSubtract"),is(n,"unit"),this.plusAmountUnit(-1*t,n)},e.minusYears=function(t){return this.plusYears(-1*t)},e.minusMonths=function(t){return this.plusMonths(-1*t)},e.minusWeeks=function(t){return this.plusWeeks(-1*t)},e.minusDays=function(t){return this.plusDays(-1*t)},e.query=function(n){return is(n,"query"),n===Ss.localDate()?this:t.prototype.query.call(this,n)},e.adjustInto=function(n){return t.prototype.adjustInto.call(this,n)},e.until=function(t,n){return arguments.length<2?this.until1(t):this.until2(t,n)},e.until2=function(t,e){var i=n.from(t);if(e instanceof ps){switch(e){case ps.DAYS:return this.daysUntil(i);case ps.WEEKS:return hs.intDiv(this.daysUntil(i),7);case ps.MONTHS:return this._monthsUntil(i);case ps.YEARS:return hs.intDiv(this._monthsUntil(i),12);case ps.DECADES:return hs.intDiv(this._monthsUntil(i),120);case ps.CENTURIES:return hs.intDiv(this._monthsUntil(i),1200);case ps.MILLENNIA:return hs.intDiv(this._monthsUntil(i),12e3);case ps.ERAS:return i.getLong(Os.ERA)-this.getLong(Os.ERA)}throw new Gr("Unsupported unit: "+e)}return e.between(this,i)},e.daysUntil=function(t){return t.toEpochDay()-this.toEpochDay()},e._monthsUntil=function(t){var n=32*this._prolepticMonth()+this.dayOfMonth(),e=32*t._prolepticMonth()+t.dayOfMonth();return hs.intDiv(e-n,32)},e.until1=function(t){var e=n.from(t),i=e._prolepticMonth()-this._prolepticMonth(),r=e._day-this._day;if(i>0&&r<0){i--;var s=this.plusMonths(i);r=e.toEpochDay()-s.toEpochDay()}else i<0&&r>0&&(i++,r-=e.lengthOfMonth());var o=hs.intDiv(i,12),u=hs.intMod(i,12);return Ms.of(o,u,r)},e.atTime=function(){return 1===arguments.length?this.atTime1.apply(this,arguments):this.atTime4.apply(this,arguments)},e.atTime1=function(t){if(is(t,"time"),t instanceof nu)return tu.of(this,t);if(t instanceof jo)return this._atTimeOffsetTime(t);throw new Jr("time must be an instance of LocalTime or OffsetTime"+(t&&t.constructor&&t.constructor.name?", but is "+t.constructor.name:""))},e.atTime4=function(t,n,e,i){return void 0===e&&(e=0),void 0===i&&(i=0),this.atTime1(nu.of(t,n,e,i))},e._atTimeOffsetTime=function(t){return Go.of(tu.of(this,t.toLocalTime()),t.offset())},e.atStartOfDay=function(t){return null!=t?this.atStartOfDayWithZone(t):tu.of(this,nu.MIDNIGHT)},e.atStartOfDayWithZone=function(t){is(t,"zone");var n=this.atTime(nu.MIDNIGHT);if(t instanceof qs==0){var e=t.rules().transition(n);null!=e&&e.isGap()&&(n=e.dateTimeAfter())}return Ko.of(n,t)},e.toEpochDay=function(){var t=this._year,n=this._month,e=0;return e+=365*t,t>=0?e+=hs.intDiv(t+3,4)-hs.intDiv(t+99,100)+hs.intDiv(t+399,400):e-=hs.intDiv(t,-4)-hs.intDiv(t,-100)+hs.intDiv(t,-400),e+=hs.intDiv(367*n-362,12),e+=this.dayOfMonth()-1,n>2&&(e--,zo.isLeapYear(t)||e--),e-Jo},e.compareTo=function(t){return is(t,"other"),rs(t,n,"other"),this._compareTo0(t)},e._compareTo0=function(t){var n=this._year-t._year;return 0===n&&0===(n=this._month-t._month)&&(n=this._day-t._day),n},e.isAfter=function(t){return this.compareTo(t)>0},e.isBefore=function(t){return this.compareTo(t)<0},e.isEqual=function(t){return 0===this.compareTo(t)},e.equals=function(t){return this===t||t instanceof n&&0===this._compareTo0(t)},e.hashCode=function(){var t=this._year,n=this._month,e=this._day;return hs.hash(4294965248&t^(t<<11)+(n<<6)+e)},e.toString=function(){var t=this._year,n=this._month,e=this._day;return(Math.abs(t)<1e3?t<0?"-"+(""+(t-1e4)).slice(-4):(""+(t+1e4)).slice(-4):t>9999?"+"+t:""+t)+(n<10?"-0"+n:"-"+n)+(e<10?"-0"+e:"-"+e)},e.toJSON=function(){return this.toString()},e.format=function(n){return is(n,"formatter"),rs(n,Uo,"formatter"),t.prototype.format.call(this,n)},n}(Ls),Qo=function(t){function n(){return t.apply(this,arguments)||this}ts(n,t);var e=n.prototype;return e.chronology=function(){return this.toLocalDate().chronology()},e.query=function(n){return n===Ss.chronology()?this.chronology():n===Ss.precision()?ps.NANOS:n===Ss.localDate()?$o.ofEpochDay(this.toLocalDate().toEpochDay()):n===Ss.localTime()?this.toLocalTime():n===Ss.zone()||n===Ss.zoneId()||n===Ss.offset()?null:t.prototype.query.call(this,n)},e.adjustInto=function(t){return t.with(Os.EPOCH_DAY,this.toLocalDate().toEpochDay()).with(Os.NANO_OF_DAY,this.toLocalTime().toNanoOfDay())},e.toInstant=function(t){return rs(t,qs,"zoneId"),iu.ofEpochSecond(this.toEpochSecond(t),this.toLocalTime().nano())},e.toEpochSecond=function(t){is(t,"offset");var n=86400*this.toLocalDate().toEpochDay()+this.toLocalTime().toSecondOfDay();return n-=t.totalSeconds(),hs.safeToInt(n)},n}(Ys),tu=function(t){function n(n,e){var i;return i=t.call(this)||this,rs(n,$o,"date"),rs(e,nu,"time"),i._date=n,i._time=e,i}ts(n,t),n.now=function(t){return null==t?n._now(ru.systemDefaultZone()):t instanceof ru?n._now(t):n._now(ru.system(t))},n._now=function(t){return is(t,"clock"),n.ofInstant(t.instant(),t.zone())},n._ofEpochMillis=function(t,e){var i=hs.floorDiv(t,1e3)+e.totalSeconds(),r=hs.floorDiv(i,nu.SECONDS_PER_DAY),s=hs.floorMod(i,nu.SECONDS_PER_DAY),o=1e6*hs.floorMod(t,1e3);return new n($o.ofEpochDay(r),nu.ofSecondOfDay(s,o))},n.of=function(){return arguments.length<=2?n.ofDateAndTime.apply(this,arguments):n.ofNumbers.apply(this,arguments)},n.ofNumbers=function(t,e,i,r,s,o,u){return void 0===r&&(r=0),void 0===s&&(s=0),void 0===o&&(o=0),void 0===u&&(u=0),new n($o.of(t,e,i),nu.of(r,s,o,u))},n.ofDateAndTime=function(t,e){return is(t,"date"),is(e,"time"),new n(t,e)},n.ofInstant=function(t,e){void 0===e&&(e=Us.systemDefault()),is(t,"instant"),rs(t,iu,"instant"),is(e,"zone");var i=e.rules().offset(t);return n.ofEpochSecond(t.epochSecond(),t.nano(),i)},n.ofEpochSecond=function(t,e,i){void 0===t&&(t=0),void 0===e&&(e=0),2===arguments.length&&e instanceof qs&&(i=e,e=0),is(i,"offset");var r=t+i.totalSeconds(),s=hs.floorDiv(r,nu.SECONDS_PER_DAY),o=hs.floorMod(r,nu.SECONDS_PER_DAY);return new n($o.ofEpochDay(s),nu.ofSecondOfDay(o,e))},n.from=function(t){if(is(t,"temporal"),t instanceof n)return t;if(t instanceof Ko)return t.toLocalDateTime();try{return new n($o.from(t),nu.from(t))}catch(n){throw new Zr("Unable to obtain LocalDateTime TemporalAccessor: "+t+", type "+(null!=t.constructor?t.constructor.name:""))}},n.parse=function(t,e){return void 0===e&&(e=Uo.ISO_LOCAL_DATE_TIME),is(e,"formatter"),e.parse(t,n.FROM)};var e=n.prototype;return e._withDateTime=function(t,e){return this._date.equals(t)&&this._time.equals(e)?this:new n(t,e)},e.isSupported=function(t){return t instanceof Os||t instanceof ps?t.isDateBased()||t.isTimeBased():null!=t&&t.isSupportedBy(this)},e.range=function(t){return t instanceof Os?t.isTimeBased()?this._time.range(t):this._date.range(t):t.rangeRefinedBy(this)},e.get=function(n){return n instanceof Os?n.isTimeBased()?this._time.get(n):this._date.get(n):t.prototype.get.call(this,n)},e.getLong=function(t){return is(t,"field"),t instanceof Os?t.isTimeBased()?this._time.getLong(t):this._date.getLong(t):t.getFrom(this)},e.year=function(){return this._date.year()},e.monthValue=function(){return this._date.monthValue()},e.month=function(){return this._date.month()},e.dayOfMonth=function(){return this._date.dayOfMonth()},e.dayOfYear=function(){return this._date.dayOfYear()},e.dayOfWeek=function(){return this._date.dayOfWeek()},e.hour=function(){return this._time.hour()},e.minute=function(){return this._time.minute()},e.second=function(){return this._time.second()},e.nano=function(){return this._time.nano()},e.withAdjuster=function(t){return is(t,"adjuster"),t instanceof $o?this._withDateTime(t,this._time):t instanceof nu?this._withDateTime(this._date,t):t instanceof n?t:(es("function"==typeof t.adjustInto,"adjuster",Jr),t.adjustInto(this))},e.withFieldValue=function(t,n){return is(t,"field"),t instanceof Os?t.isTimeBased()?this._withDateTime(this._date,this._time.with(t,n)):this._withDateTime(this._date.with(t,n),this._time):t.adjustInto(this,n)},e.withYear=function(t){return this._withDateTime(this._date.withYear(t),this._time)},e.withMonth=function(t){return this._withDateTime(this._date.withMonth(t),this._time)},e.withDayOfMonth=function(t){return this._withDateTime(this._date.withDayOfMonth(t),this._time)},e.withDayOfYear=function(t){return this._withDateTime(this._date.withDayOfYear(t),this._time)},e.withHour=function(t){var n=this._time.withHour(t);return this._withDateTime(this._date,n)},e.withMinute=function(t){var n=this._time.withMinute(t);return this._withDateTime(this._date,n)},e.withSecond=function(t){var n=this._time.withSecond(t);return this._withDateTime(this._date,n)},e.withNano=function(t){var n=this._time.withNano(t);return this._withDateTime(this._date,n)},e.truncatedTo=function(t){return this._withDateTime(this._date,this._time.truncatedTo(t))},e.plusAmount=function(t){return is(t,"amount"),t.addTo(this)},e.plusAmountUnit=function(t,n){if(is(n,"unit"),n instanceof ps){switch(n){case ps.NANOS:return this.plusNanos(t);case ps.MICROS:return this.plusDays(hs.intDiv(t,nu.MICROS_PER_DAY)).plusNanos(1e3*hs.intMod(t,nu.MICROS_PER_DAY));case ps.MILLIS:return this.plusDays(hs.intDiv(t,nu.MILLIS_PER_DAY)).plusNanos(1e6*hs.intMod(t,nu.MILLIS_PER_DAY));case ps.SECONDS:return this.plusSeconds(t);case ps.MINUTES:return this.plusMinutes(t);case ps.HOURS:return this.plusHours(t);case ps.HALF_DAYS:return this.plusDays(hs.intDiv(t,256)).plusHours(12*hs.intMod(t,256))}return this._withDateTime(this._date.plus(t,n),this._time)}return n.addTo(this,t)},e.plusYears=function(t){var n=this._date.plusYears(t);return this._withDateTime(n,this._time)},e.plusMonths=function(t){var n=this._date.plusMonths(t);return this._withDateTime(n,this._time)},e.plusWeeks=function(t){var n=this._date.plusWeeks(t);return this._withDateTime(n,this._time)},e.plusDays=function(t){var n=this._date.plusDays(t);return this._withDateTime(n,this._time)},e.plusHours=function(t){return this._plusWithOverflow(this._date,t,0,0,0,1)},e.plusMinutes=function(t){return this._plusWithOverflow(this._date,0,t,0,0,1)},e.plusSeconds=function(t){return this._plusWithOverflow(this._date,0,0,t,0,1)},e.plusNanos=function(t){return this._plusWithOverflow(this._date,0,0,0,t,1)},e.minusAmount=function(t){return is(t,"amount"),t.subtractFrom(this)},e.minusAmountUnit=function(t,n){return is(n,"unit"),this.plusAmountUnit(-1*t,n)},e.minusYears=function(t){return this.plusYears(-1*t)},e.minusMonths=function(t){return this.plusMonths(-1*t)},e.minusWeeks=function(t){return this.plusWeeks(-1*t)},e.minusDays=function(t){return this.plusDays(-1*t)},e.minusHours=function(t){return this._plusWithOverflow(this._date,t,0,0,0,-1)},e.minusMinutes=function(t){return this._plusWithOverflow(this._date,0,t,0,0,-1)},e.minusSeconds=function(t){return this._plusWithOverflow(this._date,0,0,t,0,-1)},e.minusNanos=function(t){return this._plusWithOverflow(this._date,0,0,0,t,-1)},e._plusWithOverflow=function(t,n,e,i,r,s){if(0===n&&0===e&&0===i&&0===r)return this._withDateTime(t,this._time);var o=hs.intDiv(r,nu.NANOS_PER_DAY)+hs.intDiv(i,nu.SECONDS_PER_DAY)+hs.intDiv(e,nu.MINUTES_PER_DAY)+hs.intDiv(n,nu.HOURS_PER_DAY);o*=s;var u=hs.intMod(r,nu.NANOS_PER_DAY)+hs.intMod(i,nu.SECONDS_PER_DAY)*nu.NANOS_PER_SECOND+hs.intMod(e,nu.MINUTES_PER_DAY)*nu.NANOS_PER_MINUTE+hs.intMod(n,nu.HOURS_PER_DAY)*nu.NANOS_PER_HOUR,a=this._time.toNanoOfDay();u=u*s+a,o+=hs.floorDiv(u,nu.NANOS_PER_DAY);var h=hs.floorMod(u,nu.NANOS_PER_DAY),f=h===a?this._time:nu.ofNanoOfDay(h);return this._withDateTime(t.plusDays(o),f)},e.query=function(n){return is(n,"query"),n===Ss.localDate()?this.toLocalDate():t.prototype.query.call(this,n)},e.adjustInto=function(n){return t.prototype.adjustInto.call(this,n)},e.until=function(t,e){is(t,"endExclusive"),is(e,"unit");var i=n.from(t);if(e instanceof ps){if(e.isTimeBased()){var r=this._date.daysUntil(i._date),s=i._time.toNanoOfDay()-this._time.toNanoOfDay();r>0&&s<0?(r--,s+=nu.NANOS_PER_DAY):r<0&&s>0&&(r++,s-=nu.NANOS_PER_DAY);var o=r;switch(e){case ps.NANOS:return o=hs.safeMultiply(o,nu.NANOS_PER_DAY),hs.safeAdd(o,s);case ps.MICROS:return o=hs.safeMultiply(o,nu.MICROS_PER_DAY),hs.safeAdd(o,hs.intDiv(s,1e3));case ps.MILLIS:return o=hs.safeMultiply(o,nu.MILLIS_PER_DAY),hs.safeAdd(o,hs.intDiv(s,1e6));case ps.SECONDS:return o=hs.safeMultiply(o,nu.SECONDS_PER_DAY),hs.safeAdd(o,hs.intDiv(s,nu.NANOS_PER_SECOND));case ps.MINUTES:return o=hs.safeMultiply(o,nu.MINUTES_PER_DAY),hs.safeAdd(o,hs.intDiv(s,nu.NANOS_PER_MINUTE));case ps.HOURS:return o=hs.safeMultiply(o,nu.HOURS_PER_DAY),hs.safeAdd(o,hs.intDiv(s,nu.NANOS_PER_HOUR));case ps.HALF_DAYS:return o=hs.safeMultiply(o,2),hs.safeAdd(o,hs.intDiv(s,12*nu.NANOS_PER_HOUR))}throw new Gr("Unsupported unit: "+e)}var u=i._date,a=i._time;return u.isAfter(this._date)&&a.isBefore(this._time)?u=u.minusDays(1):u.isBefore(this._date)&&a.isAfter(this._time)&&(u=u.plusDays(1)),this._date.until(u,e)}return e.between(this,i)},e.atOffset=function(t){return Go.of(this,t)},e.atZone=function(t){return Ko.of(this,t)},e.toLocalDate=function(){return this._date},e.toLocalTime=function(){return this._time},e.compareTo=function(t){return is(t,"other"),rs(t,n,"other"),this._compareTo0(t)},e._compareTo0=function(t){var n=this._date.compareTo(t.toLocalDate());return 0===n&&(n=this._time.compareTo(t.toLocalTime())),n},e.isAfter=function(t){return this.compareTo(t)>0},e.isBefore=function(t){return this.compareTo(t)<0},e.isEqual=function(t){return 0===this.compareTo(t)},e.equals=function(t){return this===t||t instanceof n&&this._date.equals(t._date)&&this._time.equals(t._time)},e.hashCode=function(){return this._date.hashCode()^this._time.hashCode()},e.toString=function(){return this._date.toString()+"T"+this._time.toString()},e.toJSON=function(){return this.toString()},e.format=function(t){return is(t,"formatter"),t.format(this)},n}(Qo),nu=function(t){function n(e,i,r,s){var o;void 0===e&&(e=0),void 0===i&&(i=0),void 0===r&&(r=0),void 0===s&&(s=0),o=t.call(this)||this;var u=hs.safeToInt(e),a=hs.safeToInt(i),h=hs.safeToInt(r),f=hs.safeToInt(s);return n._validate(u,a,h,f),0===a&&0===h&&0===f?(n.HOURS[u]||(o._hour=u,o._minute=a,o._second=h,o._nano=f,n.HOURS[u]=ns(o)),n.HOURS[u]||ns(o)):(o._hour=u,o._minute=a,o._second=h,o._nano=f,o)}ts(n,t),n.now=function(t){return null==t?n._now(ru.systemDefaultZone()):t instanceof ru?n._now(t):n._now(ru.system(t))},n._now=function(t){return void 0===t&&(t=ru.systemDefaultZone()),is(t,"clock"),n.ofInstant(t.instant(),t.zone())},n.ofInstant=function(t,e){void 0===e&&(e=Us.systemDefault());var i=e.rules().offset(t),r=hs.intMod(t.epochSecond(),n.SECONDS_PER_DAY);return(r=hs.intMod(r+i.totalSeconds(),n.SECONDS_PER_DAY))<0&&(r+=n.SECONDS_PER_DAY),n.ofSecondOfDay(r,t.nano())},n.of=function(t,e,i,r){return new n(t,e,i,r)},n.ofSecondOfDay=function(t,e){void 0===t&&(t=0),void 0===e&&(e=0),Os.SECOND_OF_DAY.checkValidValue(t),Os.NANO_OF_SECOND.checkValidValue(e);var i=hs.intDiv(t,n.SECONDS_PER_HOUR);t-=i*n.SECONDS_PER_HOUR;var r=hs.intDiv(t,n.SECONDS_PER_MINUTE);return new n(i,r,t-=r*n.SECONDS_PER_MINUTE,e)},n.ofNanoOfDay=function(t){void 0===t&&(t=0),Os.NANO_OF_DAY.checkValidValue(t);var e=hs.intDiv(t,n.NANOS_PER_HOUR);t-=e*n.NANOS_PER_HOUR;var i=hs.intDiv(t,n.NANOS_PER_MINUTE);t-=i*n.NANOS_PER_MINUTE;var r=hs.intDiv(t,n.NANOS_PER_SECOND);return new n(e,i,r,t-=r*n.NANOS_PER_SECOND)},n.from=function(t){is(t,"temporal");var n=t.query(Ss.localTime());if(null==n)throw new Zr("Unable to obtain LocalTime TemporalAccessor: "+t+", type "+(null!=t.constructor?t.constructor.name:""));return n},n.parse=function(t,e){return void 0===e&&(e=Uo.ISO_LOCAL_TIME),is(e,"formatter"),e.parse(t,n.FROM)},n._validate=function(t,n,e,i){Os.HOUR_OF_DAY.checkValidValue(t),Os.MINUTE_OF_HOUR.checkValidValue(n),Os.SECOND_OF_MINUTE.checkValidValue(e),Os.NANO_OF_SECOND.checkValidValue(i)};var e=n.prototype;return e.isSupported=function(t){return t instanceof Os||t instanceof ps?t.isTimeBased():null!=t&&t.isSupportedBy(this)},e.range=function(n){return is(n),t.prototype.range.call(this,n)},e.get=function(t){return this.getLong(t)},e.getLong=function(t){return is(t,"field"),t instanceof Os?this._get0(t):t.getFrom(this)},e._get0=function(t){switch(t){case Os.NANO_OF_SECOND:return this._nano;case Os.NANO_OF_DAY:return this.toNanoOfDay();case Os.MICRO_OF_SECOND:return hs.intDiv(this._nano,1e3);case Os.MICRO_OF_DAY:return hs.intDiv(this.toNanoOfDay(),1e3);case Os.MILLI_OF_SECOND:return hs.intDiv(this._nano,1e6);case Os.MILLI_OF_DAY:return hs.intDiv(this.toNanoOfDay(),1e6);case Os.SECOND_OF_MINUTE:return this._second;case Os.SECOND_OF_DAY:return this.toSecondOfDay();case Os.MINUTE_OF_HOUR:return this._minute;case Os.MINUTE_OF_DAY:return 60*this._hour+this._minute;case Os.HOUR_OF_AMPM:return hs.intMod(this._hour,12);case Os.CLOCK_HOUR_OF_AMPM:var n=hs.intMod(this._hour,12);return n%12==0?12:n;case Os.HOUR_OF_DAY:return this._hour;case Os.CLOCK_HOUR_OF_DAY:return 0===this._hour?24:this._hour;case Os.AMPM_OF_DAY:return hs.intDiv(this._hour,12)}throw new Gr("Unsupported field: "+t)},e.hour=function(){return this._hour},e.minute=function(){return this._minute},e.second=function(){return this._second},e.nano=function(){return this._nano},e.withAdjuster=function(t){return is(t,"adjuster"),t instanceof n?t:(es("function"==typeof t.adjustInto,"adjuster",Jr),t.adjustInto(this))},e.withFieldValue=function(t,e){if(is(t,"field"),rs(t,ms,"field"),t instanceof Os){switch(t.checkValidValue(e),t){case Os.NANO_OF_SECOND:return this.withNano(e);case Os.NANO_OF_DAY:return n.ofNanoOfDay(e);case Os.MICRO_OF_SECOND:return this.withNano(1e3*e);case Os.MICRO_OF_DAY:return n.ofNanoOfDay(1e3*e);case Os.MILLI_OF_SECOND:return this.withNano(1e6*e);case Os.MILLI_OF_DAY:return n.ofNanoOfDay(1e6*e);case Os.SECOND_OF_MINUTE:return this.withSecond(e);case Os.SECOND_OF_DAY:return this.plusSeconds(e-this.toSecondOfDay());case Os.MINUTE_OF_HOUR:return this.withMinute(e);case Os.MINUTE_OF_DAY:return this.plusMinutes(e-(60*this._hour+this._minute));case Os.HOUR_OF_AMPM:return this.plusHours(e-hs.intMod(this._hour,12));case Os.CLOCK_HOUR_OF_AMPM:return this.plusHours((12===e?0:e)-hs.intMod(this._hour,12));case Os.HOUR_OF_DAY:return this.withHour(e);case Os.CLOCK_HOUR_OF_DAY:return this.withHour(24===e?0:e);case Os.AMPM_OF_DAY:return this.plusHours(12*(e-hs.intDiv(this._hour,12)))}throw new Gr("Unsupported field: "+t)}return t.adjustInto(this,e)},e.withHour=function(t){return void 0===t&&(t=0),this._hour===t?this:new n(t,this._minute,this._second,this._nano)},e.withMinute=function(t){return void 0===t&&(t=0),this._minute===t?this:new n(this._hour,t,this._second,this._nano)},e.withSecond=function(t){return void 0===t&&(t=0),this._second===t?this:new n(this._hour,this._minute,t,this._nano)},e.withNano=function(t){return void 0===t&&(t=0),this._nano===t?this:new n(this._hour,this._minute,this._second,t)},e.truncatedTo=function(t){if(is(t,"unit"),t===ps.NANOS)return this;var e=t.duration();if(e.seconds()>n.SECONDS_PER_DAY)throw new Zr("Unit is too large to be used for truncation");var i=e.toNanos();if(0!==hs.intMod(n.NANOS_PER_DAY,i))throw new Zr("Unit must divide into a standard day without remainder");var r=this.toNanoOfDay();return n.ofNanoOfDay(hs.intDiv(r,i)*i)},e.plusAmount=function(t){return is(t,"amount"),t.addTo(this)},e.plusAmountUnit=function(t,e){if(is(e,"unit"),e instanceof ps){switch(e){case ps.NANOS:return this.plusNanos(t);case ps.MICROS:return this.plusNanos(1e3*hs.intMod(t,n.MICROS_PER_DAY));case ps.MILLIS:return this.plusNanos(1e6*hs.intMod(t,n.MILLIS_PER_DAY));case ps.SECONDS:return this.plusSeconds(t);case ps.MINUTES:return this.plusMinutes(t);case ps.HOURS:return this.plusHours(t);case ps.HALF_DAYS:return this.plusHours(12*hs.intMod(t,2))}throw new Gr("Unsupported unit: "+e)}return e.addTo(this,t)},e.plusHours=function(t){return 0===t?this:new n(hs.intMod(hs.intMod(t,n.HOURS_PER_DAY)+this._hour+n.HOURS_PER_DAY,n.HOURS_PER_DAY),this._minute,this._second,this._nano)},e.plusMinutes=function(t){if(0===t)return this;var e=this._hour*n.MINUTES_PER_HOUR+this._minute,i=hs.intMod(hs.intMod(t,n.MINUTES_PER_DAY)+e+n.MINUTES_PER_DAY,n.MINUTES_PER_DAY);return e===i?this:new n(hs.intDiv(i,n.MINUTES_PER_HOUR),hs.intMod(i,n.MINUTES_PER_HOUR),this._second,this._nano)},e.plusSeconds=function(t){if(0===t)return this;var e=this._hour*n.SECONDS_PER_HOUR+this._minute*n.SECONDS_PER_MINUTE+this._second,i=hs.intMod(hs.intMod(t,n.SECONDS_PER_DAY)+e+n.SECONDS_PER_DAY,n.SECONDS_PER_DAY);return e===i?this:new n(hs.intDiv(i,n.SECONDS_PER_HOUR),hs.intMod(hs.intDiv(i,n.SECONDS_PER_MINUTE),n.MINUTES_PER_HOUR),hs.intMod(i,n.SECONDS_PER_MINUTE),this._nano)},e.plusNanos=function(t){if(0===t)return this;var e=this.toNanoOfDay(),i=hs.intMod(hs.intMod(t,n.NANOS_PER_DAY)+e+n.NANOS_PER_DAY,n.NANOS_PER_DAY);return e===i?this:new n(hs.intDiv(i,n.NANOS_PER_HOUR),hs.intMod(hs.intDiv(i,n.NANOS_PER_MINUTE),n.MINUTES_PER_HOUR),hs.intMod(hs.intDiv(i,n.NANOS_PER_SECOND),n.SECONDS_PER_MINUTE),hs.intMod(i,n.NANOS_PER_SECOND))},e.minusAmount=function(t){return is(t,"amount"),t.subtractFrom(this)},e.minusAmountUnit=function(t,n){return is(n,"unit"),this.plusAmountUnit(-1*t,n)},e.minusHours=function(t){return this.plusHours(-1*hs.intMod(t,n.HOURS_PER_DAY))},e.minusMinutes=function(t){return this.plusMinutes(-1*hs.intMod(t,n.MINUTES_PER_DAY))},e.minusSeconds=function(t){return this.plusSeconds(-1*hs.intMod(t,n.SECONDS_PER_DAY))},e.minusNanos=function(t){return this.plusNanos(-1*hs.intMod(t,n.NANOS_PER_DAY))},e.query=function(t){return is(t,"query"),t===Ss.precision()?ps.NANOS:t===Ss.localTime()?this:t===Ss.chronology()||t===Ss.zoneId()||t===Ss.zone()||t===Ss.offset()||t===Ss.localDate()?null:t.queryFrom(this)},e.adjustInto=function(t){return t.with(n.NANO_OF_DAY,this.toNanoOfDay())},e.until=function(t,e){is(t,"endExclusive"),is(e,"unit");var i=n.from(t);if(e instanceof ps){var r=i.toNanoOfDay()-this.toNanoOfDay();switch(e){case ps.NANOS:return r;case ps.MICROS:return hs.intDiv(r,1e3);case ps.MILLIS:return hs.intDiv(r,1e6);case ps.SECONDS:return hs.intDiv(r,n.NANOS_PER_SECOND);case ps.MINUTES:return hs.intDiv(r,n.NANOS_PER_MINUTE);case ps.HOURS:return hs.intDiv(r,n.NANOS_PER_HOUR);case ps.HALF_DAYS:return hs.intDiv(r,12*n.NANOS_PER_HOUR)}throw new Gr("Unsupported unit: "+e)}return e.between(this,i)},e.atDate=function(t){return tu.of(t,this)},e.toSecondOfDay=function(){var t=this._hour*n.SECONDS_PER_HOUR;return(t+=this._minute*n.SECONDS_PER_MINUTE)+this._second},e.toNanoOfDay=function(){var t=this._hour*n.NANOS_PER_HOUR;return t+=this._minute*n.NANOS_PER_MINUTE,(t+=this._second*n.NANOS_PER_SECOND)+this._nano},e.compareTo=function(t){is(t,"other"),rs(t,n,"other");var e=hs.compareNumbers(this._hour,t._hour);return 0===e&&0===(e=hs.compareNumbers(this._minute,t._minute))&&0===(e=hs.compareNumbers(this._second,t._second))&&(e=hs.compareNumbers(this._nano,t._nano)),e},e.isAfter=function(t){return this.compareTo(t)>0},e.isBefore=function(t){return this.compareTo(t)<0},e.equals=function(t){return this===t||t instanceof n&&this._hour===t._hour&&this._minute===t._minute&&this._second===t._second&&this._nano===t._nano},e.hashCode=function(){var t=this.toNanoOfDay();return hs.hash(t)},e.toString=function(){var t="",n=this._hour,e=this._minute,i=this._second,r=this._nano;return t+=n<10?"0":"",t+=n,t+=e<10?":0":":",t+=e,(i>0||r>0)&&(t+=i<10?":0":":",t+=i,r>0&&(t+=".",0===hs.intMod(r,1e6)?t+=(""+(hs.intDiv(r,1e6)+1e3)).substring(1):0===hs.intMod(r,1e3)?t+=(""+(hs.intDiv(r,1e3)+1e6)).substring(1):t+=(""+(r+1e9)).substring(1))),t},e.toJSON=function(){return this.toString()},e.format=function(t){return is(t,"formatter"),t.format(this)},n}(bs);nu.HOURS_PER_DAY=24,nu.MINUTES_PER_HOUR=60,nu.MINUTES_PER_DAY=nu.MINUTES_PER_HOUR*nu.HOURS_PER_DAY,nu.SECONDS_PER_MINUTE=60,nu.SECONDS_PER_HOUR=nu.SECONDS_PER_MINUTE*nu.MINUTES_PER_HOUR,nu.SECONDS_PER_DAY=nu.SECONDS_PER_HOUR*nu.HOURS_PER_DAY,nu.MILLIS_PER_DAY=1e3*nu.SECONDS_PER_DAY,nu.MICROS_PER_DAY=1e6*nu.SECONDS_PER_DAY,nu.NANOS_PER_SECOND=1e9,nu.NANOS_PER_MINUTE=nu.NANOS_PER_SECOND*nu.SECONDS_PER_MINUTE,nu.NANOS_PER_HOUR=nu.NANOS_PER_MINUTE*nu.MINUTES_PER_HOUR,nu.NANOS_PER_DAY=nu.NANOS_PER_HOUR*nu.HOURS_PER_DAY;var eu=1e6,iu=function(t){function n(e,i){var r;return r=t.call(this)||this,n._validate(e,i),r._seconds=hs.safeToInt(e),r._nanos=hs.safeToInt(i),r}ts(n,t),n.now=function(t){return void 0===t&&(t=ru.systemUTC()),t.instant()},n.ofEpochSecond=function(t,e){void 0===e&&(e=0);var i=t+hs.floorDiv(e,nu.NANOS_PER_SECOND),r=hs.floorMod(e,nu.NANOS_PER_SECOND);return n._create(i,r)},n.ofEpochMilli=function(t){var e=hs.floorDiv(t,1e3),i=hs.floorMod(t,1e3);return n._create(e,1e6*i)},n.from=function(t){try{var e=t.getLong(Os.INSTANT_SECONDS),i=t.get(Os.NANO_OF_SECOND);return n.ofEpochSecond(e,i)}catch(n){throw new Zr("Unable to obtain Instant from TemporalAccessor: "+t+", type "+typeof t,n)}},n.parse=function(t){return Uo.ISO_INSTANT.parse(t,n.FROM)},n._create=function(t,e){return 0===t&&0===e?n.EPOCH:new n(t,e)},n._validate=function(t,e){if(tn.MAX_SECONDS)throw new Zr("Instant exceeds minimum or maximum instant");if(e<0||e>nu.NANOS_PER_SECOND)throw new Zr("Instant exceeds minimum or maximum instant")};var e=n.prototype;return e.isSupported=function(t){return t instanceof Os?t===Os.INSTANT_SECONDS||t===Os.NANO_OF_SECOND||t===Os.MICRO_OF_SECOND||t===Os.MILLI_OF_SECOND:t instanceof ps?t.isTimeBased()||t===ps.DAYS:null!=t&&t.isSupportedBy(this)},e.range=function(n){return t.prototype.range.call(this,n)},e.get=function(t){return this.getLong(t)},e.getLong=function(t){if(t instanceof Os){switch(t){case Os.NANO_OF_SECOND:return this._nanos;case Os.MICRO_OF_SECOND:return hs.intDiv(this._nanos,1e3);case Os.MILLI_OF_SECOND:return hs.intDiv(this._nanos,eu);case Os.INSTANT_SECONDS:return this._seconds}throw new Gr("Unsupported field: "+t)}return t.getFrom(this)},e.epochSecond=function(){return this._seconds},e.nano=function(){return this._nanos},e.withAdjuster=function(t){return is(t,"adjuster"),t.adjustInto(this)},e.withFieldValue=function(t,e){if(is(t,"field"),t instanceof Os){switch(t.checkValidValue(e),t){case Os.MILLI_OF_SECOND:var i=e*eu;return i!==this._nanos?n._create(this._seconds,i):this;case Os.MICRO_OF_SECOND:var r=1e3*e;return r!==this._nanos?n._create(this._seconds,r):this;case Os.NANO_OF_SECOND:return e!==this._nanos?n._create(this._seconds,e):this;case Os.INSTANT_SECONDS:return e!==this._seconds?n._create(e,this._nanos):this}throw new Gr("Unsupported field: "+t)}return t.adjustInto(this,e)},e.truncatedTo=function(t){if(is(t,"unit"),t===ps.NANOS)return this;var n=t.duration();if(n.seconds()>nu.SECONDS_PER_DAY)throw new Zr("Unit is too large to be used for truncation");var e=n.toNanos();if(0!==hs.intMod(nu.NANOS_PER_DAY,e))throw new Zr("Unit must divide into a standard day without remainder");var i=hs.intMod(this._seconds,nu.SECONDS_PER_DAY)*nu.NANOS_PER_SECOND+this._nanos,r=hs.intDiv(i,e)*e;return this.plusNanos(r-i)},e.plusAmount=function(t){return is(t,"amount"),t.addTo(this)},e.plusAmountUnit=function(t,n){if(is(t,"amountToAdd"),is(n,"unit"),rs(n,ls),n instanceof ps){switch(n){case ps.NANOS:return this.plusNanos(t);case ps.MICROS:return this._plus(hs.intDiv(t,1e6),1e3*hs.intMod(t,1e6));case ps.MILLIS:return this.plusMillis(t);case ps.SECONDS:return this.plusSeconds(t);case ps.MINUTES:return this.plusSeconds(hs.safeMultiply(t,nu.SECONDS_PER_MINUTE));case ps.HOURS:return this.plusSeconds(hs.safeMultiply(t,nu.SECONDS_PER_HOUR));case ps.HALF_DAYS:return this.plusSeconds(hs.safeMultiply(t,nu.SECONDS_PER_DAY/2));case ps.DAYS:return this.plusSeconds(hs.safeMultiply(t,nu.SECONDS_PER_DAY))}throw new Gr("Unsupported unit: "+n)}return n.addTo(this,t)},e.plusSeconds=function(t){return this._plus(t,0)},e.plusMillis=function(t){return this._plus(hs.intDiv(t,1e3),hs.intMod(t,1e3)*eu)},e.plusNanos=function(t){return this._plus(0,t)},e._plus=function(t,e){if(0===t&&0===e)return this;var i=this._seconds+t;i+=hs.intDiv(e,nu.NANOS_PER_SECOND);var r=this._nanos+e%nu.NANOS_PER_SECOND;return n.ofEpochSecond(i,r)},e.minusAmount=function(t){return is(t,"amount"),t.subtractFrom(this)},e.minusAmountUnit=function(t,n){return this.plusAmountUnit(-1*t,n)},e.minusSeconds=function(t){return this.plusSeconds(-1*t)},e.minusMillis=function(t){return this.plusMillis(-1*t)},e.minusNanos=function(t){return this.plusNanos(-1*t)},e.query=function(t){return is(t,"query"),t===Ss.precision()?ps.NANOS:t===Ss.localDate()||t===Ss.localTime()||t===Ss.chronology()||t===Ss.zoneId()||t===Ss.zone()||t===Ss.offset()?null:t.queryFrom(this)},e.adjustInto=function(t){return is(t,"temporal"),t.with(Os.INSTANT_SECONDS,this._seconds).with(Os.NANO_OF_SECOND,this._nanos)},e.until=function(t,e){is(t,"endExclusive"),is(e,"unit");var i=n.from(t);if(e instanceof ps){switch(e){case ps.NANOS:return this._nanosUntil(i);case ps.MICROS:return hs.intDiv(this._nanosUntil(i),1e3);case ps.MILLIS:return hs.safeSubtract(i.toEpochMilli(),this.toEpochMilli());case ps.SECONDS:return this._secondsUntil(i);case ps.MINUTES:return hs.intDiv(this._secondsUntil(i),nu.SECONDS_PER_MINUTE);case ps.HOURS:return hs.intDiv(this._secondsUntil(i),nu.SECONDS_PER_HOUR);case ps.HALF_DAYS:return hs.intDiv(this._secondsUntil(i),12*nu.SECONDS_PER_HOUR);case ps.DAYS:return hs.intDiv(this._secondsUntil(i),nu.SECONDS_PER_DAY)}throw new Gr("Unsupported unit: "+e)}return e.between(this,i)},e._nanosUntil=function(t){var n=hs.safeSubtract(t.epochSecond(),this.epochSecond()),e=hs.safeMultiply(n,nu.NANOS_PER_SECOND);return hs.safeAdd(e,t.nano()-this.nano())},e._secondsUntil=function(t){var n=hs.safeSubtract(t.epochSecond(),this.epochSecond()),e=t.nano()-this.nano();return n>0&&e<0?n--:n<0&&e>0&&n++,n},e.atOffset=function(t){return Go.ofInstant(this,t)},e.atZone=function(t){return Ko.ofInstant(this,t)},e.toEpochMilli=function(){return hs.safeMultiply(this._seconds,1e3)+hs.intDiv(this._nanos,eu)},e.compareTo=function(t){is(t,"otherInstant"),rs(t,n,"otherInstant");var e=hs.compareNumbers(this._seconds,t._seconds);return 0!==e?e:this._nanos-t._nanos},e.isAfter=function(t){return this.compareTo(t)>0},e.isBefore=function(t){return this.compareTo(t)<0},e.equals=function(t){return this===t||t instanceof n&&this.epochSecond()===t.epochSecond()&&this.nano()===t.nano()},e.hashCode=function(){return hs.hashCode(this._seconds,this._nanos)},e.toString=function(){return Uo.ISO_INSTANT.format(this)},e.toJSON=function(){return this.toString()},n}(bs),ru=function(){function t(){}t.systemUTC=function(){return new su(qs.UTC)},t.systemDefaultZone=function(){return new su(Us.systemDefault())},t.system=function(t){return new su(t)},t.fixed=function(t,n){return new ou(t,n)},t.offset=function(t,n){return new uu(t,n)};var n=t.prototype;return n.millis=function(){ss("Clock.millis")},n.instant=function(){ss("Clock.instant")},n.zone=function(){ss("Clock.zone")},n.withZone=function(){ss("Clock.withZone")},t}(),su=function(t){function n(n){var e;return is(n,"zone"),(e=t.call(this)||this)._zone=n,e}ts(n,t);var e=n.prototype;return e.zone=function(){return this._zone},e.millis=function(){return(new Date).getTime()},e.instant=function(){return iu.ofEpochMilli(this.millis())},e.equals=function(t){return t instanceof n&&this._zone.equals(t._zone)},e.withZone=function(t){return t.equals(this._zone)?this:new n(t)},e.toString=function(){return"SystemClock["+this._zone.toString()+"]"},n}(ru),ou=function(t){function n(n,e){var i;return(i=t.call(this)||this)._instant=n,i._zoneId=e,i}ts(n,t);var e=n.prototype;return e.instant=function(){return this._instant},e.millis=function(){return this._instant.toEpochMilli()},e.zone=function(){return this._zoneId},e.toString=function(){return"FixedClock[]"},e.equals=function(t){return t instanceof n&&this._instant.equals(t._instant)&&this._zoneId.equals(t._zoneId)},e.withZone=function(t){return t.equals(this._zoneId)?this:new n(this._instant,t)},n}(ru),uu=function(t){function n(n,e){var i;return(i=t.call(this)||this)._baseClock=n,i._offset=e,i}ts(n,t);var e=n.prototype;return e.zone=function(){return this._baseClock.zone()},e.withZone=function(t){return t.equals(this._baseClock.zone())?this:new n(this._baseClock.withZone(t),this._offset)},e.millis=function(){return this._baseClock.millis()+this._offset.toMillis()},e.instant=function(){return this._baseClock.instant().plus(this._offset)},e.equals=function(t){return t instanceof n&&this._baseClock.equals(t._baseClock)&&this._offset.equals(t._offset)},e.toString=function(){return"OffsetClock["+this._baseClock+","+this._offset+"]"},n}(ru),au=function(){function t(t,n,e){if(is(t,"transition"),is(n,"offsetBefore"),is(e,"offsetAfter"),n.equals(e))throw new Jr("Offsets must not be equal");if(0!==t.nano())throw new Jr("Nano-of-second must be zero");this._transition=t instanceof tu?t:tu.ofEpochSecond(t,0,n),this._offsetBefore=n,this._offsetAfter=e}t.of=function(n,e,i){return new t(n,e,i)};var n=t.prototype;return n.instant=function(){return this._transition.toInstant(this._offsetBefore)},n.toEpochSecond=function(){return this._transition.toEpochSecond(this._offsetBefore)},n.dateTimeBefore=function(){return this._transition},n.dateTimeAfter=function(){return this._transition.plusSeconds(this.durationSeconds())},n.offsetBefore=function(){return this._offsetBefore},n.offsetAfter=function(){return this._offsetAfter},n.duration=function(){return _s.ofSeconds(this.durationSeconds())},n.durationSeconds=function(){return this._offsetAfter.totalSeconds()-this._offsetBefore.totalSeconds()},n.isGap=function(){return this._offsetAfter.totalSeconds()>this._offsetBefore.totalSeconds()},n.isOverlap=function(){return this._offsetAfter.totalSeconds()>>16},n.toString=function(){return"Transition["+(this.isGap()?"Gap":"Overlap")+" at "+this._transition.toString()+this._offsetBefore.toString()+" to "+this._offsetAfter+"]"},t}(),hu=function(t){function n(){return t.apply(this,arguments)||this}ts(n,t);var e=n.prototype;return e.isFixedOffset=function(){return!1},e.offsetOfInstant=function(t){var n=new Date(t.toEpochMilli()).getTimezoneOffset();return qs.ofTotalMinutes(-1*n)},e.offsetOfEpochMilli=function(t){var n=new Date(t).getTimezoneOffset();return qs.ofTotalMinutes(-1*n)},e.offsetOfLocalDateTime=function(t){var n=1e3*t.toEpochSecond(qs.UTC),e=new Date(n).getTimezoneOffset(),i=new Date(n+6e4*e).getTimezoneOffset();return qs.ofTotalMinutes(-1*i)},e.validOffsets=function(t){return[this.offsetOfLocalDateTime(t)]},e.transition=function(){return null},e.standardOffset=function(t){return this.offsetOfInstant(t)},e.daylightSavings=function(){this._throwNotSupported()},e.isDaylightSavings=function(){this._throwNotSupported()},e.isValidOffset=function(t,n){return this.offsetOfLocalDateTime(t).equals(n)},e.nextTransition=function(){this._throwNotSupported()},e.previousTransition=function(){this._throwNotSupported()},e.transitions=function(){this._throwNotSupported()},e.transitionRules=function(){this._throwNotSupported()},e._throwNotSupported=function(){throw new Zr("not supported operation")},e.equals=function(t){return this===t||t instanceof n},e.toString=function(){return"SYSTEM"},n}(Vs),fu=function(t){function n(){var n;return(n=t.call(this)||this)._rules=new hu,n}ts(n,t);var e=n.prototype;return e.rules=function(){return this._rules},e.equals=function(t){return this===t},e.id=function(){return"SYSTEM"},n}(Us),cu=function(){function t(){}return t.systemDefault=function(){return lu},t.getAvailableZoneIds=function(){return go.getAvailableZoneIds()},t.of=function(t){if(is(t,"zoneId"),"Z"===t)return qs.UTC;if(1===t.length)throw new Zr("Invalid zone: "+t);if(Ps.startsWith(t,"+")||Ps.startsWith(t,"-"))return qs.of(t);if("UTC"===t||"GMT"===t||"GMT0"===t||"UT"===t)return new To(t,qs.UTC.rules());if(Ps.startsWith(t,"UTC+")||Ps.startsWith(t,"GMT+")||Ps.startsWith(t,"UTC-")||Ps.startsWith(t,"GMT-")){var n=qs.of(t.substring(3));return 0===n.totalSeconds()?new To(t.substring(0,3),n.rules()):new To(t.substring(0,3)+n.id(),n.rules())}if(Ps.startsWith(t,"UT+")||Ps.startsWith(t,"UT-")){var e=qs.of(t.substring(2));return 0===e.totalSeconds()?new To("UT",e.rules()):new To("UT"+e.id(),e.rules())}return"SYSTEM"===t?Us.systemDefault():To.ofId(t)},t.ofOffset=function(t,n){if(is(t,"prefix"),is(n,"offset"),0===t.length)return n;if("GMT"===t||"UTC"===t||"UT"===t)return 0===n.totalSeconds()?new To(t,n.rules()):new To(t+n.id(),n.rules());throw new Jr("Invalid prefix, must be GMT, UTC or UT: "+t)},t.from=function(t){is(t,"temporal");var n=t.query(Ss.zone());if(null==n)throw new Zr("Unable to obtain ZoneId from TemporalAccessor: "+t+", type "+(null!=t.constructor?t.constructor.name:""));return n},t}(),lu=null,_u=!1;_u||(_u=!0,ds.MIN_VALUE=-999999,ds.MAX_VALUE=999999,_s.ZERO=new _s(0,0),ps.NANOS=new ps("Nanos",_s.ofNanos(1)),ps.MICROS=new ps("Micros",_s.ofNanos(1e3)),ps.MILLIS=new ps("Millis",_s.ofNanos(1e6)),ps.SECONDS=new ps("Seconds",_s.ofSeconds(1)),ps.MINUTES=new ps("Minutes",_s.ofSeconds(60)),ps.HOURS=new ps("Hours",_s.ofSeconds(3600)),ps.HALF_DAYS=new ps("HalfDays",_s.ofSeconds(43200)),ps.DAYS=new ps("Days",_s.ofSeconds(86400)),ps.WEEKS=new ps("Weeks",_s.ofSeconds(604800)),ps.MONTHS=new ps("Months",_s.ofSeconds(2629746)),ps.YEARS=new ps("Years",_s.ofSeconds(31556952)),ps.DECADES=new ps("Decades",_s.ofSeconds(315569520)),ps.CENTURIES=new ps("Centuries",_s.ofSeconds(3155695200)),ps.MILLENNIA=new ps("Millennia",_s.ofSeconds(31556952e3)),ps.ERAS=new ps("Eras",_s.ofSeconds(31556952*(ds.MAX_VALUE+1))),ps.FOREVER=new ps("Forever",_s.ofSeconds(hs.MAX_SAFE_INTEGER,999999999)),Os.NANO_OF_SECOND=new Os("NanoOfSecond",ps.NANOS,ps.SECONDS,Es.of(0,999999999)),Os.NANO_OF_DAY=new Os("NanoOfDay",ps.NANOS,ps.DAYS,Es.of(0,86399999999999)),Os.MICRO_OF_SECOND=new Os("MicroOfSecond",ps.MICROS,ps.SECONDS,Es.of(0,999999)),Os.MICRO_OF_DAY=new Os("MicroOfDay",ps.MICROS,ps.DAYS,Es.of(0,86399999999)),Os.MILLI_OF_SECOND=new Os("MilliOfSecond",ps.MILLIS,ps.SECONDS,Es.of(0,999)),Os.MILLI_OF_DAY=new Os("MilliOfDay",ps.MILLIS,ps.DAYS,Es.of(0,86399999)),Os.SECOND_OF_MINUTE=new Os("SecondOfMinute",ps.SECONDS,ps.MINUTES,Es.of(0,59)),Os.SECOND_OF_DAY=new Os("SecondOfDay",ps.SECONDS,ps.DAYS,Es.of(0,86399)),Os.MINUTE_OF_HOUR=new Os("MinuteOfHour",ps.MINUTES,ps.HOURS,Es.of(0,59)),Os.MINUTE_OF_DAY=new Os("MinuteOfDay",ps.MINUTES,ps.DAYS,Es.of(0,1439)),Os.HOUR_OF_AMPM=new Os("HourOfAmPm",ps.HOURS,ps.HALF_DAYS,Es.of(0,11)),Os.CLOCK_HOUR_OF_AMPM=new Os("ClockHourOfAmPm",ps.HOURS,ps.HALF_DAYS,Es.of(1,12)),Os.HOUR_OF_DAY=new Os("HourOfDay",ps.HOURS,ps.DAYS,Es.of(0,23)),Os.CLOCK_HOUR_OF_DAY=new Os("ClockHourOfDay",ps.HOURS,ps.DAYS,Es.of(1,24)),Os.AMPM_OF_DAY=new Os("AmPmOfDay",ps.HALF_DAYS,ps.DAYS,Es.of(0,1)),Os.DAY_OF_WEEK=new Os("DayOfWeek",ps.DAYS,ps.WEEKS,Es.of(1,7)),Os.ALIGNED_DAY_OF_WEEK_IN_MONTH=new Os("AlignedDayOfWeekInMonth",ps.DAYS,ps.WEEKS,Es.of(1,7)),Os.ALIGNED_DAY_OF_WEEK_IN_YEAR=new Os("AlignedDayOfWeekInYear",ps.DAYS,ps.WEEKS,Es.of(1,7)),Os.DAY_OF_MONTH=new Os("DayOfMonth",ps.DAYS,ps.MONTHS,Es.of(1,28,31),"day"),Os.DAY_OF_YEAR=new Os("DayOfYear",ps.DAYS,ps.YEARS,Es.of(1,365,366)),Os.EPOCH_DAY=new Os("EpochDay",ps.DAYS,ps.FOREVER,Es.of(Math.floor(365.25*ds.MIN_VALUE),Math.floor(365.25*ds.MAX_VALUE))),Os.ALIGNED_WEEK_OF_MONTH=new Os("AlignedWeekOfMonth",ps.WEEKS,ps.MONTHS,Es.of(1,4,5)),Os.ALIGNED_WEEK_OF_YEAR=new Os("AlignedWeekOfYear",ps.WEEKS,ps.YEARS,Es.of(1,53)),Os.MONTH_OF_YEAR=new Os("MonthOfYear",ps.MONTHS,ps.YEARS,Es.of(1,12),"month"),Os.PROLEPTIC_MONTH=new Os("ProlepticMonth",ps.MONTHS,ps.FOREVER,Es.of(12*ds.MIN_VALUE,12*ds.MAX_VALUE+11)),Os.YEAR_OF_ERA=new Os("YearOfEra",ps.YEARS,ps.FOREVER,Es.of(1,ds.MAX_VALUE,ds.MAX_VALUE+1)),Os.YEAR=new Os("Year",ps.YEARS,ps.FOREVER,Es.of(ds.MIN_VALUE,ds.MAX_VALUE),"year"),Os.ERA=new Os("Era",ps.ERAS,ps.FOREVER,Es.of(0,1)),Os.INSTANT_SECONDS=new Os("InstantSeconds",ps.SECONDS,ps.FOREVER,Es.of(as,us)),Os.OFFSET_SECONDS=new Os("OffsetSeconds",ps.SECONDS,ps.FOREVER,Es.of(-64800,64800)),function(){nu.HOURS=[];for(var t=0;t<24;t++)nu.of(t,0,0,0);nu.MIN=nu.HOURS[0],nu.MAX=new nu(23,59,59,999999999),nu.MIDNIGHT=nu.HOURS[0],nu.NOON=nu.HOURS[12],nu.FROM=Ns("LocalTime.FROM",function(t){return nu.from(t)})}(),no=new Xs,eo=new Js,io=new $s,ro=new Qs,so=new to("WeekBasedYears",_s.ofSeconds(31556952)),oo=new to("QuarterYears",_s.ofSeconds(7889238)),Zs.DAY_OF_QUARTER=no,Zs.QUARTER_OF_YEAR=eo,Zs.WEEK_OF_WEEK_BASED_YEAR=io,Zs.WEEK_BASED_YEAR=ro,Zs.WEEK_BASED_YEARS=so,Zs.QUARTER_YEARS=oo,$o.prototype.isoWeekOfWeekyear=function(){return this.get(Zs.WEEK_OF_WEEK_BASED_YEAR)},$o.prototype.isoWeekyear=function(){return this.get(Zs.WEEK_BASED_YEAR)},Ss.ZONE_ID=Ns("ZONE_ID",function(t){return t.query(Ss.ZONE_ID)}),Ss.CHRONO=Ns("CHRONO",function(t){return t.query(Ss.CHRONO)}),Ss.PRECISION=Ns("PRECISION",function(t){return t.query(Ss.PRECISION)}),Ss.OFFSET=Ns("OFFSET",function(t){return t.isSupported(Os.OFFSET_SECONDS)?qs.ofTotalSeconds(t.get(Os.OFFSET_SECONDS)):null}),Ss.ZONE=Ns("ZONE",function(t){var n=t.query(Ss.ZONE_ID);return null!=n?n:t.query(Ss.OFFSET)}),Ss.LOCAL_DATE=Ns("LOCAL_DATE",function(t){return t.isSupported(Os.EPOCH_DAY)?$o.ofEpochDay(t.getLong(Os.EPOCH_DAY)):null}),Ss.LOCAL_TIME=Ns("LOCAL_TIME",function(t){return t.isSupported(Os.NANO_OF_DAY)?nu.ofNanoOfDay(t.getLong(Os.NANO_OF_DAY)):null}),gs.MONDAY=new gs(0,"MONDAY"),gs.TUESDAY=new gs(1,"TUESDAY"),gs.WEDNESDAY=new gs(2,"WEDNESDAY"),gs.THURSDAY=new gs(3,"THURSDAY"),gs.FRIDAY=new gs(4,"FRIDAY"),gs.SATURDAY=new gs(5,"SATURDAY"),gs.SUNDAY=new gs(6,"SUNDAY"),gs.FROM=Ns("DayOfWeek.FROM",function(t){return gs.from(t)}),As=[gs.MONDAY,gs.TUESDAY,gs.WEDNESDAY,gs.THURSDAY,gs.FRIDAY,gs.SATURDAY,gs.SUNDAY],iu.MIN_SECONDS=-31619119219200,iu.MAX_SECONDS=31494816403199,iu.EPOCH=new iu(0,0),iu.MIN=iu.ofEpochSecond(iu.MIN_SECONDS,0),iu.MAX=iu.ofEpochSecond(iu.MAX_SECONDS,999999999),iu.FROM=Ns("Instant.FROM",function(t){return iu.from(t)}),$o.MIN=$o.of(ds.MIN_VALUE,1,1),$o.MAX=$o.of(ds.MAX_VALUE,12,31),$o.EPOCH_0=$o.ofEpochDay(0),$o.FROM=Ns("LocalDate.FROM",function(t){return $o.from(t)}),tu.MIN=tu.of($o.MIN,nu.MIN),tu.MAX=tu.of($o.MAX,nu.MAX),tu.FROM=Ns("LocalDateTime.FROM",function(t){return tu.from(t)}),ko.MIN_VALUE=ds.MIN_VALUE,ko.MAX_VALUE=ds.MAX_VALUE,Ao=(new Fo).appendValue(Os.YEAR,4,10,ao.EXCEEDS_PAD).toFormatter(),ko.FROM=Ns("Year.FROM",function(t){return ko.from(t)}),Ts.JANUARY=new Ts(1,"JANUARY"),Ts.FEBRUARY=new Ts(2,"FEBRUARY"),Ts.MARCH=new Ts(3,"MARCH"),Ts.APRIL=new Ts(4,"APRIL"),Ts.MAY=new Ts(5,"MAY"),Ts.JUNE=new Ts(6,"JUNE"),Ts.JULY=new Ts(7,"JULY"),Ts.AUGUST=new Ts(8,"AUGUST"),Ts.SEPTEMBER=new Ts(9,"SEPTEMBER"),Ts.OCTOBER=new Ts(10,"OCTOBER"),Ts.NOVEMBER=new Ts(11,"NOVEMBER"),Ts.DECEMBER=new Ts(12,"DECEMBER"),Ds=[Ts.JANUARY,Ts.FEBRUARY,Ts.MARCH,Ts.APRIL,Ts.MAY,Ts.JUNE,Ts.JULY,Ts.AUGUST,Ts.SEPTEMBER,Ts.OCTOBER,Ts.NOVEMBER,Ts.DECEMBER],No=(new Fo).appendValue(Os.YEAR,4,10,ao.EXCEEDS_PAD).appendLiteral("-").appendValue(Os.MONTH_OF_YEAR,2).toFormatter(),xo.FROM=Ns("YearMonth.FROM",function(t){return xo.from(t)}),vo=(new Fo).appendLiteral("--").appendValue(Os.MONTH_OF_YEAR,2).appendLiteral("-").appendValue(Os.DAY_OF_MONTH,2).toFormatter(),Vo.FROM=Ns("MonthDay.FROM",function(t){return Vo.from(t)}),Ms.ofDays(0),qs.MAX_SECONDS=18*nu.SECONDS_PER_HOUR,qs.UTC=qs.ofTotalSeconds(0),qs.MIN=qs.ofTotalSeconds(-qs.MAX_SECONDS),qs.MAX=qs.ofTotalSeconds(qs.MAX_SECONDS),Ko.FROM=Ns("ZonedDateTime.FROM",function(t){return Ko.from(t)}),lu=new fu,Us.systemDefault=cu.systemDefault,Us.getAvailableZoneIds=cu.getAvailableZoneIds,Us.of=cu.of,Us.ofOffset=cu.ofOffset,Us.from=cu.from,qs.from=cu.from,Us.SYSTEM=lu,Us.UTC=qs.ofTotalSeconds(0),zo.INSTANCE=new zo("IsoChronology"),Uo.ISO_LOCAL_DATE=(new Fo).appendValue(Os.YEAR,4,10,ao.EXCEEDS_PAD).appendLiteral("-").appendValue(Os.MONTH_OF_YEAR,2).appendLiteral("-").appendValue(Os.DAY_OF_MONTH,2).toFormatter(Cs.STRICT).withChronology(zo.INSTANCE),Uo.ISO_LOCAL_TIME=(new Fo).appendValue(Os.HOUR_OF_DAY,2).appendLiteral(":").appendValue(Os.MINUTE_OF_HOUR,2).optionalStart().appendLiteral(":").appendValue(Os.SECOND_OF_MINUTE,2).optionalStart().appendFraction(Os.NANO_OF_SECOND,0,9,!0).toFormatter(Cs.STRICT),Uo.ISO_LOCAL_DATE_TIME=(new Fo).parseCaseInsensitive().append(Uo.ISO_LOCAL_DATE).appendLiteral("T").append(Uo.ISO_LOCAL_TIME).toFormatter(Cs.STRICT).withChronology(zo.INSTANCE),Uo.ISO_INSTANT=(new Fo).parseCaseInsensitive().appendInstant().toFormatter(Cs.STRICT),Uo.ISO_OFFSET_DATE_TIME=(new Fo).parseCaseInsensitive().append(Uo.ISO_LOCAL_DATE_TIME).appendOffsetId().toFormatter(Cs.STRICT).withChronology(zo.INSTANCE),Uo.ISO_ZONED_DATE_TIME=(new Fo).append(Uo.ISO_OFFSET_DATE_TIME).optionalStart().appendLiteral("[").parseCaseSensitive().appendZoneId().appendLiteral("]").toFormatter(Cs.STRICT).withChronology(zo.INSTANCE),Uo.BASIC_ISO_DATE=(new Fo).appendValue(Os.YEAR,4,10,ao.EXCEEDS_PAD).appendValue(Os.MONTH_OF_YEAR,2).appendValue(Os.DAY_OF_MONTH,2).toFormatter(Cs.STRICT).withChronology(zo.INSTANCE),Uo.ISO_OFFSET_DATE=(new Fo).parseCaseInsensitive().append(Uo.ISO_LOCAL_DATE).appendOffsetId().toFormatter(Cs.STRICT).withChronology(zo.INSTANCE),Uo.ISO_OFFSET_TIME=(new Fo).parseCaseInsensitive().append(Uo.ISO_LOCAL_TIME).appendOffsetId().toFormatter(Cs.STRICT).withChronology(zo.INSTANCE),Uo.ISO_ORDINAL_DATE=(new Fo).appendValue(Os.YEAR,4,10,ao.EXCEEDS_PAD).appendLiteral("-").appendValue(Os.DAY_OF_YEAR).toFormatter(Cs.STRICT),Uo.ISO_WEEK_DATE=(new Fo).appendValue(Os.YEAR,4,10,ao.EXCEEDS_PAD).appendLiteral("-W").appendValue(Os.ALIGNED_WEEK_OF_YEAR).appendLiteral("-").appendValue(Os.DAY_OF_WEEK).toFormatter(Cs.STRICT),Uo.PARSED_EXCESS_DAYS=Ns("PARSED_EXCESS_DAYS",function(t){return t instanceof Bs?t.excessDays:Ms.ZERO}),Uo.PARSED_LEAP_SECOND=Ns("PARSED_LEAP_SECOND",function(t){return t instanceof Bs&&t.leapSecond}),mo.BASE_DATE=$o.of(2e3,1,1),Fo.CompositePrinterParser=co,Fo.PadPrinterParserDecorator=So,Fo.SettingsParser=wo,Fo.CharLiteralPrinterParser=Do,Fo.StringLiteralPrinterParser=Do,Fo.CharLiteralPrinterParser=fo,Fo.NumberPrinterParser=po,Fo.ReducedPrinterParser=mo,Fo.FractionPrinterParser=lo,Fo.OffsetIdPrinterParser=Oo,Fo.ZoneIdPrinterParser=yo,Go.MIN=tu.MIN.atOffset(qs.MAX),Go.MAX=tu.MAX.atOffset(qs.MIN),Go.FROM=Ns("OffsetDateTime.FROM",function(t){return Go.from(t)}),jo.MIN=jo.ofNumbers(0,0,0,0,qs.MAX),jo.MAX=jo.ofNumbers(23,59,59,999999999,qs.MIN),jo.FROM=Ns("OffsetTime.FROM",function(t){return jo.from(t)}));var du,pu,mu,Eu,Ou,Su,wu,vu,Nu=function(){function t(t,n){var e;if(t instanceof $o)n=null==n?Us.systemDefault():n,e=t.atStartOfDay(n);else if(t instanceof tu)n=null==n?Us.systemDefault():n,e=t.atZone(n);else{if(!(t instanceof Ko))throw new Jr("unsupported instance for convert operation:"+t);e=null==n?t:t.withZoneSameInstant(n)}this.instant=e.toInstant()}var n=t.prototype;return n.toDate=function(){return new Date(this.instant.toEpochMilli())},n.toEpochMilli=function(){return this.instant.toEpochMilli()},t}(),Au=function(t){function n(n,e){var i;return void 0===e&&(e=Us.systemDefault()),(i=t.call(this)||this)._zone=e,n instanceof Date?(i._epochMilli=n.getTime(),ns(i)):"function"==typeof n.toDate&&n.toDate()instanceof Date?(i._epochMilli=n.toDate().getTime(),ns(i)):(es(!1,"date must be either a javascript date or a moment"),i)}ts(n,t);var e=n.prototype;return e.query=function(n){return is(n,"query"),n===Ss.localDate()?$o.ofInstant(iu.ofEpochMilli(this._epochMilli),this._zone):n===Ss.localTime()?nu.ofInstant(iu.ofEpochMilli(this._epochMilli),this._zone):n===Ss.zone()?this._zone:t.prototype.query.call(this,n)},e.get=function(t){return this.getLong(t)},e.getLong=function(t){if(is(t,"field"),t instanceof Os){switch(t){case Os.NANO_OF_SECOND:return 1e6*hs.floorMod(this._epochMilli,1e3);case Os.INSTANT_SECONDS:return hs.floorDiv(this._epochMilli,1e3)}throw new Gr("Unsupported field: "+t)}return t.getFrom(this)},e.isSupported=function(t){return t===Os.INSTANT_SECONDS||t===Os.NANO_OF_SECOND},n}(ws),Du={_:{assert:os,DateTimeBuilder:Bs,DateTimeParseContext:Ws,DateTimePrintContext:js,MathUtil:hs,StringUtil:Ps,StringBuilder:Po},convert:function(t,n){return new Nu(t,n)},nativeJs:function(t,n){return new Au(t,n)},ArithmeticException:Xr,DateTimeException:Zr,DateTimeParseException:Kr,IllegalArgumentException:Jr,IllegalStateException:$r,UnsupportedTemporalTypeException:Gr,NullPointerException:Qr,Clock:ru,DayOfWeek:gs,Duration:_s,Instant:iu,LocalDate:$o,LocalTime:nu,LocalDateTime:tu,OffsetTime:jo,OffsetDateTime:Go,Month:Ts,MonthDay:Vo,Period:Ms,Year:ko,YearConstants:ds,YearMonth:xo,ZonedDateTime:Ko,ZoneOffset:qs,ZoneId:Us,ZoneRegion:To,ZoneOffsetTransition:au,ZoneRules:Vs,ZoneRulesProvider:go,ChronoLocalDate:Ls,ChronoLocalDateTime:Qo,ChronoZonedDateTime:Zo,IsoChronology:zo,ChronoField:Os,ChronoUnit:ps,IsoFields:Zs,Temporal:bs,TemporalAccessor:ws,TemporalAdjuster:Fs,TemporalAdjusters:Ho,TemporalAmount:cs,TemporalField:ms,TemporalQueries:Ss,TemporalQuery:vs,TemporalUnit:ls,ValueRange:Es,DateTimeFormatter:Uo,DateTimeFormatterBuilder:Fo,DecimalStyle:uo,ResolverStyle:Cs,SignStyle:ao,TextStyle:ho},gu=(du=Du,pu=[],function(t){return~pu.indexOf(t)||(t(du),pu.push(t)),du});function Tu(){}function yu(){}function Mu(){}function Ru(){}function Iu(t){if(Pu.call(this),this.e9_1=t,!(this.e9_1.q(new Et(0,0))>0))throw Ge(Bt("Unit duration must be positive, but was "+this.e9_1.toString()+" ns."));if(this.e9_1.q1(new Et(817405952,838)).equals(new Et(0,0)))this.f9_1="HOUR",this.g9_1=this.e9_1.p1(new Et(817405952,838));else if(this.e9_1.q1(new Et(-129542144,13)).equals(new Et(0,0)))this.f9_1="MINUTE",this.g9_1=this.e9_1.p1(new Et(-129542144,13));else if(this.e9_1.q1(Yn(1e9)).equals(new Et(0,0))){this.f9_1="SECOND";var n=this.e9_1;this.g9_1=n.p1(Yn(1e9))}else this.e9_1.q1(Yn(1e6)).equals(new Et(0,0))?(this.f9_1="MILLISECOND",this.g9_1=this.e9_1.p1(Yn(1e6))):this.e9_1.q1(Yn(1e3)).equals(new Et(0,0))?(this.f9_1="MICROSECOND",this.g9_1=this.e9_1.p1(Yn(1e3))):(this.f9_1="NANOSECOND",this.g9_1=this.e9_1)}function Cu(){Pu.call(this)}function Fu(t){if(Cu.call(this),this.k9_1=t,!(this.k9_1>0))throw Ge(Bt("Unit duration must be positive, but was "+this.k9_1+" days."))}function bu(t){if(Cu.call(this),this.l9_1=t,!(this.l9_1>0))throw Ge(Bt("Unit duration must be positive, but was "+this.l9_1+" months."))}function Yu(){mu=this,this.m9_1=new Iu(new Et(1,0)),this.n9_1=this.m9_1.h9(1e3),this.o9_1=this.n9_1.h9(1e3),this.p9_1=this.o9_1.h9(1e3),this.q9_1=this.p9_1.h9(60),this.r9_1=this.q9_1.h9(60),this.s9_1=new Fu(1),this.t9_1=this.s9_1.h9(7),this.u9_1=new bu(1),this.v9_1=this.u9_1.h9(3),this.w9_1=this.u9_1.h9(12),this.x9_1=this.w9_1.h9(100)}function Lu(){return null==mu&&new Yu,mu}function Pu(){Lu()}function Uu(t){var n=function(t,n){return oi(t,n),Vu.call(n),n}(t,qt(Gt(Vu)));return Kt(n,Uu),n}function Vu(){Kt(this,Vu)}function xu(t,n){this.y9_1=t,this.z9_1=n}function ku(){Eu||(Eu=!0,new Int32Array([1,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9]))}function Hu(){Ou=this;var t=iu.ofEpochSecond(new Et(-931914497,-750).b2(),999999999);this.ca_1=new Bu(t);var n=iu.ofEpochSecond(new Et(1151527680,720).b2(),0);this.da_1=new Bu(n),this.ea_1=new Bu(iu.MIN),this.fa_1=new Bu(iu.MAX)}function qu(){return null==Ou&&new Hu,Ou}function Bu(t){qu(),this.ia_1=t}function Wu(t,n,e){var i;try{var r=function(t,n,e){if(ku(),t.equals(new Et(0,0))||n.equals(new Et(0,0)))return new xu(new Et(0,0),new Et(0,0));var i=function(t,n){if(ku(),n.equals(new Et(-1,-1)))return t.equals(new Et(0,-2147483648))?new Et(0,0):t.t1();if(n.equals(new Et(1,0)))return t;var e=t.o1(n);return e.p1(n).equals(t)?e:new Et(0,0)}(t,n);if(!i.equals(new Et(0,0)))return new xu(i.p1(e),i.q1(e));if(n.equals(e))return new xu(t,new Et(0,0));if(t.equals(e))return new xu(n,new Et(0,0));var r=t.q(new Et(0,0))>=0?new Et(0,0):new Et(-1,-1),s=n.q(new Et(0,0))>=0?new Et(0,0):new Et(-1,-1),o=t.y1(new Et(-1,0)),u=t.w1(32).y1(new Et(-1,0)),a=n.y1(new Et(-1,0)),h=n.w1(32).y1(new Et(-1,0)),f=r.o1(h).m1(u.o1(s)),c=r.o1(a).m1(u.o1(h)).m1(o.o1(s)),l=u.o1(a),_=o.o1(h),d=o.o1(a),p=d.y1(new Et(-1,0)),m=l.y1(new Et(-1,0)),E=_.y1(new Et(-1,0)),O=m.m1(E),S=d.w1(32).y1(new Et(-1,0)),w=O.m1(S),v=w.y1(new Et(-1,0)),N=w.w1(32).y1(new Et(-1,0)),A=c.y1(new Et(-1,0)),D=N.m1(A),g=l.w1(32).y1(new Et(-1,0)),T=D.m1(g),y=_.w1(32).y1(new Et(-1,0)),M=T.m1(y),R=M.y1(new Et(-1,0)),I=M.w1(32).y1(new Et(-1,0)),C=c.w1(32).y1(new Et(-1,0)),F=I.m1(C),b=f.y1(new Et(-1,0)),Y=F.m1(b),L=v.v1(32).z1(p),P=Y.v1(32).z1(R),U=P.w1(63).y1(new Et(1,0)).equals(new Et(1,0))?-1:1;-1===U&&(L=L.u1().m1(Yn(1)),P=P.u1(),L.equals(new Et(0,0))&&(P=P.m1(Yn(1))));var V=new Et(0,0),x=new Et(0,0),k=127;if(0<=k)do{var H,q=k;if(k=k+-1|0,q<64)H=L.w1(q).y1(new Et(1,0));else{var B=q-64|0;H=P.w1(B).y1(new Et(1,0))}var W=H;if((x=x.v1(1).z1(W)).q(e)>=0||x.q(new Et(0,0))<0){if(x=x.n1(e),!(q<63))throw _i("The result of a multiplication followed by division overflows a long");V=V.z1(new Et(1,0).v1(q))}}while(0<=k);return new xu(Fn(U).o1(V),Fn(U).o1(x))}(n,e.e9_1,new Et(1e9,0)),s=r.aa(),o=r.ba();i=new Bu(t.ka(s.b2(),o.p()))}catch(t){if(!(t instanceof Error))throw t;var u=t;if(!ju(u))throw u;i=n.q(new Et(0,0))>0?qu().fa_1:qu().ea_1}return i}function zu(t,n,e,i){var r;try{var s,o=function(t,n){return t.ia_1.atZone(n.ma_1)}(t,i);e instanceof Iu?s=function(t,n){return t.atZone(n.ma_1),t}(Wu(t,Yn(n),e).ia_1,i):e instanceof Fu?s=o.plusDays(n*e.k9_1).toInstant():e instanceof bu?s=o.plusMonths(n*e.l9_1).toInstant():function(){throw Ni()}(),r=new Bu(s)}catch(t){if(t instanceof Error){var u=t;if(ju(u))throw Uu(u);throw u}throw t}return r}function ju(t){return function(t){return"DateTimeException"==t.name}(t)}function Zu(){Su=this,this.na_1=new Ku(tu.MIN),this.oa_1=new Ku(tu.MAX)}function Ku(t){null==Su&&new Zu,this.pa_1=t}function Gu(){var t,n,e;wu=this,this.ra_1=(t=new na(qs.UTC),n=t,e=qt(Gt(Qu)),Qu.call(e,n,n.sa_1),e)}function Xu(){return null==wu&&new Gu,wu}function Ju(t){Xu(),this.ma_1=t}function $u(){}function Qu(t,n){Ju.call(this,n),this.ua_1=t}function ta(){vu=this,this.va_1=new na(qs.UTC)}function na(t){null==vu&&new ta,this.sa_1=t}function ea(t,n){var e=Yn(t).o1(Yn(n));if(e.q(new Et(2147483647,0))>0||e.q(new Et(-2147483648,-1))<0)throw _i("Multiplication overflows Int range: "+t+" * "+n+".");return e.p()}Du.use=gu,Mn(Tu),Mn(yu),Mn(Mu),Mn(Ru),gn(Pu,"DateTimeUnit"),gn(Iu,"TimeBased",v,Pu),gn(Cu,"DateBased",v,Pu),gn(Fu,"DayBased",v,Cu),gn(bu,"MonthBased",v,Cu),Mn(Yu),gn(Vu,"DateTimeArithmeticException",function t(){var n,e=(ii(n=qt(Gt(Vu))),Vu.call(n),n);return Kt(e,t),e},ui),gn(xu,"DivRemResult"),Mn(Hu),gn(Bu,"Instant",v,v,[Z]),Mn(Zu),gn(Ku,"LocalDateTime",v,v,[Z]),Mn(Gu),gn(Ju,"TimeZone"),Mn($u),gn(Qu,"FixedOffsetTimeZone",v,Ju),Mn(ta),gn(na,"UtcOffset"),Gt(Iu).h9=function(t){return new Iu(function(t,n){if(n.equals(new Et(-1,-1))){if(t.equals(new Et(0,-2147483648)))throw _i("Multiplication overflows a long: "+t.toString()+" * "+n.toString());return t.t1()}if(n.equals(new Et(0,0)))return new Et(0,0);if(n.equals(new Et(1,0)))return t;var e=t.o1(n);if(!e.p1(n).equals(t))throw _i("Multiplication overflows a long: "+t.toString()+" * "+n.toString());return e}(this.e9_1,Yn(t)))},Gt(Iu).equals=function(t){return this===t||t instanceof Iu&&this.e9_1.equals(t.e9_1)},Gt(Iu).hashCode=function(){return this.e9_1.p()^this.e9_1.w1(32).p()},Gt(Iu).toString=function(){return this.i9(this.g9_1,this.f9_1)},Gt(Fu).h9=function(t){return new Fu(ea(this.k9_1,t))},Gt(Fu).equals=function(t){return this===t||t instanceof Fu&&this.k9_1===t.k9_1},Gt(Fu).hashCode=function(){return 65536^this.k9_1},Gt(Fu).toString=function(){return this.k9_1%7|0?this.j9(this.k9_1,"DAY"):this.j9(this.k9_1/7|0,"WEEK")},Gt(bu).h9=function(t){return new bu(ea(this.l9_1,t))},Gt(bu).equals=function(t){return this===t||t instanceof bu&&this.l9_1===t.l9_1},Gt(bu).hashCode=function(){return 131072^this.l9_1},Gt(bu).toString=function(){return this.l9_1%1200|0?this.l9_1%12|0?this.l9_1%3|0?this.j9(this.l9_1,"MONTH"):this.j9(this.l9_1/3|0,"QUARTER"):this.j9(this.l9_1/12|0,"YEAR"):this.j9(this.l9_1/1200|0,"CENTURY")},Gt(Pu).j9=function(t,n){return 1===t?n:t+"-"+n},Gt(Pu).i9=function(t,n){return t.equals(new Et(1,0))?n:t.toString()+"-"+n},Gt(xu).aa=function(){return this.y9_1},Gt(xu).ba=function(){return this.z9_1},Gt(Hu).ga=function(t,n){var e;try{var i=new Et(1e9,0),r=n.p1(i);n.a2(i).q(new Et(0,0))<0&&!r.o1(i).equals(n)&&(r=r.s1());var s=function(t,n){var e=t.m1(n);if(t.a2(e).q(new Et(0,0))<0&&t.a2(n).q(new Et(0,0))>=0)throw _i("Addition overflows a long: "+t.toString()+" + "+n.toString());return e}(t,r),o=new Et(1e9,0),u=n.q1(o),a=u.m1(o.y1(u.a2(o).y1(u.z1(u.t1())).w1(63))).p();e=new Bu(iu.ofEpochSecond(s.b2(),a))}catch(n){if(!(n instanceof Error))throw n;var h=n;if(!(ju(h)||h instanceof di))throw h;e=t.q(new Et(0,0))>0?this.fa_1:this.ea_1}return e},Gt(Hu).ha=function(t,n,e){return n=n===v?new Et(0,0):n,e===v?this.ga(t,n):e.ga.call(this,t,n)},Gt(Bu).ja=function(){return Fn(this.ia_1.epochSecond())},Gt(Bu).ka=function(t,n){var e=this.ia_1.epochSecond()+t,i=this.ia_1.nano()+n;return iu.ofEpochSecond(e,In(i))},Gt(Bu).la=function(t){return this.ia_1.compareTo(t.ia_1)},Gt(Bu).d=function(t){return this.la(t instanceof Bu?t:$t())},Gt(Bu).equals=function(t){return this===t||t instanceof Bu&&(this.ia_1===t.ia_1||this.ia_1.equals(t.ia_1))},Gt(Bu).hashCode=function(){return this.ia_1.hashCode()},Gt(Bu).toString=function(){return this.ia_1.toString()},Gt(Ku).equals=function(t){return this===t||t instanceof Ku&&(this.pa_1===t.pa_1||this.pa_1.equals(t.pa_1))},Gt(Ku).hashCode=function(){return this.pa_1.hashCode()},Gt(Ku).toString=function(){return this.pa_1.toString()},Gt(Ku).qa=function(t){return this.pa_1.compareTo(t.pa_1)},Gt(Ku).d=function(t){return this.qa(t instanceof Ku?t:$t())},Gt(Ju).equals=function(t){return this===t||t instanceof Ju&&(this.ma_1===t.ma_1||this.ma_1.equals(t.ma_1))},Gt(Ju).hashCode=function(){return this.ma_1.hashCode()},Gt(Ju).toString=function(){return this.ma_1.toString()},Gt(na).hashCode=function(){return this.sa_1.hashCode()},Gt(na).equals=function(t){return t instanceof na&&(this.sa_1===t.sa_1||this.sa_1.equals(t.sa_1))},Gt(na).toString=function(){return this.sa_1.toString()},new Tu,new yu,new Mu,new Ru,new $u;var ia,ra,sa,oa,ua,aa,ha,fa,ca,la,_a,da,pa,ma,Ea,Oa,Sa,wa,va,Na,Aa,Da,ga,Ta,ya,Ma,Ra,Ia,Ca,Fa,ba,Ya,La,Pa,Ua,Va,xa,ka,Ha,qa,Ba,Wa,za,ja,Za,Ka,Ga,Xa,Ja,$a,Qa,th,nh,eh,ih,rh,sh,oh,uh,ah,hh,fh,ch,lh,_h,dh,ph,mh,Eh,Oh,Sh,wh,vh,Nh,Ah,Dh,gh,Th,yh,Mh,Rh,Ih,Ch,Fh,bh,Yh,Lh,Ph,Uh,Vh,xh,kh,Hh,qh,Bh,Wh,zh,jh,Zh,Kh,Gh,Xh,Jh,$h,Qh,tf,nf,ef,rf,sf,of,uf,af,hf,ff,cf,lf,_f,df,pf,mf,Ef,Of=Math.imul;function Sf(){if(_a)return D;_a=!0,ia=new wf("EMPTY_PIPE",0),ra=new wf("BROKEN_PIPE",1),sa=new wf("MAGNETIC_TAMPERING",2),oa=new wf("MECHANICAL_TAMPERING",3),ua=new wf("LEAKAGE",4),aa=new wf("LOW_BATTERY",5),ha=new wf("BATTERY_CUT",6),fa=new wf("SENSOR_OUT_OF_RANGE",7),ca=new wf("HW_SW_ERROR",8),la=new wf("CLOCK_SYNC_ERROR",9)}function wf(t,n){dt.call(this,t,n)}function vf(){return Sf(),ia}function Nf(){return Sf(),ra}function Af(){return Sf(),sa}function Df(){return Sf(),ua}function gf(){return Sf(),aa}function Tf(){return Sf(),fa}function yf(){return Sf(),ca}function Mf(){}function Rf(t){If.call(this,"Invalid frame (offset: "+t+")"),Kt(this,Rf),this.ya_1=t}function If(t){We(t,this),Kt(this,If)}function Cf(){this.za_1=15}function Ff(t){this.ab_1=t;for(var n=(64&this.ab_1)>>6,e=0,i=0,r=1,s=this.ab_1>>8;(255&s)>0;){var o=255&s;n=n+((15&o)<>4<>6<>=8,r=r+1|0}this.bb_1=15&this.ab_1,this.db_1=(48&this.ab_1)>>4,this.cb_1=n,this.eb_1=e,this.fb_1=i}function bf(t,n,e,i){this.gb_1=t,this.hb_1=n,this.ib_1=e,this.jb_1=i}function Yf(t,n,e,i,r,s,o,u,a,h){if(t=t===v?0:t,n=n===v?0:n,e=e===v?0:e,i=i===v?0:i,r=r===v?0:r,s=s===v?0:s,o=o===v?0:o,u=u===v?new Et(0,0):u,a=a===v?null:a,h=h===v?null:h,this.kb_1=t,this.lb_1=n,this.mb_1=e,this.nb_1=i,this.ob_1=r,this.pb_1=s,this.qb_1=o,this.rb_1=u,this.sb_1=a,this.tb_1=h,0!==this.mb_1){var f=Tc().ic(this.mb_1);this.ub_1=f.lc_1,this.vb_1=f.mc_1}else this.ub_1=(rc(),Da),this.vb_1=qc().wb_1}function Lf(t,n){if(n.rc_1.equals(Ic())||n.rc_1.equals(Uc())||n.rc_1.equals(Pc()))return null;var e=n.sc_1,i=Math.pow(10,e);return t.b2()*i}function Pf(t,n,e,i,r,s,o){this.tc_1=t,this.uc_1=n,this.vc_1=e,this.wc_1=i,this.xc_1=r,this.yc_1=s,this.zc_1=o}function Uf(t,n){n=n===v?null:n,this.ad_1=t,this.bd_1=n}function Vf(t,n,e,i,r,s,o){return new Yf(n,e.ab_1,i,e.cb_1,e.eb_1,e.fb_1,e.db_1,r,s,o)}function xf(t,n,e,i,r,s,o,u){return Vf(0,n,e,i,r,s=s===v?null:s,o=o===v?null:o)}function kf(t){var n=function(t){return t.ud_1.ae()}(t);if(function(t,n){return 47===n||0===n}(0,n))return Hf(t),null;var e=new Ff(qf(t));if(!(15&~e.ab_1))return xf(0,0,e,0,new Et(0,0),function(t){var n,e,i,r="0x"+(n=t.ud_1.zd(t.ud_1.yd()),e=(e=Lr().b8_1)===v?Lr().a8_1:e,yr(),function(t,n,e,i){if(n=n===v?0:n,e=e===v?t.length:e,i=i===v?Lr().a8_1:i,yr(),R.r5(n,e,t.length),n===e)return"";var r=i.c8_1?(yr(),P):(yr(),L),s=i.d8_1;return s.l8_1?function(t,n,e,i,r){return yr(),i.m8_1?function(t,n,e,i,r){yr();var s=i.i8_1.length;if(!(s<=1))throw Ge(Bt("Failed requirement."));var o=e-n|0,u=0;if(0===s){var a=vt(gr(new Et(2,0).o1(Yn(o)))),h=n;if(h0))throw Ge(Bt("Failed requirement."));var r=new Et(2,0).m1(Yn(e)).m1(Yn(i)).m1(Yn(n));return gr(Fn(t).o1(r).n1(Yn(n)))}(e-n|0,u.length,s.length,o.length)),h=0;h=Dr(t,n,s,o,r,a,h);var f=n+1|0;if(f0))throw Ge(Bt("Failed requirement."));var u=(t-1|0)/n|0,a=t%n|0,h=((0===a?n:a)-1|0)/e|0,f=q(u,(n-1|0)/e|0)+h|0,c=((t-1|0)-u|0)-f|0;return gr(Yn(u).m1(Yn(f).o1(Yn(i))).m1(Yn(c).o1(Yn(r))).m1(Yn(t).o1(Yn(s).m1(new Et(2,0)).m1(Yn(o)))))}(e-n|0,s,o,f.length,h.length,u.length,a.length),l=vt(c),_=0,d=0,p=0,m=n;if(m>4,h=(192&s)>>6,f=Zf().ee(e),c=Tc().ic(e).mc_1,l=Zf().fe(t.vd_1,n),_=null==l?null:l.rb_1,d=null==_?new Et(-1,-1):_,p=Zf().ge(t.vd_1,n,Tc().ic(e).lc_1),m=null==p?null:p.rb_1,E=null==m?new Et(0,0):m,O=null==p?0:new Ff(p.lb_1).cb_1,S=0===(i=[new bf(d,O,E,c)]).length?he():ce(new sr(i,!0)),w=new Et(1,0),v=E,N=(t.ud_1.xd_1+r|0)-2|0;t.ud_1.xd_1=128)do{var i=Hf(t),r=n;n=r+1|0,e|=i<=128);return e}function Bf(t,n,e){if(13!==n){var i=7&n;if(n>8)return new Uf(function(t){var n,e=function(t){return function(t){Yi(10);var n,e,i,r=t.length;if(0===r)return null;var s=It(t,0);if(et(s,48)<0){if(1===r)return null;if(n=1,45===s)e=!0,i=new Et(0,-2147483648);else{if(43!==s)return null;e=!1,i=new Et(1,-2147483648)}}else n=0,e=!1,i=new Et(1,-2147483648);var o=new Et(1,-2147483648).p1(Yn(36)),u=o,a=new Et(0,0),h=n;if(h>>0|(t>>>8&255)<<8);return Gi(Nt([bn(64+(n>>10&31)|0),bn(64+(n>>5&31)|0),bn(64+(31&n)|0)]))}(this.se_1)}function nc(t,n){return ec(),new Qf(t,n.be(),n.be(),n.rf())}function ec(){var t;Aa||(Aa=!0,wa=0===(t=[120]).length?he():ce(new sr(t,!0)),va=ir([122,116]),Na=ir([114,117]))}function ic(t,n,e,i,r){this.jc_1=t,this.kc_1=n,this.lc_1=e,this.mc_1=i,this.nc_1=r}function rc(){if(Zh)return D;Zh=!0,Da=new sc("NO_TYPE",0),ga=new sc("MAN_SPECIFIC",1),Ta=new sc("ENERGY",2),ya=new sc("VOLUME",3),Ma=new sc("MASS",4),Ra=new sc("ON_TIME",5),Ia=new sc("OPERATING_TIME",6),Ca=new sc("POWER",7),Fa=new sc("VOLUME_FLOW",8),ba=new sc("VOLUME_FLOW_EXT",9),Ya=new sc("MASS_FLOW",10),La=new sc("FLOW_TEMPERATURE",11),Pa=new sc("RETURN_TEMPERATURE",12),Ua=new sc("TEMPERATURE_DIFF",13),Va=new sc("EXTERNAL_TEMPERATURE",14),xa=new sc("PRESSURE",15),ka=new sc("TIME_POINT",16),Ha=new sc("UNITS_HCA",17),qa=new sc("AVG_DURATION",18),Ba=new sc("ACTUAL_DURATION",19),Wa=new sc("FABRICATION",20),za=new sc("IDENTIFICATION",21),ja=new sc("BUS_ADDRESS",22),Za=new sc("CREDIT",23),Ka=new sc("DEBIT",24),Ga=new sc("ACCESS_NUMBER",25),Xa=new sc("MEDIUM",26),Ja=new sc("MANUFACTURER",27),$a=new sc("PARAM_SET_ID",28),Qa=new sc("MODEL_VERSION",29),th=new sc("HW_VERSION",30),nh=new sc("FIRMWARE_VERSION",31),eh=new sc("SW_VERSION",32),ih=new sc("CUSTOMER_LOCATION",33),rh=new sc("CUSTOMER",34),sh=new sc("ACCESS_CODE_USER",35),oh=new sc("ACCESS_CODE_OPERATOR",36),uh=new sc("ACCESS_CODE_SYS_OPERATOR",37),ah=new sc("ACCESS_CODE_DEVELOPER",38),hh=new sc("PASSWORD",39),fh=new sc("ERROR_FLAGS",40),ch=new sc("ERROR_MASK",41),lh=new sc("DIGITAL_OUTPUT",42),_h=new sc("DIGITAL_INPUT",43),dh=new sc("BAUD_RATE",44),ph=new sc("RESP_DELAY_TIME",45),mh=new sc("RETRY",46),Eh=new sc("FIRST_STORAGE",47),Oh=new sc("LAST_STORAGE",48),Sh=new sc("SIZE_STORAGE_BLOCK",49),wh=new sc("STORAGE_INTERVAL",50),vh=new sc("STORAGE_INTERVAL_MONTHS",51),Nh=new sc("STORAGE_INTERVAL_YEARS",52),Ah=new sc("DURATION_SINCE_READOUT",53),Dh=new sc("START_OF_TARIFF",54),gh=new sc("DURATION_OF_TARIFF",55),Th=new sc("PERIOD_OF_TARIFF",56),yh=new sc("PERIOD_OF_TARIFF_MONTHS",57),Mh=new sc("PERIOD_OF_TARIFF_YEARS",58),Rh=new sc("DIMENSIONLESS",59),Ih=new sc("VOLTS",60),Ch=new sc("AMPERS",61),Fh=new sc("TEMPERATURE_LIMIT",62),bh=new sc("CUMULATIVE_MAX_POWER",63),Yh=new sc("RESET_COUNTER",64),Lh=new sc("CUMULATIVE_COUNTER",65),Ph=new sc("CONTROL_SIGNAL",66),Uh=new sc("DAY_OF_WEEK",67),Vh=new sc("WEEK_NUMBER",68),xh=new sc("TIME_POINT_DAY_CHANGE",69),kh=new sc("STATE_PAR_ACTIVATION",70),Hh=new sc("SPECIAL_SUP_INFORMATION",71),qh=new sc("DURATION_SINCE_LAST_CUM",72),Bh=new sc("OPERATING_TIME_BATTERY",73),Wh=new sc("DATE_TIME_BATTERY_CHANGE",74),zh=new sc("REMAINING_BATTERY_LIFE_TIME",75),jh=new sc("CORDONEL_ALARMS",76)}function sc(t,n){dt.call(this,t,n)}function oc(){return rc(),Ta}function uc(){return rc(),ya}function ac(){return rc(),Ma}function hc(){return rc(),Ca}function fc(){return rc(),ba}function cc(){return rc(),La}function lc(){return rc(),Pa}function _c(){return rc(),Ua}function dc(){return rc(),Va}function pc(){return rc(),ka}function mc(){return rc(),fh}function Ec(){return rc(),Fh}function Oc(t,n,e,i,r,s){this.sf_1=t,this.tf_1=n,this.uf_1=e,this.vf_1=i,this.wf_1=r,this.xf_1=s}function Sc(t,n){return n<<8|253}function wc(t,n){return 65280|n}function vc(t,n){return n<<16|65535}function Nc(t,n){return n<<8|255}function Ac(t,n){return n<<8|251}function Dc(t,n){return n<<8|255}function gc(){Kh=this,this.xb_1=253,this.yb_1=251,this.zb_1=255,this.ac_1=252,this.bc_1=254,this.cc_1=127,this.dc_1=254,this.ec_1=252,this.fc_1=248,this.gc_1=240,this.hc_1=[new Oc(0,wc(0,248),oc(),Cc(),-3,!1),new Oc(8,wc(0,248),oc(),Fc(),-3,!1),new Oc(16,wc(0,248),uc(),bc(),-6,!1),new Oc(24,wc(0,248),ac(),Lc(),-3,!1),new Oc(32,wc(0,252),(rc(),Ra),Pc(),0,!1),new Oc(36,wc(0,252),(rc(),Ia),Pc(),0,!1),new Oc(40,wc(0,248),hc(),Cc(),-3,!0),new Oc(48,wc(0,248),hc(),Fc(),-3,!0),new Oc(56,wc(0,248),(rc(),Fa),(Mc(),Qh),-6,!0),new Oc(64,wc(0,248),fc(),(Mc(),nf),-7,!0),new Oc(72,wc(0,248),fc(),(Mc(),tf),-9,!0),new Oc(80,wc(0,248),(rc(),Ya),Lc(),-3,!0),new Oc(88,wc(0,252),cc(),Vc(),-3,!1),new Oc(92,wc(0,252),lc(),Vc(),-3,!1),new Oc(96,wc(0,252),_c(),(Mc(),ff),-3,!1),new Oc(100,wc(0,252),dc(),Vc(),-3,!1),new Oc(104,wc(0,252),(rc(),xa),(Mc(),lf),-3,!1),new Oc(108,wc(0,127),pc(),Uc(),0,!1),new Oc(109,wc(0,127),pc(),Uc(),0,!1),new Oc(110,wc(0,127),(rc(),Ha),Ic(),0,!1),new Oc(112,wc(0,252),(rc(),qa),Pc(),0,!1),new Oc(116,wc(0,252),(rc(),Ba),Pc(),0,!1),new Oc(120,wc(0,127),(rc(),Wa),Ic(),0,!1),new Oc(121,wc(0,127),(rc(),za),Ic(),0,!1),new Oc(122,wc(0,127),(rc(),ja),Ic(),0,!1),new Oc(Sc(0,0),Nc(0,252),(rc(),Za),kc(),-3,!1),new Oc(Sc(0,4),Nc(0,252),(rc(),Ka),kc(),-3,!1),new Oc(Sc(0,8),Nc(0,127),(rc(),Ga),Ic(),0,!1),new Oc(Sc(0,9),Nc(0,127),(rc(),Xa),Ic(),0,!1),new Oc(Sc(0,10),Nc(0,127),(rc(),Ja),Ic(),0,!1),new Oc(Sc(0,11),Nc(0,127),(rc(),$a),Ic(),0,!1),new Oc(Sc(0,12),Nc(0,127),(rc(),Qa),Ic(),0,!1),new Oc(Sc(0,13),Nc(0,127),(rc(),th),Ic(),0,!1),new Oc(Sc(0,14),Nc(0,127),(rc(),nh),Ic(),0,!1),new Oc(Sc(0,15),Nc(0,127),(rc(),eh),Ic(),0,!1),new Oc(Sc(0,16),Nc(0,127),(rc(),ih),Ic(),0,!1),new Oc(Sc(0,17),Nc(0,127),(rc(),rh),Ic(),0,!1),new Oc(Sc(0,18),Nc(0,127),(rc(),sh),Ic(),0,!1),new Oc(Sc(0,19),Nc(0,127),(rc(),oh),Ic(),0,!1),new Oc(Sc(0,20),Nc(0,127),(rc(),uh),Ic(),0,!1),new Oc(Sc(0,21),Nc(0,127),(rc(),ah),Ic(),0,!1),new Oc(Sc(0,22),Nc(0,127),(rc(),hh),Ic(),0,!1),new Oc(Sc(0,23),Nc(0,127),mc(),Ic(),0,!1),new Oc(Sc(0,24),Nc(0,127),(rc(),ch),Ic(),0,!1),new Oc(Sc(0,26),Nc(0,127),(rc(),lh),Ic(),0,!1),new Oc(Sc(0,27),Nc(0,127),(rc(),_h),Ic(),0,!1),new Oc(Sc(0,28),Nc(0,127),(rc(),dh),Ic(),0,!1),new Oc(Sc(0,29),Nc(0,127),(rc(),ph),Ic(),0,!1),new Oc(Sc(0,30),Nc(0,127),(rc(),mh),Ic(),0,!1),new Oc(Sc(0,32),Nc(0,127),(rc(),Eh),Ic(),0,!1),new Oc(Sc(0,33),Nc(0,127),(rc(),Oh),Ic(),0,!1),new Oc(Sc(0,34),Nc(0,127),(rc(),Sh),Ic(),0,!1),new Oc(Sc(0,36),Nc(0,252),(rc(),wh),Pc(),0,!1),new Oc(Sc(0,40),Nc(0,127),(rc(),vh),Ic(),0,!1),new Oc(Sc(0,41),Nc(0,127),(rc(),Nh),Ic(),0,!1),new Oc(Sc(0,44),Nc(0,252),(rc(),Ah),Pc(),0,!1),new Oc(Sc(0,48),Nc(0,127),(rc(),Dh),Uc(),0,!1),new Oc(Sc(0,48),Nc(0,252),(rc(),gh),Pc(),0,!1),new Oc(Sc(0,52),Nc(0,252),(rc(),Th),Pc(),0,!1),new Oc(Sc(0,56),Nc(0,127),(rc(),yh),Ic(),0,!1),new Oc(Sc(0,57),Nc(0,127),(rc(),Mh),Ic(),0,!1),new Oc(Sc(0,58),Nc(0,127),(rc(),Rh),Ic(),0,!1),new Oc(Sc(0,64),Nc(0,240),(rc(),Ih),(Mc(),df),-9,!1),new Oc(Sc(0,80),Nc(0,240),(rc(),Ch),(Mc(),pf),-12,!1),new Oc(Sc(0,96),Nc(0,127),(rc(),Yh),Ic(),0,!1),new Oc(Sc(0,97),Nc(0,127),(rc(),Lh),Ic(),0,!1),new Oc(Sc(0,98),Nc(0,127),(rc(),Ph),Ic(),0,!1),new Oc(Sc(0,99),Nc(0,127),(rc(),Uh),Ic(),0,!1),new Oc(Sc(0,100),Nc(0,127),(rc(),Vh),Ic(),0,!1),new Oc(Sc(0,101),Nc(0,127),(rc(),xh),Ic(),0,!1),new Oc(Sc(0,102),Nc(0,127),(rc(),kh),Ic(),0,!1),new Oc(Sc(0,103),Nc(0,127),(rc(),Hh),Ic(),0,!1),new Oc(Sc(0,104),Nc(0,252),(rc(),qh),Pc(),2,!1),new Oc(Sc(0,108),Nc(0,252),(rc(),Bh),Pc(),2,!1),new Oc(Sc(0,112),Nc(0,127),(rc(),Wh),Ic(),0,!1),new Oc(Sc(0,116),Nc(0,252),(rc(),zh),Pc(),3,!1),new Oc(Ac(0,0),Dc(0,254),oc(),Cc(),5,!1),new Oc(Ac(0,8),Dc(0,254),oc(),Fc(),5,!1),new Oc(Ac(0,16),Dc(0,254),uc(),bc(),8,!1),new Oc(Ac(0,24),Dc(0,254),ac(),Lc(),5,!1),new Oc(Ac(0,33),Dc(0,127),uc(),(Mc(),sf),-1,!1),new Oc(Ac(0,34),Dc(0,254),uc(),Yc(),-1,!1),new Oc(Ac(0,36),Dc(0,127),uc(),Yc(),-3,!0),new Oc(Ac(0,37),Dc(0,127),uc(),Yc(),0,!0),new Oc(Ac(0,38),Dc(0,127),uc(),(Mc(),rf),0,!0),new Oc(Ac(0,40),Dc(0,254),hc(),Cc(),5,!0),new Oc(Ac(0,48),Dc(0,254),hc(),Fc(),5,!0),new Oc(Ac(0,88),Dc(0,252),cc(),xc(),-3,!1),new Oc(Ac(0,92),Dc(0,252),lc(),xc(),-3,!1),new Oc(Ac(0,96),Dc(0,252),_c(),xc(),-3,!1),new Oc(Ac(0,100),Dc(0,252),dc(),xc(),-3,!1),new Oc(Ac(0,112),Dc(0,252),Ec(),xc(),-3,!1),new Oc(Ac(0,116),Dc(0,252),Ec(),Vc(),-3,!1),new Oc(Ac(0,120),Dc(0,248),(rc(),bh),Cc(),-3,!0),new Oc(130045,vc(0,127),(rc(),jh),Ic(),0,!1)]}function Tc(){return null==Kh&&new gc,Kh}function yc(t){If.call(this,"Unsupported CI value: "+t),Kt(this,yc),this.yf_1=t}function Mc(){if(mf)return D;mf=!0,Gh=new Rc("NO_UNIT",0,null),Xh=new Rc("WATT_HOUR",1,"Wh"),Jh=new Rc("KILO_JOULE",2,"kJ"),$h=new Rc("M3",3,"m^3"),Qh=new Rc("M3_HOUR",4,"m^3/h"),tf=new Rc("M3_SEC",5,"m^3/s"),nf=new Rc("M3_MIN",6,"m^3/min"),ef=new Rc("US_GALLON",7,"gal"),rf=new Rc("US_GALLON_HOUR",8,"gal/h"),sf=new Rc("CUBIC_FOOT",9,"foot^3"),of=new Rc("KILO_GRAM",10,"kg"),uf=new Rc("TIME",11,null),af=new Rc("DATETIME",12,null),hf=new Rc("CELSIUS",13,"°C"),ff=new Rc("KELVIN",14,"K"),cf=new Rc("FAHRENHEIT",15,"°F"),lf=new Rc("BAR",16,"bar"),_f=new Rc("CURRENCY",17,"$"),df=new Rc("VOLTS",18,"V"),pf=new Rc("AMPERS",19,"A"),new Rc("PSI",20,"psi"),new Rc("MEGA_PASCAL",21,"MPa")}function Rc(t,n,e){dt.call(this,t,n),this.bg_1=e}function Ic(){return Mc(),Gh}function Cc(){return Mc(),Xh}function Fc(){return Mc(),Jh}function bc(){return Mc(),$h}function Yc(){return Mc(),ef}function Lc(){return Mc(),of}function Pc(){return Mc(),uf}function Uc(){return Mc(),af}function Vc(){return Mc(),hf}function xc(){return Mc(),cf}function kc(){return Mc(),_f}function Hc(){Ef=this,this.wb_1=new Bc(Ic(),0)}function qc(){return null==Ef&&new Hc,Ef}function Bc(t,n){qc(),this.rc_1=t,this.sc_1=n}function Wc(t,n){if(n<0||t.ke())throw ci("Byte buffer position "+n+" is out of bounds.")}function zc(t,n){return n>=10?"0":n.toString()}function jc(t){this.wd_1=t,this.xd_1=0}function Zc(t,n){return function(t,n,e){return e=e===v?32:e,Bt(function(t,n,e){if(e=e===v?32:e,n<0)throw Ge("Desired length "+n+" is less than zero.");if(n<=Ft(t))return bt(t,0,Ft(t));var i=yi(),r=1,s=n-Ft(t)|0;if(r<=s)do{var o=r;r=r+1|0,i.h5(e)}while(o!==s);return i.f(t),i}(Un(t)?t:$t(),n,e))}(Bt(t),n,48)}function Kc(t){var n=Qi(t," ","");if(n=Qi(n,"0x",""),n=Qi(n,"h",""),n=Qi(n,"%",""),n=Qi(n,":",""),n=Qi(n,",",""),(n=Qi(n,";","")).length%2|0)throw Ge(Bt("Input string must have an even number of characters."));for(var e=function(t,n){return function(t,n,e,i){return function(t,n,e,i,r){i=i!==v&&i,function(t,n){if(!(t>0&&n>0))throw Ge(Bt(t!==n?"Both size "+t+" and step "+n+" must be greater than zero.":"size "+t+" must be greater than zero."))}(n,e=e===v?1:e);var s=Ft(t),o=fe((s/e|0)+(s%e|0?1:0)|0),u=0;t:for(;0<=u&&us){if(!i)break t;a=s}else a=h;var f=a;o.e(r(bt(t,u,f))),u=u+e|0}return o}(t,n,e=e===v?1:e,i=i!==v&&i,tt)}(t,n,n,!0)}(n,2),i=fe(ur(e,10)),r=e.g();r.h();){var s=Rn(Pi(r.i(),16));i.e(s)}return function(t){for(var n=new Int8Array(t.j()),e=0,i=t.g();i.h();){var r=i.i(),s=e;e=s+1|0,n[s]=r}return n}(i)}function Gc(t,n,e,i){this.timestamp=t,this.value=n,this.scaledValue=e,this.storage=i}function Xc(t,n,e,i,r,s,o,u,a,h,f,c,l,_,d){t=t===v?0:t,n=n===v?0:n,e=e===v?0:e,i=i===v?0:i,r=r===v?0:r,s=s===v?0:s,u=u===v?null:u,a=a===v?null:a,h=h===v?null:h,_=_===v?null:_,d=d===v?null:d,this.dif=t,this.storage=n,this.tariff=e,this.subUnit=i,this.function=r,this.vif=s,this.vifType=o,this.value=u,this.scaledValue=a,this.strValue=h,this.unit=f,this.symbol=c,this.exponent=l,this.isCompactProfile=_,this.values=d}function Jc(){}function $c(t,n,e,i,r,s,o,u,a,h){t=t===v?null:t,n=n===v?null:n,e=e===v?null:e,i=i===v?null:i,r=r===v?null:r,s=s===v?null:s,o=o===v?null:o,u=u===v?null:u,this.identificationNo=t,this.manufacturer=n,this.manufacturerCode=e,this.version=i,this.device=r,this.accessNo=s,this.status=o,this.config=u,this.records=a,this.alarms=h}function Qc(t){We(t,this),Kt(this,Qc)}function tl(t,n){try{var e="string"==typeof n?Kc(n):n instanceof Int8Array?n:$t();switch(t){case 20:case 21:case 22:return function(t){for(var n=function(t){for(var n=he(),e=t.g();e.h();){var i=e.i();n.e(nl(i))}return n}(t.jf_1),e=t.kf_1,i=fe(ur(e,10)),r=e.g();r.h();){var s=r.i().f1_1;i.e(s)}var o=i;return new $c(t.bf_1,t.cf_1,t.df_1,t.ef_1,t.ff_1,t.gf_1,t.hf_1,t.if_1,n,o)}(new Gf(e).nf());default:throw new Qc("Not implemented yet")}}catch(t){if(t instanceof If)throw new Qc(t.message);throw t}}function nl(t){if(null!=t.tb_1){for(var n=he(),e=t.tb_1.g();e.h();){var i=e.i(),r=Jt(Lf(i.ib_1,t.vb_1));n.e(new Gc(i.gb_1.b2(),i.ib_1.b2(),r,i.hb_1))}return n.j()>1&&Xn(n,new el(il)),new Xc(t.lb_1,t.nb_1,t.ob_1,t.pb_1,t.qb_1,t.mb_1,t.ub_1.f1_1,v,v,v,t.vb_1.rc_1.f1_1,t.vb_1.rc_1.bg_1,t.vb_1.sc_1,!0,n)}return new Xc(t.lb_1,t.nb_1,t.ob_1,t.pb_1,t.qb_1,t.mb_1,t.ub_1.f1_1,t.rb_1.b2(),t.oc(),t.sb_1,t.vb_1.rc_1.f1_1,t.vb_1.rc_1.bg_1,t.vb_1.sc_1)}function el(t){this.rh_1=t}function il(t,n){return function(t,n){return t===n?0:null==t?-1:null==n?1:Ut(null!=t&&function(t){var n,e=typeof t;return"string"===e||"boolean"===e||"number"==typeof(n=t)||n instanceof Et||Pn(t,Z)}(t)?t:$t(),n)}(t.timestamp,n.timestamp)}function rl(t){return 20==t.fPort||21==t.fPort||22==t.fPort?{data:tl(t.fPort,new Int8Array(t.bytes))}:{}}gn(wf,"AlarmType",v,dt),Mn(Mf),gn(If,"LoRaParsingException",v,je),gn(Rf,"InvalidFrameException",v,If),Mn(Cf),gn(Ff,"DIF"),gn(bf,"ProfileValue"),gn(Yf,"DataRecord",Yf),gn(Pf,"DateTime"),gn(Uf,"Result"),gn(Wf,"MBusDataRecordParser"),Tn(jf,"MbusCompactProfileUtil"),gn(Kf,"MbusFrame"),gn(Gf,"MbusFrameParser"),gn(Jf,"TplHeaderType",v,dt),gn($f,"NoTPLHeader",$f),gn(Qf,"ShortTplHeader"),gn(tc,"LongTplHeader"),gn(ic,"VIF"),gn(sc,"VIFType",v,dt),gn(Oc,"VIFInfo"),Tn(gc,"VIFUtil"),gn(yc,"UnsupportedCiValueException",v,If),gn(Rc,"BaseUnit",v,dt),Mn(Hc),gn(Bc,"ValueUnit"),gn(jc,"ByteBuffer"),gn(Gc,"JsProfileValue"),gn(Xc,"JsDataRecord"),yn(Jc,"JsILoRaFrame"),gn($c,"JsMbusFrame",v,v,[Jc]),gn(Qc,"JsLoRaParsingException",v,je),gn(el,"sam$kotlin_Comparator$0",v,v,[jn,St]),Gt(Mf).wa=function(t){var n=He(),e=255&t;if(1&e&&n.e((Sf(),oa)),2&e&&n.e(gf()),8&e&&n.e((Sf(),ha)),16&e&&n.e(yf()),64&e&&n.e(Af()),128&e){var i=t>>8&255;4&i&&n.e(Df()),8&i&&n.e(vf()),16&i&&n.e(Nf()),32&i&&n.e(Tf()),64&i&&n.e((Sf(),la))}return n},Gt(Mf).xa=function(t){var n=He(),e=255&t;return 4&~e||n.e(gf()),144&~e||n.e(Df()),80&~e||n.e(Af()),72&~e||n.e(yf()),48&~e||n.e(Tf()),144&~e||n.e(Nf()),48&~e||n.e(vf()),n},Gt(Ff).toString=function(){return"DIF(dif="+this.ab_1+")"},Gt(Ff).hashCode=function(){return this.ab_1},Gt(Ff).equals=function(t){if(this===t)return!0;if(!(t instanceof Ff))return!1;var n=t instanceof Ff?t:$t();return this.ab_1===n.ab_1},Gt(bf).toString=function(){return"ProfileValue(timestamp="+this.gb_1.toString()+", storage="+this.hb_1+", value="+this.ib_1.toString()+", unit="+this.jb_1.toString()+")"},Gt(bf).hashCode=function(){var t=this.gb_1.hashCode();return t=Of(t,31)+this.hb_1|0,t=Of(t,31)+this.ib_1.hashCode()|0,Of(t,31)+this.jb_1.hashCode()|0},Gt(bf).equals=function(t){if(this===t)return!0;if(!(t instanceof bf))return!1;var n=t instanceof bf?t:$t();return!!this.gb_1.equals(n.gb_1)&&this.hb_1===n.hb_1&&!!this.ib_1.equals(n.ib_1)&&!!this.jb_1.equals(n.jb_1)},Gt(Yf).oc=function(){return Lf(this.rb_1,this.vb_1)},Gt(Yf).pc=function(t,n,e,i,r,s,o,u,a,h){return new Yf(t,n,e,i,r,s,o,u,a,h)},Gt(Yf).qc=function(t,n,e,i,r,s,o,u,a,h,f){return t=t===v?this.kb_1:t,n=n===v?this.lb_1:n,e=e===v?this.mb_1:e,i=i===v?this.nb_1:i,r=r===v?this.ob_1:r,s=s===v?this.pb_1:s,o=o===v?this.qb_1:o,u=u===v?this.rb_1:u,a=a===v?this.sb_1:a,h=h===v?this.tb_1:h,f===v?this.pc(t,n,e,i,r,s,o,u,a,h):f.pc.call(this,t,n,e,i,r,s,o,u,a,h)},Gt(Yf).toString=function(){return"DataRecord(index="+this.kb_1+", dif="+this.lb_1+", vif="+this.mb_1+", storage="+this.nb_1+", tariff="+this.ob_1+", subUnit="+this.pb_1+", function="+this.qb_1+", value="+this.rb_1.toString()+", strValue="+this.sb_1+", values="+pt(this.tb_1)+")"},Gt(Yf).hashCode=function(){var t=this.kb_1;return t=Of(t,31)+this.lb_1|0,t=Of(t,31)+this.mb_1|0,t=Of(t,31)+this.nb_1|0,t=Of(t,31)+this.ob_1|0,t=Of(t,31)+this.pb_1|0,t=Of(t,31)+this.qb_1|0,t=Of(t,31)+this.rb_1.hashCode()|0,t=Of(t,31)+(null==this.sb_1?0:Zt(this.sb_1))|0,Of(t,31)+(null==this.tb_1?0:zt(this.tb_1))|0},Gt(Yf).equals=function(t){if(this===t)return!0;if(!(t instanceof Yf))return!1;var n=t instanceof Yf?t:$t();return this.kb_1===n.kb_1&&this.lb_1===n.lb_1&&this.mb_1===n.mb_1&&this.nb_1===n.nb_1&&this.ob_1===n.ob_1&&this.pb_1===n.pb_1&&this.qb_1===n.qb_1&&!!this.rb_1.equals(n.rb_1)&&this.sb_1==n.sb_1&&!!Wt(this.tb_1,n.tb_1)},Gt(Pf).toString=function(){return this.uc_1+"-"+Zc(this.vc_1,2)+"-"+Zc(this.wc_1,2)+" "+Zc(this.xc_1,2)+":"+Zc(this.yc_1,2)+":"+Zc(this.zc_1,2)},Gt(Pf).hashCode=function(){var t=this.tc_1.hashCode();return t=Of(t,31)+this.uc_1|0,t=Of(t,31)+this.vc_1|0,t=Of(t,31)+this.wc_1|0,t=Of(t,31)+this.xc_1|0,t=Of(t,31)+this.yc_1|0,Of(t,31)+this.zc_1|0},Gt(Pf).equals=function(t){if(this===t)return!0;if(!(t instanceof Pf))return!1;var n=t instanceof Pf?t:$t();return!!this.tc_1.equals(n.tc_1)&&this.uc_1===n.uc_1&&this.vc_1===n.vc_1&&this.wc_1===n.wc_1&&this.xc_1===n.xc_1&&this.yc_1===n.yc_1&&this.zc_1===n.zc_1},Gt(Uf).toString=function(){return"Result(value="+this.ad_1.toString()+", strValue="+this.bd_1+")"},Gt(Uf).hashCode=function(){var t=this.ad_1.hashCode();return Of(t,31)+(null==this.bd_1?0:Zt(this.bd_1))|0},Gt(Uf).equals=function(t){if(this===t)return!0;if(!(t instanceof Uf))return!1;var n=t instanceof Uf?t:$t();return!!this.ad_1.equals(n.ad_1)&&this.bd_1==n.bd_1},Gt(Wf).je=function(){for(this.vd_1.j3();!this.ud_1.ke();){var t=kf(this);null!=t&&this.vd_1.e(t.qc(this.vd_1.j()))}return this.vd_1},Gt(jf).td=function(t,n){var e=n>>8&255;return 13==(15&t.ab_1)&&(30===e||31===e||19===e)},Gt(jf).ee=function(t){return 19==(t>>8&255)},Gt(jf).fe=function(t,n){return zf(0,t,pc(),n.cb_1)},Gt(jf).ge=function(t,n,e){return zf(0,t,e,n.cb_1)},Gt(jf).he=function(t,n,e,i,r){if(t.equals(new Et(-1,-1))||0===i)return new Et(-1,-1);if(1<=i&&i<=250||254===i){var s=qu().ha(t);if(i<=250){var o,u=r?0|-i:i;switch(e){case 0:o=Wu(s,n.o1(Yn(u)),Lu().p9_1);break;case 1:o=Wu(s,n.o1(Yn(u)),Lu().q9_1);break;case 2:o=Wu(s,n.o1(Yn(u)),Lu().r9_1);break;case 3:o=zu(s,n.o1(Yn(u)).p(),Lu().s9_1,Xu().ra_1);break;default:o=s}s=o}else{var a;switch(e){case 1:a=zu(s,n.o1(Yn(6)).p(),Lu().u9_1,Xu().ra_1);break;case 2:a=zu(s,n.o1(Yn(3)).p(),Lu().u9_1,Xu().ra_1);break;case 3:a=zu(s,n.p(),Lu().u9_1,Xu().ra_1);break;default:a=s}s=a}return s.ja()}return new Et(-1,-1)},Gt(jf).ie=function(t,n,e,i){var r=i?-1:1;switch(n){case 1:return t.m1(Fn(r).o1(Ti(e)));case 2:return t.n1(Fn(r).o1(Ti(e)));case 3:return t.m1(Fn(r).o1(e));default:return e}},Gt(Kf).toString=function(){return"MbusFrame(ci="+this.af_1+", identificationNo="+this.bf_1+", manufacturer="+this.cf_1+", manufacturerCode="+this.df_1+", version="+this.ef_1+", device="+this.ff_1+", accessNo="+this.gf_1+", status="+this.hf_1+", config="+this.if_1+", records="+Bt(this.jf_1)+", alarms="+Bt(this.kf_1)+")"},Gt(Kf).hashCode=function(){var t=null==this.af_1?0:this.af_1;return t=Of(t,31)+(null==this.bf_1?0:this.bf_1)|0,t=Of(t,31)+(null==this.cf_1?0:this.cf_1)|0,t=Of(t,31)+(null==this.df_1?0:Zt(this.df_1))|0,t=Of(t,31)+(null==this.ef_1?0:this.ef_1)|0,t=Of(t,31)+(null==this.ff_1?0:this.ff_1)|0,t=Of(t,31)+(null==this.gf_1?0:this.gf_1)|0,t=Of(t,31)+(null==this.hf_1?0:this.hf_1)|0,t=Of(t,31)+(null==this.if_1?0:this.if_1)|0,t=Of(t,31)+zt(this.jf_1)|0,Of(t,31)+zt(this.kf_1)|0},Gt(Kf).equals=function(t){if(this===t)return!0;if(!(t instanceof Kf))return!1;var n=t instanceof Kf?t:$t();return this.af_1==n.af_1&&this.bf_1==n.bf_1&&this.cf_1==n.cf_1&&this.df_1==n.df_1&&this.ef_1==n.ef_1&&this.ff_1==n.ff_1&&this.gf_1==n.gf_1&&this.hf_1==n.hf_1&&this.if_1==n.if_1&&!!Wt(this.jf_1,n.jf_1)&&!!Wt(this.kf_1,n.kf_1)},Gt(Gf).nf=function(){try{!function(t){if(144===t.lf_1.ae()){t.lf_1.be();var n=0,e=t.lf_1.be();if(n15?u>>8:u;var a=new Bc(o.vf_1,u+o.wf_1|0);return new ic(o.sf_1,o.tf_1,o.uf_1,a,o.xf_1)}}while(i<=r);return new ic(n,0,(rc(),ga),qc().wb_1,!1)},Gt(Bc).toString=function(){return"ValueUnit(baseUnit="+this.rc_1.toString()+", exponent="+this.sc_1+")"},Gt(Bc).hashCode=function(){var t=this.rc_1.hashCode();return Of(t,31)+this.sc_1|0},Gt(Bc).equals=function(t){if(this===t)return!0;if(!(t instanceof Bc))return!1;var n=t instanceof Bc?t:$t();return!!this.rc_1.equals(n.rc_1)&&this.sc_1===n.sc_1},Gt(jc).yd=function(){var t=this.wd_1.length-this.xd_1|0;return Math.max(0,t)},Gt(jc).ke=function(){return this.xd_1>=this.wd_1.length},Gt(jc).de=function(t){Wc(this,this.xd_1+t|0),this.xd_1=this.xd_1+t|0},Gt(jc).mf=function(){Wc(this,this.xd_1);var t=this.xd_1;return this.xd_1=t+1|0,this.wd_1[t]},Gt(jc).be=function(){return 255&this.mf()},Gt(jc).ae=function(){return Wc(this,this.xd_1),255&this.wd_1[this.xd_1]},Gt(jc).cg=function(){Wc(this,this.xd_1+1|0);var t=255&this.mf();return Cn((255&this.mf())<<8|t)},Gt(jc).rf=function(){return 65535&this.cg()},Gt(jc).ce=function(t){Wc(this,this.xd_1+t|0);var n="",e=(this.xd_1+t|0)-1|0,i=this.xd_1;if(i<=e)do{var r=e;e=e+-1|0;var s=255&this.wd_1[r];n+=zc(0,s>>4),n+=zc(0,15&s)}while(r!==i);return this.xd_1=this.xd_1+t|0,n},Gt(jc).zd=function(t){var n,e,i,r=(n=this.wd_1,e=this.xd_1,i=this.xd_1+t|0,R.h2(e,i,n.length),n.slice(e,i));return this.xd_1=this.xd_1+t|0,r},Gt(Gc).dg=function(){return this.timestamp},Gt(Gc).d1=function(){return this.value},Gt(Gc).oc=function(){return this.scaledValue},Gt(Gc).eg=function(){return this.storage},Gt(Gc).aa=function(){return this.timestamp},Gt(Gc).ba=function(){return this.value},Gt(Gc).fg=function(){return this.scaledValue},Gt(Gc).gg=function(){return this.storage},Gt(Gc).hg=function(t,n,e,i){return new Gc(t,n,e,i)},Gt(Gc).copy=function(t,n,e,i,r){return t=t===v?this.timestamp:t,n=n===v?this.value:n,e=e===v?this.scaledValue:e,i=i===v?this.storage:i,this.hg(t,n,e,i)},Gt(Gc).toString=function(){return"JsProfileValue(timestamp="+this.timestamp+", value="+this.value+", scaledValue="+this.scaledValue+", storage="+this.storage+")"},Gt(Gc).hashCode=function(){var t=Mt(this.timestamp);return t=Of(t,31)+Mt(this.value)|0,t=Of(t,31)+Mt(this.scaledValue)|0,Of(t,31)+this.storage|0},Gt(Gc).equals=function(t){if(this===t)return!0;if(!(t instanceof Gc))return!1;var n=t instanceof Gc?t:$t();return!!Wt(this.timestamp,n.timestamp)&&!!Wt(this.value,n.value)&&!!Wt(this.scaledValue,n.scaledValue)&&this.storage===n.storage},Gt(Xc).ig=function(){return this.dif},Gt(Xc).eg=function(){return this.storage},Gt(Xc).jg=function(){return this.tariff},Gt(Xc).kg=function(){return this.subUnit},Gt(Xc).lg=function(){return this.function},Gt(Xc).mg=function(){return this.vif},Gt(Xc).ng=function(){return this.vifType},Gt(Xc).d1=function(){return this.value},Gt(Xc).oc=function(){return this.scaledValue},Gt(Xc).og=function(){return this.strValue},Gt(Xc).pg=function(){return this.unit},Gt(Xc).qg=function(){return this.symbol},Gt(Xc).rg=function(){return this.exponent},Gt(Xc).sg=function(){return this.isCompactProfile},Gt(Xc).tg=function(){return this.values},Gt(Xc).aa=function(){return this.dif},Gt(Xc).ba=function(){return this.storage},Gt(Xc).fg=function(){return this.tariff},Gt(Xc).gg=function(){return this.subUnit},Gt(Xc).ug=function(){return this.function},Gt(Xc).vg=function(){return this.vif},Gt(Xc).wg=function(){return this.vifType},Gt(Xc).xg=function(){return this.value},Gt(Xc).yg=function(){return this.scaledValue},Gt(Xc).zg=function(){return this.strValue},Gt(Xc).ah=function(){return this.unit},Gt(Xc).bh=function(){return this.symbol},Gt(Xc).ch=function(){return this.exponent},Gt(Xc).dh=function(){return this.isCompactProfile},Gt(Xc).eh=function(){return this.values},Gt(Xc).fh=function(t,n,e,i,r,s,o,u,a,h,f,c,l,_,d){return new Xc(t,n,e,i,r,s,o,u,a,h,f,c,l,_,d)},Gt(Xc).copy=function(t,n,e,i,r,s,o,u,a,h,f,c,l,_,d,p){return t=t===v?this.dif:t,n=n===v?this.storage:n,e=e===v?this.tariff:e,i=i===v?this.subUnit:i,r=r===v?this.function:r,s=s===v?this.vif:s,o=o===v?this.vifType:o,u=u===v?this.value:u,a=a===v?this.scaledValue:a,h=h===v?this.strValue:h,f=f===v?this.unit:f,c=c===v?this.symbol:c,l=l===v?this.exponent:l,_=_===v?this.isCompactProfile:_,d=d===v?this.values:d,this.fh(t,n,e,i,r,s,o,u,a,h,f,c,l,_,d)},Gt(Xc).toString=function(){return"JsDataRecord(dif="+this.dif+", storage="+this.storage+", tariff="+this.tariff+", subUnit="+this.subUnit+", function="+this.function+", vif="+this.vif+", vifType="+this.vifType+", value="+this.value+", scaledValue="+this.scaledValue+", strValue="+this.strValue+", unit="+this.unit+", symbol="+this.symbol+", exponent="+this.exponent+", isCompactProfile="+this.isCompactProfile+", values="+pt(this.values)+")"},Gt(Xc).hashCode=function(){var t=this.dif;return t=Of(t,31)+this.storage|0,t=Of(t,31)+this.tariff|0,t=Of(t,31)+this.subUnit|0,t=Of(t,31)+this.function|0,t=Of(t,31)+this.vif|0,t=Of(t,31)+Zt(this.vifType)|0,t=Of(t,31)+(null==this.value?0:Mt(this.value))|0,t=Of(t,31)+(null==this.scaledValue?0:Mt(this.scaledValue))|0,t=Of(t,31)+(null==this.strValue?0:Zt(this.strValue))|0,t=Of(t,31)+Zt(this.unit)|0,t=Of(t,31)+(null==this.symbol?0:Zt(this.symbol))|0,t=Of(t,31)+this.exponent|0,t=Of(t,31)+(null==this.isCompactProfile?0:jt(this.isCompactProfile))|0,Of(t,31)+(null==this.values?0:zt(this.values))|0},Gt(Xc).equals=function(t){if(this===t)return!0;if(!(t instanceof Xc))return!1;var n=t instanceof Xc?t:$t();return this.dif===n.dif&&this.storage===n.storage&&this.tariff===n.tariff&&this.subUnit===n.subUnit&&this.function===n.function&&this.vif===n.vif&&this.vifType===n.vifType&&!!Wt(this.value,n.value)&&!!Wt(this.scaledValue,n.scaledValue)&&this.strValue==n.strValue&&this.unit===n.unit&&this.symbol==n.symbol&&this.exponent===n.exponent&&this.isCompactProfile==n.isCompactProfile&&!!Wt(this.values,n.values)},Gt($c).gh=function(){return this.identificationNo},Gt($c).hh=function(){return this.manufacturer},Gt($c).ih=function(){return this.manufacturerCode},Gt($c).jh=function(){return this.version},Gt($c).kh=function(){return this.device},Gt($c).lh=function(){return this.accessNo},Gt($c).mh=function(){return this.status},Gt($c).nh=function(){return this.config},Gt($c).oh=function(){return this.records},Gt($c).ph=function(){return this.alarms},Gt($c).aa=function(){return this.identificationNo},Gt($c).ba=function(){return this.manufacturer},Gt($c).fg=function(){return this.manufacturerCode},Gt($c).gg=function(){return this.version},Gt($c).ug=function(){return this.device},Gt($c).vg=function(){return this.accessNo},Gt($c).wg=function(){return this.status},Gt($c).xg=function(){return this.config},Gt($c).yg=function(){return this.records},Gt($c).zg=function(){return this.alarms},Gt($c).qh=function(t,n,e,i,r,s,o,u,a,h){return new $c(t,n,e,i,r,s,o,u,a,h)},Gt($c).copy=function(t,n,e,i,r,s,o,u,a,h,f){return t=t===v?this.identificationNo:t,n=n===v?this.manufacturer:n,e=e===v?this.manufacturerCode:e,i=i===v?this.version:i,r=r===v?this.device:r,s=s===v?this.accessNo:s,o=o===v?this.status:o,u=u===v?this.config:u,a=a===v?this.records:a,h=h===v?this.alarms:h,this.qh(t,n,e,i,r,s,o,u,a,h)},Gt($c).toString=function(){return"JsMbusFrame(identificationNo="+this.identificationNo+", manufacturer="+this.manufacturer+", manufacturerCode="+this.manufacturerCode+", version="+this.version+", device="+this.device+", accessNo="+this.accessNo+", status="+this.status+", config="+this.config+", records="+Bt(this.records)+", alarms="+Bt(this.alarms)+")"},Gt($c).hashCode=function(){var t=null==this.identificationNo?0:this.identificationNo;return t=Of(t,31)+(null==this.manufacturer?0:this.manufacturer)|0,t=Of(t,31)+(null==this.manufacturerCode?0:Zt(this.manufacturerCode))|0,t=Of(t,31)+(null==this.version?0:this.version)|0,t=Of(t,31)+(null==this.device?0:this.device)|0,t=Of(t,31)+(null==this.accessNo?0:this.accessNo)|0,t=Of(t,31)+(null==this.status?0:this.status)|0,t=Of(t,31)+(null==this.config?0:this.config)|0,t=Of(t,31)+zt(this.records)|0,Of(t,31)+zt(this.alarms)|0},Gt($c).equals=function(t){if(this===t)return!0;if(!(t instanceof $c))return!1;var n=t instanceof $c?t:$t();return this.identificationNo==n.identificationNo&&this.manufacturer==n.manufacturer&&this.manufacturerCode==n.manufacturerCode&&this.version==n.version&&this.device==n.device&&this.accessNo==n.accessNo&&this.status==n.status&&this.config==n.config&&!!Wt(this.records,n.records)&&!!Wt(this.alarms,n.alarms)},Gt(el).c7=function(t,n){return this.rh_1(t,n)},Gt(el).compare=function(t,n){return this.c7(t,n)},Gt(el).c2=function(){return this.rh_1},Gt(el).equals=function(t){return!(null==t||!Pn(t,jn))&&(!(null==t||!Pn(t,St))&&Wt(this.c2(),t.c2()))},Gt(el).hashCode=function(){return zt(this.c2())},da=new Mf,new Cf;const sl={decodeUplink:rl};return i})());