@release0/js 1.1.1 → 1.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -4
- package/dist/web.js +1 -1
- package/package.json +5 -3
package/README.md
CHANGED
|
@@ -16,7 +16,7 @@ npm install @release0/js
|
|
|
16
16
|
|
|
17
17
|
```
|
|
18
18
|
<script type="module">
|
|
19
|
-
import Agent from 'https://cdn.jsdelivr.net/npm/@release0/js@1.1.
|
|
19
|
+
import Agent from 'https://cdn.jsdelivr.net/npm/@release0/js@1.1.2/dist/web.js'
|
|
20
20
|
|
|
21
21
|
Agent.initStandard({
|
|
22
22
|
agent: 'my-agent-id',
|
|
@@ -34,7 +34,7 @@ There, you can change the container dimensions. Here is a code example:
|
|
|
34
34
|
|
|
35
35
|
```html
|
|
36
36
|
<script type="module">
|
|
37
|
-
import Agent from "https://cdn.jsdelivr.net/npm/@release0/js@1.1.
|
|
37
|
+
import Agent from "https://cdn.jsdelivr.net/npm/@release0/js@1.1.2/dist/web.js";
|
|
38
38
|
|
|
39
39
|
Agent.initStandard({
|
|
40
40
|
agent: "my-agent-id",
|
|
@@ -54,7 +54,7 @@ Here is an example:
|
|
|
54
54
|
|
|
55
55
|
```html
|
|
56
56
|
<script type="module">
|
|
57
|
-
import Agent from "https://cdn.jsdelivr.net/npm/@release0/js@1.1.
|
|
57
|
+
import Agent from "https://cdn.jsdelivr.net/npm/@release0/js@1.1.2/dist/web.js";
|
|
58
58
|
|
|
59
59
|
Agent.initPopup({
|
|
60
60
|
agent: "my-agent-id",
|
|
@@ -96,7 +96,7 @@ Here is an example:
|
|
|
96
96
|
|
|
97
97
|
```html
|
|
98
98
|
<script type="module">
|
|
99
|
-
import Agent from "https://cdn.jsdelivr.net/npm/@release0/js@1.1.
|
|
99
|
+
import Agent from "https://cdn.jsdelivr.net/npm/@release0/js@1.1.2/dist/web.js";
|
|
100
100
|
|
|
101
101
|
Agent.initBubble({
|
|
102
102
|
agent: "my-agent-id",
|
package/dist/web.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Release0 v1.1.
|
|
1
|
+
// Release0 v1.1.2
|
|
2
2
|
var Ox=Object.create;var xi=Object.defineProperty;var Lx=Object.getOwnPropertyDescriptor;var Dx=Object.getOwnPropertyNames;var Bx=Object.getPrototypeOf,Ux=Object.prototype.hasOwnProperty;var Fx=(e,t)=>()=>(e&&(t=e(e=0)),t);var Oe=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),$x=(e,t)=>{for(var n in t)xi(e,n,{get:t[n],enumerable:!0})},Pd=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Dx(t))!Ux.call(e,o)&&o!==n&&xi(e,o,{get:()=>t[o],enumerable:!(r=Lx(t,o))||r.enumerable});return e};var br=(e,t,n)=>(n=e!=null?Ox(Bx(e)):{},Pd(t||!e||!e.__esModule?xi(n,"default",{value:e,enumerable:!0}):n,e)),Si=e=>Pd(xi({},"__esModule",{value:!0}),e);var zl=Oe(xr=>{"use strict";Object.defineProperty(xr,"__esModule",{value:!0});xr.anumber=Wl;xr.abytes=cf;xr.ahash=NS;xr.aexists=OS;xr.aoutput=LS;function Wl(e){if(!Number.isSafeInteger(e)||e<0)throw new Error("positive integer expected, got "+e)}function RS(e){return e instanceof Uint8Array||ArrayBuffer.isView(e)&&e.constructor.name==="Uint8Array"}function cf(e,...t){if(!RS(e))throw new Error("Uint8Array expected");if(t.length>0&&!t.includes(e.length))throw new Error("Uint8Array expected of length "+t+", got length="+e.length)}function NS(e){if(typeof e!="function"||typeof e.create!="function")throw new Error("Hash should be wrapped by utils.wrapConstructor");Wl(e.outputLen),Wl(e.blockLen)}function OS(e,t=!0){if(e.destroyed)throw new Error("Hash instance has been destroyed");if(t&&e.finished)throw new Error("Hash#digest() has already been called")}function LS(e,t){cf(e);let n=t.outputLen;if(e.length<n)throw new Error("digestInto() expects output buffer of length at least "+n)}});var Mf=Oe(fe=>{"use strict";Object.defineProperty(fe,"__esModule",{value:!0});fe.add5L=fe.add5H=fe.add4H=fe.add4L=fe.add3H=fe.add3L=fe.rotlBL=fe.rotlBH=fe.rotlSL=fe.rotlSH=fe.rotr32L=fe.rotr32H=fe.rotrBL=fe.rotrBH=fe.rotrSL=fe.rotrSH=fe.shrSL=fe.shrSH=fe.toBig=void 0;fe.fromBig=Yl;fe.split=uf;fe.add=Cf;var Ni=BigInt(2**32-1),Zl=BigInt(32);function Yl(e,t=!1){return t?{h:Number(e&Ni),l:Number(e>>Zl&Ni)}:{h:Number(e>>Zl&Ni)|0,l:Number(e&Ni)|0}}function uf(e,t=!1){let n=new Uint32Array(e.length),r=new Uint32Array(e.length);for(let o=0;o<e.length;o++){let{h:a,l:i}=Yl(e[o],t);[n[o],r[o]]=[a,i]}return[n,r]}var df=(e,t)=>BigInt(e>>>0)<<Zl|BigInt(t>>>0);fe.toBig=df;var ff=(e,t,n)=>e>>>n;fe.shrSH=ff;var pf=(e,t,n)=>e<<32-n|t>>>n;fe.shrSL=pf;var mf=(e,t,n)=>e>>>n|t<<32-n;fe.rotrSH=mf;var gf=(e,t,n)=>e<<32-n|t>>>n;fe.rotrSL=gf;var hf=(e,t,n)=>e<<64-n|t>>>n-32;fe.rotrBH=hf;var bf=(e,t,n)=>e>>>n-32|t<<64-n;fe.rotrBL=bf;var yf=(e,t)=>t;fe.rotr32H=yf;var vf=(e,t)=>e;fe.rotr32L=vf;var xf=(e,t,n)=>e<<n|t>>>32-n;fe.rotlSH=xf;var Sf=(e,t,n)=>t<<n|e>>>32-n;fe.rotlSL=Sf;var wf=(e,t,n)=>t<<n-32|e>>>64-n;fe.rotlBH=wf;var Tf=(e,t,n)=>e<<n-32|t>>>64-n;fe.rotlBL=Tf;function Cf(e,t,n,r){let o=(t>>>0)+(r>>>0);return{h:e+n+(o/2**32|0)|0,l:o|0}}var Ef=(e,t,n)=>(e>>>0)+(t>>>0)+(n>>>0);fe.add3L=Ef;var kf=(e,t,n,r)=>t+n+r+(e/2**32|0)|0;fe.add3H=kf;var Af=(e,t,n,r)=>(e>>>0)+(t>>>0)+(n>>>0)+(r>>>0);fe.add4L=Af;var Pf=(e,t,n,r,o)=>t+n+r+o+(e/2**32|0)|0;fe.add4H=Pf;var If=(e,t,n,r,o)=>(e>>>0)+(t>>>0)+(n>>>0)+(r>>>0)+(o>>>0);fe.add5L=If;var _f=(e,t,n,r,o,a)=>t+n+r+o+a+(e/2**32|0)|0;fe.add5H=_f;var DS={fromBig:Yl,split:uf,toBig:df,shrSH:ff,shrSL:pf,rotrSH:mf,rotrSL:gf,rotrBH:hf,rotrBL:bf,rotr32H:yf,rotr32L:vf,rotlSH:xf,rotlSL:Sf,rotlBH:wf,rotlBL:Tf,add:Cf,add3L:Ef,add3H:kf,add4L:Af,add4H:Pf,add5H:_f,add5L:If};fe.default=DS});var Rf=Oe(Oi=>{"use strict";Object.defineProperty(Oi,"__esModule",{value:!0});Oi.crypto=void 0;Oi.crypto=typeof globalThis=="object"&&"crypto"in globalThis?globalThis.crypto:void 0});var Df=Oe(Pe=>{"use strict";Object.defineProperty(Pe,"__esModule",{value:!0});Pe.Hash=Pe.nextTick=Pe.byteSwapIfBE=Pe.isLE=void 0;Pe.isBytes=BS;Pe.u8=US;Pe.u32=FS;Pe.createView=$S;Pe.rotr=GS;Pe.rotl=HS;Pe.byteSwap=Xl;Pe.byteSwap32=KS;Pe.bytesToHex=jS;Pe.hexToBytes=WS;Pe.asyncLoop=ZS;Pe.utf8ToBytes=Lf;Pe.toBytes=Li;Pe.concatBytes=YS;Pe.checkOpts=qS;Pe.wrapConstructor=JS;Pe.wrapConstructorWithOpts=XS;Pe.wrapXOFConstructorWithOpts=QS;Pe.randomBytes=ew;var lo=Rf(),Jl=zl();function BS(e){return e instanceof Uint8Array||ArrayBuffer.isView(e)&&e.constructor.name==="Uint8Array"}function US(e){return new Uint8Array(e.buffer,e.byteOffset,e.byteLength)}function FS(e){return new Uint32Array(e.buffer,e.byteOffset,Math.floor(e.byteLength/4))}function $S(e){return new DataView(e.buffer,e.byteOffset,e.byteLength)}function GS(e,t){return e<<32-t|e>>>t}function HS(e,t){return e<<t|e>>>32-t>>>0}Pe.isLE=new Uint8Array(new Uint32Array([287454020]).buffer)[0]===68;function Xl(e){return e<<24&4278190080|e<<8&16711680|e>>>8&65280|e>>>24&255}Pe.byteSwapIfBE=Pe.isLE?e=>e:e=>Xl(e);function KS(e){for(let t=0;t<e.length;t++)e[t]=Xl(e[t])}var Of=typeof Uint8Array.from([]).toHex=="function"&&typeof Uint8Array.fromHex=="function",VS=Array.from({length:256},(e,t)=>t.toString(16).padStart(2,"0"));function jS(e){if((0,Jl.abytes)(e),Of)return e.toHex();let t="";for(let n=0;n<e.length;n++)t+=VS[e[n]];return t}var kn={_0:48,_9:57,A:65,F:70,a:97,f:102};function Nf(e){if(e>=kn._0&&e<=kn._9)return e-kn._0;if(e>=kn.A&&e<=kn.F)return e-(kn.A-10);if(e>=kn.a&&e<=kn.f)return e-(kn.a-10)}function WS(e){if(typeof e!="string")throw new Error("hex string expected, got "+typeof e);if(Of)return Uint8Array.fromHex(e);let t=e.length,n=t/2;if(t%2)throw new Error("hex string expected, got unpadded hex of length "+t);let r=new Uint8Array(n);for(let o=0,a=0;o<n;o++,a+=2){let i=Nf(e.charCodeAt(a)),s=Nf(e.charCodeAt(a+1));if(i===void 0||s===void 0){let c=e[a]+e[a+1];throw new Error('hex string expected, got non-hex character "'+c+'" at index '+a)}r[o]=i*16+s}return r}var zS=async()=>{};Pe.nextTick=zS;async function ZS(e,t,n){let r=Date.now();for(let o=0;o<e;o++){n(o);let a=Date.now()-r;a>=0&&a<t||(await(0,Pe.nextTick)(),r+=a)}}function Lf(e){if(typeof e!="string")throw new Error("utf8ToBytes expected string, got "+typeof e);return new Uint8Array(new TextEncoder().encode(e))}function Li(e){return typeof e=="string"&&(e=Lf(e)),(0,Jl.abytes)(e),e}function YS(...e){let t=0;for(let r=0;r<e.length;r++){let o=e[r];(0,Jl.abytes)(o),t+=o.length}let n=new Uint8Array(t);for(let r=0,o=0;r<e.length;r++){let a=e[r];n.set(a,o),o+=a.length}return n}var ql=class{clone(){return this._cloneInto()}};Pe.Hash=ql;function qS(e,t){if(t!==void 0&&{}.toString.call(t)!=="[object Object]")throw new Error("Options should be object or undefined");return Object.assign(e,t)}function JS(e){let t=r=>e().update(Li(r)).digest(),n=e();return t.outputLen=n.outputLen,t.blockLen=n.blockLen,t.create=()=>e(),t}function XS(e){let t=(r,o)=>e(o).update(Li(r)).digest(),n=e({});return t.outputLen=n.outputLen,t.blockLen=n.blockLen,t.create=r=>e(r),t}function QS(e){let t=(r,o)=>e(o).update(Li(r)).digest(),n=e({});return t.outputLen=n.outputLen,t.blockLen=n.blockLen,t.create=r=>e(r),t}function ew(e=32){if(lo.crypto&&typeof lo.crypto.getRandomValues=="function")return lo.crypto.getRandomValues(new Uint8Array(e));if(lo.crypto&&typeof lo.crypto.randomBytes=="function")return Uint8Array.from(lo.crypto.randomBytes(e));throw new Error("crypto.getRandomValues must be defined")}});var Vf=Oe(Ge=>{"use strict";Object.defineProperty(Ge,"__esModule",{value:!0});Ge.shake256=Ge.shake128=Ge.keccak_512=Ge.keccak_384=Ge.keccak_256=Ge.keccak_224=Ge.sha3_512=Ge.sha3_384=Ge.sha3_256=Ge.sha3_224=Ge.Keccak=void 0;Ge.keccakP=Hf;var co=zl(),ia=Mf(),An=Df(),Ff=[],$f=[],Gf=[],tw=BigInt(0),aa=BigInt(1),nw=BigInt(2),rw=BigInt(7),ow=BigInt(256),aw=BigInt(113);for(let e=0,t=aa,n=1,r=0;e<24;e++){[n,r]=[r,(2*n+3*r)%5],Ff.push(2*(5*r+n)),$f.push((e+1)*(e+2)/2%64);let o=tw;for(let a=0;a<7;a++)t=(t<<aa^(t>>rw)*aw)%ow,t&nw&&(o^=aa<<(aa<<BigInt(a))-aa);Gf.push(o)}var[iw,sw]=(0,ia.split)(Gf,!0),Bf=(e,t,n)=>n>32?(0,ia.rotlBH)(e,t,n):(0,ia.rotlSH)(e,t,n),Uf=(e,t,n)=>n>32?(0,ia.rotlBL)(e,t,n):(0,ia.rotlSL)(e,t,n);function Hf(e,t=24){let n=new Uint32Array(10);for(let r=24-t;r<24;r++){for(let i=0;i<10;i++)n[i]=e[i]^e[i+10]^e[i+20]^e[i+30]^e[i+40];for(let i=0;i<10;i+=2){let s=(i+8)%10,c=(i+2)%10,l=n[c],u=n[c+1],f=Bf(l,u,1)^n[s],d=Uf(l,u,1)^n[s+1];for(let p=0;p<50;p+=10)e[i+p]^=f,e[i+p+1]^=d}let o=e[2],a=e[3];for(let i=0;i<24;i++){let s=$f[i],c=Bf(o,a,s),l=Uf(o,a,s),u=Ff[i];o=e[u],a=e[u+1],e[u]=c,e[u+1]=l}for(let i=0;i<50;i+=10){for(let s=0;s<10;s++)n[s]=e[i+s];for(let s=0;s<10;s++)e[i+s]^=~n[(s+2)%10]&n[(s+4)%10]}e[0]^=iw[r],e[1]^=sw[r]}n.fill(0)}var sa=class e extends An.Hash{constructor(t,n,r,o=!1,a=24){if(super(),this.pos=0,this.posOut=0,this.finished=!1,this.destroyed=!1,this.enableXOF=!1,this.blockLen=t,this.suffix=n,this.outputLen=r,this.enableXOF=o,this.rounds=a,(0,co.anumber)(r),0>=this.blockLen||this.blockLen>=200)throw new Error("Sha3 supports only keccak-f1600 function");this.state=new Uint8Array(200),this.state32=(0,An.u32)(this.state)}keccak(){An.isLE||(0,An.byteSwap32)(this.state32),Hf(this.state32,this.rounds),An.isLE||(0,An.byteSwap32)(this.state32),this.posOut=0,this.pos=0}update(t){(0,co.aexists)(this);let{blockLen:n,state:r}=this;t=(0,An.toBytes)(t);let o=t.length;for(let a=0;a<o;){let i=Math.min(n-this.pos,o-a);for(let s=0;s<i;s++)r[this.pos++]^=t[a++];this.pos===n&&this.keccak()}return this}finish(){if(this.finished)return;this.finished=!0;let{state:t,suffix:n,pos:r,blockLen:o}=this;t[r]^=n,n&128&&r===o-1&&this.keccak(),t[o-1]^=128,this.keccak()}writeInto(t){(0,co.aexists)(this,!1),(0,co.abytes)(t),this.finish();let n=this.state,{blockLen:r}=this;for(let o=0,a=t.length;o<a;){this.posOut>=r&&this.keccak();let i=Math.min(r-this.posOut,a-o);t.set(n.subarray(this.posOut,this.posOut+i),o),this.posOut+=i,o+=i}return t}xofInto(t){if(!this.enableXOF)throw new Error("XOF is not possible for this instance");return this.writeInto(t)}xof(t){return(0,co.anumber)(t),this.xofInto(new Uint8Array(t))}digestInto(t){if((0,co.aoutput)(t,this),this.finished)throw new Error("digest() was already called");return this.writeInto(t),this.destroy(),t}digest(){return this.digestInto(new Uint8Array(this.outputLen))}destroy(){this.destroyed=!0,this.state.fill(0)}_cloneInto(t){let{blockLen:n,suffix:r,outputLen:o,rounds:a,enableXOF:i}=this;return t||(t=new e(n,r,o,i,a)),t.state32.set(this.state32),t.pos=this.pos,t.posOut=this.posOut,t.finished=this.finished,t.rounds=a,t.suffix=r,t.outputLen=o,t.enableXOF=i,t.destroyed=this.destroyed,t}};Ge.Keccak=sa;var jn=(e,t,n)=>(0,An.wrapConstructor)(()=>new sa(t,e,n));Ge.sha3_224=jn(6,144,224/8);Ge.sha3_256=jn(6,136,256/8);Ge.sha3_384=jn(6,104,384/8);Ge.sha3_512=jn(6,72,512/8);Ge.keccak_224=jn(1,144,224/8);Ge.keccak_256=jn(1,136,256/8);Ge.keccak_384=jn(1,104,384/8);Ge.keccak_512=jn(1,72,512/8);var Kf=(e,t,n)=>(0,An.wrapXOFConstructorWithOpts)((r={})=>new sa(t,e,r.dkLen===void 0?n:r.dkLen,!0));Ge.shake128=Kf(31,168,128/8);Ge.shake256=Kf(31,136,256/8)});var Xf=Oe((BM,Wn)=>{"use strict";var{sha3_512:lw}=Vf(),Wf=24,la=32,Ql=(e=4,t=Math.random)=>{let n="";for(;n.length<e;)n=n+Math.floor(t()*36).toString(36);return n};function zf(e){let t=8n,n=0n;for(let r of e.values()){let o=BigInt(r);n=(n<<t)+o}return n}var Zf=(e="")=>zf(lw(e)).toString(36).slice(1),jf=Array.from({length:26},(e,t)=>String.fromCharCode(t+97)),cw=e=>jf[Math.floor(e()*jf.length)],Yf=({globalObj:e=typeof global<"u"?global:typeof window<"u"?window:{},random:t=Math.random}={})=>{let n=Object.keys(e).toString(),r=n.length?n+Ql(la,t):Ql(la,t);return Zf(r).substring(0,la)},qf=e=>()=>e++,uw=476782367,Jf=({random:e=Math.random,counter:t=qf(Math.floor(e()*uw)),length:n=Wf,fingerprint:r=Yf({random:e})}={})=>function(){let a=cw(e),i=Date.now().toString(36),s=t().toString(36),c=Ql(n,e),l=`${i+c+s+r}`;return`${a+Zf(l).substring(1,n)}`},dw=Jf(),fw=(e,{minLength:t=2,maxLength:n=la}={})=>{let r=e.length,o=/^[0-9a-z]+$/;try{if(typeof e=="string"&&r>=t&&r<=n&&o.test(e))return!0}finally{}return!1};Wn.exports.getConstants=()=>({defaultLength:Wf,bigLength:la});Wn.exports.init=Jf;Wn.exports.createId=dw;Wn.exports.bufToBigInt=zf;Wn.exports.createCounter=qf;Wn.exports.createFingerprint=Yf;Wn.exports.isCuid=fw});var Qf=Oe((UM,ca)=>{"use strict";var{createId:pw,init:mw,getConstants:gw,isCuid:hw}=Xf();ca.exports.createId=pw;ca.exports.init=mw;ca.exports.getConstants=gw;ca.exports.isCuid=hw});var tp=Oe((FM,ep)=>{"use strict";var uo=1e3,fo=uo*60,po=fo*60,Sr=po*24,bw=Sr*7,yw=Sr*365.25;ep.exports=function(e,t){t=t||{};var n=typeof e;if(n==="string"&&e.length>0)return vw(e);if(n==="number"&&isFinite(e))return t.long?Sw(e):xw(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))};function vw(e){if(e=String(e),!(e.length>100)){var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(t){var n=parseFloat(t[1]),r=(t[2]||"ms").toLowerCase();switch(r){case"years":case"year":case"yrs":case"yr":case"y":return n*yw;case"weeks":case"week":case"w":return n*bw;case"days":case"day":case"d":return n*Sr;case"hours":case"hour":case"hrs":case"hr":case"h":return n*po;case"minutes":case"minute":case"mins":case"min":case"m":return n*fo;case"seconds":case"second":case"secs":case"sec":case"s":return n*uo;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return n;default:return}}}}function xw(e){var t=Math.abs(e);return t>=Sr?Math.round(e/Sr)+"d":t>=po?Math.round(e/po)+"h":t>=fo?Math.round(e/fo)+"m":t>=uo?Math.round(e/uo)+"s":e+"ms"}function Sw(e){var t=Math.abs(e);return t>=Sr?Di(e,t,Sr,"day"):t>=po?Di(e,t,po,"hour"):t>=fo?Di(e,t,fo,"minute"):t>=uo?Di(e,t,uo,"second"):e+" ms"}function Di(e,t,n,r){var o=t>=n*1.5;return Math.round(e/n)+" "+r+(o?"s":"")}});var xp=Oe((QM,vp)=>{"use strict";var cc=Object.defineProperty,Cw=Object.getOwnPropertyDescriptor,Ew=Object.getOwnPropertyNames,kw=Object.prototype.hasOwnProperty,ap=(e,t)=>{for(var n in t)cc(e,n,{get:t[n],enumerable:!0})},Aw=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Ew(t))!kw.call(e,o)&&o!==n&&cc(e,o,{get:()=>t[o],enumerable:!(r=Cw(t,o))||r.enumerable});return e},Pw=e=>Aw(cc({},"__esModule",{value:!0}),e),ip={};ap(ip,{Decimal:()=>RT,Public:()=>sp,getRuntime:()=>Uw,makeStrictEnum:()=>Nw,objectEnumValues:()=>Mw});vp.exports=Pw(ip);var sp={};ap(sp,{validator:()=>Iw});function Iw(...e){return t=>t}var Bi=Symbol(),ec=new WeakMap,_w=class{constructor(e){e===Bi?ec.set(this,"Prisma.".concat(this._getName())):ec.set(this,"new Prisma.".concat(this._getNamespace(),".").concat(this._getName(),"()"))}_getName(){return this.constructor.name}toString(){return ec.get(this)}},uc=class extends _w{_getNamespace(){return"NullTypes"}},tc=class extends uc{};dc(tc,"DbNull");var nc=class extends uc{};dc(nc,"JsonNull");var rc=class extends uc{};dc(rc,"AnyNull");var Mw={classes:{DbNull:tc,JsonNull:nc,AnyNull:rc},instances:{DbNull:new tc(Bi),JsonNull:new nc(Bi),AnyNull:new rc(Bi)}};function dc(e,t){Object.defineProperty(e,"name",{value:t,configurable:!0})}var Rw=new Set(["toJSON","$$typeof","asymmetricMatch",Symbol.iterator,Symbol.toStringTag,Symbol.isConcatSpreadable,Symbol.toPrimitive]);function Nw(e){return new Proxy(e,{get(t,n){if(n in t)return t[n];if(!Rw.has(n))throw new TypeError("Invalid enum value: ".concat(String(n)))}})}var Ow="Cloudflare-Workers",Lw="node";function Dw(){var e,t,n;return typeof Netlify=="object"?"netlify":typeof EdgeRuntime=="string"?"edge-light":((e=globalThis.navigator)==null?void 0:e.userAgent)===Ow?"workerd":globalThis.Deno?"deno":globalThis.__lagon__?"lagon":((n=(t=globalThis.process)==null?void 0:t.release)==null?void 0:n.name)===Lw?"node":globalThis.Bun?"bun":globalThis.fastly?"fastly":"unknown"}var Bw={node:"Node.js",workerd:"Cloudflare Workers",deno:"Deno and Deno Deploy",netlify:"Netlify Edge Functions","edge-light":"Vercel Edge Functions or Edge Middleware"};function Uw(){let e=Dw();return{id:e,prettyName:Bw[e]||e,isEdge:["workerd","deno","netlify","edge-light"].includes(e)}}var mo=9e15,qn=1e9,oc="0123456789abcdef",Fi="2.3025850929940456840179914546843642076011014886287729760333279009675726096773524802359972050895982983419677840422862486334095254650828067566662873690987816894829072083255546808437998948262331985283935053089653777326288461633662222876982198867465436674744042432743651550489343149393914796194044002221051017141748003688084012647080685567743216228355220114804663715659121373450747856947683463616792101806445070648000277502684916746550586856935673420670581136429224554405758925724208241314695689016758940256776311356919292033376587141660230105703089634572075440370847469940168269282808481184289314848524948644871927809676271275775397027668605952496716674183485704422507197965004714951050492214776567636938662976979522110718264549734772662425709429322582798502585509785265383207606726317164309505995087807523710333101197857547331541421808427543863591778117054309827482385045648019095610299291824318237525357709750539565187697510374970888692180205189339507238539205144634197265287286965110862571492198849978748873771345686209167058",$i="3.1415926535897932384626433832795028841971693993751058209749445923078164062862089986280348253421170679821480865132823066470938446095505822317253594081284811174502841027019385211055596446229489549303819644288109756659334461284756482337867831652712019091456485669234603486104543266482133936072602491412737245870066063155881748815209209628292540917153643678925903600113305305488204665213841469519415116094330572703657595919530921861173819326117931051185480744623799627495673518857527248912279381830119491298336733624406566430860213949463952247371907021798609437027705392171762931767523846748184676694051320005681271452635608277857713427577896091736371787214684409012249534301465495853710507922796892589235420199561121290219608640344181598136297747713099605187072113499999983729780499510597317328160963185950244594553469083026425223082533446850352619311881710100031378387528865875332083814206171776691473035982534904287554687311595628638823537875937519577818577805321712268066130019278766111959092164201989380952572010654858632789",ac={precision:20,rounding:4,modulo:1,toExpNeg:-7,toExpPos:21,minE:-mo,maxE:mo,crypto:!1},lp,Pn,de=!0,Hi="[DecimalError] ",Yn=Hi+"Invalid argument: ",cp=Hi+"Precision limit exceeded",up=Hi+"crypto unavailable",dp="[object Decimal]",mt=Math.floor,et=Math.pow,Fw=/^0b([01]+(\.[01]*)?|\.[01]+)(p[+-]?\d+)?$/i,$w=/^0x([0-9a-f]+(\.[0-9a-f]*)?|\.[0-9a-f]+)(p[+-]?\d+)?$/i,Gw=/^0o([0-7]+(\.[0-7]*)?|\.[0-7]+)(p[+-]?\d+)?$/i,fp=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,zt=1e7,le=7,Hw=9007199254740991,Kw=Fi.length-1,ic=$i.length-1,N={toStringTag:dp};N.absoluteValue=N.abs=function(){var e=new this.constructor(this);return e.s<0&&(e.s=1),ee(e)};N.ceil=function(){return ee(new this.constructor(this),this.e+1,2)};N.clampedTo=N.clamp=function(e,t){var n,r=this,o=r.constructor;if(e=new o(e),t=new o(t),!e.s||!t.s)return new o(NaN);if(e.gt(t))throw Error(Yn+t);return n=r.cmp(e),n<0?e:r.cmp(t)>0?t:new o(r)};N.comparedTo=N.cmp=function(e){var t,n,r,o,a=this,i=a.d,s=(e=new a.constructor(e)).d,c=a.s,l=e.s;if(!i||!s)return!c||!l?NaN:c!==l?c:i===s?0:!i^c<0?1:-1;if(!i[0]||!s[0])return i[0]?c:s[0]?-l:0;if(c!==l)return c;if(a.e!==e.e)return a.e>e.e^c<0?1:-1;for(r=i.length,o=s.length,t=0,n=r<o?r:o;t<n;++t)if(i[t]!==s[t])return i[t]>s[t]^c<0?1:-1;return r===o?0:r>o^c<0?1:-1};N.cosine=N.cos=function(){var e,t,n=this,r=n.constructor;return n.d?n.d[0]?(e=r.precision,t=r.rounding,r.precision=e+Math.max(n.e,n.sd())+le,r.rounding=1,n=Vw(r,bp(r,n)),r.precision=e,r.rounding=t,ee(Pn==2||Pn==3?n.neg():n,e,t,!0)):new r(1):new r(NaN)};N.cubeRoot=N.cbrt=function(){var e,t,n,r,o,a,i,s,c,l,u=this,f=u.constructor;if(!u.isFinite()||u.isZero())return new f(u);for(de=!1,a=u.s*et(u.s*u,1/3),!a||Math.abs(a)==1/0?(n=st(u.d),e=u.e,(a=(e-n.length+1)%3)&&(n+=a==1||a==-2?"0":"00"),a=et(n,1/3),e=mt((e+1)/3)-(e%3==(e<0?-1:2)),a==1/0?n="5e"+e:(n=a.toExponential(),n=n.slice(0,n.indexOf("e")+1)+e),r=new f(n),r.s=u.s):r=new f(a.toString()),i=(e=f.precision)+3;;)if(s=r,c=s.times(s).times(s),l=c.plus(u),r=Le(l.plus(u).times(s),l.plus(c),i+2,1),st(s.d).slice(0,i)===(n=st(r.d)).slice(0,i))if(n=n.slice(i-3,i+1),n=="9999"||!o&&n=="4999"){if(!o&&(ee(s,e+1,0),s.times(s).times(s).eq(u))){r=s;break}i+=4,o=1}else{(!+n||!+n.slice(1)&&n.charAt(0)=="5")&&(ee(r,e+1,1),t=!r.times(r).times(r).eq(u));break}return de=!0,ee(r,e,f.rounding,t)};N.decimalPlaces=N.dp=function(){var e,t=this.d,n=NaN;if(t){if(e=t.length-1,n=(e-mt(this.e/le))*le,e=t[e],e)for(;e%10==0;e/=10)n--;n<0&&(n=0)}return n};N.dividedBy=N.div=function(e){return Le(this,new this.constructor(e))};N.dividedToIntegerBy=N.divToInt=function(e){var t=this,n=t.constructor;return ee(Le(t,new n(e),0,1,1),n.precision,n.rounding)};N.equals=N.eq=function(e){return this.cmp(e)===0};N.floor=function(){return ee(new this.constructor(this),this.e+1,3)};N.greaterThan=N.gt=function(e){return this.cmp(e)>0};N.greaterThanOrEqualTo=N.gte=function(e){var t=this.cmp(e);return t==1||t===0};N.hyperbolicCosine=N.cosh=function(){var e,t,n,r,o,a=this,i=a.constructor,s=new i(1);if(!a.isFinite())return new i(a.s?1/0:NaN);if(a.isZero())return s;n=i.precision,r=i.rounding,i.precision=n+Math.max(a.e,a.sd())+4,i.rounding=1,o=a.d.length,o<32?(e=Math.ceil(o/3),t=(1/Vi(4,e)).toString()):(e=16,t="2.3283064365386962890625e-10"),a=go(i,1,a.times(t),new i(1),!0);for(var c,l=e,u=new i(8);l--;)c=a.times(a),a=s.minus(c.times(u.minus(c.times(u))));return ee(a,i.precision=n,i.rounding=r,!0)};N.hyperbolicSine=N.sinh=function(){var e,t,n,r,o=this,a=o.constructor;if(!o.isFinite()||o.isZero())return new a(o);if(t=a.precision,n=a.rounding,a.precision=t+Math.max(o.e,o.sd())+4,a.rounding=1,r=o.d.length,r<3)o=go(a,2,o,o,!0);else{e=1.4*Math.sqrt(r),e=e>16?16:e|0,o=o.times(1/Vi(5,e)),o=go(a,2,o,o,!0);for(var i,s=new a(5),c=new a(16),l=new a(20);e--;)i=o.times(o),o=o.times(s.plus(i.times(c.times(i).plus(l))))}return a.precision=t,a.rounding=n,ee(o,t,n,!0)};N.hyperbolicTangent=N.tanh=function(){var e,t,n=this,r=n.constructor;return n.isFinite()?n.isZero()?new r(n):(e=r.precision,t=r.rounding,r.precision=e+7,r.rounding=1,Le(n.sinh(),n.cosh(),r.precision=e,r.rounding=t)):new r(n.s)};N.inverseCosine=N.acos=function(){var e,t=this,n=t.constructor,r=t.abs().cmp(1),o=n.precision,a=n.rounding;return r!==-1?r===0?t.isNeg()?Wt(n,o,a):new n(0):new n(NaN):t.isZero()?Wt(n,o+4,a).times(.5):(n.precision=o+6,n.rounding=1,t=t.asin(),e=Wt(n,o+4,a).times(.5),n.precision=o,n.rounding=a,e.minus(t))};N.inverseHyperbolicCosine=N.acosh=function(){var e,t,n=this,r=n.constructor;return n.lte(1)?new r(n.eq(1)?0:NaN):n.isFinite()?(e=r.precision,t=r.rounding,r.precision=e+Math.max(Math.abs(n.e),n.sd())+4,r.rounding=1,de=!1,n=n.times(n).minus(1).sqrt().plus(n),de=!0,r.precision=e,r.rounding=t,n.ln()):new r(n)};N.inverseHyperbolicSine=N.asinh=function(){var e,t,n=this,r=n.constructor;return!n.isFinite()||n.isZero()?new r(n):(e=r.precision,t=r.rounding,r.precision=e+2*Math.max(Math.abs(n.e),n.sd())+6,r.rounding=1,de=!1,n=n.times(n).plus(1).sqrt().plus(n),de=!0,r.precision=e,r.rounding=t,n.ln())};N.inverseHyperbolicTangent=N.atanh=function(){var e,t,n,r,o=this,a=o.constructor;return o.isFinite()?o.e>=0?new a(o.abs().eq(1)?o.s/0:o.isZero()?o:NaN):(e=a.precision,t=a.rounding,r=o.sd(),Math.max(r,e)<2*-o.e-1?ee(new a(o),e,t,!0):(a.precision=n=r-o.e,o=Le(o.plus(1),new a(1).minus(o),n+e,1),a.precision=e+4,a.rounding=1,o=o.ln(),a.precision=e,a.rounding=t,o.times(.5))):new a(NaN)};N.inverseSine=N.asin=function(){var e,t,n,r,o=this,a=o.constructor;return o.isZero()?new a(o):(t=o.abs().cmp(1),n=a.precision,r=a.rounding,t!==-1?t===0?(e=Wt(a,n+4,r).times(.5),e.s=o.s,e):new a(NaN):(a.precision=n+6,a.rounding=1,o=o.div(new a(1).minus(o.times(o)).sqrt().plus(1)).atan(),a.precision=n,a.rounding=r,o.times(2)))};N.inverseTangent=N.atan=function(){var e,t,n,r,o,a,i,s,c,l=this,u=l.constructor,f=u.precision,d=u.rounding;if(l.isFinite()){if(l.isZero())return new u(l);if(l.abs().eq(1)&&f+4<=ic)return i=Wt(u,f+4,d).times(.25),i.s=l.s,i}else{if(!l.s)return new u(NaN);if(f+4<=ic)return i=Wt(u,f+4,d).times(.5),i.s=l.s,i}for(u.precision=s=f+10,u.rounding=1,n=Math.min(28,s/le+2|0),e=n;e;--e)l=l.div(l.times(l).plus(1).sqrt().plus(1));for(de=!1,t=Math.ceil(s/le),r=1,c=l.times(l),i=new u(l),o=l;e!==-1;)if(o=o.times(c),a=i.minus(o.div(r+=2)),o=o.times(c),i=a.plus(o.div(r+=2)),i.d[t]!==void 0)for(e=t;i.d[e]===a.d[e]&&e--;);return n&&(i=i.times(2<<n-1)),de=!0,ee(i,u.precision=f,u.rounding=d,!0)};N.isFinite=function(){return!!this.d};N.isInteger=N.isInt=function(){return!!this.d&&mt(this.e/le)>this.d.length-2};N.isNaN=function(){return!this.s};N.isNegative=N.isNeg=function(){return this.s<0};N.isPositive=N.isPos=function(){return this.s>0};N.isZero=function(){return!!this.d&&this.d[0]===0};N.lessThan=N.lt=function(e){return this.cmp(e)<0};N.lessThanOrEqualTo=N.lte=function(e){return this.cmp(e)<1};N.logarithm=N.log=function(e){var t,n,r,o,a,i,s,c,l=this,u=l.constructor,f=u.precision,d=u.rounding,p=5;if(e==null)e=new u(10),t=!0;else{if(e=new u(e),n=e.d,e.s<0||!n||!n[0]||e.eq(1))return new u(NaN);t=e.eq(10)}if(n=l.d,l.s<0||!n||!n[0]||l.eq(1))return new u(n&&!n[0]?-1/0:l.s!=1?NaN:n?0:1/0);if(t)if(n.length>1)a=!0;else{for(o=n[0];o%10===0;)o/=10;a=o!==1}if(de=!1,s=f+p,i=Zn(l,s),r=t?Gi(u,s+10):Zn(e,s),c=Le(i,r,s,1),ua(c.d,o=f,d))do if(s+=10,i=Zn(l,s),r=t?Gi(u,s+10):Zn(e,s),c=Le(i,r,s,1),!a){+st(c.d).slice(o+1,o+15)+1==1e14&&(c=ee(c,f+1,0));break}while(ua(c.d,o+=10,d));return de=!0,ee(c,f,d)};N.minus=N.sub=function(e){var t,n,r,o,a,i,s,c,l,u,f,d,p=this,h=p.constructor;if(e=new h(e),!p.d||!e.d)return!p.s||!e.s?e=new h(NaN):p.d?e.s=-e.s:e=new h(e.d||p.s!==e.s?p:NaN),e;if(p.s!=e.s)return e.s=-e.s,p.plus(e);if(l=p.d,d=e.d,s=h.precision,c=h.rounding,!l[0]||!d[0]){if(d[0])e.s=-e.s;else if(l[0])e=new h(p);else return new h(c===3?-0:0);return de?ee(e,s,c):e}if(n=mt(e.e/le),u=mt(p.e/le),l=l.slice(),a=u-n,a){for(f=a<0,f?(t=l,a=-a,i=d.length):(t=d,n=u,i=l.length),r=Math.max(Math.ceil(s/le),i)+2,a>r&&(a=r,t.length=1),t.reverse(),r=a;r--;)t.push(0);t.reverse()}else{for(r=l.length,i=d.length,f=r<i,f&&(i=r),r=0;r<i;r++)if(l[r]!=d[r]){f=l[r]<d[r];break}a=0}for(f&&(t=l,l=d,d=t,e.s=-e.s),i=l.length,r=d.length-i;r>0;--r)l[i++]=0;for(r=d.length;r>a;){if(l[--r]<d[r]){for(o=r;o&&l[--o]===0;)l[o]=zt-1;--l[o],l[r]+=zt}l[r]-=d[r]}for(;l[--i]===0;)l.pop();for(;l[0]===0;l.shift())--n;return l[0]?(e.d=l,e.e=Ki(l,n),de?ee(e,s,c):e):new h(c===3?-0:0)};N.modulo=N.mod=function(e){var t,n=this,r=n.constructor;return e=new r(e),!n.d||!e.s||e.d&&!e.d[0]?new r(NaN):!e.d||n.d&&!n.d[0]?ee(new r(n),r.precision,r.rounding):(de=!1,r.modulo==9?(t=Le(n,e.abs(),0,3,1),t.s*=e.s):t=Le(n,e,0,r.modulo,1),t=t.times(e),de=!0,n.minus(t))};N.naturalExponential=N.exp=function(){return sc(this)};N.naturalLogarithm=N.ln=function(){return Zn(this)};N.negated=N.neg=function(){var e=new this.constructor(this);return e.s=-e.s,ee(e)};N.plus=N.add=function(e){var t,n,r,o,a,i,s,c,l,u,f=this,d=f.constructor;if(e=new d(e),!f.d||!e.d)return!f.s||!e.s?e=new d(NaN):f.d||(e=new d(e.d||f.s===e.s?f:NaN)),e;if(f.s!=e.s)return e.s=-e.s,f.minus(e);if(l=f.d,u=e.d,s=d.precision,c=d.rounding,!l[0]||!u[0])return u[0]||(e=new d(f)),de?ee(e,s,c):e;if(a=mt(f.e/le),r=mt(e.e/le),l=l.slice(),o=a-r,o){for(o<0?(n=l,o=-o,i=u.length):(n=u,r=a,i=l.length),a=Math.ceil(s/le),i=a>i?a+1:i+1,o>i&&(o=i,n.length=1),n.reverse();o--;)n.push(0);n.reverse()}for(i=l.length,o=u.length,i-o<0&&(o=i,n=u,u=l,l=n),t=0;o;)t=(l[--o]=l[o]+u[o]+t)/zt|0,l[o]%=zt;for(t&&(l.unshift(t),++r),i=l.length;l[--i]==0;)l.pop();return e.d=l,e.e=Ki(l,r),de?ee(e,s,c):e};N.precision=N.sd=function(e){var t,n=this;if(e!==void 0&&e!==!!e&&e!==1&&e!==0)throw Error(Yn+e);return n.d?(t=pp(n.d),e&&n.e+1>t&&(t=n.e+1)):t=NaN,t};N.round=function(){var e=this,t=e.constructor;return ee(new t(e),e.e+1,t.rounding)};N.sine=N.sin=function(){var e,t,n=this,r=n.constructor;return n.isFinite()?n.isZero()?new r(n):(e=r.precision,t=r.rounding,r.precision=e+Math.max(n.e,n.sd())+le,r.rounding=1,n=Ww(r,bp(r,n)),r.precision=e,r.rounding=t,ee(Pn>2?n.neg():n,e,t,!0)):new r(NaN)};N.squareRoot=N.sqrt=function(){var e,t,n,r,o,a,i=this,s=i.d,c=i.e,l=i.s,u=i.constructor;if(l!==1||!s||!s[0])return new u(!l||l<0&&(!s||s[0])?NaN:s?i:1/0);for(de=!1,l=Math.sqrt(+i),l==0||l==1/0?(t=st(s),(t.length+c)%2==0&&(t+="0"),l=Math.sqrt(t),c=mt((c+1)/2)-(c<0||c%2),l==1/0?t="5e"+c:(t=l.toExponential(),t=t.slice(0,t.indexOf("e")+1)+c),r=new u(t)):r=new u(l.toString()),n=(c=u.precision)+3;;)if(a=r,r=a.plus(Le(i,a,n+2,1)).times(.5),st(a.d).slice(0,n)===(t=st(r.d)).slice(0,n))if(t=t.slice(n-3,n+1),t=="9999"||!o&&t=="4999"){if(!o&&(ee(a,c+1,0),a.times(a).eq(i))){r=a;break}n+=4,o=1}else{(!+t||!+t.slice(1)&&t.charAt(0)=="5")&&(ee(r,c+1,1),e=!r.times(r).eq(i));break}return de=!0,ee(r,c,u.rounding,e)};N.tangent=N.tan=function(){var e,t,n=this,r=n.constructor;return n.isFinite()?n.isZero()?new r(n):(e=r.precision,t=r.rounding,r.precision=e+10,r.rounding=1,n=n.sin(),n.s=1,n=Le(n,new r(1).minus(n.times(n)).sqrt(),e+10,0),r.precision=e,r.rounding=t,ee(Pn==2||Pn==4?n.neg():n,e,t,!0)):new r(NaN)};N.times=N.mul=function(e){var t,n,r,o,a,i,s,c,l,u=this,f=u.constructor,d=u.d,p=(e=new f(e)).d;if(e.s*=u.s,!d||!d[0]||!p||!p[0])return new f(!e.s||d&&!d[0]&&!p||p&&!p[0]&&!d?NaN:!d||!p?e.s/0:e.s*0);for(n=mt(u.e/le)+mt(e.e/le),c=d.length,l=p.length,c<l&&(a=d,d=p,p=a,i=c,c=l,l=i),a=[],i=c+l,r=i;r--;)a.push(0);for(r=l;--r>=0;){for(t=0,o=c+r;o>r;)s=a[o]+p[r]*d[o-r-1]+t,a[o--]=s%zt|0,t=s/zt|0;a[o]=(a[o]+t)%zt|0}for(;!a[--i];)a.pop();return t?++n:a.shift(),e.d=a,e.e=Ki(a,n),de?ee(e,f.precision,f.rounding):e};N.toBinary=function(e,t){return fc(this,2,e,t)};N.toDecimalPlaces=N.toDP=function(e,t){var n=this,r=n.constructor;return n=new r(n),e===void 0?n:(Et(e,0,qn),t===void 0?t=r.rounding:Et(t,0,8),ee(n,e+n.e+1,t))};N.toExponential=function(e,t){var n,r=this,o=r.constructor;return e===void 0?n=un(r,!0):(Et(e,0,qn),t===void 0?t=o.rounding:Et(t,0,8),r=ee(new o(r),e+1,t),n=un(r,!0,e+1)),r.isNeg()&&!r.isZero()?"-"+n:n};N.toFixed=function(e,t){var n,r,o=this,a=o.constructor;return e===void 0?n=un(o):(Et(e,0,qn),t===void 0?t=a.rounding:Et(t,0,8),r=ee(new a(o),e+o.e+1,t),n=un(r,!1,e+r.e+1)),o.isNeg()&&!o.isZero()?"-"+n:n};N.toFraction=function(e){var t,n,r,o,a,i,s,c,l,u,f,d,p=this,h=p.d,g=p.constructor;if(!h)return new g(p);if(l=n=new g(1),r=c=new g(0),t=new g(r),a=t.e=pp(h)-p.e-1,i=a%le,t.d[0]=et(10,i<0?le+i:i),e==null)e=a>0?t:l;else{if(s=new g(e),!s.isInt()||s.lt(l))throw Error(Yn+s);e=s.gt(t)?a>0?t:l:s}for(de=!1,s=new g(st(h)),u=g.precision,g.precision=a=h.length*le*2;f=Le(s,t,0,1,1),o=n.plus(f.times(r)),o.cmp(e)!=1;)n=r,r=o,o=l,l=c.plus(f.times(o)),c=o,o=t,t=s.minus(f.times(o)),s=o;return o=Le(e.minus(n),r,0,1,1),c=c.plus(o.times(l)),n=n.plus(o.times(r)),c.s=l.s=p.s,d=Le(l,r,a,1).minus(p).abs().cmp(Le(c,n,a,1).minus(p).abs())<1?[l,r]:[c,n],g.precision=u,de=!0,d};N.toHexadecimal=N.toHex=function(e,t){return fc(this,16,e,t)};N.toNearest=function(e,t){var n=this,r=n.constructor;if(n=new r(n),e==null){if(!n.d)return n;e=new r(1),t=r.rounding}else{if(e=new r(e),t===void 0?t=r.rounding:Et(t,0,8),!n.d)return e.s?n:e;if(!e.d)return e.s&&(e.s=n.s),e}return e.d[0]?(de=!1,n=Le(n,e,0,t,1).times(e),de=!0,ee(n)):(e.s=n.s,n=e),n};N.toNumber=function(){return+this};N.toOctal=function(e,t){return fc(this,8,e,t)};N.toPower=N.pow=function(e){var t,n,r,o,a,i,s=this,c=s.constructor,l=+(e=new c(e));if(!s.d||!e.d||!s.d[0]||!e.d[0])return new c(et(+s,l));if(s=new c(s),s.eq(1))return s;if(r=c.precision,a=c.rounding,e.eq(1))return ee(s,r,a);if(t=mt(e.e/le),t>=e.d.length-1&&(n=l<0?-l:l)<=Hw)return o=mp(c,s,n,r),e.s<0?new c(1).div(o):ee(o,r,a);if(i=s.s,i<0){if(t<e.d.length-1)return new c(NaN);if(e.d[t]&1||(i=1),s.e==0&&s.d[0]==1&&s.d.length==1)return s.s=i,s}return n=et(+s,l),t=n==0||!isFinite(n)?mt(l*(Math.log("0."+st(s.d))/Math.LN10+s.e+1)):new c(n+"").e,t>c.maxE+1||t<c.minE-1?new c(t>0?i/0:0):(de=!1,c.rounding=s.s=1,n=Math.min(12,(t+"").length),o=sc(e.times(Zn(s,r+n)),r),o.d&&(o=ee(o,r+5,1),ua(o.d,r,a)&&(t=r+10,o=ee(sc(e.times(Zn(s,t+n)),t),t+5,1),+st(o.d).slice(r+1,r+15)+1==1e14&&(o=ee(o,r+1,0)))),o.s=i,de=!0,c.rounding=a,ee(o,r,a))};N.toPrecision=function(e,t){var n,r=this,o=r.constructor;return e===void 0?n=un(r,r.e<=o.toExpNeg||r.e>=o.toExpPos):(Et(e,1,qn),t===void 0?t=o.rounding:Et(t,0,8),r=ee(new o(r),e,t),n=un(r,e<=r.e||r.e<=o.toExpNeg,e)),r.isNeg()&&!r.isZero()?"-"+n:n};N.toSignificantDigits=N.toSD=function(e,t){var n=this,r=n.constructor;return e===void 0?(e=r.precision,t=r.rounding):(Et(e,1,qn),t===void 0?t=r.rounding:Et(t,0,8)),ee(new r(n),e,t)};N.toString=function(){var e=this,t=e.constructor,n=un(e,e.e<=t.toExpNeg||e.e>=t.toExpPos);return e.isNeg()&&!e.isZero()?"-"+n:n};N.truncated=N.trunc=function(){return ee(new this.constructor(this),this.e+1,1)};N.valueOf=N.toJSON=function(){var e=this,t=e.constructor,n=un(e,e.e<=t.toExpNeg||e.e>=t.toExpPos);return e.isNeg()?"-"+n:n};function st(e){var t,n,r,o=e.length-1,a="",i=e[0];if(o>0){for(a+=i,t=1;t<o;t++)r=e[t]+"",n=le-r.length,n&&(a+=zn(n)),a+=r;i=e[t],r=i+"",n=le-r.length,n&&(a+=zn(n))}else if(i===0)return"0";for(;i%10===0;)i/=10;return a+i}function Et(e,t,n){if(e!==~~e||e<t||e>n)throw Error(Yn+e)}function ua(e,t,n,r){var o,a,i,s;for(a=e[0];a>=10;a/=10)--t;return--t<0?(t+=le,o=0):(o=Math.ceil((t+1)/le),t%=le),a=et(10,le-t),s=e[o]%a|0,r==null?t<3?(t==0?s=s/100|0:t==1&&(s=s/10|0),i=n<4&&s==99999||n>3&&s==49999||s==5e4||s==0):i=(n<4&&s+1==a||n>3&&s+1==a/2)&&(e[o+1]/a/100|0)==et(10,t-2)-1||(s==a/2||s==0)&&(e[o+1]/a/100|0)==0:t<4?(t==0?s=s/1e3|0:t==1?s=s/100|0:t==2&&(s=s/10|0),i=(r||n<4)&&s==9999||!r&&n>3&&s==4999):i=((r||n<4)&&s+1==a||!r&&n>3&&s+1==a/2)&&(e[o+1]/a/1e3|0)==et(10,t-3)-1,i}function Ui(e,t,n){for(var r,o=[0],a,i=0,s=e.length;i<s;){for(a=o.length;a--;)o[a]*=t;for(o[0]+=oc.indexOf(e.charAt(i++)),r=0;r<o.length;r++)o[r]>n-1&&(o[r+1]===void 0&&(o[r+1]=0),o[r+1]+=o[r]/n|0,o[r]%=n)}return o.reverse()}function Vw(e,t){var n,r,o;if(t.isZero())return t;r=t.d.length,r<32?(n=Math.ceil(r/3),o=(1/Vi(4,n)).toString()):(n=16,o="2.3283064365386962890625e-10"),e.precision+=n,t=go(e,1,t.times(o),new e(1));for(var a=n;a--;){var i=t.times(t);t=i.times(i).minus(i).times(8).plus(1)}return e.precision-=n,t}var Le=function(){function e(r,o,a){var i,s=0,c=r.length;for(r=r.slice();c--;)i=r[c]*o+s,r[c]=i%a|0,s=i/a|0;return s&&r.unshift(s),r}function t(r,o,a,i){var s,c;if(a!=i)c=a>i?1:-1;else for(s=c=0;s<a;s++)if(r[s]!=o[s]){c=r[s]>o[s]?1:-1;break}return c}function n(r,o,a,i){for(var s=0;a--;)r[a]-=s,s=r[a]<o[a]?1:0,r[a]=s*i+r[a]-o[a];for(;!r[0]&&r.length>1;)r.shift()}return function(r,o,a,i,s,c){var l,u,f,d,p,h,g,x,b,E,S,k,I,G,D,ie,V,W,L,P,T=r.constructor,C=r.s==o.s?1:-1,R=r.d,O=o.d;if(!R||!R[0]||!O||!O[0])return new T(!r.s||!o.s||(R?O&&R[0]==O[0]:!O)?NaN:R&&R[0]==0||!O?C*0:C/0);for(c?(p=1,u=r.e-o.e):(c=zt,p=le,u=mt(r.e/p)-mt(o.e/p)),L=O.length,V=R.length,b=new T(C),E=b.d=[],f=0;O[f]==(R[f]||0);f++);if(O[f]>(R[f]||0)&&u--,a==null?(G=a=T.precision,i=T.rounding):s?G=a+(r.e-o.e)+1:G=a,G<0)E.push(1),h=!0;else{if(G=G/p+2|0,f=0,L==1){for(d=0,O=O[0],G++;(f<V||d)&&G--;f++)D=d*c+(R[f]||0),E[f]=D/O|0,d=D%O|0;h=d||f<V}else{for(d=c/(O[0]+1)|0,d>1&&(O=e(O,d,c),R=e(R,d,c),L=O.length,V=R.length),ie=L,S=R.slice(0,L),k=S.length;k<L;)S[k++]=0;P=O.slice(),P.unshift(0),W=O[0],O[1]>=c/2&&++W;do d=0,l=t(O,S,L,k),l<0?(I=S[0],L!=k&&(I=I*c+(S[1]||0)),d=I/W|0,d>1?(d>=c&&(d=c-1),g=e(O,d,c),x=g.length,k=S.length,l=t(g,S,x,k),l==1&&(d--,n(g,L<x?P:O,x,c))):(d==0&&(l=d=1),g=O.slice()),x=g.length,x<k&&g.unshift(0),n(S,g,k,c),l==-1&&(k=S.length,l=t(O,S,L,k),l<1&&(d++,n(S,L<k?P:O,k,c))),k=S.length):l===0&&(d++,S=[0]),E[f++]=d,l&&S[0]?S[k++]=R[ie]||0:(S=[R[ie]],k=1);while((ie++<V||S[0]!==void 0)&&G--);h=S[0]!==void 0}E[0]||E.shift()}if(p==1)b.e=u,lp=h;else{for(f=1,d=E[0];d>=10;d/=10)f++;b.e=f+u*p-1,ee(b,s?a+b.e+1:a,i,h)}return b}}();function ee(e,t,n,r){var o,a,i,s,c,l,u,f,d,p=e.constructor;e:if(t!=null){if(f=e.d,!f)return e;for(o=1,s=f[0];s>=10;s/=10)o++;if(a=t-o,a<0)a+=le,i=t,u=f[d=0],c=u/et(10,o-i-1)%10|0;else if(d=Math.ceil((a+1)/le),s=f.length,d>=s)if(r){for(;s++<=d;)f.push(0);u=c=0,o=1,a%=le,i=a-le+1}else break e;else{for(u=s=f[d],o=1;s>=10;s/=10)o++;a%=le,i=a-le+o,c=i<0?0:u/et(10,o-i-1)%10|0}if(r=r||t<0||f[d+1]!==void 0||(i<0?u:u%et(10,o-i-1)),l=n<4?(c||r)&&(n==0||n==(e.s<0?3:2)):c>5||c==5&&(n==4||r||n==6&&(a>0?i>0?u/et(10,o-i):0:f[d-1])%10&1||n==(e.s<0?8:7)),t<1||!f[0])return f.length=0,l?(t-=e.e+1,f[0]=et(10,(le-t%le)%le),e.e=-t||0):f[0]=e.e=0,e;if(a==0?(f.length=d,s=1,d--):(f.length=d+1,s=et(10,le-a),f[d]=i>0?(u/et(10,o-i)%et(10,i)|0)*s:0),l)for(;;)if(d==0){for(a=1,i=f[0];i>=10;i/=10)a++;for(i=f[0]+=s,s=1;i>=10;i/=10)s++;a!=s&&(e.e++,f[0]==zt&&(f[0]=1));break}else{if(f[d]+=s,f[d]!=zt)break;f[d--]=0,s=1}for(a=f.length;f[--a]===0;)f.pop()}return de&&(e.e>p.maxE?(e.d=null,e.e=NaN):e.e<p.minE&&(e.e=0,e.d=[0])),e}function un(e,t,n){if(!e.isFinite())return hp(e);var r,o=e.e,a=st(e.d),i=a.length;return t?(n&&(r=n-i)>0?a=a.charAt(0)+"."+a.slice(1)+zn(r):i>1&&(a=a.charAt(0)+"."+a.slice(1)),a=a+(e.e<0?"e":"e+")+e.e):o<0?(a="0."+zn(-o-1)+a,n&&(r=n-i)>0&&(a+=zn(r))):o>=i?(a+=zn(o+1-i),n&&(r=n-o-1)>0&&(a=a+"."+zn(r))):((r=o+1)<i&&(a=a.slice(0,r)+"."+a.slice(r)),n&&(r=n-i)>0&&(o+1===i&&(a+="."),a+=zn(r))),a}function Ki(e,t){var n=e[0];for(t*=le;n>=10;n/=10)t++;return t}function Gi(e,t,n){if(t>Kw)throw de=!0,n&&(e.precision=n),Error(cp);return ee(new e(Fi),t,1,!0)}function Wt(e,t,n){if(t>ic)throw Error(cp);return ee(new e($i),t,n,!0)}function pp(e){var t=e.length-1,n=t*le+1;if(t=e[t],t){for(;t%10==0;t/=10)n--;for(t=e[0];t>=10;t/=10)n++}return n}function zn(e){for(var t="";e--;)t+="0";return t}function mp(e,t,n,r){var o,a=new e(1),i=Math.ceil(r/le+4);for(de=!1;;){if(n%2&&(a=a.times(t),rp(a.d,i)&&(o=!0)),n=mt(n/2),n===0){n=a.d.length-1,o&&a.d[n]===0&&++a.d[n];break}t=t.times(t),rp(t.d,i)}return de=!0,a}function np(e){return e.d[e.d.length-1]&1}function gp(e,t,n){for(var r,o=new e(t[0]),a=0;++a<t.length;)if(r=new e(t[a]),r.s)o[n](r)&&(o=r);else{o=r;break}return o}function sc(e,t){var n,r,o,a,i,s,c,l=0,u=0,f=0,d=e.constructor,p=d.rounding,h=d.precision;if(!e.d||!e.d[0]||e.e>17)return new d(e.d?e.d[0]?e.s<0?0:1/0:1:e.s?e.s<0?0:e:NaN);for(t==null?(de=!1,c=h):c=t,s=new d(.03125);e.e>-2;)e=e.times(s),f+=5;for(r=Math.log(et(2,f))/Math.LN10*2+5|0,c+=r,n=a=i=new d(1),d.precision=c;;){if(a=ee(a.times(e),c,1),n=n.times(++u),s=i.plus(Le(a,n,c,1)),st(s.d).slice(0,c)===st(i.d).slice(0,c)){for(o=f;o--;)i=ee(i.times(i),c,1);if(t==null)if(l<3&&ua(i.d,c-r,p,l))d.precision=c+=10,n=a=s=new d(1),u=0,l++;else return ee(i,d.precision=h,p,de=!0);else return d.precision=h,i}i=s}}function Zn(e,t){var n,r,o,a,i,s,c,l,u,f,d,p=1,h=10,g=e,x=g.d,b=g.constructor,E=b.rounding,S=b.precision;if(g.s<0||!x||!x[0]||!g.e&&x[0]==1&&x.length==1)return new b(x&&!x[0]?-1/0:g.s!=1?NaN:x?0:g);if(t==null?(de=!1,u=S):u=t,b.precision=u+=h,n=st(x),r=n.charAt(0),Math.abs(a=g.e)<15e14){for(;r<7&&r!=1||r==1&&n.charAt(1)>3;)g=g.times(e),n=st(g.d),r=n.charAt(0),p++;a=g.e,r>1?(g=new b("0."+n),a++):g=new b(r+"."+n.slice(1))}else return l=Gi(b,u+2,S).times(a+""),g=Zn(new b(r+"."+n.slice(1)),u-h).plus(l),b.precision=S,t==null?ee(g,S,E,de=!0):g;for(f=g,c=i=g=Le(g.minus(1),g.plus(1),u,1),d=ee(g.times(g),u,1),o=3;;){if(i=ee(i.times(d),u,1),l=c.plus(Le(i,new b(o),u,1)),st(l.d).slice(0,u)===st(c.d).slice(0,u))if(c=c.times(2),a!==0&&(c=c.plus(Gi(b,u+2,S).times(a+""))),c=Le(c,new b(p),u,1),t==null)if(ua(c.d,u-h,E,s))b.precision=u+=h,l=i=g=Le(f.minus(1),f.plus(1),u,1),d=ee(g.times(g),u,1),o=s=1;else return ee(c,b.precision=S,E,de=!0);else return b.precision=S,c;c=l,o+=2}}function hp(e){return String(e.s*e.s/0)}function lc(e,t){var n,r,o;for((n=t.indexOf("."))>-1&&(t=t.replace(".","")),(r=t.search(/e/i))>0?(n<0&&(n=r),n+=+t.slice(r+1),t=t.substring(0,r)):n<0&&(n=t.length),r=0;t.charCodeAt(r)===48;r++);for(o=t.length;t.charCodeAt(o-1)===48;--o);if(t=t.slice(r,o),t){if(o-=r,e.e=n=n-r-1,e.d=[],r=(n+1)%le,n<0&&(r+=le),r<o){for(r&&e.d.push(+t.slice(0,r)),o-=le;r<o;)e.d.push(+t.slice(r,r+=le));t=t.slice(r),r=le-t.length}else r-=o;for(;r--;)t+="0";e.d.push(+t),de&&(e.e>e.constructor.maxE?(e.d=null,e.e=NaN):e.e<e.constructor.minE&&(e.e=0,e.d=[0]))}else e.e=0,e.d=[0];return e}function jw(e,t){var n,r,o,a,i,s,c,l,u;if(t.indexOf("_")>-1){if(t=t.replace(/(\d)_(?=\d)/g,"$1"),fp.test(t))return lc(e,t)}else if(t==="Infinity"||t==="NaN")return+t||(e.s=NaN),e.e=NaN,e.d=null,e;if($w.test(t))n=16,t=t.toLowerCase();else if(Fw.test(t))n=2;else if(Gw.test(t))n=8;else throw Error(Yn+t);for(a=t.search(/p/i),a>0?(c=+t.slice(a+1),t=t.substring(2,a)):t=t.slice(2),a=t.indexOf("."),i=a>=0,r=e.constructor,i&&(t=t.replace(".",""),s=t.length,a=s-a,o=mp(r,new r(n),a,a*2)),l=Ui(t,n,zt),u=l.length-1,a=u;l[a]===0;--a)l.pop();return a<0?new r(e.s*0):(e.e=Ki(l,u),e.d=l,de=!1,i&&(e=Le(e,o,s*4)),c&&(e=e.times(Math.abs(c)<54?et(2,c):da.pow(2,c))),de=!0,e)}function Ww(e,t){var n,r=t.d.length;if(r<3)return t.isZero()?t:go(e,2,t,t);n=1.4*Math.sqrt(r),n=n>16?16:n|0,t=t.times(1/Vi(5,n)),t=go(e,2,t,t);for(var o,a=new e(5),i=new e(16),s=new e(20);n--;)o=t.times(t),t=t.times(a.plus(o.times(i.times(o).minus(s))));return t}function go(e,t,n,r,o){var a,i,s,c,l=1,u=e.precision,f=Math.ceil(u/le);for(de=!1,c=n.times(n),s=new e(r);;){if(i=Le(s.times(c),new e(t++*t++),u,1),s=o?r.plus(i):r.minus(i),r=Le(i.times(c),new e(t++*t++),u,1),i=s.plus(r),i.d[f]!==void 0){for(a=f;i.d[a]===s.d[a]&&a--;);if(a==-1)break}a=s,s=r,r=i,i=a,l++}return de=!0,i.d.length=f+1,i}function Vi(e,t){for(var n=e;--t;)n*=e;return n}function bp(e,t){var n,r=t.s<0,o=Wt(e,e.precision,1),a=o.times(.5);if(t=t.abs(),t.lte(a))return Pn=r?4:1,t;if(n=t.divToInt(o),n.isZero())Pn=r?3:2;else{if(t=t.minus(n.times(o)),t.lte(a))return Pn=np(n)?r?2:3:r?4:1,t;Pn=np(n)?r?1:4:r?3:2}return t.minus(o).abs()}function fc(e,t,n,r){var o,a,i,s,c,l,u,f,d,p=e.constructor,h=n!==void 0;if(h?(Et(n,1,qn),r===void 0?r=p.rounding:Et(r,0,8)):(n=p.precision,r=p.rounding),!e.isFinite())u=hp(e);else{for(u=un(e),i=u.indexOf("."),h?(o=2,t==16?n=n*4-3:t==8&&(n=n*3-2)):o=t,i>=0&&(u=u.replace(".",""),d=new p(1),d.e=u.length-i,d.d=Ui(un(d),10,o),d.e=d.d.length),f=Ui(u,10,o),a=c=f.length;f[--c]==0;)f.pop();if(!f[0])u=h?"0p+0":"0";else{if(i<0?a--:(e=new p(e),e.d=f,e.e=a,e=Le(e,d,n,r,0,o),f=e.d,a=e.e,l=lp),i=f[n],s=o/2,l=l||f[n+1]!==void 0,l=r<4?(i!==void 0||l)&&(r===0||r===(e.s<0?3:2)):i>s||i===s&&(r===4||l||r===6&&f[n-1]&1||r===(e.s<0?8:7)),f.length=n,l)for(;++f[--n]>o-1;)f[n]=0,n||(++a,f.unshift(1));for(c=f.length;!f[c-1];--c);for(i=0,u="";i<c;i++)u+=oc.charAt(f[i]);if(h){if(c>1)if(t==16||t==8){for(i=t==16?4:3,--c;c%i;c++)u+="0";for(f=Ui(u,o,t),c=f.length;!f[c-1];--c);for(i=1,u="1.";i<c;i++)u+=oc.charAt(f[i])}else u=u.charAt(0)+"."+u.slice(1);u=u+(a<0?"p":"p+")+a}else if(a<0){for(;++a;)u="0"+u;u="0."+u}else if(++a>c)for(a-=c;a--;)u+="0";else a<c&&(u=u.slice(0,a)+"."+u.slice(a))}u=(t==16?"0x":t==2?"0b":t==8?"0o":"")+u}return e.s<0?"-"+u:u}function rp(e,t){if(e.length>t)return e.length=t,!0}function zw(e){return new this(e).abs()}function Zw(e){return new this(e).acos()}function Yw(e){return new this(e).acosh()}function qw(e,t){return new this(e).plus(t)}function Jw(e){return new this(e).asin()}function Xw(e){return new this(e).asinh()}function Qw(e){return new this(e).atan()}function eT(e){return new this(e).atanh()}function tT(e,t){e=new this(e),t=new this(t);var n,r=this.precision,o=this.rounding,a=r+4;return!e.s||!t.s?n=new this(NaN):!e.d&&!t.d?(n=Wt(this,a,1).times(t.s>0?.25:.75),n.s=e.s):!t.d||e.isZero()?(n=t.s<0?Wt(this,r,o):new this(0),n.s=e.s):!e.d||t.isZero()?(n=Wt(this,a,1).times(.5),n.s=e.s):t.s<0?(this.precision=a,this.rounding=1,n=this.atan(Le(e,t,a,1)),t=Wt(this,a,1),this.precision=r,this.rounding=o,n=e.s<0?n.minus(t):n.plus(t)):n=this.atan(Le(e,t,a,1)),n}function nT(e){return new this(e).cbrt()}function rT(e){return ee(e=new this(e),e.e+1,2)}function oT(e,t,n){return new this(e).clamp(t,n)}function aT(e){if(!e||typeof e!="object")throw Error(Hi+"Object expected");var t,n,r,o=e.defaults===!0,a=["precision",1,qn,"rounding",0,8,"toExpNeg",-mo,0,"toExpPos",0,mo,"maxE",0,mo,"minE",-mo,0,"modulo",0,9];for(t=0;t<a.length;t+=3)if(n=a[t],o&&(this[n]=ac[n]),(r=e[n])!==void 0)if(mt(r)===r&&r>=a[t+1]&&r<=a[t+2])this[n]=r;else throw Error(Yn+n+": "+r);if(n="crypto",o&&(this[n]=ac[n]),(r=e[n])!==void 0)if(r===!0||r===!1||r===0||r===1)if(r)if(typeof crypto<"u"&&crypto&&(crypto.getRandomValues||crypto.randomBytes))this[n]=!0;else throw Error(up);else this[n]=!1;else throw Error(Yn+n+": "+r);return this}function iT(e){return new this(e).cos()}function sT(e){return new this(e).cosh()}function yp(e){var t,n,r;function o(a){var i,s,c,l=this;if(!(l instanceof o))return new o(a);if(l.constructor=o,op(a)){l.s=a.s,de?!a.d||a.e>o.maxE?(l.e=NaN,l.d=null):a.e<o.minE?(l.e=0,l.d=[0]):(l.e=a.e,l.d=a.d.slice()):(l.e=a.e,l.d=a.d?a.d.slice():a.d);return}if(c=typeof a,c==="number"){if(a===0){l.s=1/a<0?-1:1,l.e=0,l.d=[0];return}if(a<0?(a=-a,l.s=-1):l.s=1,a===~~a&&a<1e7){for(i=0,s=a;s>=10;s/=10)i++;de?i>o.maxE?(l.e=NaN,l.d=null):i<o.minE?(l.e=0,l.d=[0]):(l.e=i,l.d=[a]):(l.e=i,l.d=[a]);return}else if(a*0!==0){a||(l.s=NaN),l.e=NaN,l.d=null;return}return lc(l,a.toString())}else if(c!=="string")throw Error(Yn+a);return(s=a.charCodeAt(0))===45?(a=a.slice(1),l.s=-1):(s===43&&(a=a.slice(1)),l.s=1),fp.test(a)?lc(l,a):jw(l,a)}if(o.prototype=N,o.ROUND_UP=0,o.ROUND_DOWN=1,o.ROUND_CEIL=2,o.ROUND_FLOOR=3,o.ROUND_HALF_UP=4,o.ROUND_HALF_DOWN=5,o.ROUND_HALF_EVEN=6,o.ROUND_HALF_CEIL=7,o.ROUND_HALF_FLOOR=8,o.EUCLID=9,o.config=o.set=aT,o.clone=yp,o.isDecimal=op,o.abs=zw,o.acos=Zw,o.acosh=Yw,o.add=qw,o.asin=Jw,o.asinh=Xw,o.atan=Qw,o.atanh=eT,o.atan2=tT,o.cbrt=nT,o.ceil=rT,o.clamp=oT,o.cos=iT,o.cosh=sT,o.div=lT,o.exp=cT,o.floor=uT,o.hypot=dT,o.ln=fT,o.log=pT,o.log10=gT,o.log2=mT,o.max=hT,o.min=bT,o.mod=yT,o.mul=vT,o.pow=xT,o.random=ST,o.round=wT,o.sign=TT,o.sin=CT,o.sinh=ET,o.sqrt=kT,o.sub=AT,o.sum=PT,o.tan=IT,o.tanh=_T,o.trunc=MT,e===void 0&&(e={}),e&&e.defaults!==!0)for(r=["precision","rounding","toExpNeg","toExpPos","maxE","minE","modulo","crypto"],t=0;t<r.length;)e.hasOwnProperty(n=r[t++])||(e[n]=this[n]);return o.config(e),o}function lT(e,t){return new this(e).div(t)}function cT(e){return new this(e).exp()}function uT(e){return ee(e=new this(e),e.e+1,3)}function dT(){var e,t,n=new this(0);for(de=!1,e=0;e<arguments.length;)if(t=new this(arguments[e++]),t.d)n.d&&(n=n.plus(t.times(t)));else{if(t.s)return de=!0,new this(1/0);n=t}return de=!0,n.sqrt()}function op(e){return e instanceof da||e&&e.toStringTag===dp||!1}function fT(e){return new this(e).ln()}function pT(e,t){return new this(e).log(t)}function mT(e){return new this(e).log(2)}function gT(e){return new this(e).log(10)}function hT(){return gp(this,arguments,"lt")}function bT(){return gp(this,arguments,"gt")}function yT(e,t){return new this(e).mod(t)}function vT(e,t){return new this(e).mul(t)}function xT(e,t){return new this(e).pow(t)}function ST(e){var t,n,r,o,a=0,i=new this(1),s=[];if(e===void 0?e=this.precision:Et(e,1,qn),r=Math.ceil(e/le),this.crypto)if(crypto.getRandomValues)for(t=crypto.getRandomValues(new Uint32Array(r));a<r;)o=t[a],o>=429e7?t[a]=crypto.getRandomValues(new Uint32Array(1))[0]:s[a++]=o%1e7;else if(crypto.randomBytes){for(t=crypto.randomBytes(r*=4);a<r;)o=t[a]+(t[a+1]<<8)+(t[a+2]<<16)+((t[a+3]&127)<<24),o>=214e7?crypto.randomBytes(4).copy(t,a):(s.push(o%1e7),a+=4);a=r/4}else throw Error(up);else for(;a<r;)s[a++]=Math.random()*1e7|0;for(r=s[--a],e%=le,r&&e&&(o=et(10,le-e),s[a]=(r/o|0)*o);s[a]===0;a--)s.pop();if(a<0)n=0,s=[0];else{for(n=-1;s[0]===0;n-=le)s.shift();for(r=1,o=s[0];o>=10;o/=10)r++;r<le&&(n-=le-r)}return i.e=n,i.d=s,i}function wT(e){return ee(e=new this(e),e.e+1,this.rounding)}function TT(e){return e=new this(e),e.d?e.d[0]?e.s:0*e.s:e.s||NaN}function CT(e){return new this(e).sin()}function ET(e){return new this(e).sinh()}function kT(e){return new this(e).sqrt()}function AT(e,t){return new this(e).sub(t)}function PT(){var e=0,t=arguments,n=new this(t[e]);for(de=!1;n.s&&++e<t.length;)n=n.plus(t[e]);return de=!0,ee(n,this.precision,this.rounding)}function IT(e){return new this(e).tan()}function _T(e){return new this(e).tanh()}function MT(e){return ee(e=new this(e),e.e+1,1)}N[Symbol.for("nodejs.util.inspect.custom")]=N.toString;N[Symbol.toStringTag]="Decimal";var da=N.constructor=yp(ac);Fi=new da(Fi);$i=new da($i);var RT=da;});var Sp=Oe(se=>{"use strict";Object.defineProperty(se,"__esModule",{value:!0});var{Decimal:NT,objectEnumValues:ho,makeStrictEnum:OT,Public:LT,getRuntime:Mt}=xp(),De={};se.Prisma=De;se.$Enums={};De.prismaVersion={client:"5.12.1",engine:"473ed3124229e22d881cb7addf559799debae1ab"};De.PrismaClientKnownRequestError=()=>{let e=Mt().prettyName;throw new Error(`PrismaClientKnownRequestError is unable to run in this browser environment, or has been bundled for the browser (running in ${e}).
|
|
3
3
|
In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`)};De.PrismaClientUnknownRequestError=()=>{let e=Mt().prettyName;throw new Error(`PrismaClientUnknownRequestError is unable to run in this browser environment, or has been bundled for the browser (running in ${e}).
|
|
4
4
|
In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`)};De.PrismaClientRustPanicError=()=>{let e=Mt().prettyName;throw new Error(`PrismaClientRustPanicError is unable to run in this browser environment, or has been bundled for the browser (running in ${e}).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@release0/js",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.2",
|
|
4
4
|
"description": "Javascript library to display Release0 agents on your website",
|
|
5
5
|
"license": "FSL-1.1-ALv2",
|
|
6
6
|
"type": "module",
|
|
@@ -10,7 +10,9 @@
|
|
|
10
10
|
".": "./dist/index.js",
|
|
11
11
|
"./web": "./dist/web.js"
|
|
12
12
|
},
|
|
13
|
-
"files": [
|
|
13
|
+
"files": [
|
|
14
|
+
"dist"
|
|
15
|
+
],
|
|
14
16
|
"scripts": {
|
|
15
17
|
"dev": "tsup --watch",
|
|
16
18
|
"build": "tsup"
|
|
@@ -48,4 +50,4 @@
|
|
|
48
50
|
"publishConfig": {
|
|
49
51
|
"access": "public"
|
|
50
52
|
}
|
|
51
|
-
}
|
|
53
|
+
}
|