n V(e,t){Rs[e]=t}function j(e){var t=[];for(var n in e)t.push({unit:n,priority:Rs[n]});return t.sort(function(e,t){return e.priority-t.priority}),t}function N(t,n){return function(s){return null!=s?(E(this,t,s),e.updateOffset(this,n),this):A(this,t)}}function A(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function E(e,t,n){e.isValid()&&e._d["set"+(e._isUTC?"UTC":"")+t](n)}function I(e){return e=L(e),O(this[e])?this[e]():this}function z(e,t){if("object"==typeof e){e=G(e);for(var n=j(e),s=0