From 2740921ecca69f20ffa7e7500098b95e96427440 Mon Sep 17 00:00:00 2001 From: Mo Alsad Date: Mon, 10 Jun 2024 00:00:57 +0100 Subject: [PATCH] Restore the previous dynamic import settings. Fix #113 (Setup the dynamic import so it is separate from other packages) introduced issues with the PUBLIC_URL config. --- config/webpack/webpack-dynamic-import.js | 12 ++++-------- .../5004fdc02f329ce53b69.wasm | Bin .../65916ef3def695744bda.wasm | Bin .../b6b803111e2d06a825bd.wasm | Bin .../c22b37c3488e1d6c3aa4.wasm | Bin .../dicomMicroscopyViewer.min.js | 3 --- .../dicomMicroscopyViewer.min.js.map | 1 - .../microscopy.worker.min.worker.js.map | 1 - dist/dynamic-import/dicomMicroscopyViewer.min.js | 3 +++ .../dicomMicroscopyViewer.min.js.LICENSE.txt | 0 .../dynamic-import/dicomMicroscopyViewer.min.js.map | 1 + .../microscopy.worker.min.worker.js | 2 +- .../microscopy.worker.min.worker.js.map | 1 + 13 files changed, 10 insertions(+), 14 deletions(-) rename dist/dynamic-import/{dicom-microscopy-viewer => }/5004fdc02f329ce53b69.wasm (100%) rename dist/dynamic-import/{dicom-microscopy-viewer => }/65916ef3def695744bda.wasm (100%) rename dist/dynamic-import/{dicom-microscopy-viewer => }/b6b803111e2d06a825bd.wasm (100%) rename dist/dynamic-import/{dicom-microscopy-viewer => }/c22b37c3488e1d6c3aa4.wasm (100%) delete mode 100644 dist/dynamic-import/dicom-microscopy-viewer/dicomMicroscopyViewer.min.js delete mode 100644 dist/dynamic-import/dicom-microscopy-viewer/dicomMicroscopyViewer.min.js.map delete mode 100644 dist/dynamic-import/dicom-microscopy-viewer/microscopy.worker.min.worker.js.map create mode 100644 dist/dynamic-import/dicomMicroscopyViewer.min.js rename dist/dynamic-import/{dicom-microscopy-viewer => }/dicomMicroscopyViewer.min.js.LICENSE.txt (100%) create mode 100644 dist/dynamic-import/dicomMicroscopyViewer.min.js.map rename dist/dynamic-import/{dicom-microscopy-viewer => }/microscopy.worker.min.worker.js (96%) create mode 100644 dist/dynamic-import/microscopy.worker.min.worker.js.map diff --git a/config/webpack/webpack-dynamic-import.js b/config/webpack/webpack-dynamic-import.js index 46589fab..e9024854 100644 --- a/config/webpack/webpack-dynamic-import.js +++ b/config/webpack/webpack-dynamic-import.js @@ -3,7 +3,7 @@ const merge = require('./merge') const rootPath = process.cwd() const baseConfig = require('./webpack-base') const TerserPlugin = require('terser-webpack-plugin') -const outputPath = path.join(rootPath, 'dist', 'dynamic-import', 'dicom-microscopy-viewer') +const outputPath = path.join(rootPath, 'dist', 'dynamic-import') const prodConfig = { mode: 'production', @@ -12,15 +12,11 @@ const prodConfig = { }, output: { path: outputPath, - library: { - name: 'dicomMicroscopyViewer', - type: 'window', - }, - filename: '[name].min.js', - publicPath: '/dicom-microscopy-viewer/', + libraryTarget: 'umd', + globalObject: 'this', + filename: '[name].min.js' }, optimization: { - // minimize: false, minimizer: [ new TerserPlugin({ parallel: true diff --git a/dist/dynamic-import/dicom-microscopy-viewer/5004fdc02f329ce53b69.wasm b/dist/dynamic-import/5004fdc02f329ce53b69.wasm similarity index 100% rename from dist/dynamic-import/dicom-microscopy-viewer/5004fdc02f329ce53b69.wasm rename to dist/dynamic-import/5004fdc02f329ce53b69.wasm diff --git a/dist/dynamic-import/dicom-microscopy-viewer/65916ef3def695744bda.wasm b/dist/dynamic-import/65916ef3def695744bda.wasm similarity index 100% rename from dist/dynamic-import/dicom-microscopy-viewer/65916ef3def695744bda.wasm rename to dist/dynamic-import/65916ef3def695744bda.wasm diff --git a/dist/dynamic-import/dicom-microscopy-viewer/b6b803111e2d06a825bd.wasm b/dist/dynamic-import/b6b803111e2d06a825bd.wasm similarity index 100% rename from dist/dynamic-import/dicom-microscopy-viewer/b6b803111e2d06a825bd.wasm rename to dist/dynamic-import/b6b803111e2d06a825bd.wasm diff --git a/dist/dynamic-import/dicom-microscopy-viewer/c22b37c3488e1d6c3aa4.wasm b/dist/dynamic-import/c22b37c3488e1d6c3aa4.wasm similarity index 100% rename from dist/dynamic-import/dicom-microscopy-viewer/c22b37c3488e1d6c3aa4.wasm rename to dist/dynamic-import/c22b37c3488e1d6c3aa4.wasm diff --git a/dist/dynamic-import/dicom-microscopy-viewer/dicomMicroscopyViewer.min.js b/dist/dynamic-import/dicom-microscopy-viewer/dicomMicroscopyViewer.min.js deleted file mode 100644 index c3d8a221..00000000 --- a/dist/dynamic-import/dicom-microscopy-viewer/dicomMicroscopyViewer.min.js +++ /dev/null @@ -1,3 +0,0 @@ -/*! For license information please see dicomMicroscopyViewer.min.js.LICENSE.txt */ -(()=>{var e={4401:(e,t,n)=>{e.exports=n(8010)},4559:(e,t,n)=>{e.exports=n(9842)},3873:(e,t,n)=>{e.exports=n(4387)},7647:(e,t,n)=>{e.exports=n(3798)},6815:(e,t,n)=>{e.exports=n(536)},265:(e,t,n)=>{e.exports=n(2626)},9837:(e,t,n)=>{e.exports=n(7757)},7423:(e,t,n)=>{e.exports=n(6970)},5391:(e,t,n)=>{e.exports=n(5838)},3286:(e,t,n)=>{e.exports=n(946)},2633:(e,t,n)=>{e.exports=n(2343)},2060:(e,t,n)=>{e.exports=n(5382)},2169:(e,t,n)=>{e.exports=n(4608)},330:(e,t,n)=>{e.exports=n(2464)},2616:(e,t,n)=>{e.exports=n(8925)},6028:(e,t,n)=>{e.exports=n(671)},5205:(e,t,n)=>{e.exports=n(3631)},2842:(e,t,n)=>{e.exports=n(8029)},187:(e,t,n)=>{e.exports=n(7283)},9908:(e,t,n)=>{e.exports=n(3529)},2498:(e,t,n)=>{e.exports=n(8945)},1246:(e,t,n)=>{e.exports=n(8730)},5834:(e,t,n)=>{e.exports=n(8961)},5629:(e,t,n)=>{e.exports=n(8531)},2165:(e,t,n)=>{e.exports=n(569)},5829:(e,t,n)=>{e.exports=n(3784)},337:(e,t,n)=>{e.exports=n(3751)},2770:(e,t,n)=>{e.exports=n(1380)},1882:(e,t,n)=>{e.exports=n(6601)},7878:(e,t,n)=>{e.exports=n(8783)},1929:(e,t,n)=>{e.exports=n(3498)},4704:(e,t,n)=>{e.exports=n(9921)},4227:(e,t,n)=>{e.exports=n(592)},2250:(e,t,n)=>{e.exports=n(4731)},973:(e,t,n)=>{e.exports=n(9233)},1407:(e,t,n)=>{e.exports=n(3355)},9958:(e,t,n)=>{e.exports=n(356)},322:(e,t,n)=>{e.exports=n(7156)},1082:(e,t,n)=>{e.exports=n(5723)},5274:e=>{e.exports={jet:[{index:0,rgb:[0,0,131]},{index:.125,rgb:[0,60,170]},{index:.375,rgb:[5,255,255]},{index:.625,rgb:[255,255,0]},{index:.875,rgb:[250,0,0]},{index:1,rgb:[128,0,0]}],hsv:[{index:0,rgb:[255,0,0]},{index:.169,rgb:[253,255,2]},{index:.173,rgb:[247,255,2]},{index:.337,rgb:[0,252,4]},{index:.341,rgb:[0,252,10]},{index:.506,rgb:[1,249,255]},{index:.671,rgb:[2,0,253]},{index:.675,rgb:[8,0,253]},{index:.839,rgb:[255,0,251]},{index:.843,rgb:[255,0,245]},{index:1,rgb:[255,0,6]}],hot:[{index:0,rgb:[0,0,0]},{index:.3,rgb:[230,0,0]},{index:.6,rgb:[255,210,0]},{index:1,rgb:[255,255,255]}],spring:[{index:0,rgb:[255,0,255]},{index:1,rgb:[255,255,0]}],summer:[{index:0,rgb:[0,128,102]},{index:1,rgb:[255,255,102]}],autumn:[{index:0,rgb:[255,0,0]},{index:1,rgb:[255,255,0]}],winter:[{index:0,rgb:[0,0,255]},{index:1,rgb:[0,255,128]}],bone:[{index:0,rgb:[0,0,0]},{index:.376,rgb:[84,84,116]},{index:.753,rgb:[169,200,200]},{index:1,rgb:[255,255,255]}],copper:[{index:0,rgb:[0,0,0]},{index:.804,rgb:[255,160,102]},{index:1,rgb:[255,199,127]}],greys:[{index:0,rgb:[0,0,0]},{index:1,rgb:[255,255,255]}],yignbu:[{index:0,rgb:[8,29,88]},{index:.125,rgb:[37,52,148]},{index:.25,rgb:[34,94,168]},{index:.375,rgb:[29,145,192]},{index:.5,rgb:[65,182,196]},{index:.625,rgb:[127,205,187]},{index:.75,rgb:[199,233,180]},{index:.875,rgb:[237,248,217]},{index:1,rgb:[255,255,217]}],greens:[{index:0,rgb:[0,68,27]},{index:.125,rgb:[0,109,44]},{index:.25,rgb:[35,139,69]},{index:.375,rgb:[65,171,93]},{index:.5,rgb:[116,196,118]},{index:.625,rgb:[161,217,155]},{index:.75,rgb:[199,233,192]},{index:.875,rgb:[229,245,224]},{index:1,rgb:[247,252,245]}],yiorrd:[{index:0,rgb:[128,0,38]},{index:.125,rgb:[189,0,38]},{index:.25,rgb:[227,26,28]},{index:.375,rgb:[252,78,42]},{index:.5,rgb:[253,141,60]},{index:.625,rgb:[254,178,76]},{index:.75,rgb:[254,217,118]},{index:.875,rgb:[255,237,160]},{index:1,rgb:[255,255,204]}],bluered:[{index:0,rgb:[0,0,255]},{index:1,rgb:[255,0,0]}],rdbu:[{index:0,rgb:[5,10,172]},{index:.35,rgb:[106,137,247]},{index:.5,rgb:[190,190,190]},{index:.6,rgb:[220,170,132]},{index:.7,rgb:[230,145,90]},{index:1,rgb:[178,10,28]}],picnic:[{index:0,rgb:[0,0,255]},{index:.1,rgb:[51,153,255]},{index:.2,rgb:[102,204,255]},{index:.3,rgb:[153,204,255]},{index:.4,rgb:[204,204,255]},{index:.5,rgb:[255,255,255]},{index:.6,rgb:[255,204,255]},{index:.7,rgb:[255,153,255]},{index:.8,rgb:[255,102,204]},{index:.9,rgb:[255,102,102]},{index:1,rgb:[255,0,0]}],rainbow:[{index:0,rgb:[150,0,90]},{index:.125,rgb:[0,0,200]},{index:.25,rgb:[0,25,255]},{index:.375,rgb:[0,152,255]},{index:.5,rgb:[44,255,150]},{index:.625,rgb:[151,255,0]},{index:.75,rgb:[255,234,0]},{index:.875,rgb:[255,111,0]},{index:1,rgb:[255,0,0]}],portland:[{index:0,rgb:[12,51,131]},{index:.25,rgb:[10,136,186]},{index:.5,rgb:[242,211,56]},{index:.75,rgb:[242,143,56]},{index:1,rgb:[217,30,30]}],blackbody:[{index:0,rgb:[0,0,0]},{index:.2,rgb:[230,0,0]},{index:.4,rgb:[230,210,0]},{index:.7,rgb:[255,255,255]},{index:1,rgb:[160,200,255]}],earth:[{index:0,rgb:[0,0,130]},{index:.1,rgb:[0,180,180]},{index:.2,rgb:[40,210,40]},{index:.4,rgb:[230,230,50]},{index:.6,rgb:[120,70,20]},{index:1,rgb:[255,255,255]}],electric:[{index:0,rgb:[0,0,0]},{index:.15,rgb:[30,0,100]},{index:.4,rgb:[120,0,100]},{index:.6,rgb:[160,90,0]},{index:.8,rgb:[230,200,0]},{index:1,rgb:[255,250,220]}],alpha:[{index:0,rgb:[255,255,255,0]},{index:1,rgb:[255,255,255,1]}],viridis:[{index:0,rgb:[68,1,84]},{index:.13,rgb:[71,44,122]},{index:.25,rgb:[59,81,139]},{index:.38,rgb:[44,113,142]},{index:.5,rgb:[33,144,141]},{index:.63,rgb:[39,173,129]},{index:.75,rgb:[92,200,99]},{index:.88,rgb:[170,220,50]},{index:1,rgb:[253,231,37]}],inferno:[{index:0,rgb:[0,0,4]},{index:.13,rgb:[31,12,72]},{index:.25,rgb:[85,15,109]},{index:.38,rgb:[136,34,106]},{index:.5,rgb:[186,54,85]},{index:.63,rgb:[227,89,51]},{index:.75,rgb:[249,140,10]},{index:.88,rgb:[249,201,50]},{index:1,rgb:[252,255,164]}],magma:[{index:0,rgb:[0,0,4]},{index:.13,rgb:[28,16,68]},{index:.25,rgb:[79,18,123]},{index:.38,rgb:[129,37,129]},{index:.5,rgb:[181,54,122]},{index:.63,rgb:[229,80,100]},{index:.75,rgb:[251,135,97]},{index:.88,rgb:[254,194,135]},{index:1,rgb:[252,253,191]}],plasma:[{index:0,rgb:[13,8,135]},{index:.13,rgb:[75,3,161]},{index:.25,rgb:[125,3,168]},{index:.38,rgb:[168,34,150]},{index:.5,rgb:[203,70,121]},{index:.63,rgb:[229,107,93]},{index:.75,rgb:[248,148,65]},{index:.88,rgb:[253,195,40]},{index:1,rgb:[240,249,33]}],warm:[{index:0,rgb:[125,0,179]},{index:.13,rgb:[172,0,187]},{index:.25,rgb:[219,0,170]},{index:.38,rgb:[255,0,130]},{index:.5,rgb:[255,63,74]},{index:.63,rgb:[255,123,0]},{index:.75,rgb:[234,176,0]},{index:.88,rgb:[190,228,0]},{index:1,rgb:[147,255,0]}],cool:[{index:0,rgb:[125,0,179]},{index:.13,rgb:[116,0,218]},{index:.25,rgb:[98,74,237]},{index:.38,rgb:[68,146,231]},{index:.5,rgb:[0,204,197]},{index:.63,rgb:[0,247,146]},{index:.75,rgb:[0,255,88]},{index:.88,rgb:[40,255,8]},{index:1,rgb:[147,255,0]}],"rainbow-soft":[{index:0,rgb:[125,0,179]},{index:.1,rgb:[199,0,180]},{index:.2,rgb:[255,0,121]},{index:.3,rgb:[255,108,0]},{index:.4,rgb:[222,194,0]},{index:.5,rgb:[150,255,0]},{index:.6,rgb:[0,255,55]},{index:.7,rgb:[0,246,150]},{index:.8,rgb:[50,167,222]},{index:.9,rgb:[103,51,235]},{index:1,rgb:[124,0,186]}],bathymetry:[{index:0,rgb:[40,26,44]},{index:.13,rgb:[59,49,90]},{index:.25,rgb:[64,76,139]},{index:.38,rgb:[63,110,151]},{index:.5,rgb:[72,142,158]},{index:.63,rgb:[85,174,163]},{index:.75,rgb:[120,206,163]},{index:.88,rgb:[187,230,172]},{index:1,rgb:[253,254,204]}],cdom:[{index:0,rgb:[47,15,62]},{index:.13,rgb:[87,23,86]},{index:.25,rgb:[130,28,99]},{index:.38,rgb:[171,41,96]},{index:.5,rgb:[206,67,86]},{index:.63,rgb:[230,106,84]},{index:.75,rgb:[242,149,103]},{index:.88,rgb:[249,193,135]},{index:1,rgb:[254,237,176]}],chlorophyll:[{index:0,rgb:[18,36,20]},{index:.13,rgb:[25,63,41]},{index:.25,rgb:[24,91,59]},{index:.38,rgb:[13,119,72]},{index:.5,rgb:[18,148,80]},{index:.63,rgb:[80,173,89]},{index:.75,rgb:[132,196,122]},{index:.88,rgb:[175,221,162]},{index:1,rgb:[215,249,208]}],density:[{index:0,rgb:[54,14,36]},{index:.13,rgb:[89,23,80]},{index:.25,rgb:[110,45,132]},{index:.38,rgb:[120,77,178]},{index:.5,rgb:[120,113,213]},{index:.63,rgb:[115,151,228]},{index:.75,rgb:[134,185,227]},{index:.88,rgb:[177,214,227]},{index:1,rgb:[230,241,241]}],"freesurface-blue":[{index:0,rgb:[30,4,110]},{index:.13,rgb:[47,14,176]},{index:.25,rgb:[41,45,236]},{index:.38,rgb:[25,99,212]},{index:.5,rgb:[68,131,200]},{index:.63,rgb:[114,156,197]},{index:.75,rgb:[157,181,203]},{index:.88,rgb:[200,208,216]},{index:1,rgb:[241,237,236]}],"freesurface-red":[{index:0,rgb:[60,9,18]},{index:.13,rgb:[100,17,27]},{index:.25,rgb:[142,20,29]},{index:.38,rgb:[177,43,27]},{index:.5,rgb:[192,87,63]},{index:.63,rgb:[205,125,105]},{index:.75,rgb:[216,162,148]},{index:.88,rgb:[227,199,193]},{index:1,rgb:[241,237,236]}],oxygen:[{index:0,rgb:[64,5,5]},{index:.13,rgb:[106,6,15]},{index:.25,rgb:[144,26,7]},{index:.38,rgb:[168,64,3]},{index:.5,rgb:[188,100,4]},{index:.63,rgb:[206,136,11]},{index:.75,rgb:[220,174,25]},{index:.88,rgb:[231,215,44]},{index:1,rgb:[248,254,105]}],par:[{index:0,rgb:[51,20,24]},{index:.13,rgb:[90,32,35]},{index:.25,rgb:[129,44,34]},{index:.38,rgb:[159,68,25]},{index:.5,rgb:[182,99,19]},{index:.63,rgb:[199,134,22]},{index:.75,rgb:[212,171,35]},{index:.88,rgb:[221,210,54]},{index:1,rgb:[225,253,75]}],phase:[{index:0,rgb:[145,105,18]},{index:.13,rgb:[184,71,38]},{index:.25,rgb:[186,58,115]},{index:.38,rgb:[160,71,185]},{index:.5,rgb:[110,97,218]},{index:.63,rgb:[50,123,164]},{index:.75,rgb:[31,131,110]},{index:.88,rgb:[77,129,34]},{index:1,rgb:[145,105,18]}],salinity:[{index:0,rgb:[42,24,108]},{index:.13,rgb:[33,50,162]},{index:.25,rgb:[15,90,145]},{index:.38,rgb:[40,118,137]},{index:.5,rgb:[59,146,135]},{index:.63,rgb:[79,175,126]},{index:.75,rgb:[120,203,104]},{index:.88,rgb:[193,221,100]},{index:1,rgb:[253,239,154]}],temperature:[{index:0,rgb:[4,35,51]},{index:.13,rgb:[23,51,122]},{index:.25,rgb:[85,59,157]},{index:.38,rgb:[129,79,143]},{index:.5,rgb:[175,95,130]},{index:.63,rgb:[222,112,101]},{index:.75,rgb:[249,146,66]},{index:.88,rgb:[249,196,65]},{index:1,rgb:[232,250,91]}],turbidity:[{index:0,rgb:[34,31,27]},{index:.13,rgb:[65,50,41]},{index:.25,rgb:[98,69,52]},{index:.38,rgb:[131,89,57]},{index:.5,rgb:[161,112,59]},{index:.63,rgb:[185,140,66]},{index:.75,rgb:[202,174,88]},{index:.88,rgb:[216,209,126]},{index:1,rgb:[233,246,171]}],"velocity-blue":[{index:0,rgb:[17,32,64]},{index:.13,rgb:[35,52,116]},{index:.25,rgb:[29,81,156]},{index:.38,rgb:[31,113,162]},{index:.5,rgb:[50,144,169]},{index:.63,rgb:[87,173,176]},{index:.75,rgb:[149,196,189]},{index:.88,rgb:[203,221,211]},{index:1,rgb:[254,251,230]}],"velocity-green":[{index:0,rgb:[23,35,19]},{index:.13,rgb:[24,64,38]},{index:.25,rgb:[11,95,45]},{index:.38,rgb:[39,123,35]},{index:.5,rgb:[95,146,12]},{index:.63,rgb:[152,165,18]},{index:.75,rgb:[201,186,69]},{index:.88,rgb:[233,216,137]},{index:1,rgb:[255,253,205]}],cubehelix:[{index:0,rgb:[0,0,0]},{index:.07,rgb:[22,5,59]},{index:.13,rgb:[60,4,105]},{index:.2,rgb:[109,1,135]},{index:.27,rgb:[161,0,147]},{index:.33,rgb:[210,2,142]},{index:.4,rgb:[251,11,123]},{index:.47,rgb:[255,29,97]},{index:.53,rgb:[255,54,69]},{index:.6,rgb:[255,85,46]},{index:.67,rgb:[255,120,34]},{index:.73,rgb:[255,157,37]},{index:.8,rgb:[241,191,57]},{index:.87,rgb:[224,220,93]},{index:.93,rgb:[218,241,142]},{index:1,rgb:[227,253,198]}]}},8082:(e,t,n)=>{"use strict";var r=n(5274),i=n(1683);function a(e){return[e[0]/255,e[1]/255,e[2]/255,e[3]]}function o(e){for(var t,n="#",r=0;r<3;++r)n+=("00"+(t=(t=e[r]).toString(16))).substr(t.length);return n}function s(e){return"rgba("+e.join(",")+")"}e.exports=function(e){var t,n,u,v,c,l,m,g,S,d;e||(e={});g=(e.nshades||72)-1,m=e.format||"hex",(l=e.colormap)||(l="jet");if("string"==typeof l){if(l=l.toLowerCase(),!r[l])throw Error(l+" not a supported colorscale");c=r[l]}else{if(!Array.isArray(l))throw Error("unsupported colormap option",l);c=l.slice()}if(c.length>g+1)throw new Error(l+" map requires nshades to be at least size "+c.length);S=Array.isArray(e.alpha)?2!==e.alpha.length?[1,1]:e.alpha.slice():"number"==typeof e.alpha?[e.alpha,e.alpha]:[1,1];t=c.map((function(e){return Math.round(e.index*g)})),S[0]=Math.min(Math.max(S[0],0),1),S[1]=Math.min(Math.max(S[1],0),1);var h=c.map((function(e,t){var n=c[t].index,r=c[t].rgb.slice();return 4===r.length&&r[3]>=0&&r[3]<=1||(r[3]=S[0]+(S[1]-S[0])*n),r})),f=[];for(d=0;d0&&o();break;case"number":n.im=0,n.re=e;break;default:o()}return isNaN(n.re)||isNaN(n.im),n}(e,t);this.re=n.re,this.im=n.im}u.prototype={re:0,im:0,sign:function(){var e=this.abs();return new u(this.re/e,this.im/e)},add:function(e,t){var n=new u(e,t);return this.isInfinite()&&n.isInfinite()?u.NAN:this.isInfinite()||n.isInfinite()?u.INFINITY:new u(this.re+n.re,this.im+n.im)},sub:function(e,t){var n=new u(e,t);return this.isInfinite()&&n.isInfinite()?u.NAN:this.isInfinite()||n.isInfinite()?u.INFINITY:new u(this.re-n.re,this.im-n.im)},mul:function(e,t){var n=new u(e,t);return this.isInfinite()&&n.isZero()||this.isZero()&&n.isInfinite()?u.NAN:this.isInfinite()||n.isInfinite()?u.INFINITY:0===n.im&&0===this.im?new u(this.re*n.re,0):new u(this.re*n.re-this.im*n.im,this.re*n.im+this.im*n.re)},div:function(e,t){var n=new u(e,t);if(this.isZero()&&n.isZero()||this.isInfinite()&&n.isInfinite())return u.NAN;if(this.isInfinite()||n.isZero())return u.INFINITY;if(this.isZero()||n.isInfinite())return u.ZERO;e=this.re,t=this.im;var r,i,a=n.re,o=n.im;return 0===o?new u(e/a,t/a):Math.abs(a)0)return new u(Math.pow(e,n.re),0);if(0===e)switch((n.re%4+4)%4){case 0:return new u(Math.pow(t,n.re),0);case 1:return new u(0,Math.pow(t,n.re));case 2:return new u(-Math.pow(t,n.re),0);case 3:return new u(0,-Math.pow(t,n.re))}}if(0===e&&0===t&&n.re>0&&n.im>=0)return u.ZERO;var r=Math.atan2(t,e),i=s(e,t);return e=Math.exp(n.re*i-n.im*r),t=n.im*i+n.re*r,new u(e*Math.cos(t),e*Math.sin(t))},sqrt:function(){var e,t,n=this.re,r=this.im,i=this.abs();if(n>=0){if(0===r)return new u(Math.sqrt(n),0);e=.5*Math.sqrt(2*(i+n))}else e=Math.abs(r)/Math.sqrt(2*(i-n));return t=n<=0?.5*Math.sqrt(2*(i-n)):Math.abs(r)/Math.sqrt(2*(i+n)),new u(e,r<0?-t:t)},exp:function(){var e=Math.exp(this.re);return this.im,new u(e*Math.cos(this.im),e*Math.sin(this.im))},expm1:function(){var e=this.re,t=this.im;return new u(Math.expm1(e)*Math.cos(t)+function(e){var t=Math.PI/4;if(-t>e||e>t)return Math.cos(e)-1;var n=e*e;return n*(n*(n*(n*(n*(n*(n*(n/20922789888e3-1/87178291200)+1/479001600)-1/3628800)+1/40320)-1/720)+1/24)-.5)}(t),Math.exp(e)*Math.sin(t))},log:function(){var e=this.re,t=this.im;return new u(s(e,t),Math.atan2(t,e))},abs:function(){return e=this.re,t=this.im,n=Math.abs(e),r=Math.abs(t),n<3e3&&r<3e3?Math.sqrt(n*n+r*r):(n1&&0===t,r=1-e,i=1+e,a=r*r+t*t,o=0!==a?new u((i*r-t*t)/a,(t*r+i*t)/a):new u(-1!==e?e/0:0,0!==t?t/0:0),v=o.re;return o.re=s(o.re,o.im)/2,o.im=Math.atan2(o.im,v)/2,n&&(o.im=-o.im),o},acoth:function(){var e=this.re,t=this.im;if(0===e&&0===t)return new u(0,Math.PI/2);var n=e*e+t*t;return 0!==n?new u(e/n,-t/n).atanh():new u(0!==e?e/0:0,0!==t?-t/0:0).atanh()},acsch:function(){var e=this.re,t=this.im;if(0===t)return new u(0!==e?Math.log(e+Math.sqrt(e*e+1)):1/0,0);var n=e*e+t*t;return 0!==n?new u(e/n,-t/n).asinh():new u(0!==e?e/0:0,0!==t?-t/0:0).asinh()},asech:function(){var e=this.re,t=this.im;if(this.isZero())return u.INFINITY;var n=e*e+t*t;return 0!==n?new u(e/n,-t/n).acosh():new u(0!==e?e/0:0,0!==t?-t/0:0).acosh()},inverse:function(){if(this.isZero())return u.INFINITY;if(this.isInfinite())return u.ZERO;var e=this.re,t=this.im,n=e*e+t*t;return new u(e/n,-t/n)},conjugate:function(){return new u(this.re,-this.im)},neg:function(){return new u(-this.re,-this.im)},ceil:function(e){return e=Math.pow(10,e||0),new u(Math.ceil(this.re*e)/e,Math.ceil(this.im*e)/e)},floor:function(e){return e=Math.pow(10,e||0),new u(Math.floor(this.re*e)/e,Math.floor(this.im*e)/e)},round:function(e){return e=Math.pow(10,e||0),new u(Math.round(this.re*e)/e,Math.round(this.im*e)/e)},equals:function(e,t){var n=new u(e,t);return Math.abs(n.re-this.re)<=u.EPSILON&&Math.abs(n.im-this.im)<=u.EPSILON},clone:function(){return new u(this.re,this.im)},toString:function(){var e=this.re,t=this.im,n="";return this.isNaN()?"NaN":this.isInfinite()?"Infinity":(Math.abs(e){var r=n(8531);e.exports=r},1316:(e,t,n)=>{n(9506);var r=n(9081);e.exports=r.Array.isArray},3641:(e,t,n)=>{n(3075);var r=n(2018);e.exports=r("Array").concat},6616:(e,t,n)=>{n(6147);var r=n(2018);e.exports=r("Array").fill},646:(e,t,n)=>{n(8345);var r=n(2018);e.exports=r("Array").filter},792:(e,t,n)=>{n(3110);var r=n(2018);e.exports=r("Array").findIndex},6692:(e,t,n)=>{n(7455);var r=n(2018);e.exports=r("Array").find},6678:(e,t,n)=>{n(7042);var r=n(2018);e.exports=r("Array").forEach},3147:(e,t,n)=>{n(7670);var r=n(2018);e.exports=r("Array").includes},5197:(e,t,n)=>{n(194);var r=n(2018);e.exports=r("Array").indexOf},8125:(e,t,n)=>{n(2228),n(2575);var r=n(2018);e.exports=r("Array").keys},474:(e,t,n)=>{n(2478);var r=n(2018);e.exports=r("Array").map},4931:(e,t,n)=>{n(538);var r=n(2018);e.exports=r("Array").reduce},7223:(e,t,n)=>{n(7802);var r=n(2018);e.exports=r("Array").reverse},1001:(e,t,n)=>{n(5313);var r=n(2018);e.exports=r("Array").slice},1592:(e,t,n)=>{n(9038);var r=n(2018);e.exports=r("Array").some},2701:(e,t,n)=>{n(9652);var r=n(2018);e.exports=r("Array").sort},5587:(e,t,n)=>{n(4596);var r=n(2018);e.exports=r("Array").splice},8118:(e,t,n)=>{n(2228),n(2575);var r=n(2018);e.exports=r("Array").values},7543:(e,t,n)=>{var r=n(5792),i=n(3641),a=Array.prototype;e.exports=function(e){var t=e.concat;return e===a||r(a,e)&&t===a.concat?i:t}},7639:(e,t,n)=>{var r=n(5792),i=n(6616),a=Array.prototype;e.exports=function(e){var t=e.fill;return e===a||r(a,e)&&t===a.fill?i:t}},4388:(e,t,n)=>{var r=n(5792),i=n(646),a=Array.prototype;e.exports=function(e){var t=e.filter;return e===a||r(a,e)&&t===a.filter?i:t}},2742:(e,t,n)=>{var r=n(5792),i=n(792),a=Array.prototype;e.exports=function(e){var t=e.findIndex;return e===a||r(a,e)&&t===a.findIndex?i:t}},9756:(e,t,n)=>{var r=n(5792),i=n(6692),a=Array.prototype;e.exports=function(e){var t=e.find;return e===a||r(a,e)&&t===a.find?i:t}},9109:(e,t,n)=>{var r=n(5792),i=n(3147),a=n(5520),o=Array.prototype,s=String.prototype;e.exports=function(e){var t=e.includes;return e===o||r(o,e)&&t===o.includes?i:"string"==typeof e||e===s||r(s,e)&&t===s.includes?a:t}},4825:(e,t,n)=>{var r=n(5792),i=n(5197),a=Array.prototype;e.exports=function(e){var t=e.indexOf;return e===a||r(a,e)&&t===a.indexOf?i:t}},238:(e,t,n)=>{var r=n(5792),i=n(474),a=Array.prototype;e.exports=function(e){var t=e.map;return e===a||r(a,e)&&t===a.map?i:t}},1956:(e,t,n)=>{var r=n(5792),i=n(256),a=String.prototype;e.exports=function(e){var t=e.padEnd;return"string"==typeof e||e===a||r(a,e)&&t===a.padEnd?i:t}},4129:(e,t,n)=>{var r=n(5792),i=n(4455),a=String.prototype;e.exports=function(e){var t=e.padStart;return"string"==typeof e||e===a||r(a,e)&&t===a.padStart?i:t}},3148:(e,t,n)=>{var r=n(5792),i=n(4931),a=Array.prototype;e.exports=function(e){var t=e.reduce;return e===a||r(a,e)&&t===a.reduce?i:t}},9120:(e,t,n)=>{var r=n(5792),i=n(7223),a=Array.prototype;e.exports=function(e){var t=e.reverse;return e===a||r(a,e)&&t===a.reverse?i:t}},1285:(e,t,n)=>{var r=n(5792),i=n(1001),a=Array.prototype;e.exports=function(e){var t=e.slice;return e===a||r(a,e)&&t===a.slice?i:t}},2590:(e,t,n)=>{var r=n(5792),i=n(1592),a=Array.prototype;e.exports=function(e){var t=e.some;return e===a||r(a,e)&&t===a.some?i:t}},4858:(e,t,n)=>{var r=n(5792),i=n(2701),a=Array.prototype;e.exports=function(e){var t=e.sort;return e===a||r(a,e)&&t===a.sort?i:t}},7681:(e,t,n)=>{var r=n(5792),i=n(5587),a=Array.prototype;e.exports=function(e){var t=e.splice;return e===a||r(a,e)&&t===a.splice?i:t}},9493:(e,t,n)=>{n(2228),n(3109),n(2575),n(8109);var r=n(9081);e.exports=r.Map},2529:(e,t,n)=>{n(8524);var r=n(9081);e.exports=r.Object.assign},5353:(e,t,n)=>{n(8707);var r=n(9081).Object,i=e.exports=function(e,t){return r.defineProperties(e,t)};r.defineProperties.sham&&(i.sham=!0)},6854:(e,t,n)=>{n(6764);var r=n(9081).Object,i=e.exports=function(e,t,n){return r.defineProperty(e,t,n)};r.defineProperty.sham&&(i.sham=!0)},1553:(e,t,n)=>{n(9398);var r=n(9081);e.exports=r.Object.entries},1633:(e,t,n)=>{n(3947);var r=n(9081);e.exports=r.Object.freeze},2744:(e,t,n)=>{n(554);var r=n(9081).Object,i=e.exports=function(e,t){return r.getOwnPropertyDescriptor(e,t)};r.getOwnPropertyDescriptor.sham&&(i.sham=!0)},6018:(e,t,n)=>{n(4267);var r=n(9081);e.exports=r.Object.getOwnPropertyDescriptors},5350:(e,t,n)=>{n(8318);var r=n(9081);e.exports=r.Object.getOwnPropertySymbols},8116:(e,t,n)=>{n(8390);var r=n(9081);e.exports=r.Object.keys},3140:(e,t,n)=>{n(1171);var r=n(9081);e.exports=r.Object.values},2998:(e,t,n)=>{n(7088);var r=n(9081);e.exports=r.parseFloat},1820:(e,t,n)=>{n(3335);var r=n(9081);e.exports=r.parseInt},7281:(e,t,n)=>{n(6454),n(2228),n(2575),n(3658),n(4465),n(8359),n(5203),n(8109);var r=n(9081);e.exports=r.Promise},9956:(e,t,n)=>{n(2228),n(2575),n(1222),n(8109);var r=n(9081);e.exports=r.Set},5520:(e,t,n)=>{n(688);var r=n(2018);e.exports=r("String").includes},256:(e,t,n)=>{n(7348);var r=n(2018);e.exports=r("String").padEnd},4455:(e,t,n)=>{n(6639);var r=n(2018);e.exports=r("String").padStart},1065:(e,t,n)=>{n(8318);var r=n(9081);e.exports=r.Symbol.for},1442:(e,t,n)=>{n(3075),n(2575),n(8318),n(5762),n(2181),n(8848),n(3719),n(2362),n(346),n(888),n(909),n(1992),n(8512),n(6165),n(6044),n(4676),n(263),n(3596),n(1227),n(6268);var r=n(9081);e.exports=r.Symbol},5723:(e,t,n)=>{e.exports=n(747)},747:(e,t,n)=>{var r=n(6453);e.exports=r},5222:(e,t,n)=>{var r=n(2868),i=n(8307),a=n(7265),o=r.TypeError;e.exports=function(e){if(i(e))return e;throw o(a(e)+" is not a function")}},2736:(e,t,n)=>{var r=n(2868),i=n(1775),a=n(7265),o=r.TypeError;e.exports=function(e){if(i(e))return e;throw o(a(e)+" is not a constructor")}},9154:(e,t,n)=>{var r=n(2868),i=n(8307),a=r.String,o=r.TypeError;e.exports=function(e){if("object"==typeof e||i(e))return e;throw o("Can't set "+a(e)+" as a prototype")}},7710:e=>{e.exports=function(){}},8792:(e,t,n)=>{var r=n(2868),i=n(5792),a=r.TypeError;e.exports=function(e,t){if(i(t,e))return e;throw a("Incorrect invocation")}},1912:(e,t,n)=>{var r=n(2868),i=n(3359),a=r.String,o=r.TypeError;e.exports=function(e){if(i(e))return e;throw o(a(e)+" is not an object")}},6715:(e,t,n)=>{var r=n(6530);e.exports=r((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}}))},4634:(e,t,n)=>{"use strict";var r=n(2058),i=n(3055),a=n(9876);e.exports=function(e){for(var t=r(this),n=a(t),o=arguments.length,s=i(o>1?arguments[1]:void 0,n),u=o>2?arguments[2]:void 0,v=void 0===u?n:i(u,n);v>s;)t[s++]=e;return t}},5621:(e,t,n)=>{"use strict";var r=n(4206).forEach,i=n(6628)("forEach");e.exports=i?[].forEach:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}},4746:(e,t,n)=>{"use strict";var r=n(2868),i=n(7673),a=n(3146),o=n(2058),s=n(6261),u=n(6475),v=n(1775),c=n(9876),l=n(409),m=n(5945),g=n(5018),S=r.Array;e.exports=function(e){var t=o(e),n=v(this),r=arguments.length,d=r>1?arguments[1]:void 0,h=void 0!==d;h&&(d=i(d,r>2?arguments[2]:void 0));var f,p,I,D,C,A,M=g(t),E=0;if(!M||this==S&&u(M))for(f=c(t),p=n?new this(f):S(f);f>E;E++)A=h?d(t[E],E):t[E],l(p,E,A);else for(C=(D=m(t,M)).next,p=n?new this:[];!(I=a(C,D)).done;E++)A=h?s(D,d,[I.value,E],!0):I.value,l(p,E,A);return p.length=E,p}},7075:(e,t,n)=>{var r=n(3861),i=n(3055),a=n(9876),o=function(e){return function(t,n,o){var s,u=r(t),v=a(u),c=i(o,v);if(e&&n!=n){for(;v>c;)if((s=u[c++])!=s)return!0}else for(;v>c;c++)if((e||c in u)&&u[c]===n)return e||c||0;return!e&&-1}};e.exports={includes:o(!0),indexOf:o(!1)}},4206:(e,t,n)=>{var r=n(7673),i=n(3880),a=n(1251),o=n(2058),s=n(9876),u=n(8136),v=i([].push),c=function(e){var t=1==e,n=2==e,i=3==e,c=4==e,l=6==e,m=7==e,g=5==e||l;return function(S,d,h,f){for(var p,I,D=o(S),C=a(D),A=r(d,h),M=s(C),E=0,P=f||u,T=t?P(S,M):n||m?P(S,0):void 0;M>E;E++)if((g||E in C)&&(I=A(p=C[E],E,D),e))if(t)T[E]=I;else if(I)switch(e){case 3:return!0;case 5:return p;case 6:return E;case 2:v(T,p)}else switch(e){case 4:return!1;case 7:v(T,p)}return l?-1:i||c?c:T}};e.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6),filterReject:c(7)}},2143:(e,t,n)=>{var r=n(6530),i=n(5712),a=n(8233),o=i("species");e.exports=function(e){return a>=51||!r((function(){var t=[];return(t.constructor={})[o]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},6628:(e,t,n)=>{"use strict";var r=n(6530);e.exports=function(e,t){var n=[][e];return!!n&&r((function(){n.call(null,t||function(){return 1},1)}))}},7692:(e,t,n)=>{var r=n(2868),i=n(5222),a=n(2058),o=n(1251),s=n(9876),u=r.TypeError,v=function(e){return function(t,n,r,v){i(n);var c=a(t),l=o(c),m=s(c),g=e?m-1:0,S=e?-1:1;if(r<2)for(;;){if(g in l){v=l[g],g+=S;break}if(g+=S,e?g<0:m<=g)throw u("Reduce of empty array with no initial value")}for(;e?g>=0:m>g;g+=S)g in l&&(v=n(v,l[g],g,c));return v}};e.exports={left:v(!1),right:v(!0)}},6901:(e,t,n)=>{var r=n(2868),i=n(3055),a=n(9876),o=n(409),s=r.Array,u=Math.max;e.exports=function(e,t,n){for(var r=a(e),v=i(t,r),c=i(void 0===n?r:n,r),l=s(u(c-v,0)),m=0;v{var r=n(3880);e.exports=r([].slice)},9527:(e,t,n)=>{var r=n(6901),i=Math.floor,a=function(e,t){var n=e.length,u=i(n/2);return n<8?o(e,t):s(e,a(r(e,0,u),t),a(r(e,u),t),t)},o=function(e,t){for(var n,r,i=e.length,a=1;a0;)e[r]=e[--r];r!==a++&&(e[r]=n)}return e},s=function(e,t,n,r){for(var i=t.length,a=n.length,o=0,s=0;o{var r=n(2868),i=n(1054),a=n(1775),o=n(3359),s=n(5712)("species"),u=r.Array;e.exports=function(e){var t;return i(e)&&(t=e.constructor,(a(t)&&(t===u||i(t.prototype))||o(t)&&null===(t=t[s]))&&(t=void 0)),void 0===t?u:t}},8136:(e,t,n)=>{var r=n(3400);e.exports=function(e,t){return new(r(e))(0===t?0:t)}},6261:(e,t,n)=>{var r=n(1912),i=n(309);e.exports=function(e,t,n,a){try{return a?t(r(n)[0],n[1]):t(n)}catch(t){i(e,"throw",t)}}},8908:(e,t,n)=>{var r=n(5712)("iterator"),i=!1;try{var a=0,o={next:function(){return{done:!!a++}},return:function(){i=!0}};o[r]=function(){return this},Array.from(o,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!i)return!1;var n=!1;try{var a={};a[r]=function(){return{next:function(){return{done:n=!0}}}},e(a)}catch(e){}return n}},1570:(e,t,n)=>{var r=n(3880),i=r({}.toString),a=r("".slice);e.exports=function(e){return a(i(e),8,-1)}},7499:(e,t,n)=>{var r=n(2868),i=n(8889),a=n(8307),o=n(1570),s=n(5712)("toStringTag"),u=r.Object,v="Arguments"==o(function(){return arguments}());e.exports=i?o:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=u(e),s))?n:v?o(t):"Object"==(r=o(t))&&a(t.callee)?"Arguments":r}},9191:(e,t,n)=>{var r=n(3880),i=Error,a=r("".replace),o=String(i("zxcasd").stack),s=/\n\s*at [^:]*:[^\n]*/,u=s.test(o);e.exports=function(e,t){if(u&&"string"==typeof e&&!i.prepareStackTrace)for(;t--;)e=a(e,s,"");return e}},7857:(e,t,n)=>{"use strict";var r=n(7550).f,i=n(2491),a=n(4624),o=n(7673),s=n(8792),u=n(3906),v=n(8277),c=n(3918),l=n(7001),m=n(9446).fastKey,g=n(5875),S=g.set,d=g.getterFor;e.exports={getConstructor:function(e,t,n,v){var c=e((function(e,r){s(e,g),S(e,{type:t,index:i(null),first:void 0,last:void 0,size:0}),l||(e.size=0),null!=r&&u(r,e[v],{that:e,AS_ENTRIES:n})})),g=c.prototype,h=d(t),f=function(e,t,n){var r,i,a=h(e),o=p(e,t);return o?o.value=n:(a.last=o={index:i=m(t,!0),key:t,value:n,previous:r=a.last,next:void 0,removed:!1},a.first||(a.first=o),r&&(r.next=o),l?a.size++:e.size++,"F"!==i&&(a.index[i]=o)),e},p=function(e,t){var n,r=h(e),i=m(t);if("F"!==i)return r.index[i];for(n=r.first;n;n=n.next)if(n.key==t)return n};return a(g,{clear:function(){for(var e=h(this),t=e.index,n=e.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete t[n.index],n=n.next;e.first=e.last=void 0,l?e.size=0:this.size=0},delete:function(e){var t=this,n=h(t),r=p(t,e);if(r){var i=r.next,a=r.previous;delete n.index[r.index],r.removed=!0,a&&(a.next=i),i&&(i.previous=a),n.first==r&&(n.first=i),n.last==r&&(n.last=a),l?n.size--:t.size--}return!!r},forEach:function(e){for(var t,n=h(this),r=o(e,arguments.length>1?arguments[1]:void 0);t=t?t.next:n.first;)for(r(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!p(this,e)}}),a(g,n?{get:function(e){var t=p(this,e);return t&&t.value},set:function(e,t){return f(this,0===e?0:e,t)}}:{add:function(e){return f(this,e=0===e?0:e,e)}}),l&&r(g,"size",{get:function(){return h(this).size}}),c},setStrong:function(e,t,n){var r=t+" Iterator",i=d(t),a=d(r);v(e,t,(function(e,t){S(this,{type:r,target:e,state:i(e),kind:t,last:void 0})}),(function(){for(var e=a(this),t=e.kind,n=e.last;n&&n.removed;)n=n.previous;return e.target&&(e.last=n=n?n.next:e.state.first)?"keys"==t?{value:n.key,done:!1}:"values"==t?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(e.target=void 0,{value:void 0,done:!0})}),n?"entries":"values",!n,!0),c(t)}}},1390:(e,t,n)=>{"use strict";var r=n(390),i=n(2868),a=n(9446),o=n(6530),s=n(8518),u=n(3906),v=n(8792),c=n(8307),l=n(3359),m=n(6738),g=n(7550).f,S=n(4206).forEach,d=n(7001),h=n(5875),f=h.set,p=h.getterFor;e.exports=function(e,t,n){var h,I=-1!==e.indexOf("Map"),D=-1!==e.indexOf("Weak"),C=I?"set":"add",A=i[e],M=A&&A.prototype,E={};if(d&&c(A)&&(D||M.forEach&&!o((function(){(new A).entries().next()})))){var P=(h=t((function(t,n){f(v(t,P),{type:e,collection:new A}),null!=n&&u(n,t[C],{that:t,AS_ENTRIES:I})}))).prototype,T=p(e);S(["add","clear","delete","forEach","get","has","set","keys","values","entries"],(function(e){var t="add"==e||"set"==e;!(e in M)||D&&"clear"==e||s(P,e,(function(n,r){var i=T(this).collection;if(!t&&D&&!l(n))return"get"==e&&void 0;var a=i[e](0===n?0:n,r);return t?this:a}))})),D||g(P,"size",{configurable:!0,get:function(){return T(this).collection.size}})}else h=n.getConstructor(t,e,I,C),a.enable();return m(h,e,!1,!0),E[e]=h,r({global:!0,forced:!0},E),D||n.setStrong(h,e,I),h}},4498:(e,t,n)=>{var r=n(5584),i=n(5340),a=n(5904),o=n(7550);e.exports=function(e,t,n){for(var s=i(t),u=o.f,v=a.f,c=0;c{var r=n(5712)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,"/./"[e](t)}catch(e){}}return!1}},872:(e,t,n)=>{var r=n(6530);e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},8611:(e,t,n)=>{"use strict";var r=n(7300).IteratorPrototype,i=n(2491),a=n(5595),o=n(6738),s=n(9418),u=function(){return this};e.exports=function(e,t,n,v){var c=t+" Iterator";return e.prototype=i(r,{next:a(+!v,n)}),o(e,c,!1,!0),s[c]=u,e}},8518:(e,t,n)=>{var r=n(7001),i=n(7550),a=n(5595);e.exports=r?function(e,t,n){return i.f(e,t,a(1,n))}:function(e,t,n){return e[t]=n,e}},5595:e=>{e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},409:(e,t,n)=>{"use strict";var r=n(5623),i=n(7550),a=n(5595);e.exports=function(e,t,n){var o=r(t);o in e?i.f(e,o,a(0,n)):e[o]=n}},8297:(e,t,n)=>{var r=n(7550);e.exports=function(e,t,n){return r.f(e,t,n)}},491:(e,t,n)=>{var r=n(8518);e.exports=function(e,t,n,i){return i&&i.enumerable?e[t]=n:r(e,t,n),e}},4624:(e,t,n)=>{var r=n(491);e.exports=function(e,t,n){for(var i in t)n&&n.unsafe&&e[i]?e[i]=t[i]:r(e,i,t[i],n);return e}},6868:(e,t,n)=>{var r=n(2868),i=Object.defineProperty;e.exports=function(e,t){try{i(r,e,{value:t,configurable:!0,writable:!0})}catch(n){r[e]=t}return t}},8277:(e,t,n)=>{"use strict";var r=n(390),i=n(3146),a=n(8367),o=n(7730),s=n(8307),u=n(8611),v=n(2629),c=n(5255),l=n(6738),m=n(8518),g=n(491),S=n(5712),d=n(9418),h=n(7300),f=o.PROPER,p=o.CONFIGURABLE,I=h.IteratorPrototype,D=h.BUGGY_SAFARI_ITERATORS,C=S("iterator"),A="keys",M="values",E="entries",P=function(){return this};e.exports=function(e,t,n,o,S,h,T){u(n,t,o);var O,y,R,_=function(e){if(e===S&&F)return F;if(!D&&e in L)return L[e];switch(e){case A:case M:case E:return function(){return new n(this,e)}}return function(){return new n(this)}},N=t+" Iterator",b=!1,L=e.prototype,x=L[C]||L["@@iterator"]||S&&L[S],F=!D&&x||_(S),w="Array"==t&&L.entries||x;if(w&&(O=v(w.call(new e)))!==Object.prototype&&O.next&&(a||v(O)===I||(c?c(O,I):s(O[C])||g(O,C,P)),l(O,N,!0,!0),a&&(d[N]=P)),f&&S==M&&x&&x.name!==M&&(!a&&p?m(L,"name",M):(b=!0,F=function(){return i(x,this)})),S)if(y={values:_(M),keys:h?F:_(A),entries:_(E)},T)for(R in y)(D||b||!(R in L))&&g(L,R,y[R]);else r({target:t,proto:!0,forced:D||b},y);return a&&!T||L[C]===F||g(L,C,F,{name:S}),d[t]=F,y}},1412:(e,t,n)=>{var r=n(9081),i=n(5584),a=n(3379),o=n(7550).f;e.exports=function(e){var t=r.Symbol||(r.Symbol={});i(t,e)||o(t,e,{value:a.f(e)})}},7001:(e,t,n)=>{var r=n(6530);e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},231:(e,t,n)=>{var r=n(2868),i=n(3359),a=r.document,o=i(a)&&i(a.createElement);e.exports=function(e){return o?a.createElement(e):{}}},315:e=>{e.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}},7358:(e,t,n)=>{var r=n(6900).match(/firefox\/(\d+)/i);e.exports=!!r&&+r[1]},6610:e=>{e.exports="object"==typeof window&&"object"!=typeof Deno},6920:(e,t,n)=>{var r=n(6900);e.exports=/MSIE|Trident/.test(r)},6405:(e,t,n)=>{var r=n(6900),i=n(2868);e.exports=/ipad|iphone|ipod/i.test(r)&&void 0!==i.Pebble},6540:(e,t,n)=>{var r=n(6900);e.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(r)},6521:(e,t,n)=>{var r=n(1570),i=n(2868);e.exports="process"==r(i.process)},4010:(e,t,n)=>{var r=n(6900);e.exports=/web0s(?!.*chrome)/i.test(r)},6900:(e,t,n)=>{var r=n(8104);e.exports=r("navigator","userAgent")||""},8233:(e,t,n)=>{var r,i,a=n(2868),o=n(6900),s=a.process,u=a.Deno,v=s&&s.versions||u&&u.version,c=v&&v.v8;c&&(i=(r=c.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!i&&o&&(!(r=o.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=o.match(/Chrome\/(\d+)/))&&(i=+r[1]),e.exports=i},576:(e,t,n)=>{var r=n(6900).match(/AppleWebKit\/(\d+)\./);e.exports=!!r&&+r[1]},2018:(e,t,n)=>{var r=n(9081);e.exports=function(e){return r[e+"Prototype"]}},2712:e=>{e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},8417:(e,t,n)=>{var r=n(6530),i=n(5595);e.exports=!r((function(){var e=Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",i(1,7)),7!==e.stack)}))},390:(e,t,n)=>{"use strict";var r=n(2868),i=n(6266),a=n(3880),o=n(8307),s=n(5904).f,u=n(1011),v=n(9081),c=n(7673),l=n(8518),m=n(5584),g=function(e){var t=function(n,r,a){if(this instanceof t){switch(arguments.length){case 0:return new e;case 1:return new e(n);case 2:return new e(n,r)}return new e(n,r,a)}return i(e,this,arguments)};return t.prototype=e.prototype,t};e.exports=function(e,t){var n,i,S,d,h,f,p,I,D=e.target,C=e.global,A=e.stat,M=e.proto,E=C?r:A?r[D]:(r[D]||{}).prototype,P=C?v:v[D]||l(v,D,{})[D],T=P.prototype;for(S in t)n=!u(C?S:D+(A?".":"#")+S,e.forced)&&E&&m(E,S),h=P[S],n&&(f=e.dontCallGetSet?(I=s(E,S))&&I.value:E[S]),d=n&&f?f:t[S],n&&typeof h==typeof d||(p=e.bind&&n?c(d,r):e.wrap&&n?g(d):M&&o(d)?a(d):d,(e.sham||d&&d.sham||h&&h.sham)&&l(p,"sham",!0),l(P,S,p),M&&(m(v,i=D+"Prototype")||l(v,i,{}),l(v[i],S,d),e.real&&T&&!T[S]&&l(T,S,d)))}},6530:e=>{e.exports=function(e){try{return!!e()}catch(e){return!0}}},6558:(e,t,n)=>{var r=n(6530);e.exports=!r((function(){return Object.isExtensible(Object.preventExtensions({}))}))},6266:(e,t,n)=>{var r=n(9086),i=Function.prototype,a=i.apply,o=i.call;e.exports="object"==typeof Reflect&&Reflect.apply||(r?o.bind(a):function(){return o.apply(a,arguments)})},7673:(e,t,n)=>{var r=n(3880),i=n(5222),a=n(9086),o=r(r.bind);e.exports=function(e,t){return i(e),void 0===t?e:a?o(e,t):function(){return e.apply(t,arguments)}}},9086:(e,t,n)=>{var r=n(6530);e.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},3146:(e,t,n)=>{var r=n(9086),i=Function.prototype.call;e.exports=r?i.bind(i):function(){return i.apply(i,arguments)}},7730:(e,t,n)=>{var r=n(7001),i=n(5584),a=Function.prototype,o=r&&Object.getOwnPropertyDescriptor,s=i(a,"name"),u=s&&"something"===function(){}.name,v=s&&(!r||r&&o(a,"name").configurable);e.exports={EXISTS:s,PROPER:u,CONFIGURABLE:v}},3880:(e,t,n)=>{var r=n(9086),i=Function.prototype,a=i.bind,o=i.call,s=r&&a.bind(o,o);e.exports=r?function(e){return e&&s(e)}:function(e){return e&&function(){return o.apply(e,arguments)}}},8104:(e,t,n)=>{var r=n(9081),i=n(2868),a=n(8307),o=function(e){return a(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?o(r[e])||o(i[e]):r[e]&&r[e][t]||i[e]&&i[e][t]}},5018:(e,t,n)=>{var r=n(7499),i=n(2809),a=n(9418),o=n(5712)("iterator");e.exports=function(e){if(null!=e)return i(e,o)||i(e,"@@iterator")||a[r(e)]}},5945:(e,t,n)=>{var r=n(2868),i=n(3146),a=n(5222),o=n(1912),s=n(7265),u=n(5018),v=r.TypeError;e.exports=function(e,t){var n=arguments.length<2?u(e):t;if(a(n))return o(i(n,e));throw v(s(e)+" is not iterable")}},2809:(e,t,n)=>{var r=n(5222);e.exports=function(e,t){var n=e[t];return null==n?void 0:r(n)}},2868:(e,t,n)=>{var r=function(e){return e&&e.Math==Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||function(){return this}()||Function("return this")()},5584:(e,t,n)=>{var r=n(3880),i=n(2058),a=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return a(i(e),t)}},7048:e=>{e.exports={}},8471:(e,t,n)=>{var r=n(2868);e.exports=function(e,t){var n=r.console;n&&n.error&&(1==arguments.length?n.error(e):n.error(e,t))}},5644:(e,t,n)=>{var r=n(8104);e.exports=r("document","documentElement")},640:(e,t,n)=>{var r=n(7001),i=n(6530),a=n(231);e.exports=!r&&!i((function(){return 7!=Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a}))},1251:(e,t,n)=>{var r=n(2868),i=n(3880),a=n(6530),o=n(1570),s=r.Object,u=i("".split);e.exports=a((function(){return!s("z").propertyIsEnumerable(0)}))?function(e){return"String"==o(e)?u(e,""):s(e)}:s},1494:(e,t,n)=>{var r=n(3880),i=n(8307),a=n(2656),o=r(Function.toString);i(a.inspectSource)||(a.inspectSource=function(e){return o(e)}),e.exports=a.inspectSource},8525:(e,t,n)=>{var r=n(3359),i=n(8518);e.exports=function(e,t){r(t)&&"cause"in t&&i(e,"cause",t.cause)}},9446:(e,t,n)=>{var r=n(390),i=n(3880),a=n(7048),o=n(3359),s=n(5584),u=n(7550).f,v=n(9035),c=n(6159),l=n(8002),m=n(9),g=n(6558),S=!1,d=m("meta"),h=0,f=function(e){u(e,d,{value:{objectID:"O"+h++,weakData:{}}})},p=e.exports={enable:function(){p.enable=function(){},S=!0;var e=v.f,t=i([].splice),n={};n[d]=1,e(n).length&&(v.f=function(n){for(var r=e(n),i=0,a=r.length;i{var r,i,a,o=n(2297),s=n(2868),u=n(3880),v=n(3359),c=n(8518),l=n(5584),m=n(2656),g=n(5039),S=n(7048),d="Object already initialized",h=s.TypeError,f=s.WeakMap;if(o||m.state){var p=m.state||(m.state=new f),I=u(p.get),D=u(p.has),C=u(p.set);r=function(e,t){if(D(p,e))throw new h(d);return t.facade=e,C(p,e,t),t},i=function(e){return I(p,e)||{}},a=function(e){return D(p,e)}}else{var A=g("state");S[A]=!0,r=function(e,t){if(l(e,A))throw new h(d);return t.facade=e,c(e,A,t),t},i=function(e){return l(e,A)?e[A]:{}},a=function(e){return l(e,A)}}e.exports={set:r,get:i,has:a,enforce:function(e){return a(e)?i(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!v(t)||(n=i(t)).type!==e)throw h("Incompatible receiver, "+e+" required");return n}}}},6475:(e,t,n)=>{var r=n(5712),i=n(9418),a=r("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||o[a]===e)}},1054:(e,t,n)=>{var r=n(1570);e.exports=Array.isArray||function(e){return"Array"==r(e)}},8307:e=>{e.exports=function(e){return"function"==typeof e}},1775:(e,t,n)=>{var r=n(3880),i=n(6530),a=n(8307),o=n(7499),s=n(8104),u=n(1494),v=function(){},c=[],l=s("Reflect","construct"),m=/^\s*(?:class|function)\b/,g=r(m.exec),S=!m.exec(v),d=function(e){if(!a(e))return!1;try{return l(v,c,e),!0}catch(e){return!1}},h=function(e){if(!a(e))return!1;switch(o(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return S||!!g(m,u(e))}catch(e){return!0}};h.sham=!0,e.exports=!l||i((function(){var e;return d(d.call)||!d(Object)||!d((function(){e=!0}))||e}))?h:d},1011:(e,t,n)=>{var r=n(6530),i=n(8307),a=/#|\.prototype\./,o=function(e,t){var n=u[s(e)];return n==c||n!=v&&(i(t)?r(t):!!t)},s=o.normalize=function(e){return String(e).replace(a,".").toLowerCase()},u=o.data={},v=o.NATIVE="N",c=o.POLYFILL="P";e.exports=o},3359:(e,t,n)=>{var r=n(8307);e.exports=function(e){return"object"==typeof e?null!==e:r(e)}},8367:e=>{e.exports=!0},6858:(e,t,n)=>{var r=n(3359),i=n(1570),a=n(5712)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[a])?!!t:"RegExp"==i(e))}},1149:(e,t,n)=>{var r=n(2868),i=n(8104),a=n(8307),o=n(5792),s=n(6046),u=r.Object;e.exports=s?function(e){return"symbol"==typeof e}:function(e){var t=i("Symbol");return a(t)&&o(t.prototype,u(e))}},3906:(e,t,n)=>{var r=n(2868),i=n(7673),a=n(3146),o=n(1912),s=n(7265),u=n(6475),v=n(9876),c=n(5792),l=n(5945),m=n(5018),g=n(309),S=r.TypeError,d=function(e,t){this.stopped=e,this.result=t},h=d.prototype;e.exports=function(e,t,n){var r,f,p,I,D,C,A,M=n&&n.that,E=!(!n||!n.AS_ENTRIES),P=!(!n||!n.IS_ITERATOR),T=!(!n||!n.INTERRUPTED),O=i(t,M),y=function(e){return r&&g(r,"normal",e),new d(!0,e)},R=function(e){return E?(o(e),T?O(e[0],e[1],y):O(e[0],e[1])):T?O(e,y):O(e)};if(P)r=e;else{if(!(f=m(e)))throw S(s(e)+" is not iterable");if(u(f)){for(p=0,I=v(e);I>p;p++)if((D=R(e[p]))&&c(h,D))return D;return new d(!1)}r=l(e,f)}for(C=r.next;!(A=a(C,r)).done;){try{D=R(A.value)}catch(e){g(r,"throw",e)}if("object"==typeof D&&D&&c(h,D))return D}return new d(!1)}},309:(e,t,n)=>{var r=n(3146),i=n(1912),a=n(2809);e.exports=function(e,t,n){var o,s;i(e);try{if(!(o=a(e,"return"))){if("throw"===t)throw n;return n}o=r(o,e)}catch(e){s=!0,o=e}if("throw"===t)throw n;if(s)throw o;return i(o),n}},7300:(e,t,n)=>{"use strict";var r,i,a,o=n(6530),s=n(8307),u=n(2491),v=n(2629),c=n(491),l=n(5712),m=n(8367),g=l("iterator"),S=!1;[].keys&&("next"in(a=[].keys())?(i=v(v(a)))!==Object.prototype&&(r=i):S=!0),null==r||o((function(){var e={};return r[g].call(e)!==e}))?r={}:m&&(r=u(r)),s(r[g])||c(r,g,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:S}},9418:e=>{e.exports={}},9876:(e,t,n)=>{var r=n(3746);e.exports=function(e){return r(e.length)}},2047:e=>{var t=Math.ceil,n=Math.floor;e.exports=Math.trunc||function(e){var r=+e;return(r>0?n:t)(r)}},8054:(e,t,n)=>{var r,i,a,o,s,u,v,c,l=n(2868),m=n(7673),g=n(5904).f,S=n(6569).set,d=n(6540),h=n(6405),f=n(4010),p=n(6521),I=l.MutationObserver||l.WebKitMutationObserver,D=l.document,C=l.process,A=l.Promise,M=g(l,"queueMicrotask"),E=M&&M.value;E||(r=function(){var e,t;for(p&&(e=C.domain)&&e.exit();i;){t=i.fn,i=i.next;try{t()}catch(e){throw i?o():a=void 0,e}}a=void 0,e&&e.enter()},d||p||f||!I||!D?!h&&A&&A.resolve?((v=A.resolve(void 0)).constructor=A,c=m(v.then,v),o=function(){c(r)}):p?o=function(){C.nextTick(r)}:(S=m(S,l),o=function(){S(r)}):(s=!0,u=D.createTextNode(""),new I(r).observe(u,{characterData:!0}),o=function(){u.data=s=!s})),e.exports=E||function(e){var t={fn:e,next:void 0};a&&(a.next=t),i||(i=t,o()),a=t}},3700:(e,t,n)=>{var r=n(3216);e.exports=r&&!!Symbol.for&&!!Symbol.keyFor},3216:(e,t,n)=>{var r=n(8233),i=n(6530);e.exports=!!Object.getOwnPropertySymbols&&!i((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},4583:(e,t,n)=>{var r=n(6530),i=n(5712),a=n(8367),o=i("iterator");e.exports=!r((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,n="";return e.pathname="c%20d",t.forEach((function(e,r){t.delete("b"),n+=r+e})),a&&!e.toJSON||!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[o]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==n||"x"!==new URL("http://x",void 0).host}))},2297:(e,t,n)=>{var r=n(2868),i=n(8307),a=n(1494),o=r.WeakMap;e.exports=i(o)&&/native code/.test(a(o))},4130:(e,t,n)=>{"use strict";var r=n(5222),i=function(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r})),this.resolve=r(t),this.reject=r(n)};e.exports.f=function(e){return new i(e)}},7515:(e,t,n)=>{var r=n(5264);e.exports=function(e,t){return void 0===e?arguments.length<2?"":t:r(e)}},9611:(e,t,n)=>{var r=n(2868),i=n(6858),a=r.TypeError;e.exports=function(e){if(i(e))throw a("The method doesn't accept regular expressions");return e}},8689:(e,t,n)=>{var r=n(2868),i=n(6530),a=n(3880),o=n(5264),s=n(774).trim,u=n(3781),v=a("".charAt),c=r.parseFloat,l=r.Symbol,m=l&&l.iterator,g=1/c(u+"-0")!=-1/0||m&&!i((function(){c(Object(m))}));e.exports=g?function(e){var t=s(o(e)),n=c(t);return 0===n&&"-"==v(t,0)?-0:n}:c},6746:(e,t,n)=>{var r=n(2868),i=n(6530),a=n(3880),o=n(5264),s=n(774).trim,u=n(3781),v=r.parseInt,c=r.Symbol,l=c&&c.iterator,m=/^[+-]?0x/i,g=a(m.exec),S=8!==v(u+"08")||22!==v(u+"0x16")||l&&!i((function(){v(Object(l))}));e.exports=S?function(e,t){var n=s(o(e));return v(n,t>>>0||(g(m,n)?16:10))}:v},3210:(e,t,n)=>{"use strict";var r=n(7001),i=n(3880),a=n(3146),o=n(6530),s=n(461),u=n(3764),v=n(1156),c=n(2058),l=n(1251),m=Object.assign,g=Object.defineProperty,S=i([].concat);e.exports=!m||o((function(){if(r&&1!==m({b:1},m(g({},"a",{enumerable:!0,get:function(){g(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol(),i="abcdefghijklmnopqrst";return e[n]=7,i.split("").forEach((function(e){t[e]=e})),7!=m({},e)[n]||s(m({},t)).join("")!=i}))?function(e,t){for(var n=c(e),i=arguments.length,o=1,m=u.f,g=v.f;i>o;)for(var d,h=l(arguments[o++]),f=m?S(s(h),m(h)):s(h),p=f.length,I=0;p>I;)d=f[I++],r&&!a(g,h,d)||(n[d]=h[d]);return n}:m},2491:(e,t,n)=>{var r,i=n(1912),a=n(4686),o=n(2712),s=n(7048),u=n(5644),v=n(231),c=n(5039),l=c("IE_PROTO"),m=function(){},g=function(e){return"