UNPKG

bt-tools

Version:
1 lines 85.4 kB
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.BtTools=e():t.BtTools=e()}(self,function(){return(()=>{var r={99:(t,e,r)=>{"use strict";function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}r.d(e,{default:()=>i});r(86);var e=r(3776),o=r.n(e);const i={isJsonStr:function(t){if("string"==typeof t)try{var e=JSON.parse(t);return"object"===n(e)&&e?!0:!1}catch(t){return!1}},plus:function(t,e){return new(o())(t).add(e).toNumber()},minus:function(t,e){return new(o())(t).sub(e).toNumber()},times:function(t,e){return new(o())(t).mul(e).toNumber()},div:function(t,e){return new(o())(t).div(e).toNumber()}}},3780:(t,e,r)=>{"use strict";r.d(e,{default:()=>n});var e=r(9600),e=r(129),s=r.n(e),a=r(99);const n=function(t){null!=t&&t.data&&a.default.isJsonStr(null==t?void 0:t.data)&&(t.data=JSON.parse(null==t?void 0:t.data));var e=(u=t||{}).method,r=u.url,n=u.params,o=u.data,i=u.notEncrypt,t=u.decodeData,u=u.decodeParams,n=i?n:u,o=i?o:t;return[e,r,s().stringify(n),s().stringify(o)].join("_")}},1924:(t,e,r)=>{"use strict";var n=r(210),o=r(5559),i=o(n("String.prototype.indexOf"));t.exports=function(t,e){e=n(t,!!e);return"function"==typeof e&&-1<i(t,".prototype.")?o(e):e}},5559:(t,e,r)=>{"use strict";var n=r(8612),r=r(210),o=r("%Function.prototype.apply%"),i=r("%Function.prototype.call%"),u=r("%Reflect.apply%",!0)||n.call(i,o),s=r("%Object.getOwnPropertyDescriptor%",!0),a=r("%Object.defineProperty%",!0),c=r("%Math.max%");if(a)try{a({},"a",{value:1})}catch(t){a=null}t.exports=function(t){var e=u(n,i,arguments);return s&&a&&s(e,"length").configurable&&a(e,"length",{value:1+c(0,t.length-(arguments.length-1))}),e};r=function(){return u(n,o,arguments)};a?a(t.exports,"apply",{value:r}):t.exports.apply=r},3099:t=>{t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},6077:(t,e,r)=>{var n=r(111);t.exports=function(t){if(!n(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},1223:(t,e,r)=>{var n=r(5112),o=r(30),r=r(3070),i=n("unscopables"),u=Array.prototype;null==u[i]&&r.f(u,i,{configurable:!0,value:o(null)}),t.exports=function(t){u[i][t]=!0}},5787:t=>{t.exports=function(t,e,r){if(!(t instanceof e))throw TypeError("Incorrect "+(r?r+" ":"")+"invocation");return t}},9670:(t,e,r)=>{var n=r(111);t.exports=function(t){if(!n(t))throw TypeError(String(t)+" is not an object");return t}},1318:(t,e,r)=>{var a=r(5656),c=r(7466),f=r(1400),r=function(s){return function(t,e,r){var n,o=a(t),i=c(o.length),u=f(r,i);if(s&&e!=e){for(;u<i;)if((n=o[u++])!=n)return!0}else for(;u<i;u++)if((s||u in o)&&o[u]===e)return s||u||0;return!s&&-1}};t.exports={includes:r(!0),indexOf:r(!1)}},9341:(t,e,r)=>{"use strict";var n=r(7293);t.exports=function(t,e){var r=[][t];return!!r&&n(function(){r.call(null,e||function(){throw 1},1)})}},7072:(t,e,r)=>{var o=r(5112)("iterator"),i=!1;try{var n=0,u={next:function(){return{done:!!n++}},return:function(){i=!0}};u[o]=function(){return this},Array.from(u,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!i)return!1;var r=!1;try{var n={};n[o]=function(){return{next:function(){return{done:r=!0}}}},t(n)}catch(t){}return r}},4326:t=>{var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},648:(t,e,r)=>{var n=r(1694),o=r(4326),i=r(5112)("toStringTag"),u="Arguments"==o(function(){return arguments}());t.exports=n?o:function(t){var e;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(t=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),i))?t:u?o(e):"Object"==(t=o(e))&&"function"==typeof e.callee?"Arguments":t}},5631:(t,e,r)=>{"use strict";var c=r(3070).f,f=r(30),l=r(2248),p=r(9974),y=r(5787),d=r(408),u=r(654),s=r(6340),h=r(9781),g=r(2423).fastKey,r=r(9909),v=r.set,m=r.getterFor;t.exports={getConstructor:function(t,r,n,o){function i(t,e,r){var n,o=s(t),i=a(t,e);return i?i.value=r:(o.last=i={index:n=g(e,!0),key:e,value:r,previous:r=o.last,next:void 0,removed:!1},o.first||(o.first=i),r&&(r.next=i),h?o.size++:t.size++,"F"!==n&&(o.index[n]=i)),t}var u=t(function(t,e){y(t,u,r),v(t,{type:r,index:f(null),first:void 0,last:void 0,size:0}),h||(t.size=0),null!=e&&d(e,t[o],{that:t,AS_ENTRIES:n})}),s=m(r),a=function(t,e){var r,n=s(t),t=g(e);if("F"!==t)return n.index[t];for(r=n.first;r;r=r.next)if(r.key==e)return r};return l(u.prototype,{clear:function(){for(var t=s(this),e=t.index,r=t.first;r;)r.removed=!0,r.previous&&(r.previous=r.previous.next=void 0),delete e[r.index],r=r.next;t.first=t.last=void 0,h?t.size=0:this.size=0},delete:function(t){var e,r=s(this),n=a(this,t);return n&&(e=n.next,t=n.previous,delete r.index[n.index],n.removed=!0,t&&(t.next=e),e&&(e.previous=t),r.first==n&&(r.first=e),r.last==n&&(r.last=t),h?r.size--:this.size--),!!n},forEach:function(t){for(var e,r=s(this),n=p(t,1<arguments.length?arguments[1]:void 0,3);e=e?e.next:r.first;)for(n(e.value,e.key,this);e&&e.removed;)e=e.previous},has:function(t){return!!a(this,t)}}),l(u.prototype,n?{get:function(t){t=a(this,t);return t&&t.value},set:function(t,e){return i(this,0===t?0:t,e)}}:{add:function(t){return i(this,t=0===t?0:t,t)}}),h&&c(u.prototype,"size",{get:function(){return s(this).size}}),u},setStrong:function(t,e,r){var n=e+" Iterator",o=m(e),i=m(n);u(t,e,function(t,e){v(this,{type:n,target:t,state:o(t),kind:e,last:void 0})},function(){for(var t=i(this),e=t.kind,r=t.last;r&&r.removed;)r=r.previous;return t.target&&(t.last=r=r?r.next:t.state.first)?"keys"==e?{value:r.key,done:!1}:"values"==e?{value:r.value,done:!1}:{value:[r.key,r.value],done:!1}:{value:t.target=void 0,done:!0}},r?"entries":"values",!r,!0),s(e)}}},7710:(t,e,r)=>{"use strict";var g=r(2109),v=r(7854),m=r(4705),b=r(1320),w=r(2423),x=r(408),S=r(5787),O=r(111),j=r(7293),A=r(7072),N=r(8003),E=r(9587);t.exports=function(r,t,e){function n(t){var r=y[t];b(y,t,"add"==t?function(t){return r.call(this,0===t?0:t),this}:"delete"==t?function(t){return!(f&&!O(t))&&r.call(this,0===t?0:t)}:"get"==t?function(t){return f&&!O(t)?void 0:r.call(this,0===t?0:t)}:"has"==t?function(t){return!(f&&!O(t))&&r.call(this,0===t?0:t)}:function(t,e){return r.call(this,0===t?0:t,e),this})}var o,i,u,s,a,c=-1!==r.indexOf("Map"),f=-1!==r.indexOf("Weak"),l=c?"set":"add",p=v[r],y=p&&p.prototype,d=p,h={};return m(r,"function"!=typeof p||!(f||y.forEach&&!j(function(){(new p).entries().next()})))?(d=e.getConstructor(t,r,c,l),w.REQUIRED=!0):m(r,!0)&&(i=(o=new d)[l](f?{}:-0,1)!=o,u=j(function(){o.has(1)}),s=A(function(t){new p(t)}),a=!f&&j(function(){for(var t=new p,e=5;e--;)t[l](e,e);return!t.has(-0)}),s||(((d=t(function(t,e){S(t,d,r);t=E(new p,t,d);return null!=e&&x(e,t[l],{that:t,AS_ENTRIES:c}),t})).prototype=y).constructor=d),(u||a)&&(n("delete"),n("has"),c&&n("get")),(a||i)&&n(l),f&&y.clear&&delete y.clear),h[r]=d,g({global:!0,forced:d!=p},h),N(d,r),f||e.setStrong(d,r,c),d}},9920:(t,e,r)=>{var s=r(6656),a=r(3887),c=r(1236),f=r(3070);t.exports=function(t,e){for(var r=a(e),n=f.f,o=c.f,i=0;i<r.length;i++){var u=r[i];s(t,u)||n(t,u,o(e,u))}}},8544:(t,e,r)=>{r=r(7293);t.exports=!r(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})},4230:(t,e,r)=>{var i=r(4488),u=/"/g;t.exports=function(t,e,r,n){var o=String(i(t)),t="<"+e;return""!==r&&(t+=" "+r+'="'+String(n).replace(u,"&quot;")+'"'),t+">"+o+"</"+e+">"}},4994:(t,e,r)=>{"use strict";function n(){return this}var o=r(3383).IteratorPrototype,i=r(30),u=r(9114),s=r(8003),a=r(7497);t.exports=function(t,e,r){e+=" Iterator";return t.prototype=i(o,{next:u(1,r)}),s(t,e,!1,!0),a[e]=n,t}},8880:(t,e,r)=>{var n=r(9781),o=r(3070),i=r(9114);t.exports=n?function(t,e,r){return o.f(t,e,i(1,r))}:function(t,e,r){return t[e]=r,t}},9114:t=>{t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},654:(t,e,r)=>{"use strict";function h(){return this}var g=r(2109),v=r(4994),m=r(9518),b=r(7674),w=r(8003),x=r(8880),S=r(1320),n=r(5112),O=r(1913),j=r(7497),r=r(3383),A=r.IteratorPrototype,N=r.BUGGY_SAFARI_ITERATORS,E=n("iterator"),P="values",k="entries";t.exports=function(t,e,r,n,o,i,u){v(r,e,n);function s(t){if(t===o&&d)return d;if(!N&&t in p)return p[t];switch(t){case"keys":case P:case k:return function(){return new r(this,t)}}return function(){return new r(this)}}var a,c,f=e+" Iterator",l=!1,p=t.prototype,y=p[E]||p["@@iterator"]||o&&p[o],d=!N&&y||s(o),n="Array"==e&&p.entries||y;if(n&&(t=m(n.call(new t)),A!==Object.prototype&&t.next&&(O||m(t)===A||(b?b(t,A):"function"!=typeof t[E]&&x(t,E,h)),w(t,f,!0,!0),O&&(j[f]=h))),o==P&&y&&y.name!==P&&(l=!0,d=function(){return y.call(this)}),O&&!u||p[E]===d||x(p,E,d),j[e]=d,o)if(a={values:s(P),keys:i?d:s("keys"),entries:s(k)},u)for(c in a)!N&&!l&&c in p||S(p,c,a[c]);else g({target:e,proto:!0,forced:N||l},a);return a}},9781:(t,e,r)=>{r=r(7293);t.exports=!r(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})},317:(t,e,r)=>{var n=r(7854),r=r(111),o=n.document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},8324:t=>{t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},8113:(t,e,r)=>{r=r(5005);t.exports=r("navigator","userAgent")||""},7392:(t,e,r)=>{var n,o,i=r(7854),r=r(8113),i=i.process,i=i&&i.versions,i=i&&i.v8;i?o=(n=i.split("."))[0]<4?1:n[0]+n[1]:r&&(!(n=r.match(/Edge\/(\d+)/))||74<=n[1])&&(n=r.match(/Chrome\/(\d+)/))&&(o=n[1]),t.exports=o&&+o},748:t=>{t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2109:(t,e,r)=>{var c=r(7854),f=r(1236).f,l=r(8880),p=r(1320),y=r(3505),d=r(9920),h=r(4705);t.exports=function(t,e){var r,n,o,i=t.target,u=t.global,s=t.stat,a=u?c:s?c[i]||y(i,{}):(c[i]||{}).prototype;if(a)for(r in e){if(n=e[r],o=t.noTargetGet?(o=f(a,r))&&o.value:a[r],!h(u?r:i+(s?".":"#")+r,t.forced)&&void 0!==o){if(typeof n==typeof o)continue;d(n,o)}(t.sham||o&&o.sham)&&l(n,"sham",!0),p(a,r,n,t)}}},7293:t=>{t.exports=function(t){try{return!!t()}catch(t){return!0}}},6677:(t,e,r)=>{r=r(7293);t.exports=!r(function(){return Object.isExtensible(Object.preventExtensions({}))})},9974:(t,e,r)=>{var i=r(3099);t.exports=function(n,o,t){if(i(n),void 0===o)return n;switch(t){case 0:return function(){return n.call(o)};case 1:return function(t){return n.call(o,t)};case 2:return function(t,e){return n.call(o,t,e)};case 3:return function(t,e,r){return n.call(o,t,e,r)}}return function(){return n.apply(o,arguments)}}},5005:(t,e,r)=>{function n(t){return"function"==typeof t?t:void 0}var o=r(857),i=r(7854);t.exports=function(t,e){return arguments.length<2?n(o[t])||n(i[t]):o[t]&&o[t][e]||i[t]&&i[t][e]}},1246:(t,e,r)=>{var n=r(648),o=r(7497),i=r(5112)("iterator");t.exports=function(t){if(null!=t)return t[i]||t["@@iterator"]||o[n(t)]}},7854:(t,e,r)=>{function n(t){return t&&t.Math==Math&&t}t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||function(){return this}()||Function("return this")()},6656:(t,e,r)=>{var n=r(7908),o={}.hasOwnProperty;t.exports=Object.hasOwn||function(t,e){return o.call(n(t),e)}},3501:t=>{t.exports={}},490:(t,e,r)=>{r=r(5005);t.exports=r("document","documentElement")},4664:(t,e,r)=>{var n=r(9781),o=r(7293),i=r(317);t.exports=!n&&!o(function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a})},8361:(t,e,r)=>{var n=r(7293),o=r(4326),i="".split;t.exports=n(function(){return!Object("z").propertyIsEnumerable(0)})?function(t){return"String"==o(t)?i.call(t,""):Object(t)}:Object},9587:(t,e,r)=>{var i=r(111),u=r(7674);t.exports=function(t,e,r){var n,o;return u&&"function"==typeof(n=e.constructor)&&n!==r&&i(o=n.prototype)&&o!==r.prototype&&u(t,o),t}},2788:(t,e,r)=>{var r=r(5465),n=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(t){return n.call(t)}),t.exports=r.inspectSource},2423:(t,e,r)=>{function n(t){s(t,f,{value:{objectID:"O"+l++,weakData:{}}})}var o=r(3501),i=r(111),u=r(6656),s=r(3070).f,a=r(9711),c=r(6677),f=a("meta"),l=0,p=Object.isExtensible||function(){return!0},y=t.exports={REQUIRED:!1,fastKey:function(t,e){if(!i(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!u(t,f)){if(!p(t))return"F";if(!e)return"E";n(t)}return t[f].objectID},getWeakData:function(t,e){if(!u(t,f)){if(!p(t))return!0;if(!e)return!1;n(t)}return t[f].weakData},onFreeze:function(t){return c&&y.REQUIRED&&p(t)&&!u(t,f)&&n(t),t}};o[f]=!0},9909:(t,e,r)=>{var n,o,i,u,s,a,c,f,l=r(8536),p=r(7854),y=r(111),d=r(8880),h=r(6656),g=r(5465),v=r(6200),r=r(3501),m="Object already initialized",p=p.WeakMap;c=l||g.state?(n=g.state||(g.state=new p),o=n.get,i=n.has,u=n.set,s=function(t,e){if(i.call(n,t))throw new TypeError(m);return e.facade=t,u.call(n,t,e),e},a=function(t){return o.call(n,t)||{}},function(t){return i.call(n,t)}):(r[f=v("state")]=!0,s=function(t,e){if(h(t,f))throw new TypeError(m);return e.facade=t,d(t,f,e),e},a=function(t){return h(t,f)?t[f]:{}},function(t){return h(t,f)}),t.exports={set:s,get:a,has:c,enforce:function(t){return c(t)?a(t):s(t,{})},getterFor:function(r){return function(t){var e;if(!y(t)||(e=a(t)).type!==r)throw TypeError("Incompatible receiver, "+r+" required");return e}}}},7659:(t,e,r)=>{var n=r(5112),o=r(7497),i=n("iterator"),u=Array.prototype;t.exports=function(t){return void 0!==t&&(o.Array===t||u[i]===t)}},4705:(t,e,r)=>{var n=r(7293),o=/#|\.prototype\./,r=function(t,e){t=u[i(t)];return t==a||t!=s&&("function"==typeof e?n(e):!!e)},i=r.normalize=function(t){return String(t).replace(o,".").toLowerCase()},u=r.data={},s=r.NATIVE="N",a=r.POLYFILL="P";t.exports=r},111:t=>{t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},1913:t=>{t.exports=!1},408:(t,e,r)=>{function g(t,e){this.stopped=t,this.result=e}var v=r(9670),m=r(7659),b=r(7466),w=r(9974),x=r(1246),S=r(9212);t.exports=function(t,e,r){function n(t){return i&&S(i),new g(!0,t)}function o(t){return p?(v(t),d?h(t[0],t[1],n):h(t[0],t[1])):d?h(t,n):h(t)}var i,u,s,a,c,f,l=r&&r.that,p=!(!r||!r.AS_ENTRIES),y=!(!r||!r.IS_ITERATOR),d=!(!r||!r.INTERRUPTED),h=w(e,l,1+p+d);if(y)i=t;else{if("function"!=typeof(y=x(t)))throw TypeError("Target is not iterable");if(m(y)){for(u=0,s=b(t.length);u<s;u++)if((a=o(t[u]))&&a instanceof g)return a;return new g(!1)}i=y.call(t)}for(c=i.next;!(f=c.call(i)).done;){try{a=o(f.value)}catch(t){throw S(i),t}if("object"==typeof a&&a&&a instanceof g)return a}return new g(!1)}},9212:(t,e,r)=>{var n=r(9670);t.exports=function(t){var e=t.return;if(void 0!==e)return n(e.call(t)).value}},3383:(t,e,r)=>{"use strict";var n,o=r(7293),i=r(9518),u=r(8880),s=r(6656),a=r(5112),c=r(1913),f=a("iterator"),r=!1;[].keys&&("next"in(a=[].keys())?(a=i(i(a)))!==Object.prototype&&(n=a):r=!0);o=null==n||o(function(){var t={};return n[f].call(t)!==t});o&&(n={}),c&&!o||s(n,f)||u(n,f,function(){return this}),t.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:r}},7497:t=>{t.exports={}},133:(t,e,r)=>{var n=r(7392),r=r(7293);t.exports=!!Object.getOwnPropertySymbols&&!r(function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&n&&n<41})},8536:(t,e,r)=>{var n=r(7854),r=r(2788),n=n.WeakMap;t.exports="function"==typeof n&&/native code/.test(r(n))},30:(t,e,r)=>{function n(){}function o(t){return"<script>"+t+"</"+y+">"}var i,u=r(9670),s=r(6048),a=r(748),c=r(3501),f=r(490),l=r(317),r=r(6200),p="prototype",y="script",d=r("IE_PROTO"),h=function(){try{i=document.domain&&new ActiveXObject("htmlfile")}catch(t){}var t;h=i?function(t){t.write(o("")),t.close();var e=t.parentWindow.Object;return t=null,e}(i):((t=l("iframe")).style.display="none",f.appendChild(t),t.src=String("javascript:"),(t=t.contentWindow.document).open(),t.write(o("document.F=Object")),t.close(),t.F);for(var e=a.length;e--;)delete h[p][a[e]];return h()};c[d]=!0,t.exports=Object.create||function(t,e){var r;return null!==t?(n[p]=u(t),r=new n,n[p]=null,r[d]=t):r=h(),void 0===e?r:s(r,e)}},6048:(t,e,r)=>{var n=r(9781),u=r(3070),s=r(9670),a=r(1956);t.exports=n?Object.defineProperties:function(t,e){s(t);for(var r,n=a(e),o=n.length,i=0;i<o;)u.f(t,r=n[i++],e[r]);return t}},3070:(t,e,r)=>{var n=r(9781),o=r(4664),i=r(9670),u=r(7593),s=Object.defineProperty;e.f=n?s:function(t,e,r){if(i(t),e=u(e,!0),i(r),o)try{return s(t,e,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},1236:(t,e,r)=>{var n=r(9781),o=r(5296),i=r(9114),u=r(5656),s=r(7593),a=r(6656),c=r(4664),f=Object.getOwnPropertyDescriptor;e.f=n?f:function(t,e){if(t=u(t),e=s(e,!0),c)try{return f(t,e)}catch(t){}if(a(t,e))return i(!o.f.call(t,e),t[e])}},8006:(t,e,r)=>{var n=r(6324),o=r(748).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,o)}},5181:(t,e)=>{e.f=Object.getOwnPropertySymbols},9518:(t,e,r)=>{var n=r(6656),o=r(7908),i=r(6200),r=r(8544),u=i("IE_PROTO"),s=Object.prototype;t.exports=r?Object.getPrototypeOf:function(t){return t=o(t),n(t,u)?t[u]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?s:null}},6324:(t,e,r)=>{var u=r(6656),s=r(5656),a=r(1318).indexOf,c=r(3501);t.exports=function(t,e){var r,n=s(t),o=0,i=[];for(r in n)!u(c,r)&&u(n,r)&&i.push(r);for(;e.length>o;)u(n,r=e[o++])&&(~a(i,r)||i.push(r));return i}},1956:(t,e,r)=>{var n=r(6324),o=r(748);t.exports=Object.keys||function(t){return n(t,o)}},5296:(t,e)=>{"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,o=n&&!r.call({1:2},1);e.f=o?function(t){t=n(this,t);return!!t&&t.enumerable}:r},7674:(t,e,r)=>{var o=r(9670),i=r(6077);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var r,n=!1,t={};try{(r=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(t,[]),n=t instanceof Array}catch(t){}return function(t,e){return o(t),i(e),n?r.call(t,e):t.__proto__=e,t}}():void 0)},288:(t,e,r)=>{"use strict";var n=r(1694),o=r(648);t.exports=n?{}.toString:function(){return"[object "+o(this)+"]"}},3887:(t,e,r)=>{var n=r(5005),o=r(8006),i=r(5181),u=r(9670);t.exports=n("Reflect","ownKeys")||function(t){var e=o.f(u(t)),r=i.f;return r?e.concat(r(t)):e}},857:(t,e,r)=>{r=r(7854);t.exports=r},2248:(t,e,r)=>{var o=r(1320);t.exports=function(t,e,r){for(var n in e)o(t,n,e[n],r);return t}},1320:(t,e,r)=>{var s=r(7854),a=r(8880),c=r(6656),f=r(3505),n=r(2788),r=r(9909),o=r.get,l=r.enforce,p=String(String).split("String");(t.exports=function(t,e,r,n){var o=!!n&&!!n.unsafe,i=!!n&&!!n.enumerable,u=!!n&&!!n.noTargetGet;"function"==typeof r&&("string"!=typeof e||c(r,"name")||a(r,"name",e),(n=l(r)).source||(n.source=p.join("string"==typeof e?e:""))),t!==s?(o?!u&&t[e]&&(i=!0):delete t[e],i?t[e]=r:a(t,e,r)):i?t[e]=r:f(e,r)})(Function.prototype,"toString",function(){return"function"==typeof this&&o(this).source||n(this)})},4488:t=>{t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},3505:(t,e,r)=>{var n=r(7854),o=r(8880);t.exports=function(e,r){try{o(n,e,r)}catch(t){n[e]=r}return r}},6340:(t,e,r)=>{"use strict";var n=r(5005),o=r(3070),i=r(5112),u=r(9781),s=i("species");t.exports=function(t){var e=n(t),t=o.f;u&&e&&!e[s]&&t(e,s,{configurable:!0,get:function(){return this}})}},8003:(t,e,r)=>{var n=r(3070).f,o=r(6656),i=r(5112)("toStringTag");t.exports=function(t,e,r){t&&!o(t=r?t:t.prototype,i)&&n(t,i,{configurable:!0,value:e})}},6200:(t,e,r)=>{var n=r(2309),o=r(9711),i=n("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},5465:(t,e,r)=>{var n=r(7854),o=r(3505),r="__core-js_shared__",r=n[r]||o(r,{});t.exports=r},2309:(t,e,r)=>{var n=r(1913),o=r(5465);(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.15.2",mode:n?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},3429:(t,e,r)=>{var n=r(7293);t.exports=function(e){return n(function(){var t=""[e]('"');return t!==t.toLowerCase()||3<t.split('"').length})}},8710:(t,e,r)=>{var u=r(9958),s=r(4488),r=function(i){return function(t,e){var r,n=String(s(t)),o=u(e),t=n.length;return o<0||t<=o?i?"":void 0:(e=n.charCodeAt(o))<55296||56319<e||o+1===t||(r=n.charCodeAt(o+1))<56320||57343<r?i?n.charAt(o):e:i?n.slice(o,o+2):r-56320+(e-55296<<10)+65536}};t.exports={codeAt:r(!1),charAt:r(!0)}},1400:(t,e,r)=>{var n=r(9958),o=Math.max,i=Math.min;t.exports=function(t,e){t=n(t);return t<0?o(t+e,0):i(t,e)}},5656:(t,e,r)=>{var n=r(8361),o=r(4488);t.exports=function(t){return n(o(t))}},9958:t=>{var e=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(0<t?r:e)(t)}},7466:(t,e,r)=>{var n=r(9958),o=Math.min;t.exports=function(t){return 0<t?o(n(t),9007199254740991):0}},7908:(t,e,r)=>{var n=r(4488);t.exports=function(t){return Object(n(t))}},7593:(t,e,r)=>{var o=r(111);t.exports=function(t,e){if(!o(t))return t;var r,n;if(e&&"function"==typeof(r=t.toString)&&!o(n=r.call(t)))return n;if("function"==typeof(r=t.valueOf)&&!o(n=r.call(t)))return n;if(!e&&"function"==typeof(r=t.toString)&&!o(n=r.call(t)))return n;throw TypeError("Can't convert object to primitive value")}},1694:(t,e,r)=>{var n={};n[r(5112)("toStringTag")]="z",t.exports="[object z]"===String(n)},9711:t=>{var e=0,r=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++e+r).toString(36)}},3307:(t,e,r)=>{r=r(133);t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},5112:(t,e,r)=>{var n=r(7854),o=r(2309),i=r(6656),u=r(9711),s=r(133),r=r(3307),a=o("wks"),c=n.Symbol,f=r?c:c&&c.withoutSetter||u;t.exports=function(t){return i(a,t)&&(s||"string"==typeof a[t])||(s&&i(c,t)?a[t]=c[t]:a[t]=f("Symbol."+t)),a[t]}},6992:(t,e,r)=>{"use strict";var n=r(5656),o=r(1223),i=r(7497),u=r(9909),r=r(654),s="Array Iterator",a=u.set,c=u.getterFor(s);t.exports=r(Array,"Array",function(t,e){a(this,{type:s,target:n(t),index:0,kind:e})},function(){var t=c(this),e=t.target,r=t.kind,n=t.index++;return!e||n>=e.length?{value:t.target=void 0,done:!0}:"keys"==r?{value:n,done:!1}:"values"==r?{value:e[n],done:!1}:{value:[n,e[n]],done:!1}},"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},9600:(t,e,r)=>{"use strict";var n=r(2109),o=r(8361),i=r(5656),r=r(9341),u=[].join,o=o!=Object,r=r("join",",");n({target:"Array",proto:!0,forced:o||!r},{join:function(t){return u.call(i(this),void 0===t?",":t)}})},1532:(t,e,r)=>{"use strict";var n=r(7710),r=r(5631);t.exports=n("Map",function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},r)},1539:(t,e,r)=>{var n=r(1694),o=r(1320),r=r(288);n||o(Object.prototype,"toString",r,{unsafe:!0})},8783:(t,e,r)=>{"use strict";var n=r(8710).charAt,o=r(9909),r=r(654),i="String Iterator",u=o.set,s=o.getterFor(i);r(String,"String",function(t){u(this,{type:i,string:String(t),index:0})},function(){var t=s(this),e=t.string,r=t.index;return r>=e.length?{value:void 0,done:!0}:(r=n(e,r),t.index+=r.length,{value:r,done:!1})})},86:(t,e,r)=>{"use strict";var n=r(2109),o=r(4230);n({target:"String",proto:!0,forced:r(3429)("sub")},{sub:function(){return o(this,"sub","","")}})},3948:(t,e,r)=>{var n,o=r(7854),i=r(8324),u=r(6992),s=r(8880),r=r(5112),a=r("iterator"),c=r("toStringTag"),f=u.values;for(n in i){var l=o[n],p=l&&l.prototype;if(p){if(p[a]!==f)try{s(p,a,f)}catch(t){p[a]=f}if(p[c]||s(p,c,n),i[n])for(var y in u)if(p[y]!==u[y])try{s(p,y,u[y])}catch(t){p[y]=u[y]}}}},3776:function(Ut,qt,Bt){var Wt;!function(){"use strict";var f,k,i,u=9e15,d=1e9,h="0123456789abcdef",n="2.3025850929940456840179914546843642076011014886287729760333279009675726096773524802359972050895982983419677840422862486334095254650828067566662873690987816894829072083255546808437998948262331985283935053089653777326288461633662222876982198867465436674744042432743651550489343149393914796194044002221051017141748003688084012647080685567743216228355220114804663715659121373450747856947683463616792101806445070648000277502684916746550586856935673420670581136429224554405758925724208241314695689016758940256776311356919292033376587141660230105703089634572075440370847469940168269282808481184289314848524948644871927809676271275775397027668605952496716674183485704422507197965004714951050492214776567636938662976979522110718264549734772662425709429322582798502585509785265383207606726317164309505995087807523710333101197857547331541421808427543863591778117054309827482385045648019095610299291824318237525357709750539565187697510374970888692180205189339507238539205144634197265287286965110862571492198849978748873771345686209167058",o="3.1415926535897932384626433832795028841971693993751058209749445923078164062862089986280348253421170679821480865132823066470938446095505822317253594081284811174502841027019385211055596446229489549303819644288109756659334461284756482337867831652712019091456485669234603486104543266482133936072602491412737245870066063155881748815209209628292540917153643678925903600113305305488204665213841469519415116094330572703657595919530921861173819326117931051185480744623799627495673518857527248912279381830119491298336733624406566430860213949463952247371907021798609437027705392171762931767523846748184676694051320005681271452635608277857713427577896091736371787214684409012249534301465495853710507922796892589235420199561121290219608640344181598136297747713099605187072113499999983729780499510597317328160963185950244594553469083026425223082533446850352619311881710100031378387528865875332083814206171776691473035982534904287554687311595628638823537875937519577818577805321712268066130019278766111959092164201989380952572010654858632789",s={precision:20,rounding:4,modulo:1,toExpNeg:-7,toExpPos:21,minE:-u,maxE:u,crypto:!1},b=!0,a="[DecimalError] ",g=a+"Invalid argument: ",c=a+"Precision limit exceeded",l=a+"crypto unavailable",e="[object Decimal]",M=Math.floor,v=Math.pow,p=/^0b([01]+(\.[01]*)?|\.[01]+)(p[+-]?\d+)?$/i,y=/^0x([0-9a-f]+(\.[0-9a-f]*)?|\.[0-9a-f]+)(p[+-]?\d+)?$/i,m=/^0o([0-7]+(\.[0-7]*)?|\.[0-7]+)(p[+-]?\d+)?$/i,w=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,T=1e7,R=7,x=n.length-1,S=o.length-1,O={toStringTag:e};function j(t){var e,r,n,o=t.length-1,i="",u=t[0];if(0<o){for(i+=u,e=1;e<o;e++)n=t[e]+"",(r=R-n.length)&&(i+=W(r)),i+=n;u=t[e],(r=R-(n=u+"").length)&&(i+=W(r))}else if(0===u)return"0";for(;u%10==0;)u/=10;return i+u}function A(t,e,r){if(t!==~~t||t<e||r<t)throw Error(g+t)}function N(t,e,r,n){for(var o,i,u=t[0];10<=u;u/=10)--e;return--e<0?(e+=R,o=0):(o=Math.ceil((e+1)/R),e%=R),u=v(10,R-e),i=t[o]%u|0,null==n?e<3?(0==e?i=i/100|0:1==e&&(i=i/10|0),r<4&&99999==i||3<r&&49999==i||5e4==i||0==i):(r<4&&i+1==u||3<r&&i+1==u/2)&&(t[o+1]/u/100|0)==v(10,e-2)-1||(i==u/2||0==i)&&0==(t[o+1]/u/100|0):e<4?(0==e?i=i/1e3|0:1==e?i=i/100|0:2==e&&(i=i/10|0),(n||r<4)&&9999==i||!n&&3<r&&4999==i):((n||r<4)&&i+1==u||!n&&3<r&&i+1==u/2)&&(t[o+1]/u/1e3|0)==v(10,e-3)-1}function E(t,e,r){for(var n,o,i=[0],u=0,s=t.length;u<s;){for(o=i.length;o--;)i[o]*=e;for(i[0]+=h.indexOf(t.charAt(u++)),n=0;n<i.length;n++)i[n]>r-1&&(void 0===i[n+1]&&(i[n+1]=0),i[n+1]+=i[n]/r|0,i[n]%=r)}return i.reverse()}O.absoluteValue=O.abs=function(){var t=new this.constructor(this);return t.s<0&&(t.s=1),_(t)},O.ceil=function(){return _(new this.constructor(this),this.e+1,2)},O.clampedTo=O.clamp=function(t,e){var r=this.constructor;if(t=new r(t),e=new r(e),!t.s||!e.s)return new r(NaN);if(t.gt(e))throw Error(g+e);return this.cmp(t)<0?t:0<this.cmp(e)?e:new r(this)},O.comparedTo=O.cmp=function(t){var e,r,n=this,o=n.d,i=(t=new n.constructor(t)).d,u=n.s,s=t.s;if(!o||!i)return u&&s?u!==s?u:o===i?0:!o^u<0?1:-1:NaN;if(!o[0]||!i[0])return o[0]?u:i[0]?-s:0;if(u!==s)return u;if(n.e!==t.e)return n.e>t.e^u<0?1:-1;for(e=0,r=(n=o.length)<(t=i.length)?n:t;e<r;++e)if(o[e]!==i[e])return o[e]>i[e]^u<0?1:-1;return n===t?0:t<n^u<0?1:-1},O.cosine=O.cos=function(){var t,e,r=this,n=r.constructor;return r.d?r.d[0]?(t=n.precision,e=n.rounding,n.precision=t+Math.max(r.e,r.sd())+R,n.rounding=1,r=function(t,e){var r,n;if(e.isZero())return e;n=(n=e.d.length)<32?(r=Math.ceil(n/3),(1/Q(4,r)).toString()):(r=16,"2.3283064365386962890625e-10");t.precision+=r,e=J(t,1,e.times(n),new t(1));for(var o=r;o--;){var i=e.times(e);e=i.times(i).minus(i).times(8).plus(1)}return t.precision-=r,e}(n,K(n,r)),n.precision=t,n.rounding=e,_(2==i||3==i?r.neg():r,t,e,!0)):new n(1):new n(NaN)},O.cubeRoot=O.cbrt=function(){var t,e,r,n,o,i,u,s,a,c,f=this,l=f.constructor;if(!f.isFinite()||f.isZero())return new l(f);for(b=!1,(i=f.s*v(f.s*f,1/3))&&Math.abs(i)!=1/0?n=new l(i.toString()):(r=j(f.d),(i=((t=f.e)-r.length+1)%3)&&(r+=1==i||-2==i?"0":"00"),i=v(r,1/3),t=M((t+1)/3)-(t%3==(t<0?-1:2)),(n=new l(r=i==1/0?"5e"+t:(r=i.toExponential()).slice(0,r.indexOf("e")+1)+t)).s=f.s),u=(t=l.precision)+3;;)if(c=(a=(s=n).times(s).times(s)).plus(f),n=P(c.plus(f).times(s),c.plus(a),u+2,1),j(s.d).slice(0,u)===(r=j(n.d)).slice(0,u)){if("9999"!=(r=r.slice(u-3,u+1))&&(o||"4999"!=r)){+r&&(+r.slice(1)||"5"!=r.charAt(0))||(_(n,t+1,1),e=!n.times(n).times(n).eq(f));break}if(!o&&(_(s,t+1,0),s.times(s).times(s).eq(f))){n=s;break}u+=4,o=1}return b=!0,_(n,t,l.rounding,e)},O.decimalPlaces=O.dp=function(){var t,e=this.d,r=NaN;if(e){if(r=((t=e.length-1)-M(this.e/R))*R,t=e[t])for(;t%10==0;t/=10)r--;r<0&&(r=0)}return r},O.dividedBy=O.div=function(t){return P(this,new this.constructor(t))},O.dividedToIntegerBy=O.divToInt=function(t){var e=this.constructor;return _(P(this,new e(t),0,1,1),e.precision,e.rounding)},O.equals=O.eq=function(t){return 0===this.cmp(t)},O.floor=function(){return _(new this.constructor(this),this.e+1,3)},O.greaterThan=O.gt=function(t){return 0<this.cmp(t)},O.greaterThanOrEqualTo=O.gte=function(t){t=this.cmp(t);return 1==t||0===t},O.hyperbolicCosine=O.cosh=function(){var t,e,r,n=(s=this).constructor,o=new n(1);if(!s.isFinite())return new n(s.s?1/0:NaN);if(s.isZero())return o;e=n.precision,r=n.rounding,n.precision=e+Math.max(s.e,s.sd())+4,n.rounding=1;for(var i,u=(u=s.d.length)<32?(1/Q(4,t=Math.ceil(u/3))).toString():(t=16,"2.3283064365386962890625e-10"),s=J(n,1,s.times(u),new n(1),!0),a=t,c=new n(8);a--;)i=s.times(s),s=o.minus(i.times(c.minus(i.times(c))));return _(s,n.precision=e,n.rounding=r,!0)},O.hyperbolicSine=O.sinh=function(){var t,e,r,n=(u=this).constructor;if(!u.isFinite()||u.isZero())return new n(u);if(t=n.precision,e=n.rounding,n.precision=t+Math.max(u.e,u.sd())+4,n.rounding=1,(r=u.d.length)<3)u=J(n,2,u,u,!0);else for(var o,i=1.4*Math.sqrt(r),u=J(n,2,u=u.times(1/Q(5,i=16<i?16:0|i)),u,!0),s=new n(5),a=new n(16),c=new n(20);i--;)o=u.times(u),u=u.times(s.plus(o.times(a.times(o).plus(c))));return _(u,n.precision=t,n.rounding=e,!0)},O.hyperbolicTangent=O.tanh=function(){var t,e,r=this,n=r.constructor;return r.isFinite()?r.isZero()?new n(r):(t=n.precision,e=n.rounding,n.precision=t+7,n.rounding=1,P(r.sinh(),r.cosh(),n.precision=t,n.rounding=e)):new n(r.s)},O.inverseCosine=O.acos=function(){var t=this,e=t.constructor,r=t.abs().cmp(1),n=e.precision,o=e.rounding;return-1!==r?0===r?t.isNeg()?q(e,n,o):new e(0):new e(NaN):t.isZero()?q(e,n+4,o).times(.5):(e.precision=n+6,e.rounding=1,t=t.asin(),r=q(e,n+4,o).times(.5),e.precision=n,e.rounding=o,r.minus(t))},O.inverseHyperbolicCosine=O.acosh=function(){var t,e,r=this,n=r.constructor;return r.lte(1)?new n(r.eq(1)?0:NaN):r.isFinite()?(t=n.precision,e=n.rounding,n.precision=t+Math.max(Math.abs(r.e),r.sd())+4,n.rounding=1,b=!1,r=r.times(r).minus(1).sqrt().plus(r),b=!0,n.precision=t,n.rounding=e,r.ln()):new n(r)},O.inverseHyperbolicSine=O.asinh=function(){var t,e,r=this,n=r.constructor;return!r.isFinite()||r.isZero()?new n(r):(t=n.precision,e=n.rounding,n.precision=t+2*Math.max(Math.abs(r.e),r.sd())+6,n.rounding=1,b=!1,r=r.times(r).plus(1).sqrt().plus(r),b=!0,n.precision=t,n.rounding=e,r.ln())},O.inverseHyperbolicTangent=O.atanh=function(){var t,e,r,n=this,o=n.constructor;return n.isFinite()?0<=n.e?new o(n.abs().eq(1)?n.s/0:n.isZero()?n:NaN):(t=o.precision,e=o.rounding,r=n.sd(),Math.max(r,t)<2*-n.e-1?_(new o(n),t,e,!0):(o.precision=r=r-n.e,n=P(n.plus(1),new o(1).minus(n),r+t,1),o.precision=t+4,o.rounding=1,n=n.ln(),o.precision=t,o.rounding=e,n.times(.5))):new o(NaN)},O.inverseSine=O.asin=function(){var t,e,r,n=this,o=n.constructor;return n.isZero()?new o(n):(t=n.abs().cmp(1),e=o.precision,r=o.rounding,-1!==t?0===t?((t=q(o,e+4,r).times(.5)).s=n.s,t):new o(NaN):(o.precision=e+6,o.rounding=1,n=n.div(new o(1).minus(n.times(n)).sqrt().plus(1)).atan(),o.precision=e,o.rounding=r,n.times(2)))},O.inverseTangent=O.atan=function(){var t,e,r,n,o,i,u,s,a,c=this,f=c.constructor,l=f.precision,p=f.rounding;if(c.isFinite()){if(c.isZero())return new f(c);if(c.abs().eq(1)&&l+4<=S)return(u=q(f,l+4,p).times(.25)).s=c.s,u}else{if(!c.s)return new f(NaN);if(l+4<=S)return(u=q(f,l+4,p).times(.5)).s=c.s,u}for(f.precision=s=l+10,f.rounding=1,t=r=Math.min(28,s/R+2|0);t;--t)c=c.div(c.times(c).plus(1).sqrt().plus(1));for(b=!1,e=Math.ceil(s/R),n=1,a=c.times(c),u=new f(c),o=c;-1!==t;)if(o=o.times(a),i=u.minus(o.div(n+=2)),o=o.times(a),void 0!==(u=i.plus(o.div(n+=2))).d[e])for(t=e;u.d[t]===i.d[t]&&t--;);return r&&(u=u.times(2<<r-1)),b=!0,_(u,f.precision=l,f.rounding=p,!0)},O.isFinite=function(){return!!this.d},O.isInteger=O.isInt=function(){return!!this.d&&M(this.e/R)>this.d.length-2},O.isNaN=function(){return!this.s},O.isNegative=O.isNeg=function(){return this.s<0},O.isPositive=O.isPos=function(){return 0<this.s},O.isZero=function(){return!!this.d&&0===this.d[0]},O.lessThan=O.lt=function(t){return this.cmp(t)<0},O.lessThanOrEqualTo=O.lte=function(t){return this.cmp(t)<1},O.logarithm=O.log=function(t){var e,r,n,o,i,u,s,a,c=this,f=c.constructor,l=f.precision,p=f.rounding;if(null==t)t=new f(10),e=!0;else{if(r=(t=new f(t)).d,t.s<0||!r||!r[0]||t.eq(1))return new f(NaN);e=t.eq(10)}if(r=c.d,c.s<0||!r||!r[0]||c.eq(1))return new f(r&&!r[0]?-1/0:1!=c.s?NaN:r?0:1/0);if(e)if(1<r.length)i=!0;else{for(o=r[0];o%10==0;)o/=10;i=1!==o}if(b=!1,u=V(c,s=l+5),n=e?U(f,s+10):V(t,s),N((a=P(u,n,s,1)).d,o=l,p))do{if(u=V(c,s+=10),n=e?U(f,s+10):V(t,s),a=P(u,n,s,1),!i){+j(a.d).slice(o+1,o+15)+1==1e14&&(a=_(a,l+1,0));break}}while(N(a.d,o+=10,p));return b=!0,_(a,l,p)},O.minus=O.sub=function(t){var e,r,n,o,i,u,s,a,c,f,l,p=this,y=p.constructor;if(t=new y(t),!p.d||!t.d)return p.s&&t.s?p.d?t.s=-t.s:t=new y(t.d||p.s!==t.s?p:NaN):t=new y(NaN),t;if(p.s!=t.s)return t.s=-t.s,p.plus(t);if(c=p.d,l=t.d,s=y.precision,a=y.rounding,!c[0]||!l[0]){if(l[0])t.s=-t.s;else{if(!c[0])return new y(3===a?-0:0);t=new y(p)}return b?_(t,s,a):t}if(r=M(t.e/R),p=M(p.e/R),c=c.slice(),i=p-r){for(u=(f=i<0)?(e=c,i=-i,l.length):(e=l,r=p,c.length),(n=Math.max(Math.ceil(s/R),u)+2)<i&&(i=n,e.length=1),e.reverse(),n=i;n--;)e.push(0);e.reverse()}else{for((f=(n=c.length)<(u=l.length))&&(u=n),n=0;n<u;n++)if(c[n]!=l[n]){f=c[n]<l[n];break}i=0}for(f&&(e=c,c=l,l=e,t.s=-t.s),u=c.length,n=l.length-u;0<n;--n)c[u++]=0;for(n=l.length;i<n;){if(c[--n]<l[n]){for(o=n;o&&0===c[--o];)c[o]=T-1;--c[o],c[n]+=T}c[n]-=l[n]}for(;0===c[--u];)c.pop();for(;0===c[0];c.shift())--r;return c[0]?(t.d=c,t.e=C(c,r),b?_(t,s,a):t):new y(3===a?-0:0)},O.modulo=O.mod=function(t){var e,r=this,n=r.constructor;return t=new n(t),!r.d||!t.s||t.d&&!t.d[0]?new n(NaN):!t.d||r.d&&!r.d[0]?_(new n(r),n.precision,n.rounding):(b=!1,9==n.modulo?(e=P(r,t.abs(),0,3,1)).s*=t.s:e=P(r,t,0,n.modulo,1),e=e.times(t),b=!0,r.minus(e))},O.naturalExponential=O.exp=function(){return H(this)},O.naturalLogarithm=O.ln=function(){return V(this)},O.negated=O.neg=function(){var t=new this.constructor(this);return t.s=-t.s,_(t)},O.plus=O.add=function(t){var e,r,n,o,i,u,s,a,c=this,f=c.constructor;if(t=new f(t),!c.d||!t.d)return c.s&&t.s?c.d||(t=new f(t.d||c.s===t.s?c:NaN)):t=new f(NaN),t;if(c.s!=t.s)return t.s=-t.s,c.minus(t);if(s=c.d,a=t.d,i=f.precision,u=f.rounding,!s[0]||!a[0])return a[0]||(t=new f(c)),b?_(t,i,u):t;if(f=M(c.e/R),c=M(t.e/R),s=s.slice(),n=f-c){for((o=(o=n<0?(r=s,n=-n,a.length):(r=a,c=f,s.length))<(f=Math.ceil(i/R))?f+1:o+1)<n&&(n=o,r.length=1),r.reverse();n--;)r.push(0);r.reverse()}for((o=s.length)-(n=a.length)<0&&(n=o,r=a,a=s,s=r),e=0;n;)e=(s[--n]=s[n]+a[n]+e)/T|0,s[n]%=T;for(e&&(s.unshift(e),++c),o=s.length;0==s[--o];)s.pop();return t.d=s,t.e=C(s,c),b?_(t,i,u):t},O.precision=O.sd=function(t){var e;if(void 0!==t&&t!==!!t&&1!==t&&0!==t)throw Error(g+t);return this.d?(e=B(this.d),t&&this.e+1>e&&(e=this.e+1)):e=NaN,e},O.round=function(){var t=this.constructor;return _(new t(this),this.e+1,t.rounding)},O.sine=O.sin=function(){var t,e,r=this,n=r.constructor;return r.isFinite()?r.isZero()?new n(r):(t=n.precision,e=n.rounding,n.precision=t+Math.max(r.e,r.sd())+R,n.rounding=1,r=function(t,e){var r,n=e.d.length;if(n<3)return e.isZero()?e:J(t,2,e,e);r=16<(r=1.4*Math.sqrt(n))?16:0|r,e=e.times(1/Q(5,r)),e=J(t,2,e,e);for(var o,i=new t(5),u=new t(16),s=new t(20);r--;)o=e.times(e),e=e.times(i.plus(o.times(u.times(o).minus(s))));return e}(n,K(n,r)),n.precision=t,n.rounding=e,_(2<i?r.neg():r,t,e,!0)):new n(NaN)},O.squareRoot=O.sqrt=function(){var t,e,r,n,o,i,u=this,s=u.d,a=u.e,c=u.s,f=u.constructor;if(1!==c||!s||!s[0])return new f(!c||c<0&&(!s||s[0])?NaN:s?u:1/0);for(b=!1,n=0==(c=Math.sqrt(+u))||c==1/0?(((e=j(s)).length+a)%2==0&&(e+="0"),c=Math.sqrt(e),a=M((a+1)/2)-(a<0||a%2),new f(e=c==1/0?"5e"+a:(e=c.toExponential()).slice(0,e.indexOf("e")+1)+a)):new f(c.toString()),r=(a=f.precision)+3;;)if(n=(i=n).plus(P(u,i,r+2,1)).times(.5),j(i.d).slice(0,r)===(e=j(n.d)).slice(0,r)){if("9999"!=(e=e.slice(r-3,r+1))&&(o||"4999"!=e)){+e&&(+e.slice(1)||"5"!=e.charAt(0))||(_(n,a+1,1),t=!n.times(n).eq(u));break}if(!o&&(_(i,a+1,0),i.times(i).eq(u))){n=i;break}r+=4,o=1}return b=!0,_(n,a,f.rounding,t)},O.tangent=O.tan=function(){var t,e,r=this,n=r.constructor;return r.isFinite()?r.isZero()?new n(r):(t=n.precision,e=n.rounding,n.precision=t+10,n.rounding=1,(r=r.sin()).s=1,r=P(r,new n(1).minus(r.times(r)).sqrt(),t+10,0),n.precision=t,n.rounding=e,_(2==i||4==i?r.neg():r,t,e,!0)):new n(NaN)},O.times=O.mul=function(t){var e,r,n,o,i,u,s,a,c,f=this.constructor,l=this.d,p=(t=new f(t)).d;if(t.s*=this.s,!(l&&l[0]&&p&&p[0]))return new f(!t.s||l&&!l[0]&&!p||p&&!p[0]&&!l?NaN:l&&p?0*t.s:t.s/0);for(r=M(this.e/R)+M(t.e/R),(a=l.length)<(c=p.length)&&(i=l,l=p,p=i,u=a,a=c,c=u),i=[],n=u=a+c;n--;)i.push(0);for(n=c;0<=--n;){for(e=0,o=a+n;n<o;)s=i[o]+p[n]*l[o-n-1]+e,i[o--]=s%T|0,e=s/T|0;i[o]=(i[o]+e)%T|0}for(;!i[--u];)i.pop();return e?++r:i.shift(),t.d=i,t.e=C(i,r),b?_(t,f.precision,f.rounding):t},O.toBinary=function(t,e){return r(this,2,t,e)},O.toDecimalPlaces=O.toDP=function(t,e){var r=this.constructor,n=new r(this);return void 0===t?n:(A(t,0,d),void 0===e?e=r.rounding:A(e,0,8),_(n,t+n.e+1,e))},O.toExponential=function(t,e){var r=this,n=r.constructor,t=void 0===t?L(r,!0):(A(t,0,d),void 0===e?e=n.rounding:A(e,0,8),L(r=_(new n(r),t+1,e),!0,t+1));return r.isNeg()&&!r.isZero()?"-"+t:t},O.toFixed=function(t,e){var r=this,n=r.constructor,o=void 0===t?L(r):(A(t,0,d),void 0===e?e=n.rounding:A(e,0,8),L(o=_(new n(r),t+r.e+1,e),!1,t+o.e+1));return r.isNeg()&&!r.isZero()?"-"+o:o},O.toFraction=function(t){var e,r,n,o,i,u,s,a,c,f,l=this,p=l.d,y=l.constructor;if(!p)return new y(l);if(a=r=new y(1),n=s=new y(0),i=(e=new y(n)).e=B(p)-l.e-1,e.d[0]=v(10,(c=i%R)<0?R+c:c),null==t)t=0<i?e:a;else{if(!(u=new y(t)).isInt()||u.lt(a))throw Error(g+u);t=u.gt(e)?0<i?e:a:u}for(b=!1,u=new y(j(p)),c=y.precision,y.precision=i=p.length*R*2;f=P(u,e,0,1,1),1!=(o=r.plus(f.times(n))).cmp(t);)r=n,n=o,a=s.plus(f.times(o=a)),s=o,e=u.minus(f.times(o=e)),u=o;return o=P(t.minus(r),n,0,1,1),s=s.plus(o.times(a)),r=r.plus(o.times(n)),s.s=a.s=l.s,l=P(a,n,i,1).minus(l).abs().cmp(P(s,r,i,1).minus(l).abs())<1?[a,n]:[s,r],y.precision=c,b=!0,l},O.toHexadecimal=O.toHex=function(t,e){return r(this,16,t,e)},O.toNearest=function(t,e){var r=(n=this).constructor,n=new r(n);if(null==t){if(!n.d)return n;t=new r(1),e=r.rounding}else{if(t=new r(t),void 0===e?e=r.rounding:A(e,0,8),!n.d)return t.s?n:t;if(!t.d)return t.s&&(t.s=n.s),t}return t.d[0]?(b=!1,n=P(n,t,0,e,1).times(t),b=!0,_(n)):(t.s=n.s,n=t),n},O.toNumber=function(){return+this},O.toOctal=function(t,e){return r(this,8,t,e)},O.toPower=O.pow=function(t){var e,r,n,o,i,u,s=this,a=s.constructor,c=+(t=new a(t));if(!(s.d&&t.d&&s.d[0]&&t.d[0]))return new a(v(+s,c));if((s=new a(s)).eq(1))return s;if(n=a.precision,i=a.rounding,t.eq(1))return _(s,n,i);if((e=M(t.e/R))>=t.d.length-1&&(r=c<0?-c:c)<=9007199254740991)return o=G(a,s,r,n),t.s<0?new a(1).div(o):_(o,n,i);if((u=s.s)<0){if(e<t.d.length-1)return new a(NaN);if(0==(1&t.d[e])&&(u=1),0==s.e&&1==s.d[0]&&1==s.d.length)return s.s=u,s}return(e=0!=(r=v(+s,c))&&isFinite(r)?new a(r+"").e:M(c*(Math.log("0."+j(s.d))/Math.LN10+s.e+1)))>a.maxE+1||e<a.minE-1?new a(0<e?u/0:0):(b=!1,a.rounding=s.s=1,r=Math.min(12,(e+"").length),(o=(o=H(t.times(V(s,n+r)),n)).d&&N((o=_(o,n+5,1)).d,n,i)&&+j((o=_(H(t.times(V(s,(e=n+10)+r)),e),e+5,1)).d).slice(n+1,n+15)+1==1e14?_(o,n+1,0):o).s=u,b=!0,_(o,n,a.rounding=i))},O.toPrecision=function(t,e){var r=this,n=r.constructor,t=void 0===t?L(r,r.e<=n.toExpNeg||r.e>=n.toExpPos):(A(t,1,d),void 0===e?e=n.rounding:A(e,0,8),L(r=_(new n(r),t,e),t<=r.e||r.e<=n.toExpNeg,t));return r.isNeg()&&!r.isZero()?"-"+t:t},O.toSignificantDigits=O.toSD=function(t,e){var r=this.constructor;return void 0===t?(t=r.precision,e=r.rounding):(A(t,1,d),void 0===e?e=r.rounding:A(e,0,8)),_(new r(this),t,e)},O.toString=function(){var t=this,e=t.constructor,e=L(t,t.e<=e.toExpNeg||t.e>=e.toExpPos);return t.isNeg()&&!t.isZero()?"-"+e:e},O.truncated=O.trunc=function(){return _(new this.constructor(this),this.e+1,1)},O.valueOf=O.toJSON=function(){var t=this,e=t.constructor,e=L(t,t.e<=e.toExpNeg||t.e>=e.toExpPos);return t.isNeg()?"-"+e:e};var P=function(t,e,r,n,o,i){var u,s,a,c,f,l,p,y,d,h,g,v,m,b,w,x,S,O,j,A=t.constructor,N=t.s==e.s?1:-1,E=t.d,P=e.d;if(!(E&&E[0]&&P&&P[0]))return new A(t.s&&e.s&&(E?!P||E[0]!=P[0]:P)?E&&0==E[0]||!P?0*N:N/0:NaN);for(s=i?(f=1,t.e-e.e):(i=T,M(t.e/(f=R))-M(e.e/f)),O=P.length,x=E.length,d=(N=new A(N)).d=[],a=0;P[a]==(E[a]||0);a++);if(P[a]>(E[a]||0)&&s--,null==r?(m=r=A.precision,n=A.rounding):m=o?r+(t.e-e.e)+1:r,m<0)d.push(1),l=!0;else{if(m=m/f+2|0,a=0,1==O){for(P=P[c=0],m++;(a<x||c)&&m--;a++)b=c*i+(E[a]||0),d[a]=b/P|0,c=b%P|0;l=c||a<x}else{for(1<(c=i/(P[0]+1)|0)&&(P=F(P,c,i),E=F(E,c,i),O=P.length,x=E.length),g=(h=E.slice(0,w=O)).length;g<O;)h[g++]=0;for((j=P.slice()).unshift(0),S=P[0],P[1]>=i/2&&++S;c=0,(u=I(P,h,O,g))<0?(v=h[0],1<(c=(v=O!=g?v*i+(h[1]||0):v)/S|0)?1==(u=I(p=F(P,c=i<=c?i-1:c,i),h,y=p.length,g=h.length))&&(c--,D(p,O<y?j:P,y,i)):(0==c&&(u=c=1),p=P.slice()),(y=p.length)<g&&p.unshift(0),D(h,p,g,i),-1==u&&(u=I(P,h,O,g=h.length))<1&&(c++,D(h,O<g?j:P,g,i)),g=h.length):0===u&&(c++,h=[0]),d[a++]=c,u&&h[0]?h[g++]=E[w]||0:(h=[E[w]],g=1),(w++<x||void 0!==h[0])&&m--;);l=void 0!==h[0]}d[0]||d.shift()}if(1==f)N.e=s,k=l;else{for(a=1,c=d[0];10<=c;c/=10)a++;N.e=a+s*f-1,_(N,o?r+N.e+1:r,n,l)}return N};function F(t,e,r){var n,o=0,i=t.length;for(t=t.slice();i--;)n=t[i]*e+o,t[i]=n%r|0,o=n/r|0;return o&&t.unshift(o),t}function I(t,e,r,n){var o,i;if(r!=n)i=n<r?1:-1;else for(o=i=0;o<r;o++)if(t[o]!=e[o]){i=t[o]>e[o]?1:-1;break}return i}function D(t,e,r,n){for(var o=0;r--;)t[r]-=o,o=t[r]<e[r]?1:0,t[r]=o*n+t[r]-e[r];for(;!t[0]&&1<t.length;)t.shift()}function _(t,e,r,n){var o,i,u,s,a,c,f,l,p=t.constructor;t:if(null!=e){if(!(f=t.d))return t;for(o=1,s=f[0];10<=s;s/=10)o++;if((i=e-o)<0)i+=R,a=(c=f[l=0])/v(10,o-(u=e)-1)%10|0;else if(l=Math.ceil((i+1)/R),(s=f.length)<=l){if(!n)break t;for(;s++<=l;)f.push(0);c=a=0,u=(i%=R)-R+(o=1)}else{for(c=s=f[l],o=1;10<=s;s/=10)o++;a=(u=(i%=R)-R+o)<0?0:c/v(10,o-u-1)%10|0}if(n=n||e<0||void 0!==f[l+1]||(u<0?c:c%v(10,o-u-1)),a=r<4?(a||n)&&(0==r||r==(t.s<0?3:2)):5<a||5==a&&(4==r||n||6==r&&(0<i?0<u?c/v(10,o-u):0:f[l-1])%10&1||r==(t.s<0?8:7)),e<1||!f[0])return f.length=0,a?(e-=t.e+1,f[0]=v(10,(R-e%R)%R),t.e=-e||0):f[0]=t.e=0,t;if(0==i?(f.length=l,s=1,l--):(f.length=l+1,s=v(10,R-i),f[l]=0<u?(c/v(10,o-u)%v(10,u)|0)*s:0),a)for(;;){if(0==l){for(i=1,u=f[0];10<=u;u/=10)i++;for(u=f[0]+=s,s=1;10<=u;u/=10)s++;i!=s&&(t.e++,f[0]==T&&(f[0]=1));break}if(f[l]+=s,f[l]!=T)break;f[l--]=0,s=1}for(i=f.length;0===f[--i];)f.pop()}return b&&(t.e>p.maxE?(t.d=null,t.e=NaN):t.e<p.minE&&(t.e=0,t.d=[0])),t}function L(t,e,r){if(!t.isFinite())return Z(t);var n,o=t.e,i=j(t.d),u=i.length;return e?(r&&0<(n=r-u)?i=i.charAt(0)+"."+i.slice(1)+W(n):1<u&&(i=i.charAt(0)+"."+i.slice(1)),i=i+(t.e<0?"e":"e+")+t.e):o<0?(i="0."+W(-o-1)+i,r&&0<(n=r-u)&&(i+=W(n))):u<=o?(i+=W(o+1-u),r&&0<(n=r-o-1)&&(i=i+"."+W(n))):((n=o+1)<u&&(i=i.slice(0,n)+"."+i.slice(n)),r&&0<(n=r-u)&&(o+1===u&&(i+="."),i+=W(n))),i}function C(t,e){var r=t[0];for(e*=R;10<=r;r/=10)e++;return e}function U(t,e,r){if(x<e)throw b=!0,r&&(t.precision=r),Error(c);return _(new t(n),e,1,!0)}function q(t,e,r){if(S<e)throw Error(c);return _(new t(o),e,r,!0)}function B(t){var e=t.length-1,r=e*R+1;if(e=t[e]){for(;e%10==0;e/=10)r--;for(e=t[0];10<=e;e/=10)r++}return r}function W(t){for(var e="";t--;)e+="0";return e}function G(t,e,r,n){var o,i=new t(1),u=Math.ceil(n/R+4);for(b=!1;;){if(r%2&&Y((i=i.times(e)).d,u)&&(o=!0),0===(r=M(r/2))){r=i.d.length-1,o&&0===i.d[r]&&++i.d[r];break}Y((e=e.times(e)).d,u)}return b=!0,i}function z(t){return 1&t.d[t.d.length-1]}function t(t,e,r){for(var n,o=new t(e[0]),i=0;++i<e.length;){if(!(n=new t(e[i])).s){o=n;break}o[r](n)&&(o=n)}return o}function H(t,e){var r,n,o,i,u,s,a,c=0,f=0,l=0,p=t.constructor,y=p.rounding,d=p.precision;if(!t.d||!t.d[0]||17<t.e)return new p(t.d?t.d[0]?t.s<0?0:1/0:1:t.s?t.s<0?0:t:NaN);for(a=null==e?(b=!1,d):e,s=new p(.03125);-2<t.e;)t=t.times(s),l+=5;for(a+=n=Math.log(v(2,l))/Math.LN10*2+5|0,r=i=u=new p(1),p.precision=a;;){if(i=_(i.times(t),a,1),r=r.times(++f),j((s=u.plus(P(i,r,a,1))).d).slice(0,a)===j(u.d).slice(0,a)){for(o=l;o--;)u=_(u.times(u),a,1);if(null!=e)return p.precision=d,u;if(!(c<3&&N(u.d,a-n,y,c)))return _(u,p.precision=d,y,b=!0);p.precision=a+=10,r=i=s=new p(1),f=0,c++}u=s}}function V(t,e){var r,n,o,i,u,s,a,c,f,l,p,y=1,d=t,h=d.d,g=d.constructor,v=g.rounding,m=g.precision;if(d.s<0||!h||!h[0]||!d.e&&1==h[0]&&1==h.length)return new g(h&&!h[0]?-1/0:1!=d.s?NaN:h?0:d);if(f=null==e?(b=!1,m):e,g.precision=f+=10,n=(r=j(h)).charAt(0),!(Math.abs(i=d.e)<15e14))return c=U(g,f+2,m).times(i+""),d=V(new g(n+"."+r.slice(1)),f-10).plus(c),g.precision=m,null==e?_(d,m,v,b=!0):d;for(;n<7&&1!=n||1==n&&3<r.charAt(1);)n=(r=j((d=d.times(t)).d)).charAt(0),y++;for(i=d.e,1<n?(d=new g("0."+r),i++):d=new g(n+"."+r.slice(1)),a=u=d=P((l=d).minus(1),d.plus(1),f,1),p=_(d.times(d),f,1),o=3;;){if(u=_(u.times(p),f,1),j((c=a.plus(P(u,new g(o),f,1))).d).slice(0,f)===j(a.d).slice(0,f)){if(a=a.times(2),0!==i&&(a=a.plus(U(g,f+2,m).times(i+""))),a=P(a,new g(y),f,1),null!=e)return g.precision=m,a;if(!N(a.d,f-10,v,s))return _(a,g.precision=m,v,b=!0);g.precision=f+=10,c=u=d=P(l.minus(1),l.plus(1),f,1),p=_(d.times(d),f,1),o=s=1}a=c,o+=2}}function Z(t){return String(t.s*t.s/0)}function $(t,e){var r,n,o;for(0<(n=(e=-1<(r=e.indexOf("."))?e.replace(".",""):e).search(/e/i))?(r<0&&(r=n),r+=+e.slice(n+1),e=e.substring(0,n)):r<0&&(r=e.length),n=0;48===e.charCodeAt(n);n++);for(o=e.length;48===e.charCodeAt(o-1);--o);if(e=e.slice(n,o)){if(o-=n,t.e=r=r-n-1,t.d=[],n=(r+1)%R,r<0&&(n+=R),n<o){for(n&&t.d.push(+e.slice(0,n)),o-=R;n<o;)t.d.push(+e.slice(n,n+=R));e=e.slice(n),n=R-e.length}else n-=o;for(;n--;)e+="0";t.d.push(+e),b&&(t.e>t.constructor.maxE?(t.d=null,t.e=NaN):t.e<t.constructor.minE&&(t.e=0,t.d=[0]))}else t.e=0,t.d=[0];return t}function J(t,e,r,n,o){var i,u,s,a,c=t.precision,f=Math.ceil(c/R);for(b=!1,a=r.times(r),s=new t(n);;){if(u=P(s.times(a),new t(e++*e++),c,1),s=o?n.plus(u):n.minus(u),n=P(u.times(a),new t(e++*e++),c,1),void 0!==(u=s.plus(n)).d[f]){for(i=f;u.d[i]===s.d[i]&&i--;);if(-1==i)break}i=s,s=n,n=u,u=i,0}return b=!0,u.d.length=f+1,u}function Q(t,e){for(var r=t;--e;)r*=t;return r}function K(t,e){var r=e.s<0,n=q(t,t.precision,1),o=n.times(.5);if((e=e.abs()).lte(o))return i=r?4:1,e;if((t=e.divToInt(n)).isZero())i=r?3:2;else{if((e=e.minus(t.times(n))).lte(o))return i=z(t)?r?2:3:r?4:1,e;i=z(t)?r?1:4:r?3:2}return e.minus(n).abs()}function r(t,e,r,n){var o,i,u,s,a,c,f,l,p=t.constructor,y=void 0!==r;if(y?(A(r,1,d),void 0===n?n=p.rounding:A(n,0,8)):(r=p.precision,n=p.rounding),t.isFinite()){for(y?(o=2,16==e?r=4*r-3:8==e&&(r=3*r-2)):o=e,0<=(u=(c=L(t)).indexOf("."))&&(c=c.replace(".",""),(l=new p(1)).e=c.length-u,l.d=E(L(l),10,o),l.e=l.d.length),i=s=(f=E(c,10,o)).length;0==f[--s];)f.pop();if(f[0]){if(u<0?i--:((t=new p(t)).d=f,t.e=i,f=(t=P(t,l,r,n,0,o)).d,i=t.e,a=k),u=f[r],l=o/2,a=a||void 0!==f[r+1],a=n<4?(void 0!==u||a)&&(0===n||n===(t.s<0?3:2)):l<u||u===l&&(4===n||a||6===n&&1&f[r-1]||n===(t.s<0?8:7)),f.length=r,a)for(;++f[--r]>o-1;)f[r]=0,r||(++i,f.unshift(1));for(s=f.length;!f[s-1];--s);for(u=0,c="";u<s;u++)c+=h.charAt(f[u]);if(y){if(1<s)if(16==e||8==e){for(u=16==e?4:3,--s;s%u;s++)c+="0";for(s=(f=E(c,o,e)).length;!f[s-1];--s);for(u=1,c="1.";u<s;u++)c+=h.charAt(f[u])}else c=c.charAt(0)+"."+c.slice(1);c=c+(i<0?"p":"p+")+i}else if(i<0){for(;++i;)c="0"+c;c="0."+c}else if(++i>s)for(i-=s;i--;)c+="0";else i<s&&(c=c.slice(0,i)+"."+c.slice(i))}else c=y?"0p+0":"0";c=(16==e?"0x":2==e?"0b":8==e?"0o":"")+c}else c=Z(t);return t.s<0?"-"+c:c}function Y(t,e){return t.length>e&&(t.length=e,1)}function X(t){return new this(t).abs()}function tt(t){return new this(t).acos()}function et(t){return new this(t).acosh()}function rt(t,e){return new this(t).plus(e)}function nt(t){return new this(t).asin()}function ot(t){return new this(t).asinh()}function it(t){return new this(t).atan()}function ut(t){return new this(t).atanh()}function st(t,e){t=new this(t),e=new this(e);var r,n=this.precision,o=this.rounding,i=n+4;return t.s&&e.s?t.d||e.d?!e.d||