@sheetxl/studio-mui 0.4.19 → 0.4.21

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.
Files changed (98) hide show
  1. package/browser/cjs/B1KlR2XYFpYbKjYS.cjs +20 -0
  2. package/browser/cjs/{afHzhXTMVhLQJ6uC.cjs → B1RMsexbz4bNlty_.cjs} +1 -1
  3. package/browser/cjs/B32faQpVaX1tkPuc.cjs +6 -0
  4. package/browser/cjs/B3XiHrRxW1LxML7F.cjs +6 -0
  5. package/browser/cjs/BGikYpeNpjwvXUdQ.cjs +18 -0
  6. package/browser/cjs/BY5l7DteiFtb2AKy.cjs +6 -0
  7. package/browser/cjs/Bb0Hd2RE7iVWVbm8.cjs +6 -0
  8. package/browser/cjs/C3EZkRIKfQURg9hX.cjs +6 -0
  9. package/browser/cjs/C7r573AdygYrVVEJ.cjs +7 -0
  10. package/browser/cjs/DEEknE8ARp0mc7fk.cjs +6 -0
  11. package/browser/cjs/DZwzUUHda3jr5jo4.cjs +6 -0
  12. package/browser/cjs/index.cjs +2 -2
  13. package/browser/cjs/veQZSq7ekc6G1FZT.cjs +42 -0
  14. package/browser/esm/B84RbTkXZiq6XIdH.mjs +49 -0
  15. package/browser/esm/{C4lgCnqxoHUTMKx0.mjs → BLy-hRTZkVfaGrcr.mjs} +1 -1
  16. package/browser/esm/Bapmv0WdnDq3Jl_q.mjs +53 -0
  17. package/browser/esm/C0OuiugFYjsjbY8q.mjs +46 -0
  18. package/browser/esm/{6nabbOchsfGHTDbJ.mjs → CGVN-NJF8ZTm9apo.mjs} +11 -10
  19. package/browser/esm/CcLpUDzJOdfqQ8Kf.mjs +25 -0
  20. package/browser/esm/Csg-hJrzm9r4vJrm.mjs +2156 -0
  21. package/browser/esm/{DwyDpojQzn8Yb0Z3.mjs → DHf2N2UY78nZFge3.mjs} +100 -98
  22. package/browser/esm/Dlc8L0qha0mZFIkY.mjs +62 -0
  23. package/browser/esm/{Duk7LVR9m02nk_H1.mjs → Dv-0R5pQwEnowzoO.mjs} +87 -85
  24. package/browser/esm/index.mjs +29 -29
  25. package/browser/esm/mVKwmIdSj4ua1Qce.mjs +4443 -0
  26. package/browser/esm/{aeeg2i5lmw2EnSq8.mjs → sHK4zKkWLGt2hVmW.mjs} +27 -26
  27. package/licenses/dependencies.txt +71 -342
  28. package/node/esm/{C1qlFAMFUg7JxINj.mjs → 49Eux5a_I5wZ-jfq.mjs} +29 -28
  29. package/node/esm/{Svd1DLPJnYKhJsxn.mjs → B00pGeZ7sj6QOFgF.mjs} +4 -3
  30. package/node/esm/{Cqh-VwF8iLFUBQG2.mjs → BEtxwx_Ji4aFNg8V.mjs} +79 -78
  31. package/node/esm/{BOlA6nKvsuwJ8-qE.mjs → BTcBIT144Lil18l-.mjs} +13 -11
  32. package/node/esm/{SdVxzy9D4jvK5ILt.mjs → Bw_f4uhXHpg1RA6Z.mjs} +7 -6
  33. package/node/esm/CGrG-gsnGd-Pn_T2.mjs +88 -0
  34. package/node/esm/CiUfb3MQCUC2McDP.mjs +46 -0
  35. package/node/esm/D1bjybdBQ28bumrW.mjs +63 -0
  36. package/node/esm/{wuBONOGgEy1w5A3Q.mjs → Dcnd4LiYyGf2eaNl.mjs} +23 -22
  37. package/node/esm/{BbLVlH-VHXBiyGbB.mjs → DiLUM75s3D56Y6Fx.mjs} +11 -10
  38. package/node/esm/index.mjs +2378 -18426
  39. package/package.json +8 -8
  40. package/browser/cjs/9JbHyHSHGCO4uFHn.cjs +0 -7
  41. package/browser/cjs/B17ClH6YVt0_UP8s.cjs +0 -6
  42. package/browser/cjs/B9LTfguTHj9uQv3h.cjs +0 -6
  43. package/browser/cjs/BYWh4kkrXJKKl2Ju.cjs +0 -145
  44. package/browser/cjs/BYrNOLTwEhs6LHAw.cjs +0 -6
  45. package/browser/cjs/Bh8xJY_qVp_q9NdJ.cjs +0 -6
  46. package/browser/cjs/Bl5l1B_eznDfB_7v.cjs +0 -18
  47. package/browser/cjs/C1LBzI2ntslIKFn5.cjs +0 -6
  48. package/browser/cjs/CGWf__jrNH3xfu2y.cjs +0 -161
  49. package/browser/cjs/CGlk1dj000Bm5cqP.cjs +0 -7
  50. package/browser/cjs/CX_y7y31Q5qi020q.cjs +0 -6
  51. package/browser/cjs/Cby5RVhO-aNkuWsV.cjs +0 -11
  52. package/browser/cjs/D2CoaVzteKVTLz2u.cjs +0 -42
  53. package/browser/cjs/D4ge-OwnSGkzaQnk.cjs +0 -15
  54. package/browser/cjs/D54KO7Qf1gFYpUYh.cjs +0 -11
  55. package/browser/cjs/D5Hr7ebLiJgvcT0k.cjs +0 -6
  56. package/browser/cjs/D6qxm65mk30iMCfQ.cjs +0 -6
  57. package/browser/cjs/DIR6Yr7FCZPYWi4-.cjs +0 -6
  58. package/browser/cjs/DeklxocxxZiZyZ5u.cjs +0 -6
  59. package/browser/cjs/Dh2Z7N-jImJZemiw.cjs +0 -6
  60. package/browser/cjs/Dngll9GyDqkTUUmu.cjs +0 -6
  61. package/browser/cjs/KmAkK4F7kLQEM3IN.cjs +0 -12
  62. package/browser/cjs/n8wDl6JTlhLU6ZAW.cjs +0 -16
  63. package/browser/cjs/zr0HW2FkaHX7brxh.cjs +0 -110
  64. package/browser/esm/B8eNugj_qKnbe7K9.mjs +0 -59
  65. package/browser/esm/BPRkMu1MFxUWK930.mjs +0 -3803
  66. package/browser/esm/BQtrstD4gTIutZpE.mjs +0 -1467
  67. package/browser/esm/BeT_3zf80WoubGnC.mjs +0 -1352
  68. package/browser/esm/C226zpF9x3cqGDep.mjs +0 -44
  69. package/browser/esm/C52hEZh6H2W5Zw5u.mjs +0 -2250
  70. package/browser/esm/CJi45DDPGy79h3Hk.mjs +0 -1366
  71. package/browser/esm/CSAsCpXnzBKwTizz.mjs +0 -23326
  72. package/browser/esm/ChetmIXTvR3tA23A.mjs +0 -48
  73. package/browser/esm/CtAFduFwOuqSdkvi.mjs +0 -23
  74. package/browser/esm/D1mFp2w9djJ0V4vm.mjs +0 -52
  75. package/browser/esm/DA83VkmtEXnqG2ye.mjs +0 -43
  76. package/browser/esm/Dy_zBluT96wehR25.mjs +0 -46
  77. package/browser/esm/NwT_h_qyOIJUd95T.mjs +0 -392
  78. package/browser/esm/eNfgzWFw915mA1DM.mjs +0 -84
  79. package/browser/esm/i07lQ5p_zaWwjifI.mjs +0 -12
  80. package/browser/esm/mWKbTdOrhJijxGkQ.mjs +0 -13391
  81. package/browser/esm/qTwpcY21ZDbsJF8q.mjs +0 -424
  82. package/browser/esm/rOu2mn5CpwGjRPMt.mjs +0 -1672
  83. package/browser/esm/xBoO8UGcKLTEtu2_.mjs +0 -1703
  84. package/node/esm/8IRz_tiw9gL3CiTm.mjs +0 -46
  85. package/node/esm/BGuyZxOceFDiCkHS.mjs +0 -553
  86. package/node/esm/BRc35RfDs9NeSBil.mjs +0 -78
  87. package/node/esm/BWNYjBRxl8-kaqWc.mjs +0 -1706
  88. package/node/esm/Bdk5FW-41aJV-x0f.mjs +0 -392
  89. package/node/esm/C2KYv5fsjkP4dceu.mjs +0 -86
  90. package/node/esm/C7eBwbZmMMcQeZ5y.mjs +0 -1479
  91. package/node/esm/CCmhTOlFNku7bidD.mjs +0 -44
  92. package/node/esm/COWuJnOkG4AgfLpx.mjs +0 -3776
  93. package/node/esm/CcxYuxLYIW_z4w-n.mjs +0 -1378
  94. package/node/esm/DO-FR-M-Iy43f7rk.mjs +0 -60
  95. package/node/esm/DOa-YBJSa8QO8ypH.mjs +0 -1246
  96. package/node/esm/DXgMMPZD2XcdNWPg.mjs +0 -44
  97. package/node/esm/DXlF9nEg2kAr3Ykp.mjs +0 -13464
  98. package/node/esm/FcospSz9-0aW4gFs.mjs +0 -1719
@@ -1,42 +0,0 @@
1
- "use strict";/**
2
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.4.19
3
- *
4
- * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
- * License: The license can be found at https://www.sheetxl.com/license.
6
- */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const P=require("react/jsx-runtime"),w=require("react"),Nu=require("@mui/material"),$=require("./zr0HW2FkaHX7brxh.cjs");var Iu=$.requirePropTypes();const de=$.getDefaultExportFromCjs(Iu);function xe(t){return xe=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},xe(t)}var Vu=/^\s+/,Xu=/\s+$/;function _(t,n){if(n=n||{},(t=t||"")instanceof _)return t;if(!(this instanceof _))return new _(t,n);var e=function(r){var o={r:0,g:0,b:0},u=1,a=null,s=null,i=null,c=!1,l=!1;typeof r=="string"&&(r=function(d){d=d.replace(Vu,"").replace(Xu,"").toLowerCase();var f,b=!1;if(Ze[d])d=Ze[d],b=!0;else if(d=="transparent")return{r:0,g:0,b:0,a:0,format:"name"};return(f=B.rgb.exec(d))?{r:f[1],g:f[2],b:f[3]}:(f=B.rgba.exec(d))?{r:f[1],g:f[2],b:f[3],a:f[4]}:(f=B.hsl.exec(d))?{h:f[1],s:f[2],l:f[3]}:(f=B.hsla.exec(d))?{h:f[1],s:f[2],l:f[3],a:f[4]}:(f=B.hsv.exec(d))?{h:f[1],s:f[2],v:f[3]}:(f=B.hsva.exec(d))?{h:f[1],s:f[2],v:f[3],a:f[4]}:(f=B.hex8.exec(d))?{r:D(f[1]),g:D(f[2]),b:D(f[3]),a:Mt(f[4]),format:b?"name":"hex8"}:(f=B.hex6.exec(d))?{r:D(f[1]),g:D(f[2]),b:D(f[3]),format:b?"name":"hex"}:(f=B.hex4.exec(d))?{r:D(f[1]+""+f[1]),g:D(f[2]+""+f[2]),b:D(f[3]+""+f[3]),a:Mt(f[4]+""+f[4]),format:b?"name":"hex8"}:(f=B.hex3.exec(d))?{r:D(f[1]+""+f[1]),g:D(f[2]+""+f[2]),b:D(f[3]+""+f[3]),format:b?"name":"hex"}:!1}(r)),xe(r)=="object"&&(V(r.r)&&V(r.g)&&V(r.b)?(h=r.r,p=r.g,v=r.b,o={r:255*k(h,255),g:255*k(p,255),b:255*k(v,255)},c=!0,l=String(r.r).substr(-1)==="%"?"prgb":"rgb"):V(r.h)&&V(r.s)&&V(r.v)?(a=fe(r.s),s=fe(r.v),o=function(d,f,b){d=6*k(d,360),f=k(f,100),b=k(b,100);var g=Math.floor(d),y=d-g,x=b*(1-f),j=b*(1-y*f),C=b*(1-(1-y)*f),R=g%6,L=[b,j,x,x,C,b][R],T=[C,b,b,j,x,x][R],O=[x,x,C,b,b,j][R];return{r:255*L,g:255*T,b:255*O}}(r.h,a,s),c=!0,l="hsv"):V(r.h)&&V(r.s)&&V(r.l)&&(a=fe(r.s),i=fe(r.l),o=function(d,f,b){var g,y,x;function j(L,T,O){return O<0&&(O+=1),O>1&&(O-=1),O<1/6?L+6*(T-L)*O:O<.5?T:O<2/3?L+(T-L)*(2/3-O)*6:L}if(d=k(d,360),f=k(f,100),b=k(b,100),f===0)g=y=x=b;else{var C=b<.5?b*(1+f):b+f-b*f,R=2*b-C;g=j(R,C,d+1/3),y=j(R,C,d),x=j(R,C,d-1/3)}return{r:255*g,g:255*y,b:255*x}}(r.h,a,i),c=!0,l="hsl"),r.hasOwnProperty("a")&&(u=r.a));var h,p,v;return u=bu(u),{ok:c,format:r.format||l,r:Math.min(255,Math.max(o.r,0)),g:Math.min(255,Math.max(o.g,0)),b:Math.min(255,Math.max(o.b,0)),a:u}}(t);this._originalInput=t,this._r=e.r,this._g=e.g,this._b=e.b,this._a=e.a,this._roundA=Math.round(100*this._a)/100,this._format=n.format||e.format,this._gradientType=n.gradientType,this._r<1&&(this._r=Math.round(this._r)),this._g<1&&(this._g=Math.round(this._g)),this._b<1&&(this._b=Math.round(this._b)),this._ok=e.ok}function wt(t,n,e){t=k(t,255),n=k(n,255),e=k(e,255);var r,o,u=Math.max(t,n,e),a=Math.min(t,n,e),s=(u+a)/2;if(u==a)r=o=0;else{var i=u-a;switch(o=s>.5?i/(2-u-a):i/(u+a),u){case t:r=(n-e)/i+(n<e?6:0);break;case n:r=(e-t)/i+2;break;case e:r=(t-n)/i+4}r/=6}return{h:r,s:o,l:s}}function _t(t,n,e){t=k(t,255),n=k(n,255),e=k(e,255);var r,o,u=Math.max(t,n,e),a=Math.min(t,n,e),s=u,i=u-a;if(o=u===0?0:i/u,u==a)r=0;else{switch(u){case t:r=(n-e)/i+(n<e?6:0);break;case n:r=(e-t)/i+2;break;case e:r=(t-n)/i+4}r/=6}return{h:r,s:o,v:s}}function xt(t,n,e,r){var o=[z(Math.round(t).toString(16)),z(Math.round(n).toString(16)),z(Math.round(e).toString(16))];return r&&o[0].charAt(0)==o[0].charAt(1)&&o[1].charAt(0)==o[1].charAt(1)&&o[2].charAt(0)==o[2].charAt(1)?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0):o.join("")}function jt(t,n,e,r){return[z(vu(r)),z(Math.round(t).toString(16)),z(Math.round(n).toString(16)),z(Math.round(e).toString(16))].join("")}function qu(t,n){n=n===0?0:n||10;var e=_(t).toHsl();return e.s-=n/100,e.s=Me(e.s),_(e)}function Yu(t,n){n=n===0?0:n||10;var e=_(t).toHsl();return e.s+=n/100,e.s=Me(e.s),_(e)}function Gu(t){return _(t).desaturate(100)}function Ku(t,n){n=n===0?0:n||10;var e=_(t).toHsl();return e.l+=n/100,e.l=Me(e.l),_(e)}function Ju(t,n){n=n===0?0:n||10;var e=_(t).toRgb();return e.r=Math.max(0,Math.min(255,e.r-Math.round(-n/100*255))),e.g=Math.max(0,Math.min(255,e.g-Math.round(-n/100*255))),e.b=Math.max(0,Math.min(255,e.b-Math.round(-n/100*255))),_(e)}function Qu(t,n){n=n===0?0:n||10;var e=_(t).toHsl();return e.l-=n/100,e.l=Me(e.l),_(e)}function Zu(t,n){var e=_(t).toHsl(),r=(e.h+n)%360;return e.h=r<0?360+r:r,_(e)}function es(t){var n=_(t).toHsl();return n.h=(n.h+180)%360,_(n)}function Ot(t,n){if(isNaN(n)||n<=0)throw new Error("Argument to polyad must be a positive number");for(var e=_(t).toHsl(),r=[_(t)],o=360/n,u=1;u<n;u++)r.push(_({h:(e.h+u*o)%360,s:e.s,l:e.l}));return r}function ts(t){var n=_(t).toHsl(),e=n.h;return[_(t),_({h:(e+72)%360,s:n.s,l:n.l}),_({h:(e+216)%360,s:n.s,l:n.l})]}function rs(t,n,e){n=n||6,e=e||30;var r=_(t).toHsl(),o=360/e,u=[_(t)];for(r.h=(r.h-(o*n>>1)+720)%360;--n;)r.h=(r.h+o)%360,u.push(_(r));return u}function ns(t,n){n=n||6;for(var e=_(t).toHsv(),r=e.h,o=e.s,u=e.v,a=[],s=1/n;n--;)a.push(_({h:r,s:o,v:u})),u=(u+s)%1;return a}_.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var t=this.toRgb();return(299*t.r+587*t.g+114*t.b)/1e3},getLuminance:function(){var t,n,e,r=this.toRgb();return t=r.r/255,n=r.g/255,e=r.b/255,.2126*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.7152*(n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4))+.0722*(e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4))},setAlpha:function(t){return this._a=bu(t),this._roundA=Math.round(100*this._a)/100,this},toHsv:function(){var t=_t(this._r,this._g,this._b);return{h:360*t.h,s:t.s,v:t.v,a:this._a}},toHsvString:function(){var t=_t(this._r,this._g,this._b),n=Math.round(360*t.h),e=Math.round(100*t.s),r=Math.round(100*t.v);return this._a==1?"hsv("+n+", "+e+"%, "+r+"%)":"hsva("+n+", "+e+"%, "+r+"%, "+this._roundA+")"},toHsl:function(){var t=wt(this._r,this._g,this._b);return{h:360*t.h,s:t.s,l:t.l,a:this._a}},toHslString:function(){var t=wt(this._r,this._g,this._b),n=Math.round(360*t.h),e=Math.round(100*t.s),r=Math.round(100*t.l);return this._a==1?"hsl("+n+", "+e+"%, "+r+"%)":"hsla("+n+", "+e+"%, "+r+"%, "+this._roundA+")"},toHex:function(t){return xt(this._r,this._g,this._b,t)},toHexString:function(t){return"#"+this.toHex(t)},toHex8:function(t){return function(n,e,r,o,u){var a=[z(Math.round(n).toString(16)),z(Math.round(e).toString(16)),z(Math.round(r).toString(16)),z(vu(o))];return u&&a[0].charAt(0)==a[0].charAt(1)&&a[1].charAt(0)==a[1].charAt(1)&&a[2].charAt(0)==a[2].charAt(1)&&a[3].charAt(0)==a[3].charAt(1)?a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0)+a[3].charAt(0):a.join("")}(this._r,this._g,this._b,this._a,t)},toHex8String:function(t){return"#"+this.toHex8(t)},toRgb:function(){return{r:Math.round(this._r),g:Math.round(this._g),b:Math.round(this._b),a:this._a}},toRgbString:function(){return this._a==1?"rgb("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+")":"rgba("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:Math.round(100*k(this._r,255))+"%",g:Math.round(100*k(this._g,255))+"%",b:Math.round(100*k(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return this._a==1?"rgb("+Math.round(100*k(this._r,255))+"%, "+Math.round(100*k(this._g,255))+"%, "+Math.round(100*k(this._b,255))+"%)":"rgba("+Math.round(100*k(this._r,255))+"%, "+Math.round(100*k(this._g,255))+"%, "+Math.round(100*k(this._b,255))+"%, "+this._roundA+")"},toName:function(){return this._a===0?"transparent":!(this._a<1)&&(os[xt(this._r,this._g,this._b,!0)]||!1)},toFilter:function(t){var n="#"+jt(this._r,this._g,this._b,this._a),e=n,r=this._gradientType?"GradientType = 1, ":"";if(t){var o=_(t);e="#"+jt(o._r,o._g,o._b,o._a)}return"progid:DXImageTransform.Microsoft.gradient("+r+"startColorstr="+n+",endColorstr="+e+")"},toString:function(t){var n=!!t;t=t||this._format;var e=!1,r=this._a<1&&this._a>=0;return n||!r||t!=="hex"&&t!=="hex6"&&t!=="hex3"&&t!=="hex4"&&t!=="hex8"&&t!=="name"?(t==="rgb"&&(e=this.toRgbString()),t==="prgb"&&(e=this.toPercentageRgbString()),t!=="hex"&&t!=="hex6"||(e=this.toHexString()),t==="hex3"&&(e=this.toHexString(!0)),t==="hex4"&&(e=this.toHex8String(!0)),t==="hex8"&&(e=this.toHex8String()),t==="name"&&(e=this.toName()),t==="hsl"&&(e=this.toHslString()),t==="hsv"&&(e=this.toHsvString()),e||this.toHexString()):t==="name"&&this._a===0?this.toName():this.toRgbString()},clone:function(){return _(this.toString())},_applyModification:function(t,n){var e=t.apply(null,[this].concat([].slice.call(n)));return this._r=e._r,this._g=e._g,this._b=e._b,this.setAlpha(e._a),this},lighten:function(){return this._applyModification(Ku,arguments)},brighten:function(){return this._applyModification(Ju,arguments)},darken:function(){return this._applyModification(Qu,arguments)},desaturate:function(){return this._applyModification(qu,arguments)},saturate:function(){return this._applyModification(Yu,arguments)},greyscale:function(){return this._applyModification(Gu,arguments)},spin:function(){return this._applyModification(Zu,arguments)},_applyCombination:function(t,n){return t.apply(null,[this].concat([].slice.call(n)))},analogous:function(){return this._applyCombination(rs,arguments)},complement:function(){return this._applyCombination(es,arguments)},monochromatic:function(){return this._applyCombination(ns,arguments)},splitcomplement:function(){return this._applyCombination(ts,arguments)},triad:function(){return this._applyCombination(Ot,[3])},tetrad:function(){return this._applyCombination(Ot,[4])}},_.fromRatio=function(t,n){if(xe(t)=="object"){var e={};for(var r in t)t.hasOwnProperty(r)&&(e[r]=r==="a"?t[r]:fe(t[r]));t=e}return _(t,n)},_.equals=function(t,n){return!(!t||!n)&&_(t).toRgbString()==_(n).toRgbString()},_.random=function(){return _.fromRatio({r:Math.random(),g:Math.random(),b:Math.random()})},_.mix=function(t,n,e){e=e===0?0:e||50;var r=_(t).toRgb(),o=_(n).toRgb(),u=e/100;return _({r:(o.r-r.r)*u+r.r,g:(o.g-r.g)*u+r.g,b:(o.b-r.b)*u+r.b,a:(o.a-r.a)*u+r.a})},_.readability=function(t,n){var e=_(t),r=_(n);return(Math.max(e.getLuminance(),r.getLuminance())+.05)/(Math.min(e.getLuminance(),r.getLuminance())+.05)},_.isReadable=function(t,n,e){var r,o,u=_.readability(t,n);switch(o=!1,(r=function(a){var s,i;return s=((a=a||{level:"AA",size:"small"}).level||"AA").toUpperCase(),i=(a.size||"small").toLowerCase(),s!=="AA"&&s!=="AAA"&&(s="AA"),i!=="small"&&i!=="large"&&(i="small"),{level:s,size:i}}(e)).level+r.size){case"AAsmall":case"AAAlarge":o=u>=4.5;break;case"AAlarge":o=u>=3;break;case"AAAsmall":o=u>=7}return o},_.mostReadable=function(t,n,e){var r,o,u,a,s=null,i=0;o=(e=e||{}).includeFallbackColors,u=e.level,a=e.size;for(var c=0;c<n.length;c++)(r=_.readability(t,n[c]))>i&&(i=r,s=_(n[c]));return _.isReadable(t,s,{level:u,size:a})||!o?s:(e.includeFallbackColors=!1,_.mostReadable(t,["#fff","#000"],e))};var Ze=_.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},os=_.hexNames=function(t){var n={};for(var e in t)t.hasOwnProperty(e)&&(n[t[e]]=e);return n}(Ze);function bu(t){return t=parseFloat(t),(isNaN(t)||t<0||t>1)&&(t=1),t}function k(t,n){(function(r){return typeof r=="string"&&r.indexOf(".")!=-1&&parseFloat(r)===1})(t)&&(t="100%");var e=function(r){return typeof r=="string"&&r.indexOf("%")!=-1}(t);return t=Math.min(n,Math.max(0,parseFloat(t))),e&&(t=parseInt(t*n,10)/100),Math.abs(t-n)<1e-6?1:t%n/parseFloat(n)}function Me(t){return Math.min(1,Math.max(0,t))}function D(t){return parseInt(t,16)}function z(t){return t.length==1?"0"+t:""+t}function fe(t){return t<=1&&(t=100*t+"%"),t}function vu(t){return Math.round(255*parseFloat(t)).toString(16)}function Mt(t){return D(t)/255}var Y,be,ve,B=(be="[\\s|\\(]+("+(Y="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+Y+")[,|\\s]+("+Y+")\\s*\\)?",ve="[\\s|\\(]+("+Y+")[,|\\s]+("+Y+")[,|\\s]+("+Y+")[,|\\s]+("+Y+")\\s*\\)?",{CSS_UNIT:new RegExp(Y),rgb:new RegExp("rgb"+be),rgba:new RegExp("rgba"+ve),hsl:new RegExp("hsl"+be),hsla:new RegExp("hsla"+ve),hsv:new RegExp("hsv"+be),hsva:new RegExp("hsva"+ve),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function V(t){return!!B.CSS_UNIT.exec(t)}var St,Et,Ct,At,kt,Rt,Pt,Tt,Lt,Ut,Ft,Dt,Bt,zt,Ht,Wt,$t,Nt,It,Vt,Xt,qt,Yt,Gt,Kt,Jt,Qt,Zt,F={},re={};function gu(){if(Et)return St;Et=1;var t=typeof $.commonjsGlobal=="object"&&$.commonjsGlobal&&$.commonjsGlobal.Object===Object&&$.commonjsGlobal;return St=t}function N(){if(At)return Ct;At=1;var t=gu(),n=typeof self=="object"&&self&&self.Object===Object&&self,e=t||n||Function("return this")();return Ct=e}function le(){if(Rt)return kt;Rt=1;var t=N().Symbol;return kt=t}function J(){if(Dt)return Ft;Dt=1;var t=le(),n=function(){if(Tt)return Pt;Tt=1;var o=le(),u=Object.prototype,a=u.hasOwnProperty,s=u.toString,i=o?o.toStringTag:void 0;return Pt=function(c){var l=a.call(c,i),h=c[i];try{c[i]=void 0;var p=!0}catch{}var v=s.call(c);return p&&(l?c[i]=h:delete c[i]),v}}(),e=function(){if(Ut)return Lt;Ut=1;var o=Object.prototype.toString;return Lt=function(u){return o.call(u)}}(),r=t?t.toStringTag:void 0;return Ft=function(o){return o==null?o===void 0?"[object Undefined]":"[object Null]":r&&r in Object(o)?n(o):e(o)}}function H(){if(zt)return Bt;zt=1;var t=Array.isArray;return Bt=t}function X(){return Wt?Ht:(Wt=1,Ht=function(t){return t!=null&&typeof t=="object"})}function is(){if(qt)return Xt;qt=1;var t=(Vt||(Vt=1,It=function(e){return function(r,o,u){for(var a=-1,s=Object(r),i=u(r),c=i.length;c--;){var l=i[e?c:++a];if(o(s[l],l,s)===!1)break}return r}}),It),n=t();return Xt=n}function yu(){if(Zt)return Qt;Zt=1;var t=function(){if(Jt)return Kt;Jt=1;var a=J(),s=X();return Kt=function(i){return s(i)&&a(i)=="[object Arguments]"}}(),n=X(),e=Object.prototype,r=e.hasOwnProperty,o=e.propertyIsEnumerable,u=t(function(){return arguments}())?t:function(a){return n(a)&&r.call(a,"callee")&&!o.call(a,"callee")};return Qt=u}var er,tr,rr,nr,or,ir,ar,ur,sr,cr,fr,Ae={exports:{}};function tt(){return rr||(rr=1,function(t,n){var e=N(),r=tr?er:(tr=1,er=function(){return!1}),o=n&&!n.nodeType&&n,u=o&&t&&!t.nodeType&&t,a=u&&u.exports===o?e.Buffer:void 0,s=(a?a.isBuffer:void 0)||r;t.exports=s}(Ae,Ae.exports)),Ae.exports}function mu(){if(or)return nr;or=1;var t=/^(?:0|[1-9]\d*)$/;return nr=function(n,e){var r=typeof n;return!!(e=e??9007199254740991)&&(r=="number"||r!="symbol"&&t.test(n))&&n>-1&&n%1==0&&n<e}}function rt(){return ar?ir:(ar=1,ir=function(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=9007199254740991})}function nt(){return fr?cr:(fr=1,cr=function(t){return function(n){return t(n)}})}var lr,hr,pr,dr,br,vr,gr,yr,mr,wr,_r,xr,jr,Or,Mr,Sr,Er,Cr,Ar,kr,Rr,Pr,Tr,Lr,Ur,Fr,Dr,Br,zr,Hr,Wr,$r,Nr,ke,Ir,Vr,Xr,qr,Yr,Gr,Kr,Re,Jr,Pe,Qr,Zr,en,Te,tn,rn,nn,on,an,un,sn,cn,fn,ln,hn,pn,dn,bn,vn,gn,yn,mn,wn,_n,xn,jn,On,Mn,Sn,En,Cn,An,kn,Rn,Pn,Tn,Ln,Un,Fn,Dn,Bn,zn,Hn,Wn,$n,Nn,In,Vn,Xn,qn,Yn,Gn,Kn,Jn,Qn,Zn,eo,to,ro,no,oo,io,ao,uo,so,co,fo,lo,ho,po,bo,vo,go,Le,yo,mo,wo,_o,xo,jo,Oo,Mo,So,Ue,Eo,Co,Ao,ko,Ro,Po,To,Lo,Uo,Fo,Do,Fe,Bo,zo,Ho,Wo,$o,No,Io,Vo,Xo,qo,Yo,Go,Ko,De,Jo,Be,Qo,Zo,ei,ti,ri,ni,oi,ii,ai,ui,si,ci,fi,li,hi,pi,di,bi,vi,ze,gi,yi,mi,wi,_i,xi,ji,He,Oi,Mi,Si,Ei,Ci,We,Ai,ki,Ri,Pi,Ti,Li,Ui,Fi,Di,Bi,zi,Hi,Wi,$e,$i,Ni,Ii,Ne,Vi,Xi,qi,Yi,Ie={exports:{}};function ot(){return lr||(lr=1,function(t,n){var e=gu(),r=n&&!n.nodeType&&n,o=r&&t&&!t.nodeType&&t,u=o&&o.exports===r&&e.process,a=function(){try{var s=o&&o.require&&o.require("util").types;return s||u&&u.binding&&u.binding("util")}catch{}}();t.exports=a}(Ie,Ie.exports)),Ie.exports}function wu(){if(pr)return hr;pr=1;var t=function(){if(sr)return ur;sr=1;var u=J(),a=rt(),s=X(),i={};return i["[object Float32Array]"]=i["[object Float64Array]"]=i["[object Int8Array]"]=i["[object Int16Array]"]=i["[object Int32Array]"]=i["[object Uint8Array]"]=i["[object Uint8ClampedArray]"]=i["[object Uint16Array]"]=i["[object Uint32Array]"]=!0,i["[object Arguments]"]=i["[object Array]"]=i["[object ArrayBuffer]"]=i["[object Boolean]"]=i["[object DataView]"]=i["[object Date]"]=i["[object Error]"]=i["[object Function]"]=i["[object Map]"]=i["[object Number]"]=i["[object Object]"]=i["[object RegExp]"]=i["[object Set]"]=i["[object String]"]=i["[object WeakMap]"]=!1,ur=function(c){return s(c)&&a(c.length)&&!!i[u(c)]}}(),n=nt(),e=ot(),r=e&&e.isTypedArray,o=r?n(r):t;return hr=o}function _u(){if(br)return dr;br=1;var t=(Gt||(Gt=1,Yt=function(s,i){for(var c=-1,l=Array(s);++c<s;)l[c]=i(c);return l}),Yt),n=yu(),e=H(),r=tt(),o=mu(),u=wu(),a=Object.prototype.hasOwnProperty;return dr=function(s,i){var c=e(s),l=!c&&n(s),h=!c&&!l&&r(s),p=!c&&!l&&!h&&u(s),v=c||l||h||p,d=v?t(s.length,String):[],f=d.length;for(var b in s)!i&&!a.call(s,b)||v&&(b=="length"||h&&(b=="offset"||b=="parent")||p&&(b=="buffer"||b=="byteLength"||b=="byteOffset")||o(b,f))||d.push(b);return d}}function it(){if(gr)return vr;gr=1;var t=Object.prototype;return vr=function(n){var e=n&&n.constructor;return n===(typeof e=="function"&&e.prototype||t)}}function xu(){return mr?yr:(mr=1,yr=function(t,n){return function(e){return t(n(e))}})}function as(){if(jr)return xr;jr=1;var t=it(),n=function(){if(_r)return wr;_r=1;var r=xu()(Object.keys,Object);return wr=r}(),e=Object.prototype.hasOwnProperty;return xr=function(r){if(!t(r))return n(r);var o=[];for(var u in Object(r))e.call(r,u)&&u!="constructor"&&o.push(u);return o}}function ue(){return Mr?Or:(Mr=1,Or=function(t){var n=typeof t;return t!=null&&(n=="object"||n=="function")})}function ju(){if(Er)return Sr;Er=1;var t=J(),n=ue();return Sr=function(e){if(!n(e))return!1;var r=t(e);return r=="[object Function]"||r=="[object GeneratorFunction]"||r=="[object AsyncFunction]"||r=="[object Proxy]"}}function Se(){if(Ar)return Cr;Ar=1;var t=ju(),n=rt();return Cr=function(e){return e!=null&&n(e.length)&&!t(e)}}function he(){if(Rr)return kr;Rr=1;var t=_u(),n=as(),e=Se();return kr=function(r){return e(r)?t(r):n(r)}}function Ou(){if(Tr)return Pr;Tr=1;var t=is(),n=he();return Pr=function(e,r){return e&&t(e,r,n)}}function Mu(){return Ur?Lr:(Ur=1,Lr=function(t){return t})}function at(){if(zr)return Br;zr=1;var t=Ou(),n=function(){if(Dr)return Fr;Dr=1;var e=Mu();return Fr=function(r){return typeof r=="function"?r:e}}();return Br=function(e,r){return e&&t(e,n(r))}}function ut(){if(Wr)return Hr;Wr=1;var t=xu()(Object.getPrototypeOf,Object);return Hr=t}function Su(){return Ir||(Ir=1,ke=function(t,n){for(var e=-1,r=t==null?0:t.length,o=Array(r);++e<r;)o[e]=n(t[e],e,t);return o}),ke}function st(){return Yr?qr:(Yr=1,qr=function(t,n){return t===n||t!=t&&n!=n})}function ge(){if(Kr)return Gr;Kr=1;var t=st();return Gr=function(n,e){for(var r=n.length;r--;)if(t(n[r][0],e))return r;return-1}}function _e(){if(nn)return rn;nn=1;var t=Xr?Vr:(Xr=1,Vr=function(){this.__data__=[],this.size=0}),n=function(){if(Jr)return Re;Jr=1;var a=ge(),s=Array.prototype.splice;return Re=function(i){var c=this.__data__,l=a(c,i);return!(l<0||(l==c.length-1?c.pop():s.call(c,l,1),--this.size,0))},Re}(),e=function(){if(Qr)return Pe;Qr=1;var a=ge();return Pe=function(s){var i=this.__data__,c=a(i,s);return c<0?void 0:i[c][1]},Pe}(),r=function(){if(en)return Zr;en=1;var a=ge();return Zr=function(s){return a(this.__data__,s)>-1}}(),o=function(){if(tn)return Te;tn=1;var a=ge();return Te=function(s,i){var c=this.__data__,l=a(c,s);return l<0?(++this.size,c.push([s,i])):c[l][1]=i,this},Te}();function u(a){var s=-1,i=a==null?0:a.length;for(this.clear();++s<i;){var c=a[s];this.set(c[0],c[1])}}return u.prototype.clear=t,u.prototype.delete=n,u.prototype.get=e,u.prototype.has=r,u.prototype.set=o,rn=u}function us(){if(vn)return bn;vn=1;var t,n=function(){if(dn)return pn;dn=1;var r=N()["__core-js_shared__"];return pn=r}(),e=(t=/[^.]+$/.exec(n&&n.keys&&n.keys.IE_PROTO||""))?"Symbol(src)_1."+t:"";return bn=function(r){return!!e&&e in r}}function Eu(){if(yn)return gn;yn=1;var t=Function.prototype.toString;return gn=function(n){if(n!=null){try{return t.call(n)}catch{}try{return n+""}catch{}}return""}}function K(){if(On)return jn;On=1;var t=function(){if(wn)return mn;wn=1;var e=ju(),r=us(),o=ue(),u=Eu(),a=/^\[object .+?Constructor\]$/,s=Function.prototype,i=Object.prototype,c=s.toString,l=i.hasOwnProperty,h=RegExp("^"+c.call(l).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");return mn=function(p){return!(!o(p)||r(p))&&(e(p)?h:a).test(u(p))}}(),n=xn?_n:(xn=1,_n=function(e,r){return e?.[r]});return jn=function(e,r){var o=n(e,r);return t(o)?o:void 0}}function ct(){if(Sn)return Mn;Sn=1;var t=K()(N(),"Map");return Mn=t}function ye(){if(Cn)return En;Cn=1;var t=K()(Object,"create");return En=t}function ss(){if(Hn)return zn;Hn=1;var t=function(){if(kn)return An;kn=1;var a=ye();return An=function(){this.__data__=a?a(null):{},this.size=0}}(),n=Pn?Rn:(Pn=1,Rn=function(a){var s=this.has(a)&&delete this.__data__[a];return this.size-=s?1:0,s}),e=function(){if(Ln)return Tn;Ln=1;var a=ye(),s=Object.prototype.hasOwnProperty;return Tn=function(i){var c=this.__data__;if(a){var l=c[i];return l==="__lodash_hash_undefined__"?void 0:l}return s.call(c,i)?c[i]:void 0}}(),r=function(){if(Fn)return Un;Fn=1;var a=ye(),s=Object.prototype.hasOwnProperty;return Un=function(i){var c=this.__data__;return a?c[i]!==void 0:s.call(c,i)}}(),o=function(){if(Bn)return Dn;Bn=1;var a=ye();return Dn=function(s,i){var c=this.__data__;return this.size+=this.has(s)?0:1,c[s]=a&&i===void 0?"__lodash_hash_undefined__":i,this}}();function u(a){var s=-1,i=a==null?0:a.length;for(this.clear();++s<i;){var c=a[s];this.set(c[0],c[1])}}return u.prototype.clear=t,u.prototype.delete=n,u.prototype.get=e,u.prototype.has=r,u.prototype.set=o,zn=u}function me(){if(Xn)return Vn;Xn=1;var t=In?Nn:(In=1,Nn=function(n){var e=typeof n;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?n!=="__proto__":n===null});return Vn=function(n,e){var r=n.__data__;return t(e)?r[typeof e=="string"?"string":"hash"]:r.map}}function ft(){if(ro)return to;ro=1;var t=function(){if($n)return Wn;$n=1;var a=ss(),s=_e(),i=ct();return Wn=function(){this.size=0,this.__data__={hash:new a,map:new(i||s),string:new a}}}(),n=function(){if(Yn)return qn;Yn=1;var a=me();return qn=function(s){var i=a(this,s).delete(s);return this.size-=i?1:0,i}}(),e=function(){if(Kn)return Gn;Kn=1;var a=me();return Gn=function(s){return a(this,s).get(s)}}(),r=function(){if(Qn)return Jn;Qn=1;var a=me();return Jn=function(s){return a(this,s).has(s)}}(),o=function(){if(eo)return Zn;eo=1;var a=me();return Zn=function(s,i){var c=a(this,s),l=c.size;return c.set(s,i),this.size+=c.size==l?0:1,this}}();function u(a){var s=-1,i=a==null?0:a.length;for(this.clear();++s<i;){var c=a[s];this.set(c[0],c[1])}}return u.prototype.clear=t,u.prototype.delete=n,u.prototype.get=e,u.prototype.has=r,u.prototype.set=o,to=u}function lt(){if(ao)return io;ao=1;var t=_e(),n=function(){if(an)return on;an=1;var s=_e();return on=function(){this.__data__=new s,this.size=0}}(),e=sn?un:(sn=1,un=function(s){var i=this.__data__,c=i.delete(s);return this.size=i.size,c}),r=fn?cn:(fn=1,cn=function(s){return this.__data__.get(s)}),o=hn?ln:(hn=1,ln=function(s){return this.__data__.has(s)}),u=function(){if(oo)return no;oo=1;var s=_e(),i=ct(),c=ft();return no=function(l,h){var p=this.__data__;if(p instanceof s){var v=p.__data__;if(!i||v.length<199)return v.push([l,h]),this.size=++p.size,this;p=this.__data__=new c(v)}return p.set(l,h),this.size=p.size,this}}();function a(s){var i=this.__data__=new t(s);this.size=i.size}return a.prototype.clear=n,a.prototype.delete=e,a.prototype.get=r,a.prototype.has=o,a.prototype.set=u,io=a}function cs(){if(ho)return lo;ho=1;var t=ft(),n=so?uo:(so=1,uo=function(o){return this.__data__.set(o,"__lodash_hash_undefined__"),this}),e=fo?co:(fo=1,co=function(o){return this.__data__.has(o)});function r(o){var u=-1,a=o==null?0:o.length;for(this.__data__=new t;++u<a;)this.add(o[u])}return r.prototype.add=r.prototype.push=n,r.prototype.has=e,lo=r}function Cu(){if(yo)return Le;yo=1;var t=cs(),n=(bo||(bo=1,po=function(r,o){for(var u=-1,a=r==null?0:r.length;++u<a;)if(o(r[u],u,r))return!0;return!1}),po),e=go?vo:(go=1,vo=function(r,o){return r.has(o)});return Le=function(r,o,u,a,s,i){var c=1&u,l=r.length,h=o.length;if(l!=h&&!(c&&h>l))return!1;var p=i.get(r),v=i.get(o);if(p&&v)return p==o&&v==r;var d=-1,f=!0,b=2&u?new t:void 0;for(i.set(r,o),i.set(o,r);++d<l;){var g=r[d],y=o[d];if(a)var x=c?a(y,g,d,o,r,i):a(g,y,d,r,o,i);if(x!==void 0){if(x)continue;f=!1;break}if(b){if(!n(o,function(j,C){if(!e(b,C)&&(g===j||s(g,j,u,a,i)))return b.push(C)})){f=!1;break}}else if(g!==y&&!s(g,y,u,a,i)){f=!1;break}}return i.delete(r),i.delete(o),f},Le}function Au(){if(wo)return mo;wo=1;var t=N().Uint8Array;return mo=t}function fs(){if(So)return Mo;So=1;var t=le(),n=Au(),e=st(),r=Cu(),o=(xo||(xo=1,_o=function(i){var c=-1,l=Array(i.size);return i.forEach(function(h,p){l[++c]=[p,h]}),l}),_o),u=(Oo||(Oo=1,jo=function(i){var c=-1,l=Array(i.size);return i.forEach(function(h){l[++c]=h}),l}),jo),a=t?t.prototype:void 0,s=a?a.valueOf:void 0;return Mo=function(i,c,l,h,p,v,d){switch(l){case"[object DataView]":if(i.byteLength!=c.byteLength||i.byteOffset!=c.byteOffset)return!1;i=i.buffer,c=c.buffer;case"[object ArrayBuffer]":return!(i.byteLength!=c.byteLength||!v(new n(i),new n(c)));case"[object Boolean]":case"[object Date]":case"[object Number]":return e(+i,+c);case"[object Error]":return i.name==c.name&&i.message==c.message;case"[object RegExp]":case"[object String]":return i==c+"";case"[object Map]":var f=o;case"[object Set]":var b=1&h;if(f||(f=u),i.size!=c.size&&!b)return!1;var g=d.get(i);if(g)return g==c;h|=2,d.set(i,c);var y=r(f(i),f(c),h,p,v,d);return d.delete(i),y;case"[object Symbol]":if(s)return s.call(i)==s.call(c)}return!1}}function ku(){return Eo||(Eo=1,Ue=function(t,n){for(var e=-1,r=n.length,o=t.length;++e<r;)t[o+e]=n[e];return t}),Ue}function Ru(){if(Ao)return Co;Ao=1;var t=ku(),n=H();return Co=function(e,r,o){var u=r(e);return n(e)?u:t(u,o(e))}}function Pu(){return To?Po:(To=1,Po=function(){return[]})}function ht(){if(Uo)return Lo;Uo=1;var t=(Ro||(Ro=1,ko=function(o,u){for(var a=-1,s=o==null?0:o.length,i=0,c=[];++a<s;){var l=o[a];u(l,a,o)&&(c[i++]=l)}return c}),ko),n=Pu(),e=Object.prototype.propertyIsEnumerable,r=Object.getOwnPropertySymbols;return Lo=r?function(o){return o==null?[]:(o=Object(o),t(r(o),function(u){return e.call(o,u)}))}:n}function Tu(){if(Do)return Fo;Do=1;var t=Ru(),n=ht(),e=he();return Fo=function(r){return t(r,e,n)}}function Ee(){if(Yo)return qo;Yo=1;var t=function(){if(Ho)return zo;Ho=1;var y=K()(N(),"DataView");return zo=y}(),n=ct(),e=function(){if($o)return Wo;$o=1;var y=K()(N(),"Promise");return Wo=y}(),r=function(){if(Io)return No;Io=1;var y=K()(N(),"Set");return No=y}(),o=function(){if(Xo)return Vo;Xo=1;var y=K()(N(),"WeakMap");return Vo=y}(),u=J(),a=Eu(),s="[object Map]",i="[object Promise]",c="[object Set]",l="[object WeakMap]",h="[object DataView]",p=a(t),v=a(n),d=a(e),f=a(r),b=a(o),g=u;return(t&&g(new t(new ArrayBuffer(1)))!=h||n&&g(new n)!=s||e&&g(e.resolve())!=i||r&&g(new r)!=c||o&&g(new o)!=l)&&(g=function(y){var x=u(y),j=x=="[object Object]"?y.constructor:void 0,C=j?a(j):"";if(C)switch(C){case p:return h;case v:return s;case d:return i;case f:return c;case b:return l}return x}),qo=g}function ls(){if(Ko)return Go;Ko=1;var t=lt(),n=Cu(),e=fs(),r=function(){if(Bo)return Fe;Bo=1;var p=Tu(),v=Object.prototype.hasOwnProperty;return Fe=function(d,f,b,g,y,x){var j=1&b,C=p(d),R=C.length;if(R!=p(f).length&&!j)return!1;for(var L=R;L--;){var T=C[L];if(!(j?T in f:v.call(f,T)))return!1}var O=x.get(d),S=x.get(f);if(O&&S)return O==f&&S==d;var m=!0;x.set(d,f),x.set(f,d);for(var M=j;++L<R;){var E=d[T=C[L]],I=f[T];if(g)var W=j?g(I,E,T,f,d,x):g(E,I,T,d,f,x);if(!(W===void 0?E===I||y(E,I,b,g,x):W)){m=!1;break}M||(M=T=="constructor")}if(m&&!M){var U=d.constructor,A=f.constructor;U==A||!("constructor"in d)||!("constructor"in f)||typeof U=="function"&&U instanceof U&&typeof A=="function"&&A instanceof A||(m=!1)}return x.delete(d),x.delete(f),m},Fe}(),o=Ee(),u=H(),a=tt(),s=wu(),i="[object Arguments]",c="[object Array]",l="[object Object]",h=Object.prototype.hasOwnProperty;return Go=function(p,v,d,f,b,g){var y=u(p),x=u(v),j=y?c:o(p),C=x?c:o(v),R=(j=j==i?l:j)==l,L=(C=C==i?l:C)==l,T=j==C;if(T&&a(p)){if(!a(v))return!1;y=!0,R=!1}if(T&&!R)return g||(g=new t),y||s(p)?n(p,v,d,f,b,g):e(p,v,j,d,f,b,g);if(!(1&d)){var O=R&&h.call(p,"__wrapped__"),S=L&&h.call(v,"__wrapped__");if(O||S){var m=O?p.value():p,M=S?v.value():v;return g||(g=new t),b(m,M,d,f,g)}}return!!T&&(g||(g=new t),r(p,v,d,f,b,g))}}function Lu(){if(Jo)return De;Jo=1;var t=ls(),n=X();return De=function e(r,o,u,a,s){return r===o||(r==null||o==null||!n(r)&&!n(o)?r!=r&&o!=o:t(r,o,u,a,e,s))},De}function Uu(){if(ei)return Zo;ei=1;var t=ue();return Zo=function(n){return n==n&&!t(n)}}function Fu(){return oi?ni:(oi=1,ni=function(t,n){return function(e){return e!=null&&e[t]===n&&(n!==void 0||t in Object(e))}})}function hs(){if(ai)return ii;ai=1;var t=function(){if(Qo)return Be;Qo=1;var r=lt(),o=Lu();return Be=function(u,a,s,i){var c=s.length,l=c,h=!i;if(u==null)return!l;for(u=Object(u);c--;){var p=s[c];if(h&&p[2]?p[1]!==u[p[0]]:!(p[0]in u))return!1}for(;++c<l;){var v=(p=s[c])[0],d=u[v],f=p[1];if(h&&p[2]){if(d===void 0&&!(v in u))return!1}else{var b=new r;if(i)var g=i(d,f,v,u,a,b);if(!(g===void 0?o(f,d,3,i,b):g))return!1}}return!0},Be}(),n=function(){if(ri)return ti;ri=1;var r=Uu(),o=he();return ti=function(u){for(var a=o(u),s=a.length;s--;){var i=a[s],c=u[i];a[s]=[i,c,r(c)]}return a}}(),e=Fu();return ii=function(r){var o=n(r);return o.length==1&&o[0][2]?e(o[0][0],o[0][1]):function(u){return u===r||t(u,r,o)}}}function pt(){if(si)return ui;si=1;var t=J(),n=X();return ui=function(e){return typeof e=="symbol"||n(e)&&t(e)=="[object Symbol]"}}function dt(){if(fi)return ci;fi=1;var t=H(),n=pt(),e=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,r=/^\w*$/;return ci=function(o,u){if(t(o))return!1;var a=typeof o;return!(a!="number"&&a!="symbol"&&a!="boolean"&&o!=null&&!n(o))||r.test(o)||!e.test(o)||u!=null&&o in Object(u)}}function ps(){if(di)return pi;di=1;var t=function(){if(hi)return li;hi=1;var n=ft();function e(r,o){if(typeof r!="function"||o!=null&&typeof o!="function")throw new TypeError("Expected a function");var u=function(){var a=arguments,s=o?o.apply(this,a):a[0],i=u.cache;if(i.has(s))return i.get(s);var c=r.apply(this,a);return u.cache=i.set(s,c)||i,c};return u.cache=new(e.Cache||n),u}return e.Cache=n,li=e}();return pi=function(n){var e=t(n,function(o){return r.size===500&&r.clear(),o}),r=e.cache;return e}}function ds(){if(mi)return yi;mi=1;var t=function(){if(gi)return ze;gi=1;var n=le(),e=Su(),r=H(),o=pt(),u=n?n.prototype:void 0,a=u?u.toString:void 0;return ze=function s(i){if(typeof i=="string")return i;if(r(i))return e(i,s)+"";if(o(i))return a?a.call(i):"";var c=i+"";return c=="0"&&1/i==-1/0?"-0":c},ze}();return yi=function(n){return n==null?"":t(n)}}function Du(){if(_i)return wi;_i=1;var t=H(),n=dt(),e=function(){if(vi)return bi;vi=1;var o=ps(),u=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,a=/\\(\\)?/g,s=o(function(i){var c=[];return i.charCodeAt(0)===46&&c.push(""),i.replace(u,function(l,h,p,v){c.push(p?v.replace(a,"$1"):h||l)}),c});return bi=s}(),r=ds();return wi=function(o,u){return t(o)?o:n(o,u)?[o]:e(r(o))}}function Ce(){if(ji)return xi;ji=1;var t=pt();return xi=function(n){if(typeof n=="string"||t(n))return n;var e=n+"";return e=="0"&&1/n==-1/0?"-0":e}}function Bu(){if(Oi)return He;Oi=1;var t=Du(),n=Ce();return He=function(e,r){for(var o=0,u=(r=t(r,e)).length;e!=null&&o<u;)e=e[n(r[o++])];return o&&o==u?e:void 0},He}function bs(){if(Ri)return ki;Ri=1;var t=Ci?Ei:(Ci=1,Ei=function(e,r){return e!=null&&r in Object(e)}),n=function(){if(Ai)return We;Ai=1;var e=Du(),r=yu(),o=H(),u=mu(),a=rt(),s=Ce();return We=function(i,c,l){for(var h=-1,p=(c=e(c,i)).length,v=!1;++h<p;){var d=s(c[h]);if(!(v=i!=null&&l(i,d)))break;i=i[d]}return v||++h!=p?v:!!(p=i==null?0:i.length)&&a(p)&&u(d,p)&&(o(i)||r(i))},We}();return ki=function(e,r){return e!=null&&n(e,r,t)}}function vs(){if(Ti)return Pi;Ti=1;var t=Lu(),n=function(){if(Si)return Mi;Si=1;var s=Bu();return Mi=function(i,c,l){var h=i==null?void 0:s(i,c);return h===void 0?l:h}}(),e=bs(),r=dt(),o=Uu(),u=Fu(),a=Ce();return Pi=function(s,i){return r(s)&&o(i)?u(a(s),i):function(c){var l=n(c,s);return l===void 0&&l===i?e(c,s):t(i,l,3)}}}function gs(){if(zi)return Bi;zi=1;var t=Ui?Li:(Ui=1,Li=function(o){return function(u){return u?.[o]}}),n=function(){if(Di)return Fi;Di=1;var o=Bu();return Fi=function(u){return function(a){return o(a,u)}}}(),e=dt(),r=Ce();return Bi=function(o){return e(o)?t(r(o)):n(o)}}function ys(){if(Ii)return Ni;Ii=1;var t=Ou(),n=function(){if($i)return $e;$i=1;var r=Se();return $e=function(o,u){return function(a,s){if(a==null)return a;if(!r(a))return o(a,s);for(var i=a.length,c=u?i:-1,l=Object(a);(u?c--:++c<i)&&s(l[c],c,l)!==!1;);return a}},$e}(),e=n(t);return Ni=e}function ms(){if(qi)return Xi;qi=1;var t=Su(),n=function(){if(Wi)return Hi;Wi=1;var o=hs(),u=vs(),a=Mu(),s=H(),i=gs();return Hi=function(c){return typeof c=="function"?c:c==null?a:typeof c=="object"?s(c)?u(c[0],c[1]):o(c):i(c)}}(),e=function(){if(Vi)return Ne;Vi=1;var o=ys(),u=Se();return Ne=function(a,s){var i=-1,c=u(a)?Array(a.length):[];return o(a,function(l,h,p){c[++i]=s(l,h,p)}),c},Ne}(),r=H();return Xi=function(o,u){return(r(o)?t:e)(o,n(u,3))}}function ws(){if(Yi)return re;Yi=1,Object.defineProperty(re,"__esModule",{value:!0}),re.flattenNames=void 0;var t=function(){if(Nt)return $t;Nt=1;var i=J(),c=H(),l=X();return $t=function(h){return typeof h=="string"||!c(h)&&l(h)&&i(h)=="[object String]"}}(),n=a(t),e=a(at()),r=function(){if(Nr)return $r;Nr=1;var i=J(),c=ut(),l=X(),h=Function.prototype,p=Object.prototype,v=h.toString,d=p.hasOwnProperty,f=v.call(Object);return $r=function(b){if(!l(b)||i(b)!="[object Object]")return!1;var g=c(b);if(g===null)return!0;var y=d.call(g,"constructor")&&g.constructor;return typeof y=="function"&&y instanceof y&&v.call(y)==f}}(),o=a(r),u=a(ms());function a(i){return i&&i.__esModule?i:{default:i}}var s=re.flattenNames=function i(){var c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],l=[];return(0,u.default)(c,function(h){Array.isArray(h)?i(h).map(function(p){return l.push(p)}):(0,o.default)(h)?(0,e.default)(h,function(p,v){p===!0&&l.push(v),l.push(v+"-"+p)}):(0,n.default)(h)&&l.push(h)}),l};return re.default=s,re}var Gi,Ki,Ji,Qi,Zi,ea,ta,ra,Ve,na,oa,ia,aa,ua,sa,ca,fa,la,ha,pa,ne={};function zu(){if(ea)return Zi;ea=1;var t=function(){if(Qi)return Ji;Qi=1;var n=K(),e=function(){try{var r=n(Object,"defineProperty");return r({},"",{}),r}catch{}}();return Ji=e}();return Zi=function(n,e,r){e=="__proto__"&&t?t(n,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):n[e]=r}}function Hu(){if(ra)return ta;ra=1;var t=zu(),n=st(),e=Object.prototype.hasOwnProperty;return ta=function(r,o,u){var a=r[o];e.call(r,o)&&n(a,u)&&(u!==void 0||o in r)||t(r,o,u)}}function we(){if(na)return Ve;na=1;var t=Hu(),n=zu();return Ve=function(e,r,o,u){var a=!o;o||(o={});for(var s=-1,i=r.length;++s<i;){var c=r[s],l=u?u(o[c],e[c],c,o,e):void 0;l===void 0&&(l=e[c]),a?n(o,c,l):t(o,c,l)}return o},Ve}function _s(){if(ca)return sa;ca=1;var t=ue(),n=it(),e=ua?aa:(ua=1,aa=function(o){var u=[];if(o!=null)for(var a in Object(o))u.push(a);return u}),r=Object.prototype.hasOwnProperty;return sa=function(o){if(!t(o))return e(o);var u=n(o),a=[];for(var s in o)(s!="constructor"||!u&&r.call(o,s))&&a.push(s);return a}}function Xe(){if(la)return fa;la=1;var t=_u(),n=_s(),e=Se();return fa=function(r){return e(r)?t(r,!0):n(r)}}var da,ba,va,ga,ya,ma,wa,_a,xa,ja,Oa,Ma,Sa,Ea,Ca,Aa,ka,Ra,Pa,Ta,La,Ua,Fa,Da,Ba,za,Ha,Wa,$a,Na,Ia,Va,Xa,qa,Ya,Ga,Ka,qe,Ja,Qa,Za,eu,Ye={exports:{}};function tu(){if(wa)return ma;wa=1;var t=ku(),n=ut(),e=ht(),r=Pu(),o=Object.getOwnPropertySymbols;return ma=o?function(u){for(var a=[];u;)t(a,e(u)),u=n(u);return a}:r}function Ge(){if(Ca)return Ea;Ca=1;var t=Au();return Ea=function(n){var e=new n.constructor(n.byteLength);return new t(e).set(new t(n)),e}}function xs(){if(Ba)return Da;Ba=1;var t=Ge(),n=function(){if(ka)return Aa;ka=1;var u=Ge();return Aa=function(a,s){var i=s?u(a.buffer):a.buffer;return new a.constructor(i,a.byteOffset,a.byteLength)}}(),e=function(){if(Pa)return Ra;Pa=1;var u=/\w*$/;return Ra=function(a){var s=new a.constructor(a.source,u.exec(a));return s.lastIndex=a.lastIndex,s}}(),r=function(){if(La)return Ta;La=1;var u=le(),a=u?u.prototype:void 0,s=a?a.valueOf:void 0;return Ta=function(i){return s?Object(s.call(i)):{}}}(),o=function(){if(Fa)return Ua;Fa=1;var u=Ge();return Ua=function(a,s){var i=s?u(a.buffer):a.buffer;return new a.constructor(i,a.byteOffset,a.length)}}();return Da=function(u,a,s){var i=u.constructor;switch(a){case"[object ArrayBuffer]":return t(u);case"[object Boolean]":case"[object Date]":return new i(+u);case"[object DataView]":return n(u,s);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return o(u,s);case"[object Map]":case"[object Set]":return new i;case"[object Number]":case"[object String]":return new i(u);case"[object RegExp]":return e(u);case"[object Symbol]":return r(u)}}}function js(){if($a)return Wa;$a=1;var t=function(){if(Ha)return za;Ha=1;var r=ue(),o=Object.create,u=function(){function a(){}return function(s){if(!r(s))return{};if(o)return o(s);a.prototype=s;var i=new a;return a.prototype=void 0,i}}();return za=u}(),n=ut(),e=it();return Wa=function(r){return typeof r.constructor!="function"||e(r)?{}:t(n(r))}}function Os(){if(Xa)return Va;Xa=1;var t=function(){if(Ia)return Na;Ia=1;var u=Ee(),a=X();return Na=function(s){return a(s)&&u(s)=="[object Map]"}}(),n=nt(),e=ot(),r=e&&e.isMap,o=r?n(r):t;return Va=o}function Ms(){if(Ka)return Ga;Ka=1;var t=function(){if(Ya)return qa;Ya=1;var u=Ee(),a=X();return qa=function(s){return a(s)&&u(s)=="[object Set]"}}(),n=nt(),e=ot(),r=e&&e.isSet,o=r?n(r):t;return Ga=o}function Ss(){if(Ja)return qe;Ja=1;var t=lt(),n=(Ki||(Ki=1,Gi=function(S,m){for(var M=-1,E=S==null?0:S.length;++M<E&&m(S[M],M,S)!==!1;);return S}),Gi),e=Hu(),r=function(){if(ia)return oa;ia=1;var S=we(),m=he();return oa=function(M,E){return M&&S(E,m(E),M)}}(),o=function(){if(pa)return ha;pa=1;var S=we(),m=Xe();return ha=function(M,E){return M&&S(E,m(E),M)}}(),u=(da||(da=1,function(S,m){var M=N(),E=m&&!m.nodeType&&m,I=E&&S&&!S.nodeType&&S,W=I&&I.exports===E?M.Buffer:void 0,U=W?W.allocUnsafe:void 0;S.exports=function(A,Z){if(Z)return A.slice();var G=A.length,pe=U?U(G):new A.constructor(G);return A.copy(pe),pe}}(Ye,Ye.exports)),Ye.exports),a=(va||(va=1,ba=function(S,m){var M=-1,E=S.length;for(m||(m=Array(E));++M<E;)m[M]=S[M];return m}),ba),s=function(){if(ya)return ga;ya=1;var S=we(),m=ht();return ga=function(M,E){return S(M,m(M),E)}}(),i=function(){if(xa)return _a;xa=1;var S=we(),m=tu();return _a=function(M,E){return S(M,m(M),E)}}(),c=Tu(),l=function(){if(Oa)return ja;Oa=1;var S=Ru(),m=tu(),M=Xe();return ja=function(E){return S(E,M,m)}}(),h=Ee(),p=function(){if(Sa)return Ma;Sa=1;var S=Object.prototype.hasOwnProperty;return Ma=function(m){var M=m.length,E=new m.constructor(M);return M&&typeof m[0]=="string"&&S.call(m,"index")&&(E.index=m.index,E.input=m.input),E}}(),v=xs(),d=js(),f=H(),b=tt(),g=Os(),y=ue(),x=Ms(),j=he(),C=Xe(),R="[object Arguments]",L="[object Function]",T="[object Object]",O={};return O[R]=O["[object Array]"]=O["[object ArrayBuffer]"]=O["[object DataView]"]=O["[object Boolean]"]=O["[object Date]"]=O["[object Float32Array]"]=O["[object Float64Array]"]=O["[object Int8Array]"]=O["[object Int16Array]"]=O["[object Int32Array]"]=O["[object Map]"]=O["[object Number]"]=O[T]=O["[object RegExp]"]=O["[object Set]"]=O["[object String]"]=O["[object Symbol]"]=O["[object Uint8Array]"]=O["[object Uint8ClampedArray]"]=O["[object Uint16Array]"]=O["[object Uint32Array]"]=!0,O["[object Error]"]=O[L]=O["[object WeakMap]"]=!1,qe=function S(m,M,E,I,W,U){var A,Z=1&M,G=2&M,pe=4&M;if(E&&(A=W?E(m,I,W,U):E(m)),A!==void 0)return A;if(!y(m))return m;var vt=f(m);if(vt){if(A=p(m),!Z)return a(m,A)}else{var ee=h(m),gt=ee==L||ee=="[object GeneratorFunction]";if(b(m))return u(m,Z);if(ee==T||ee==R||gt&&!W){if(A=G||gt?{}:d(m),!Z)return G?i(m,o(A,m)):s(m,r(A,m))}else{if(!O[ee])return W?m:{};A=v(m,ee,Z)}}U||(U=new t);var yt=U.get(m);if(yt)return yt;U.set(m,A),x(m)?m.forEach(function(q){A.add(S(q,M,E,q,m,U))}):g(m)&&m.forEach(function(q,te){A.set(te,S(q,M,E,te,m,U))});var mt=vt?void 0:(pe?G?l:c:G?C:j)(m);return n(mt||m,function(q,te){mt&&(q=m[te=q]),e(A,te,S(q,M,E,te,m,U))}),A},qe}function Es(){if(eu)return ne;eu=1,Object.defineProperty(ne,"__esModule",{value:!0}),ne.mergeClasses=void 0;var t=r(at()),n=r(function(){if(Za)return Qa;Za=1;var u=Ss();return Qa=function(a){return u(a,5)}}()),e=Object.assign||function(u){for(var a=1;a<arguments.length;a++){var s=arguments[a];for(var i in s)Object.prototype.hasOwnProperty.call(s,i)&&(u[i]=s[i])}return u};function r(u){return u&&u.__esModule?u:{default:u}}var o=ne.mergeClasses=function(u){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],s=u.default&&(0,n.default)(u.default)||{};return a.map(function(i){var c=u[i];return c&&(0,t.default)(c,function(l,h){s[h]||(s[h]={}),s[h]=e({},s[h],c[h])}),i}),s};return ne.default=o,ne}var ru,oe={},nu,ie={};function Cs(){if(nu)return ie;nu=1,Object.defineProperty(ie,"__esModule",{value:!0}),ie.hover=void 0;var t,n=Object.assign||function(u){for(var a=1;a<arguments.length;a++){var s=arguments[a];for(var i in s)Object.prototype.hasOwnProperty.call(s,i)&&(u[i]=s[i])}return u},e=(t=w)&&t.__esModule?t:{default:t};function r(u,a){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!a||typeof a!="object"&&typeof a!="function"?u:a}var o=ie.hover=function(u){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"span";return function(s){function i(){var c,l,h;(function(f,b){if(!(f instanceof b))throw new TypeError("Cannot call a class as a function")})(this,i);for(var p=arguments.length,v=Array(p),d=0;d<p;d++)v[d]=arguments[d];return l=h=r(this,(c=i.__proto__||Object.getPrototypeOf(i)).call.apply(c,[this].concat(v))),h.state={hover:!1},h.handleMouseOver=function(){return h.setState({hover:!0})},h.handleMouseOut=function(){return h.setState({hover:!1})},h.render=function(){return e.default.createElement(a,{onMouseOver:h.handleMouseOver,onMouseOut:h.handleMouseOut},e.default.createElement(u,n({},h.props,h.state)))},r(h,l)}return function(c,l){if(typeof l!="function"&&l!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof l);c.prototype=Object.create(l&&l.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),l&&(Object.setPrototypeOf?Object.setPrototypeOf(c,l):c.__proto__=l)}(i,s),i}(e.default.Component)};return ie.default=o,ie}var ou,ae={};function As(){if(ou)return ae;ou=1,Object.defineProperty(ae,"__esModule",{value:!0}),ae.active=void 0;var t,n=Object.assign||function(u){for(var a=1;a<arguments.length;a++){var s=arguments[a];for(var i in s)Object.prototype.hasOwnProperty.call(s,i)&&(u[i]=s[i])}return u},e=(t=w)&&t.__esModule?t:{default:t};function r(u,a){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!a||typeof a!="object"&&typeof a!="function"?u:a}var o=ae.active=function(u){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"span";return function(s){function i(){var c,l,h;(function(f,b){if(!(f instanceof b))throw new TypeError("Cannot call a class as a function")})(this,i);for(var p=arguments.length,v=Array(p),d=0;d<p;d++)v[d]=arguments[d];return l=h=r(this,(c=i.__proto__||Object.getPrototypeOf(i)).call.apply(c,[this].concat(v))),h.state={active:!1},h.handleMouseDown=function(){return h.setState({active:!0})},h.handleMouseUp=function(){return h.setState({active:!1})},h.render=function(){return e.default.createElement(a,{onMouseDown:h.handleMouseDown,onMouseUp:h.handleMouseUp},e.default.createElement(u,n({},h.props,h.state)))},r(h,l)}return function(c,l){if(typeof l!="function"&&l!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof l);c.prototype=Object.create(l&&l.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),l&&(Object.setPrototypeOf?Object.setPrototypeOf(c,l):c.__proto__=l)}(i,s),i}(e.default.Component)};return ae.default=o,ae}var iu,au,Ke={},ks=function(){if(au)return F;au=1,Object.defineProperty(F,"__esModule",{value:!0}),F.ReactCSS=F.loop=F.handleActive=F.handleHover=F.hover=void 0;var t=s(ws()),n=s(Es()),e=function(){if(ru)return oe;ru=1,Object.defineProperty(oe,"__esModule",{value:!0}),oe.autoprefix=void 0;var c,l=at(),h=(c=l)&&c.__esModule?c:{default:c},p=Object.assign||function(f){for(var b=1;b<arguments.length;b++){var g=arguments[b];for(var y in g)Object.prototype.hasOwnProperty.call(g,y)&&(f[y]=g[y])}return f},v={borderRadius:function(f){return{msBorderRadius:f,MozBorderRadius:f,OBorderRadius:f,WebkitBorderRadius:f,borderRadius:f}},boxShadow:function(f){return{msBoxShadow:f,MozBoxShadow:f,OBoxShadow:f,WebkitBoxShadow:f,boxShadow:f}},userSelect:function(f){return{WebkitTouchCallout:f,KhtmlUserSelect:f,MozUserSelect:f,msUserSelect:f,WebkitUserSelect:f,userSelect:f}},flex:function(f){return{WebkitBoxFlex:f,MozBoxFlex:f,WebkitFlex:f,msFlex:f,flex:f}},flexBasis:function(f){return{WebkitFlexBasis:f,flexBasis:f}},justifyContent:function(f){return{WebkitJustifyContent:f,justifyContent:f}},transition:function(f){return{msTransition:f,MozTransition:f,OTransition:f,WebkitTransition:f,transition:f}},transform:function(f){return{msTransform:f,MozTransform:f,OTransform:f,WebkitTransform:f,transform:f}},absolute:function(f){var b=f&&f.split(" ");return{position:"absolute",top:b&&b[0],right:b&&b[1],bottom:b&&b[2],left:b&&b[3]}},extend:function(f,b){return b[f]||{extend:f}}},d=oe.autoprefix=function(f){var b={};return(0,h.default)(f,function(g,y){var x={};(0,h.default)(g,function(j,C){var R=v[C];R?x=p({},x,R(j)):x[C]=j}),b[y]=x}),b};return oe.default=d,oe}(),r=s(e),o=s(Cs()),u=s(As()),a=s((iu||(iu=1,Object.defineProperty(Ke,"__esModule",{value:!0}),Ke.default=function(c,l){var h={},p=function(v){var d=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1];h[v]=d};return c===0&&p("first-child"),c===l-1&&p("last-child"),(c===0||c%2==0)&&p("even"),Math.abs(c%2)===1&&p("odd"),p("nth-child",c),h}),Ke));function s(c){return c&&c.__esModule?c:{default:c}}F.hover=o.default,F.handleHover=o.default,F.handleActive=u.default,F.loop=a.default;var i=F.ReactCSS=function(c){for(var l=arguments.length,h=Array(l>1?l-1:0),p=1;p<l;p++)h[p-1]=arguments[p];var v=(0,t.default)(h),d=(0,n.default)(c,v);return(0,r.default)(d)};return F.default=i,F}();const Q=$.getDefaultExportFromCjs(ks);var Je={},Rs=function(t,n,e,r){var o=t+"-"+n+"-"+e+(r?"-server":"");if(Je[o])return Je[o];var u=function(a,s,i,c){if(typeof document>"u"&&!c)return null;var l=c?new c:document.createElement("canvas");l.width=2*i,l.height=2*i;var h=l.getContext("2d");return h?(h.fillStyle=a,h.fillRect(0,0,l.width,l.height),h.fillStyle=s,h.fillRect(0,0,i,i),h.translate(i,i),h.fillRect(0,0,i,i),l.toDataURL()):null}(t,n,e,r);return Je[o]=u,u},uu=Object.assign||function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},bt=function(t){var n=t.white,e=t.grey,r=t.size,o=t.renderers,u=t.borderRadius,a=t.boxShadow,s=t.children,i=Q({default:{grid:{borderRadius:u,boxShadow:a,absolute:"0px 0px 0px 0px",background:"url("+Rs(n,e,r,o.canvas)+") center left"}}});return w.isValidElement(s)?w.cloneElement(s,uu({},s.props,{style:uu({},s.props.style,i.grid)})):w.createElement("div",{style:i.grid})};bt.defaultProps={size:8,white:"transparent",grey:"rgba(0,0,0,.08)",renderers:{}};var Ps=Object.assign||function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},Ts=function(){function t(n,e){for(var r=0;r<e.length;r++){var o=e[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(n,o.key,o)}}return function(n,e,r){return e&&t(n.prototype,e),r&&t(n,r),n}}();function su(t,n){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!n||typeof n!="object"&&typeof n!="function"?t:n}var Ls=function(){function t(){var n,e,r;(function(s,i){if(!(s instanceof i))throw new TypeError("Cannot call a class as a function")})(this,t);for(var o=arguments.length,u=Array(o),a=0;a<o;a++)u[a]=arguments[a];return e=r=su(this,(n=t.__proto__||Object.getPrototypeOf(t)).call.apply(n,[this].concat(u))),r.handleChange=function(s){var i=function(c,l,h,p,v){var d=v.clientWidth,f=v.clientHeight,b=typeof c.pageX=="number"?c.pageX:c.touches[0].pageX,g=typeof c.pageY=="number"?c.pageY:c.touches[0].pageY,y=b-(v.getBoundingClientRect().left+window.pageXOffset),x=g-(v.getBoundingClientRect().top+window.pageYOffset);if(h==="vertical"){var j=void 0;if(j=x<0?0:x>f?1:Math.round(100*x/f)/100,l.a!==j)return{h:l.h,s:l.s,l:l.l,a:j,source:"rgb"}}else{var C=void 0;if(p!==(C=y<0?0:y>d?1:Math.round(100*y/d)/100))return{h:l.h,s:l.s,l:l.l,a:C,source:"rgb"}}return null}(s,r.props.hsl,r.props.direction,r.props.a,r.container);i&&typeof r.props.onChange=="function"&&r.props.onChange(i,s)},r.handleMouseDown=function(s){r.handleChange(s),window.addEventListener("mousemove",r.handleChange),window.addEventListener("mouseup",r.handleMouseUp)},r.handleMouseUp=function(){r.unbindEventListeners()},r.unbindEventListeners=function(){window.removeEventListener("mousemove",r.handleChange),window.removeEventListener("mouseup",r.handleMouseUp)},su(r,e)}return function(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}(t,w.PureComponent||w.Component),Ts(t,[{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"render",value:function(){var n=this,e=this.props.rgb,r=Q({default:{alpha:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius},checkboard:{absolute:"0px 0px 0px 0px",overflow:"hidden",borderRadius:this.props.radius},gradient:{absolute:"0px 0px 0px 0px",background:"linear-gradient(to right, rgba("+e.r+","+e.g+","+e.b+`, 0) 0%,
7
- rgba(`+e.r+","+e.g+","+e.b+", 1) 100%)",boxShadow:this.props.shadow,borderRadius:this.props.radius},container:{position:"relative",height:"100%",margin:"0 3px"},pointer:{position:"absolute",left:100*e.a+"%"},slider:{width:"4px",borderRadius:"1px",height:"8px",boxShadow:"0 0 2px rgba(0, 0, 0, .6)",background:"#fff",marginTop:"1px",transform:"translateX(-2px)"}},vertical:{gradient:{background:"linear-gradient(to bottom, rgba("+e.r+","+e.g+","+e.b+`, 0) 0%,
8
- rgba(`+e.r+","+e.g+","+e.b+", 1) 100%)"},pointer:{left:0,top:100*e.a+"%"}},overwrite:Ps({},this.props.style)},{vertical:this.props.direction==="vertical",overwrite:!0});return w.createElement("div",{style:r.alpha},w.createElement("div",{style:r.checkboard},w.createElement(bt,{renderers:this.props.renderers})),w.createElement("div",{style:r.gradient}),w.createElement("div",{style:r.container,ref:function(o){return n.container=o},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},w.createElement("div",{style:r.pointer},this.props.pointer?w.createElement(this.props.pointer,this.props):w.createElement("div",{style:r.slider}))))}}]),t}(),Us=function(){function t(n,e){for(var r=0;r<e.length;r++){var o=e[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(n,o.key,o)}}return function(n,e,r){return e&&t(n.prototype,e),r&&t(n,r),n}}(),Fs=[38,40],Ds=1,se=function(){function t(n){(function(r,o){if(!(r instanceof o))throw new TypeError("Cannot call a class as a function")})(this,t);var e=function(r,o){if(!r)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!o||typeof o!="object"&&typeof o!="function"?r:o}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return e.handleBlur=function(){e.state.blurValue&&e.setState({value:e.state.blurValue,blurValue:null})},e.handleChange=function(r){e.setUpdatedValue(r.target.value,r)},e.handleKeyDown=function(r){var o,u=function(i){return Number(String(i).replace(/%/g,""))}(r.target.value);if(!isNaN(u)&&(o=r.keyCode,Fs.indexOf(o)>-1)){var a=e.getArrowOffset(),s=r.keyCode===38?u+a:u-a;e.setUpdatedValue(s,r)}},e.handleDrag=function(r){if(e.props.dragLabel){var o=Math.round(e.props.value+r.movementX);o>=0&&o<=e.props.dragMax&&e.props.onChange&&e.props.onChange(e.getValueObjectWithLabel(o),r)}},e.handleMouseDown=function(r){e.props.dragLabel&&(r.preventDefault(),e.handleDrag(r),window.addEventListener("mousemove",e.handleDrag),window.addEventListener("mouseup",e.handleMouseUp))},e.handleMouseUp=function(){e.unbindEventListeners()},e.unbindEventListeners=function(){window.removeEventListener("mousemove",e.handleDrag),window.removeEventListener("mouseup",e.handleMouseUp)},e.state={value:String(n.value).toUpperCase(),blurValue:String(n.value).toUpperCase()},e.inputId="rc-editable-input-"+Ds++,e}return function(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}(t,w.PureComponent||w.Component),Us(t,[{key:"componentDidUpdate",value:function(n,e){this.props.value===this.state.value||n.value===this.props.value&&e.value===this.state.value||(this.input===document.activeElement?this.setState({blurValue:String(this.props.value).toUpperCase()}):this.setState({value:String(this.props.value).toUpperCase(),blurValue:!this.state.blurValue&&String(this.props.value).toUpperCase()}))}},{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"getValueObjectWithLabel",value:function(n){return function(e,r,o){return r in e?Object.defineProperty(e,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[r]=o,e}({},this.props.label,n)}},{key:"getArrowOffset",value:function(){return this.props.arrowOffset||1}},{key:"setUpdatedValue",value:function(n,e){var r=this.props.label?this.getValueObjectWithLabel(n):n;this.props.onChange&&this.props.onChange(r,e),this.setState({value:n})}},{key:"render",value:function(){var n=this,e=Q({default:{wrap:{position:"relative"}},"user-override":{wrap:this.props.style&&this.props.style.wrap?this.props.style.wrap:{},input:this.props.style&&this.props.style.input?this.props.style.input:{},label:this.props.style&&this.props.style.label?this.props.style.label:{}},"dragLabel-true":{label:{cursor:"ew-resize"}}},{"user-override":!0},this.props);return w.createElement("div",{style:e.wrap},w.createElement("input",{id:this.inputId,style:e.input,ref:function(r){return n.input=r},value:this.state.value,onKeyDown:this.handleKeyDown,onChange:this.handleChange,onBlur:this.handleBlur,placeholder:this.props.placeholder,spellCheck:"false"}),this.props.label&&!this.props.hideLabel?w.createElement("label",{htmlFor:this.inputId,style:e.label,onMouseDown:this.handleMouseDown},this.props.label):null)}}]),t}(),Bs=function(){function t(n,e){for(var r=0;r<e.length;r++){var o=e[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(n,o.key,o)}}return function(n,e,r){return e&&t(n.prototype,e),r&&t(n,r),n}}();function cu(t,n){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!n||typeof n!="object"&&typeof n!="function"?t:n}var zs=function(){function t(){var n,e,r;(function(s,i){if(!(s instanceof i))throw new TypeError("Cannot call a class as a function")})(this,t);for(var o=arguments.length,u=Array(o),a=0;a<o;a++)u[a]=arguments[a];return e=r=cu(this,(n=t.__proto__||Object.getPrototypeOf(t)).call.apply(n,[this].concat(u))),r.handleChange=function(s){var i=function(c,l,h,p){var v=p.clientWidth,d=p.clientHeight,f=typeof c.pageX=="number"?c.pageX:c.touches[0].pageX,b=typeof c.pageY=="number"?c.pageY:c.touches[0].pageY,g=f-(p.getBoundingClientRect().left+window.pageXOffset),y=b-(p.getBoundingClientRect().top+window.pageYOffset);if(l==="vertical"){var x=void 0;if(x=y<0?359:y>d?0:360*(-100*y/d+100)/100,h.h!==x)return{h:x,s:h.s,l:h.l,a:h.a,source:"hsl"}}else{var j=void 0;if(j=g<0?0:g>v?359:100*g/v*360/100,h.h!==j)return{h:j,s:h.s,l:h.l,a:h.a,source:"hsl"}}return null}(s,r.props.direction,r.props.hsl,r.container);i&&typeof r.props.onChange=="function"&&r.props.onChange(i,s)},r.handleMouseDown=function(s){r.handleChange(s),window.addEventListener("mousemove",r.handleChange),window.addEventListener("mouseup",r.handleMouseUp)},r.handleMouseUp=function(){r.unbindEventListeners()},cu(r,e)}return function(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}(t,w.PureComponent||w.Component),Bs(t,[{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"unbindEventListeners",value:function(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function(){var n=this,e=this.props.direction,r=e===void 0?"horizontal":e,o=Q({default:{hue:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius,boxShadow:this.props.shadow},container:{padding:"0 2px",position:"relative",height:"100%",borderRadius:this.props.radius},pointer:{position:"absolute",left:100*this.props.hsl.h/360+"%"},slider:{marginTop:"1px",width:"4px",borderRadius:"1px",height:"8px",boxShadow:"0 0 2px rgba(0, 0, 0, .6)",background:"#fff",transform:"translateX(-2px)"}},vertical:{pointer:{left:"0px",top:-100*this.props.hsl.h/360+100+"%"}}},{vertical:r==="vertical"});return w.createElement("div",{style:o.hue},w.createElement("div",{className:"hue-"+r,style:o.container,ref:function(u){return n.container=u},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},w.createElement("style",null,`
9
- .hue-horizontal {
10
- background: linear-gradient(to right, #f00 0%, #ff0 17%, #0f0
11
- 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);
12
- background: -webkit-linear-gradient(to right, #f00 0%, #ff0
13
- 17%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);
14
- }
15
-
16
- .hue-vertical {
17
- background: linear-gradient(to top, #f00 0%, #ff0 17%, #0f0 33%,
18
- #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);
19
- background: -webkit-linear-gradient(to top, #f00 0%, #ff0 17%,
20
- #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);
21
- }
22
- `),w.createElement("div",{style:o.pointer},this.props.pointer?w.createElement(this.props.pointer,this.props):w.createElement("div",{style:o.slider}))))}}]),t}(),Hs=typeof global=="object"&&global&&global.Object===Object&&global,Ws=typeof self=="object"&&self&&self.Object===Object&&self,Wu=Hs||Ws||Function("return this")(),je=Wu.Symbol,$u=Object.prototype,$s=$u.hasOwnProperty,Ns=$u.toString,ce=je?je.toStringTag:void 0,Is=Object.prototype.toString,fu=je?je.toStringTag:void 0;function Vs(t){return t==null?t===void 0?"[object Undefined]":"[object Null]":fu&&fu in Object(t)?function(n){var e=$s.call(n,ce),r=n[ce];try{n[ce]=void 0;var o=!0}catch{}var u=Ns.call(n);return o&&(e?n[ce]=r:delete n[ce]),u}(t):function(n){return Is.call(n)}(t)}function Oe(t){var n=typeof t;return t!=null&&(n=="object"||n=="function")}de.string,de.oneOf([0,1,2,3,4,5]),de.number,de.object;var Qe=function(){return Wu.Date.now()},Xs=/\s/,qs=/^\s+/;function Ys(t){return t&&t.slice(0,function(n){for(var e=n.length;e--&&Xs.test(n.charAt(e)););return e}(t)+1).replace(qs,"")}var Gs=/^[-+]0x[0-9a-f]+$/i,Ks=/^0b[01]+$/i,Js=/^0o[0-7]+$/i,Qs=parseInt;function lu(t){if(typeof t=="number")return t;if(function(r){return typeof r=="symbol"||function(o){return o!=null&&typeof o=="object"}(r)&&Vs(r)=="[object Symbol]"}(t))return NaN;if(Oe(t)){var n=typeof t.valueOf=="function"?t.valueOf():t;t=Oe(n)?n+"":n}if(typeof t!="string")return t===0?t:+t;t=Ys(t);var e=Ks.test(t);return e||Js.test(t)?Qs(t.slice(2),e?2:8):Gs.test(t)?NaN:+t}var Zs=Math.max,ec=Math.min;function tc(t,n,e){var r,o,u,a,s,i,c=0,l=!1,h=!1,p=!0;if(typeof t!="function")throw new TypeError("Expected a function");function v(y){var x=r,j=o;return r=o=void 0,c=y,a=t.apply(j,x)}function d(y){var x=y-i;return i===void 0||x>=n||x<0||h&&y-c>=u}function f(){var y=Qe();if(d(y))return b(y);s=setTimeout(f,function(x){var j=n-(x-i);return h?ec(j,u-(x-c)):j}(y))}function b(y){return s=void 0,p&&r?v(y):(r=o=void 0,a)}function g(){var y=Qe(),x=d(y);if(r=arguments,o=this,i=y,x){if(s===void 0)return function(j){return c=j,s=setTimeout(f,n),l?v(j):a}(i);if(h)return clearTimeout(s),s=setTimeout(f,n),v(i)}return s===void 0&&(s=setTimeout(f,n)),a}return n=lu(n)||0,Oe(e)&&(l=!!e.leading,u=(h="maxWait"in e)?Zs(lu(e.maxWait)||0,n):u,p="trailing"in e?!!e.trailing:p),g.cancel=function(){s!==void 0&&clearTimeout(s),c=0,r=i=o=s=void 0},g.flush=function(){return s===void 0?a:b(Qe())},g}var rc=function(){function t(n,e){for(var r=0;r<e.length;r++){var o=e[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(n,o.key,o)}}return function(n,e,r){return e&&t(n.prototype,e),r&&t(n,r),n}}();(function(){function t(n){(function(r,o){if(!(r instanceof o))throw new TypeError("Cannot call a class as a function")})(this,t);var e=function(r,o){if(!r)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!o||typeof o!="object"&&typeof o!="function"?r:o}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,n));return e.handleChange=function(r){typeof e.props.onChange=="function"&&e.throttle(e.props.onChange,function(o,u,a){var s=a.getBoundingClientRect(),i=s.width,c=s.height,l=typeof o.pageX=="number"?o.pageX:o.touches[0].pageX,h=typeof o.pageY=="number"?o.pageY:o.touches[0].pageY,p=l-(a.getBoundingClientRect().left+window.pageXOffset),v=h-(a.getBoundingClientRect().top+window.pageYOffset);p<0?p=0:p>i&&(p=i),v<0?v=0:v>c&&(v=c);var d=p/i,f=1-v/c;return{h:u.h,s:d,v:f,a:u.a,source:"hsv"}}(r,e.props.hsl,e.container),r)},e.handleMouseDown=function(r){e.handleChange(r);var o=e.getContainerRenderWindow();o.addEventListener("mousemove",e.handleChange),o.addEventListener("mouseup",e.handleMouseUp)},e.handleMouseUp=function(){e.unbindEventListeners()},e.throttle=function(r,o,u){var a=!0,s=!0;if(typeof r!="function")throw new TypeError("Expected a function");return Oe(u)&&(a="leading"in u?!!u.leading:a,s="trailing"in u?!!u.trailing:s),tc(r,o,{leading:a,maxWait:o,trailing:s})}(function(r,o,u){r(o,u)},50),e}(function(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)})(t,w.PureComponent||w.Component),rc(t,[{key:"componentWillUnmount",value:function(){this.throttle.cancel(),this.unbindEventListeners()}},{key:"getContainerRenderWindow",value:function(){for(var n=this.container,e=window;!e.document.contains(n)&&e.parent!==e;)e=e.parent;return e}},{key:"unbindEventListeners",value:function(){var n=this.getContainerRenderWindow();n.removeEventListener("mousemove",this.handleChange),n.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function(){var n=this,e=this.props.style||{},r=e.color,o=e.white,u=e.black,a=e.pointer,s=e.circle,i=Q({default:{color:{absolute:"0px 0px 0px 0px",background:"hsl("+this.props.hsl.h+",100%, 50%)",borderRadius:this.props.radius},white:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius},black:{absolute:"0px 0px 0px 0px",boxShadow:this.props.shadow,borderRadius:this.props.radius},pointer:{position:"absolute",top:-100*this.props.hsv.v+100+"%",left:100*this.props.hsv.s+"%",cursor:"default"},circle:{width:"4px",height:"4px",boxShadow:`0 0 0 1.5px #fff, inset 0 0 1px 1px rgba(0,0,0,.3),
23
- 0 0 1px 2px rgba(0,0,0,.4)`,borderRadius:"50%",cursor:"hand",transform:"translate(-2px, -2px)"}},custom:{color:r,white:o,black:u,pointer:a,circle:s}},{custom:!!this.props.style});return w.createElement("div",{style:i.color,ref:function(c){return n.container=c},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},w.createElement("style",null,`
24
- .saturation-white {
25
- background: -webkit-linear-gradient(to right, #fff, rgba(255,255,255,0));
26
- background: linear-gradient(to right, #fff, rgba(255,255,255,0));
27
- }
28
- .saturation-black {
29
- background: -webkit-linear-gradient(to top, #000, rgba(0,0,0,0));
30
- background: linear-gradient(to top, #000, rgba(0,0,0,0));
31
- }
32
- `),w.createElement("div",{style:i.white,className:"saturation-white"},w.createElement("div",{style:i.black,className:"saturation-black"}),w.createElement("div",{style:i.pointer},this.props.pointer?w.createElement(this.props.pointer,this.props):w.createElement("div",{style:i.circle}))))}}])})();var nc=Object.assign||function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},oc=function(){function t(n,e){for(var r=0;r<e.length;r++){var o=e[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(n,o.key,o)}}return function(n,e,r){return e&&t(n.prototype,e),r&&t(n,r),n}}();function hu(t,n){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!n||typeof n!="object"&&typeof n!="function"?t:n}var pu=Object.assign||function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t};(function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"span";(function(){function e(){var r,o,u;(function(c,l){if(!(c instanceof l))throw new TypeError("Cannot call a class as a function")})(this,e);for(var a=arguments.length,s=Array(a),i=0;i<a;i++)s[i]=arguments[i];return o=u=hu(this,(r=e.__proto__||Object.getPrototypeOf(e)).call.apply(r,[this].concat(s))),u.state={focus:!1},u.handleFocus=function(){return u.setState({focus:!0})},u.handleBlur=function(){return u.setState({focus:!1})},hu(u,o)}(function(r,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof o);r.prototype=Object.create(o&&o.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),o&&(Object.setPrototypeOf?Object.setPrototypeOf(r,o):r.__proto__=o)})(e,w.Component),oc(e,[{key:"render",value:function(){return w.createElement(n,{onFocus:this.handleFocus,onBlur:this.handleBlur},w.createElement(t,nc({},this.props,this.state)))}}])})()})(function(t){var n=t.color,e=t.style,r=t.onClick,o=r===void 0?function(){}:r,u=t.onHover,a=t.title,s=a===void 0?n:a,i=t.children,c=t.focus,l=t.focusStyle,h=n==="transparent",p=Q({default:{swatch:pu({background:n,height:"100%",width:"100%",cursor:"pointer",position:"relative",outline:"none"},e,c?l===void 0?{}:l:{})}}),v={};return u&&(v.onMouseOver=function(d){return u(n,d)}),w.createElement("div",pu({style:p.swatch,onClick:function(d){return o(n,d)},title:s,tabIndex:0,onKeyDown:function(d){return d.keyCode===13&&o(n,d)}},v),i,h&&w.createElement(bt,{borderRadius:p.swatch.borderRadius,boxShadow:"inset 0 0 0 1px rgba(0,0,0,0.1)"}))});var ic=function(t){var n=t.onChange,e=t.rgb,r=t.hsl,o=t.hex,u=t.disableAlpha,a=Q({default:{fields:{display:"flex",paddingTop:"4px"},single:{flex:"1",paddingLeft:"6px"},alpha:{flex:"1",paddingLeft:"6px"},double:{flex:"2"},input:{width:"80%",padding:"4px 10% 3px",border:"none",boxShadow:"inset 0 0 0 1px #ccc",fontSize:"11px"},label:{display:"block",textAlign:"center",fontSize:"11px",color:"#222",paddingTop:"3px",paddingBottom:"4px",textTransform:"capitalize"}},disableAlpha:{alpha:{display:"none"}}},{disableAlpha:u}),s=function(i,c){i.hex?function(l){if(l==="transparent")return!0;var h=String(l).charAt(0)==="#"?1:0;return l.length!==4+h&&l.length<7+h&&_(l).isValid()}(i.hex)&&n({hex:i.hex,source:"hex"},c):i.r||i.g||i.b?n({r:i.r||e.r,g:i.g||e.g,b:i.b||e.b,a:e.a,source:"rgb"},c):i.a&&(i.a<0?i.a=0:i.a>100&&(i.a=100),i.a/=100,n({h:r.h,s:r.s,l:r.l,a:i.a,source:"rgb"},c))};return w.createElement("div",{style:a.fields,className:"flexbox-fix"},w.createElement("div",{style:a.double},w.createElement(se,{style:{input:a.input,label:a.label},label:"hex",value:o.replace("#",""),onChange:s})),w.createElement("div",{style:a.single},w.createElement(se,{style:{input:a.input,label:a.label},label:"r",value:e.r,onChange:s,dragLabel:"true",dragMax:"255"})),w.createElement("div",{style:a.single},w.createElement(se,{style:{input:a.input,label:a.label},label:"g",value:e.g,onChange:s,dragLabel:"true",dragMax:"255"})),w.createElement("div",{style:a.single},w.createElement(se,{style:{input:a.input,label:a.label},label:"b",value:e.b,onChange:s,dragLabel:"true",dragMax:"255"})),w.createElement("div",{style:a.alpha},w.createElement(se,{style:{input:a.input,label:a.label},label:"a",value:Math.round(100*e.a),onChange:s,dragLabel:"true",dragMax:"100"})))};class ac extends(w.PureComponent||w.Component){constructor(n){super(n),this.handleChange=e=>{typeof this.props.onChange=="function"&&this.throttle(this.props.onChange,((r,o,u)=>{var a=u.getBoundingClientRect(),s=a.width,i=a.height,c=typeof r.pageX=="number"?r.pageX:r.touches[0].pageX,l=typeof r.pageY=="number"?r.pageY:r.touches[0].pageY,h=c-(u.getBoundingClientRect().left+window.pageXOffset),p=l-(u.getBoundingClientRect().top+window.pageYOffset);h<0?h=0:h>s&&(h=s),p<0?p=0:p>i&&(p=i);var v=h/s,d=1-p/i;return{h:o.h,s:v,v:d,a:o.a,source:"hsv"}})(e,this.props.hsl,this.container),e),e.preventDefault()},this.handleMouseDown=e=>{this.handleChange(e);const r=this.getContainerRenderWindow();r.addEventListener("mousemove",this.handleChange),r.addEventListener("mouseup",this.handleMouseUp)},this.handleMouseUp=e=>{e.preventDefault(),this.unbindEventListeners()},this.throttle=function(e,r,o){let u,a,s,i;var c=0;o||(o={});let l=function(){c=o.leading===!1?0:Date.now(),u=null,i=e.apply(a,s),u||(a=s=null)},h=function(){var p=Date.now();c||o.leading!==!1||(c=p);var v=r-(p-c);return a=this,s=arguments,v<=0||v>r?(u&&(clearTimeout(u),u=null),c=p,i=e.apply(a,s),u||(a=s=null)):u||o.trailing===!1||(u=setTimeout(l,v)),i};return h.cancel=function(){clearTimeout(u),c=0,u=a=s=null},h}((e,r,o)=>{e(r,o)},50)}componentWillUnmount(){this.throttle.cancel(),this.unbindEventListeners()}getContainerRenderWindow(){const{container:n}=this;let e=window;for(;!e.document.contains(n)&&e.parent!==e;)e=e.parent;return e}unbindEventListeners(){const n=this.getContainerRenderWindow();n.removeEventListener("mousemove",this.handleChange),n.removeEventListener("mouseup",this.handleMouseUp)}render(){const{color:n,white:e,black:r,pointer:o,circle:u}=this.props||{},a={position:"absolute",top:"0px",left:"0px",right:"0px",bottom:"0px"},s={color:{...a,backgroundColor:`hsl(${this.props.hsl?.h},100%, 50%)`,borderRadius:this.props.style?.borderRadius},white:{...a,borderRadius:this.props.style?.borderRadius},black:{...a,boxShadow:this.props.style?.boxShadow,borderRadius:this.props.style?.borderRadius},pointer:{...a,top:-100*this.props.hsv?.v+100+"%",left:100*this.props.hsv?.s+"%",cursor:"default"},circle:{width:"4px",height:"4px",boxShadow:`0 0 0 1.5px #fff, inset 0 0 1px 1px rgba(0,0,0,.3),
33
- 0 0 1px 2px rgba(0,0,0,.4)`,borderRadius:"50%",cursor:"hand",transform:"translate(-2px, -2px)"}};return P.jsxs("div",{style:s.color,ref:i=>this.container=i,onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange,children:[P.jsx("style",{children:`
34
- .saturation-white {
35
- background: -webkit-linear-gradient(to right, #fff, rgba(255,255,255,0));
36
- background: linear-gradient(to right, #fff, rgba(255,255,255,0));
37
- }
38
- .saturation-black {
39
- background: -webkit-linear-gradient(to top, #000, rgba(0,0,0,0));
40
- background: linear-gradient(to top, #000, rgba(0,0,0,0));
41
- }
42
- `}),P.jsxs("div",{style:s.white,className:"saturation-white",children:[P.jsx("div",{style:s.black,className:"saturation-black"}),P.jsx("div",{style:s.pointer,children:this.props.pointer?P.jsx(this.props.pointer,{...this.props}):P.jsx("div",{style:s.circle})})]})]})}}const et=(t,n=null)=>{const e=t.hex?_(t.hex):_(t||"transparent"),r=e.toHsl(),o=e.toHsv(),u=e.toRgb(),a=e.toHex();return r.s===0&&(r.h=n??0,o.h=n??0),{hsl:r,hex:"#"+a,rgb:u,hsv:o,source:t.source}},du=w.memo(t=>{const{selectedColor:n,onColorChange:e,renderers:r,disableAlpha:o=!1,style:u=$.io.EmptyCssProperties,...a}=t,s=$.useTheme(),[i,c]=w.useState(()=>et(n)),[l,h]=w.useState(i.hsl.h??0),p=w.useCallback(f=>{let b=et(f,l);return h(b.hsl.h??0),c(b),b},[l]),v=w.useCallback(f=>{const b=p(f),g=`rgba(${b.rgb.r},${b.rgb.g},${b.rgb.b},${o?1:b.rgb.a})`;e?.(g)},[e,p,o]);w.useLayoutEffect(()=>{p(n)},[n,p]);const d=P.jsx("div",{style:{position:"relative",minHeight:"10px",maxHeight:"10px",width:"100%"},children:P.jsx(Ls,{style:{radius:"2px",shadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"},rgb:i.rgb,hsl:i.hsl,renderers:r,onChange:v})});return P.jsxs("div",{style:{display:"flex",flexDirection:"column",...u},...a,children:[P.jsx("div",{style:{width:"100%",flex:"1 1 100%",position:"relative",overflow:"hidden"},children:P.jsx(ac,{style:{borderRadius:"3px",boxShadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"},hsl:i.hsl,hsv:i.hsv,onChange:v})}),P.jsxs("div",{style:{marginTop:"4px",display:"flex",gap:"4px"},children:[P.jsxs("div",{style:{flex:"1",display:"flex",flexDirection:o?"row":"column",justifyContent:"space-between",alignItems:"center"},children:[P.jsx("div",{style:{position:"relative",minHeight:"10px",maxHeight:"10px",width:"100%"},children:P.jsx(zs,{style:{radius:"2px",shadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"},hsl:i.hsl,onChange:v})}),o?null:d]}),P.jsxs("div",{style:{minWidth:"24px",maxWidth:"24px",minHeight:"24px",maxHeight:"24px",position:"relative",borderRadius:"1px",overflow:"hidden"},children:[P.jsx($.Checkboard,{grey:s.palette.text.icon??s.palette.action.active}),P.jsx("div",{style:{position:"absolute",height:"100%",width:"100%",background:`rgba(${i.rgb.r},${i.rgb.g},${i.rgb.b},${o?1:i.rgb.a})`,boxShadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"}})]})]}),P.jsx(Nu.Box,{sx:{marginBottom:"4px","& label":{fontFamily:f=>`${f.typography.fontFamily} !important`,color:f=>`${f.palette.text.secondary} !important`},"& *":{fontFamily:f=>`${f.typography.fontFamily} !important`,userSelect:"none"},"& input":{paddingLeft:f=>`${f.spacing(.5)} !important`,paddingRight:f=>`${f.spacing(.5)} !important`,outline:"none",boxSizing:"border-box",width:"100% !important",textAlign:"center"}},children:P.jsx(ic,{rgb:i.rgb,hsl:i.hsl,hex:i.hex,disableAlpha:o,onChange:v})})]})});exports.CustomColorPanel=du,exports.default=du,exports.toState=et;
@@ -1,15 +0,0 @@
1
- "use strict";/**
2
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.4.19
3
- *
4
- * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
- * License: The license can be found at https://www.sheetxl.com/license.
6
- */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var ct,pt={exports:{}};const _t=function(Y,Q){for(var k=0;k<Q.length;k++){const P=Q[k];if(typeof P!="string"&&!Array.isArray(P)){for(const B in P)if(B!=="default"&&!(B in Y)){const J=Object.getOwnPropertyDescriptor(P,B);J&&Object.defineProperty(Y,B,J.get?J:{enumerable:!0,get:()=>P[B]})}}}return Object.freeze(Object.defineProperty(Y,Symbol.toStringTag,{value:"Module"}))}({__proto__:null},[(ct||(ct=1,pt.exports=function Y(){var Q,k=typeof self<"u"?self:typeof window<"u"?window:k!==void 0?k:{},P=!k.document&&!!k.postMessage,B=k.IS_PAPA_WORKER||!1,J={},gt=0,a={};function K(t){this._handle=null,this._finished=!1,this._completed=!1,this._halted=!1,this._input=null,this._baseIndex=0,this._partialLine="",this._rowCount=0,this._start=0,this._nextChunk=null,this.isFirstChunk=!0,this._completeResults={data:[],errors:[],meta:{}},function(e){var i=at(e);i.chunkSize=parseInt(i.chunkSize),e.step||e.chunk||(i.chunkSize=null),this._handle=new ht(i),(this._handle.streamer=this)._config=i}.call(this,t),this.parseChunk=function(e,i){var n=parseInt(this._config.skipFirstNLines)||0;if(this.isFirstChunk&&0<n){let l=this._config.newline;l||(r=this._config.quoteChar||'"',l=this._handle.guessLineEndings(e,r)),e=[...e.split(l).slice(n)].join(l)}this.isFirstChunk&&_(this._config.beforeFirstChunk)&&(r=this._config.beforeFirstChunk(e))!==void 0&&(e=r),this.isFirstChunk=!1,this._halted=!1,n=this._partialLine+e;var r=(this._partialLine="",this._handle.parse(n,this._baseIndex,!this._finished));if(!this._handle.paused()&&!this._handle.aborted()){if(e=r.meta.cursor,this._finished||(this._partialLine=n.substring(e-this._baseIndex),this._baseIndex=e),r&&r.data&&(this._rowCount+=r.data.length),n=this._finished||this._config.preview&&this._rowCount>=this._config.preview,B)k.postMessage({results:r,workerId:a.WORKER_ID,finished:n});else if(_(this._config.chunk)&&!i){if(this._config.chunk(r,this._handle),this._handle.paused()||this._handle.aborted())return void(this._halted=!0);this._completeResults=r=void 0}return this._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat(r.data),this._completeResults.errors=this._completeResults.errors.concat(r.errors),this._completeResults.meta=r.meta),this._completed||!n||!_(this._config.complete)||r&&r.meta.aborted||(this._config.complete(this._completeResults,this._input),this._completed=!0),n||r&&r.meta.paused||this._nextChunk(),r}this._halted=!0},this._sendError=function(e){_(this._config.error)?this._config.error(e):B&&this._config.error&&k.postMessage({workerId:a.WORKER_ID,error:e,finished:!1})}}function it(t){var e;(t=t||{}).chunkSize||(t.chunkSize=a.RemoteChunkSize),K.call(this,t),this._nextChunk=P?function(){this._readChunk(),this._chunkLoaded()}:function(){this._readChunk()},this.stream=function(i){this._input=i,this._nextChunk()},this._readChunk=function(){if(this._finished)this._chunkLoaded();else{if(e=new XMLHttpRequest,this._config.withCredentials&&(e.withCredentials=this._config.withCredentials),P||(e.onload=$(this._chunkLoaded,this),e.onerror=$(this._chunkError,this)),e.open(this._config.downloadRequestBody?"POST":"GET",this._input,!P),this._config.downloadRequestHeaders){var i,n=this._config.downloadRequestHeaders;for(i in n)e.setRequestHeader(i,n[i])}var r;this._config.chunkSize&&(r=this._start+this._config.chunkSize-1,e.setRequestHeader("Range","bytes="+this._start+"-"+r));try{e.send(this._config.downloadRequestBody)}catch(l){this._chunkError(l.message)}P&&e.status===0&&this._chunkError()}},this._chunkLoaded=function(){var i;e.readyState===4&&(e.status<200||400<=e.status?this._chunkError():(this._start+=this._config.chunkSize||e.responseText.length,this._finished=!this._config.chunkSize||this._start>=((i=(i=e).getResponseHeader("Content-Range"))!==null?parseInt(i.substring(i.lastIndexOf("/")+1)):-1),this.parseChunk(e.responseText)))},this._chunkError=function(i){i=e.statusText||i,this._sendError(new Error(i))}}function rt(t){(t=t||{}).chunkSize||(t.chunkSize=a.LocalChunkSize),K.call(this,t);var e,i,n=typeof FileReader<"u";this.stream=function(r){this._input=r,i=r.slice||r.webkitSlice||r.mozSlice,n?((e=new FileReader).onload=$(this._chunkLoaded,this),e.onerror=$(this._chunkError,this)):e=new FileReaderSync,this._nextChunk()},this._nextChunk=function(){this._finished||this._config.preview&&!(this._rowCount<this._config.preview)||this._readChunk()},this._readChunk=function(){var r=this._input,l=(this._config.chunkSize&&(l=Math.min(this._start+this._config.chunkSize,this._input.size),r=i.call(r,this._start,l)),e.readAsText(r,this._config.encoding));n||this._chunkLoaded({target:{result:l}})},this._chunkLoaded=function(r){this._start+=this._config.chunkSize,this._finished=!this._config.chunkSize||this._start>=this._input.size,this.parseChunk(r.target.result)},this._chunkError=function(){this._sendError(e.error)}}function X(t){var e;K.call(this,t=t||{}),this.stream=function(i){return e=i,this._nextChunk()},this._nextChunk=function(){var i,n;if(!this._finished)return i=this._config.chunkSize,e=i?(n=e.substring(0,i),e.substring(i)):(n=e,""),this._finished=!e,this.parseChunk(n)}}function nt(t){K.call(this,t=t||{});var e=[],i=!0,n=!1;this.pause=function(){K.prototype.pause.apply(this,arguments),this._input.pause()},this.resume=function(){K.prototype.resume.apply(this,arguments),this._input.resume()},this.stream=function(r){this._input=r,this._input.on("data",this._streamData),this._input.on("end",this._streamEnd),this._input.on("error",this._streamError)},this._checkIsFinished=function(){n&&e.length===1&&(this._finished=!0)},this._nextChunk=function(){this._checkIsFinished(),e.length?this.parseChunk(e.shift()):i=!0},this._streamData=$(function(r){try{e.push(typeof r=="string"?r:r.toString(this._config.encoding)),i&&(i=!1,this._checkIsFinished(),this.parseChunk(e.shift()))}catch(l){this._streamError(l)}},this),this._streamError=$(function(r){this._streamCleanUp(),this._sendError(r)},this),this._streamEnd=$(function(){this._streamCleanUp(),n=!0,this._streamData("")},this),this._streamCleanUp=$(function(){this._input.removeListener("data",this._streamData),this._input.removeListener("end",this._streamEnd),this._input.removeListener("error",this._streamError)},this)}function ht(t){var e,i,n,r,l=Math.pow(2,53),v=-l,M=/^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/,w=/^((\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z)))$/,m=this,T=0,o=0,j=!1,u=!1,p=[],s={data:[],errors:[],meta:{}};function C(h){return t.skipEmptyLines==="greedy"?h.join("").trim()==="":h.length===1&&h[0].length===0}function R(){if(s&&n&&(z("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+a.DefaultDelimiter+"'"),n=!1),t.skipEmptyLines&&(s.data=s.data.filter(function(f){return!C(f)})),L()){let f=function(O,A){_(t.transformHeader)&&(O=t.transformHeader(O,A)),p.push(O)};if(s)if(Array.isArray(s.data[0])){for(var h=0;L()&&h<s.data.length;h++)s.data[h].forEach(f);s.data.splice(0,1)}else s.data.forEach(f)}function c(f,O){for(var A=t.header?{}:[],b=0;b<f.length;b++){var y=b,g=f[b];g=((U,d)=>{return S=U,t.dynamicTypingFunction&&t.dynamicTyping[S]===void 0&&(t.dynamicTyping[S]=t.dynamicTypingFunction(S)),(t.dynamicTyping[S]||t.dynamicTyping)===!0?d==="true"||d==="TRUE"||d!=="false"&&d!=="FALSE"&&((I=>{if(M.test(I)&&(I=parseFloat(I),v<I&&I<l))return 1})(d)?parseFloat(d):w.test(d)?new Date(d):d===""?null:d):d;var S})(y=t.header?b>=p.length?"__parsed_extra":p[b]:y,g=t.transform?t.transform(g,y):g),y==="__parsed_extra"?(A[y]=A[y]||[],A[y].push(g)):A[y]=g}return t.header&&(b>p.length?z("FieldMismatch","TooManyFields","Too many fields: expected "+p.length+" fields but parsed "+b,o+O):b<p.length&&z("FieldMismatch","TooFewFields","Too few fields: expected "+p.length+" fields but parsed "+b,o+O)),A}var E;s&&(t.header||t.dynamicTyping||t.transform)&&(E=1,!s.data.length||Array.isArray(s.data[0])?(s.data=s.data.map(c),E=s.data.length):s.data=c(s.data,0),t.header&&s.meta&&(s.meta.fields=p),o+=E)}function L(){return t.header&&p.length===0}function z(h,c,E,f){h={type:h,code:c,message:E},f!==void 0&&(h.row=f),s.errors.push(h)}_(t.step)&&(r=t.step,t.step=function(h){s=h,L()?R():(R(),s.data.length!==0&&(T+=h.data.length,t.preview&&T>t.preview?i.abort():(s.data=s.data[0],r(s,m))))}),this.parse=function(h,c,E){var f=t.quoteChar||'"';return t.newline||(t.newline=this.guessLineEndings(h,f)),n=!1,t.delimiter?_(t.delimiter)&&(t.delimiter=t.delimiter(h),s.meta.delimiter=t.delimiter):((f=((O,A,b,y,g)=>{var U,d,S,I;g=g||[","," ","|",";",a.RECORD_SEP,a.UNIT_SEP];for(var Z=0;Z<g.length;Z++){for(var W,tt=g[Z],F=0,q=0,x=0,D=(S=void 0,new st({comments:y,delimiter:tt,newline:A,preview:10}).parse(O)),H=0;H<D.data.length;H++)b&&C(D.data[H])?x++:(q+=W=D.data[H].length,S===void 0?S=W:0<W&&(F+=Math.abs(W-S),S=W));0<D.data.length&&(q/=D.data.length-x),(d===void 0||F<=d)&&(I===void 0||I<q)&&1.99<q&&(d=F,U=tt,I=q)}return{successful:!!(t.delimiter=U),bestDelimiter:U}})(h,t.newline,t.skipEmptyLines,t.comments,t.delimitersToGuess)).successful?t.delimiter=f.bestDelimiter:(n=!0,t.delimiter=a.DefaultDelimiter),s.meta.delimiter=t.delimiter),f=at(t),t.preview&&t.header&&f.preview++,e=h,i=new st(f),s=i.parse(e,c,E),R(),j?{meta:{paused:!0}}:s||{meta:{paused:!1}}},this.paused=function(){return j},this.pause=function(){j=!0,i.abort(),e=_(t.chunk)?"":e.substring(i.getCharIndex())},this.resume=function(){m.streamer._halted?(j=!1,m.streamer.parseChunk(e,!0)):setTimeout(m.resume,3)},this.aborted=function(){return u},this.abort=function(){u=!0,i.abort(),s.meta.aborted=!0,_(t.complete)&&t.complete(s),e=""},this.guessLineEndings=function(h,c){h=h.substring(0,1048576),c=new RegExp(V(c)+"([^]*?)"+V(c),"gm");var E=(h=h.replace(c,"")).split("\r");if(h=1<(c=h.split(`
7
- `)).length&&c[0].length<E[0].length,E.length===1||h)return`
8
- `;for(var f=0,O=0;O<E.length;O++)E[O][0]===`
9
- `&&f++;return f>=E.length/2?`\r
10
- `:"\r"}}function V(t){return t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function st(t){var e=(t=t||{}).delimiter,i=t.newline,n=t.comments,r=t.step,l=t.preview,v=t.fastMode,M=null,w=!1,m=t.quoteChar==null?'"':t.quoteChar,T=m;if(t.escapeChar!==void 0&&(T=t.escapeChar),(typeof e!="string"||-1<a.BAD_DELIMITERS.indexOf(e))&&(e=","),n===e)throw new Error("Comment character same as delimiter");n===!0?n="#":(typeof n!="string"||-1<a.BAD_DELIMITERS.indexOf(n))&&(n=!1),i!==`
11
- `&&i!=="\r"&&i!==`\r
12
- `&&(i=`
13
- `);var o=0,j=!1;this.parse=function(u,p,s){if(typeof u!="string")throw new Error("Input must be a string");var C=u.length,R=e.length,L=i.length,z=n.length,h=_(r),c=[],E=[],f=[],O=o=0;if(!u)return F();if(v||v!==!1&&u.indexOf(m)===-1){for(var A=u.split(i),b=0;b<A.length;b++){if(f=A[b],o+=f.length,b!==A.length-1)o+=i.length;else if(s)return F();if(!n||f.substring(0,z)!==n){if(h){if(c=[],I(f.split(e)),q(),j)return F()}else I(f.split(e));if(l&&l<=b)return c=c.slice(0,l),F(!0)}}return F()}for(var y=u.indexOf(e,o),g=u.indexOf(i,o),U=new RegExp(V(T)+V(m),"g"),d=u.indexOf(m,o);;)if(u[o]===m)for(d=o,o++;;){if((d=u.indexOf(m,d+1))===-1)return s||E.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:c.length,index:o}),W();if(d===C-1)return W(u.substring(o,d).replace(U,m));if(m===T&&u[d+1]===T)d++;else if(m===T||d===0||u[d-1]!==T){y!==-1&&y<d+1&&(y=u.indexOf(e,d+1));var S=Z((g=g!==-1&&g<d+1?u.indexOf(i,d+1):g)===-1?y:Math.min(y,g));if(u.substr(d+1+S,R)===e){f.push(u.substring(o,d).replace(U,m)),u[o=d+1+S+R]!==m&&(d=u.indexOf(m,o)),y=u.indexOf(e,o),g=u.indexOf(i,o);break}if(S=Z(g),u.substring(d+1+S,d+1+S+L)===i){if(f.push(u.substring(o,d).replace(U,m)),tt(d+1+S+L),y=u.indexOf(e,o),d=u.indexOf(m,o),h&&(q(),j))return F();if(l&&c.length>=l)return F(!0);break}E.push({type:"Quotes",code:"InvalidQuotes",message:"Trailing quote on quoted field is malformed",row:c.length,index:o}),d++}}else if(n&&f.length===0&&u.substring(o,o+z)===n){if(g===-1)return F();o=g+L,g=u.indexOf(i,o),y=u.indexOf(e,o)}else if(y!==-1&&(y<g||g===-1))f.push(u.substring(o,y)),o=y+R,y=u.indexOf(e,o);else{if(g===-1)break;if(f.push(u.substring(o,g)),tt(g+L),h&&(q(),j))return F();if(l&&c.length>=l)return F(!0)}return W();function I(x){c.push(x),O=o}function Z(x){return x!==-1&&(x=u.substring(d+1,x))&&x.trim()===""?x.length:0}function W(x){return s||(x===void 0&&(x=u.substring(o)),f.push(x),o=C,I(f),h&&q()),F()}function tt(x){o=x,I(f),f=[],g=u.indexOf(i,o)}function F(x){if(t.header&&!p&&c.length&&!w){var D=c[0],H=Object.create(null),ot=new Set(D);let ft=!1;for(let G=0;G<D.length;G++){let N=D[G];if(H[N=_(t.transformHeader)?t.transformHeader(N,G):N]){let et,lt=H[N];for(;et=N+"_"+lt,lt++,ot.has(et););ot.add(et),D[G]=et,H[N]++,ft=!0,(M=M===null?{}:M)[et]=N}else H[N]=1,D[G]=N;ot.add(N)}ft&&console.warn("Duplicate headers found and renamed."),w=!0}return{data:c,errors:E,meta:{delimiter:e,linebreak:i,aborted:j,truncated:!!x,cursor:O+(p||0),renamedHeaders:M}}}function q(){r(F()),c=[],E=[]}},this.abort=function(){j=!0},this.getCharIndex=function(){return o}}function mt(t){var e=t.data,i=J[e.workerId],n=!1;if(e.error)i.userError(e.error,e.file);else if(e.results&&e.results.data){var r={abort:function(){n=!0,ut(e.workerId,{data:[],errors:[],meta:{aborted:!0}})},pause:dt,resume:dt};if(_(i.userStep)){for(var l=0;l<e.results.data.length&&(i.userStep({data:e.results.data[l],errors:e.results.errors,meta:e.results.meta},r),!n);l++);delete e.results}else _(i.userChunk)&&(i.userChunk(e.results,r,e.file),delete e.results)}e.finished&&!n&&ut(e.workerId,e.results)}function ut(t,e){var i=J[t];_(i.userComplete)&&i.userComplete(e),i.terminate(),delete J[t]}function dt(){throw new Error("Not implemented.")}function at(t){if(typeof t!="object"||t===null)return t;var e,i=Array.isArray(t)?[]:{};for(e in t)i[e]=at(t[e]);return i}function $(t,e){return function(){t.apply(e,arguments)}}function _(t){return typeof t=="function"}return a.parse=function(t,e){var i,n=(e=e||{}).dynamicTyping||!1;if(_(n)&&(e.dynamicTypingFunction=n,n={}),e.dynamicTyping=n,e.transform=!!_(e.transform)&&e.transform,!e.worker||!a.WORKERS_SUPPORTED)return n=null,a.NODE_STREAM_INPUT,typeof t=="string"?(t=(i=t).charCodeAt(0)!==65279?i:i.slice(1),n=new(e.download?it:X)(e)):t.readable===!0&&_(t.read)&&_(t.on)?n=new nt(e):(k.File&&t instanceof File||t instanceof Object)&&(n=new rt(e)),n.stream(t);(n=(()=>{var r,l,v;return!!a.WORKERS_SUPPORTED&&(l=k.URL||k.webkitURL||null,v=Y.toString(),r=a.BLOB_URL||(a.BLOB_URL=l.createObjectURL(new Blob(["var global = (function() { if (typeof self !== 'undefined') { return self; } if (typeof window !== 'undefined') { return window; } if (typeof global !== 'undefined') { return global; } return {}; })(); global.IS_PAPA_WORKER=true; ","(",v,")();"],{type:"text/javascript"}))),(r=new k.Worker(r)).onmessage=mt,r.id=gt++,J[r.id]=r)})()).userStep=e.step,n.userChunk=e.chunk,n.userComplete=e.complete,n.userError=e.error,e.step=_(e.step),e.chunk=_(e.chunk),e.complete=_(e.complete),e.error=_(e.error),delete e.worker,n.postMessage({input:t,config:e,workerId:n.id})},a.unparse=function(t,e){var i=!1,n=!0,r=",",l=`\r
14
- `,v='"',M=v+v,w=!1,m=null,T=!1,o=((()=>{if(typeof e=="object"){if(typeof e.delimiter!="string"||a.BAD_DELIMITERS.filter(function(p){return e.delimiter.indexOf(p)!==-1}).length||(r=e.delimiter),typeof e.quotes!="boolean"&&typeof e.quotes!="function"&&!Array.isArray(e.quotes)||(i=e.quotes),typeof e.skipEmptyLines!="boolean"&&typeof e.skipEmptyLines!="string"||(w=e.skipEmptyLines),typeof e.newline=="string"&&(l=e.newline),typeof e.quoteChar=="string"&&(v=e.quoteChar),typeof e.header=="boolean"&&(n=e.header),Array.isArray(e.columns)){if(e.columns.length===0)throw new Error("Option columns is empty");m=e.columns}e.escapeChar!==void 0&&(M=e.escapeChar+v),e.escapeFormulae instanceof RegExp?T=e.escapeFormulae:typeof e.escapeFormulae=="boolean"&&e.escapeFormulae&&(T=/^[=+\-@\t\r].*$/)}})(),new RegExp(V(v),"g"));if(typeof t=="string"&&(t=JSON.parse(t)),Array.isArray(t)){if(!t.length||Array.isArray(t[0]))return j(null,t,w);if(typeof t[0]=="object")return j(m||Object.keys(t[0]),t,w)}else if(typeof t=="object")return typeof t.data=="string"&&(t.data=JSON.parse(t.data)),Array.isArray(t.data)&&(t.fields||(t.fields=t.meta&&t.meta.fields||m),t.fields||(t.fields=Array.isArray(t.data[0])?t.fields:typeof t.data[0]=="object"?Object.keys(t.data[0]):[]),Array.isArray(t.data[0])||typeof t.data[0]=="object"||(t.data=[t.data])),j(t.fields||[],t.data||[],w);throw new Error("Unable to serialize unrecognized input");function j(p,s,C){var R="",L=(typeof p=="string"&&(p=JSON.parse(p)),typeof s=="string"&&(s=JSON.parse(s)),Array.isArray(p)&&0<p.length),z=!Array.isArray(s[0]);if(L&&n){for(var h=0;h<p.length;h++)0<h&&(R+=r),R+=u(p[h],h);0<s.length&&(R+=l)}for(var c=0;c<s.length;c++){var E=(L?p:s[c]).length,f=!1,O=L?Object.keys(s[c]).length===0:s[c].length===0;if(C&&!L&&(f=C==="greedy"?s[c].join("").trim()==="":s[c].length===1&&s[c][0].length===0),C==="greedy"&&L){for(var A=[],b=0;b<E;b++){var y=z?p[b]:b;A.push(s[c][y])}f=A.join("").trim()===""}if(!f){for(var g=0;g<E;g++){0<g&&!O&&(R+=r);var U=L&&z?p[g]:g;R+=u(s[c][U],g)}c<s.length-1&&(!C||0<E&&!O)&&(R+=l)}}return R}function u(p,s){var C,R;return p==null?"":p.constructor===Date?JSON.stringify(p).slice(1,25):(R=!1,T&&typeof p=="string"&&T.test(p)&&(p="'"+p,R=!0),C=p.toString().replace(o,M),(R=R||i===!0||typeof i=="function"&&i(p,s)||Array.isArray(i)&&i[s]||((L,z)=>{for(var h=0;h<z.length;h++)if(-1<L.indexOf(z[h]))return!0;return!1})(C,a.BAD_DELIMITERS)||-1<C.indexOf(r)||C.charAt(0)===" "||C.charAt(C.length-1)===" ")?v+C+v:C)}},a.RECORD_SEP="",a.UNIT_SEP="",a.BYTE_ORDER_MARK="\uFEFF",a.BAD_DELIMITERS=["\r",`
15
- `,'"',a.BYTE_ORDER_MARK],a.WORKERS_SUPPORTED=!P&&!!k.Worker,a.NODE_STREAM_INPUT=1,a.LocalChunkSize=10485760,a.RemoteChunkSize=5242880,a.DefaultDelimiter=",",a.Parser=st,a.ParserHandle=ht,a.NetworkStreamer=it,a.FileStreamer=rt,a.StringStreamer=X,a.ReadableStreamStreamer=nt,k.jQuery&&((Q=k.jQuery).fn.parse=function(t){var e=t.config||{},i=[];return this.each(function(l){if(Q(this).prop("tagName").toUpperCase()!=="INPUT"||Q(this).attr("type").toLowerCase()!=="file"||!k.FileReader||!this.files||this.files.length===0)return!0;for(var v=0;v<this.files.length;v++)i.push({file:this.files[v],inputElem:this,instanceConfig:Q.extend({},e)})}),n(),this;function n(){if(i.length===0)_(t.complete)&&t.complete();else{var l,v,M,w=i[0];if(_(t.before)){var m=t.before(w.file,w.inputElem);if(typeof m=="object"){if(m.action==="abort")return l=w.file,v=w.inputElem,M=m.reason,void(_(t.error)&&t.error({name:"AbortError"},l,v,M));if(m.action==="skip")return void r();typeof m.config=="object"&&(w.instanceConfig=Q.extend(w.instanceConfig,m.config))}else if(m==="skip")return void r()}var T=w.instanceConfig.complete;w.instanceConfig.complete=function(o){_(T)&&T(o,w.file,w.inputElem),r()},a.parse(w.file,w.instanceConfig)}}function r(){i.splice(0,1),n()}}),B&&(k.onmessage=function(t){t=t.data,a.WORKER_ID===void 0&&t&&(a.WORKER_ID=t.workerId),typeof t.input=="string"?k.postMessage({workerId:a.WORKER_ID,results:a.parse(t.input,t.config),finished:!0}):(k.File&&t.input instanceof File||t.input instanceof Object)&&(t=a.parse(t.input,t.config))&&k.postMessage({workerId:a.WORKER_ID,results:t,finished:!0})}),(it.prototype=Object.create(K.prototype)).constructor=it,(rt.prototype=Object.create(K.prototype)).constructor=rt,(X.prototype=Object.create(X.prototype)).constructor=X,(nt.prototype=Object.create(K.prototype)).constructor=nt,a}()),pt.exports)]);exports.p=_t;
@@ -1,11 +0,0 @@
1
- "use strict";/**
2
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.4.19
3
- *
4
- * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
- * License: The license can be found at https://www.sheetxl.com/license.
6
- */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var nr,x={},te={};function ke(){if(nr)return te;function S(a,h){return h===void 0&&(h=Object),h&&typeof h.getOwnPropertyDescriptors=="function"&&(a=h.create(null,h.getOwnPropertyDescriptors(a))),h&&typeof h.freeze=="function"?h.freeze(a):a}function c(a,h){return Object.prototype.hasOwnProperty.call(a,h)}nr=1;var A=S({allowfullscreen:!0,async:!0,autofocus:!0,autoplay:!0,checked:!0,controls:!0,default:!0,defer:!0,disabled:!0,formnovalidate:!0,hidden:!0,ismap:!0,itemscope:!0,loop:!0,multiple:!0,muted:!0,nomodule:!0,novalidate:!0,open:!0,playsinline:!0,readonly:!0,required:!0,reversed:!0,selected:!0}),_=S({area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0}),g=S({script:!1,style:!1,textarea:!0,title:!0});function m(a){return a===H.HTML}var H=S({HTML:"text/html",XML_APPLICATION:"application/xml",XML_TEXT:"text/xml",XML_XHTML_APPLICATION:"application/xhtml+xml",XML_SVG_IMAGE:"image/svg+xml"}),J=Object.keys(H).map(function(a){return H[a]}),Q=S({HTML:"http://www.w3.org/1999/xhtml",SVG:"http://www.w3.org/2000/svg",XML:"http://www.w3.org/XML/1998/namespace",XMLNS:"http://www.w3.org/2000/xmlns/"});return te.assign=function(a,h){if(a===null||typeof a!="object")throw new TypeError("target is not an object");for(var p in h)c(h,p)&&(a[p]=h[p]);return a},te.find=function(a,h,p){if(p===void 0&&(p=Array.prototype),a&&typeof p.find=="function")return p.find.call(a,h);for(var oe=0;oe<a.length;oe++)if(c(a,oe)){var P=a[oe];if(h.call(void 0,P,oe,a))return P}},te.freeze=S,te.HTML_BOOLEAN_ATTRIBUTES=A,te.HTML_RAW_TEXT_ELEMENTS=g,te.HTML_VOID_ELEMENTS=_,te.hasDefaultHTMLNamespace=function(a){return m(a)||a===H.XML_XHTML_APPLICATION},te.hasOwn=c,te.isHTMLBooleanAttribute=function(a){return c(A,a.toLowerCase())},te.isHTMLRawTextElement=function(a){var h=a.toLowerCase();return c(g,h)&&!g[h]},te.isHTMLEscapableRawTextElement=function(a){var h=a.toLowerCase();return c(g,h)&&g[h]},te.isHTMLMimeType=m,te.isHTMLVoidElement=function(a){return c(_,a.toLowerCase())},te.isValidMimeType=function(a){return J.indexOf(a)>-1},te.MIME_TYPE=H,te.NAMESPACE=Q,te}var or,Pe={};function Xe(){if(or)return Pe;function S(a,h){a.prototype=Object.create(Error.prototype,{constructor:{value:a},name:{value:a.name,enumerable:!0,writable:h}})}or=1;var c=ke().freeze({Error:"Error",IndexSizeError:"IndexSizeError",DomstringSizeError:"DomstringSizeError",HierarchyRequestError:"HierarchyRequestError",WrongDocumentError:"WrongDocumentError",InvalidCharacterError:"InvalidCharacterError",NoDataAllowedError:"NoDataAllowedError",NoModificationAllowedError:"NoModificationAllowedError",NotFoundError:"NotFoundError",NotSupportedError:"NotSupportedError",InUseAttributeError:"InUseAttributeError",InvalidStateError:"InvalidStateError",SyntaxError:"SyntaxError",InvalidModificationError:"InvalidModificationError",NamespaceError:"NamespaceError",InvalidAccessError:"InvalidAccessError",ValidationError:"ValidationError",TypeMismatchError:"TypeMismatchError",SecurityError:"SecurityError",NetworkError:"NetworkError",AbortError:"AbortError",URLMismatchError:"URLMismatchError",QuotaExceededError:"QuotaExceededError",TimeoutError:"TimeoutError",InvalidNodeTypeError:"InvalidNodeTypeError",DataCloneError:"DataCloneError",EncodingError:"EncodingError",NotReadableError:"NotReadableError",UnknownError:"UnknownError",ConstraintError:"ConstraintError",DataError:"DataError",TransactionInactiveError:"TransactionInactiveError",ReadOnlyError:"ReadOnlyError",VersionError:"VersionError",OperationError:"OperationError",NotAllowedError:"NotAllowedError",OptOutError:"OptOutError"}),A=Object.keys(c);function _(a){return typeof a=="number"&&a>=1&&a<=25}function g(a,h){var p;_(a)?(this.name=A[a],this.message=h||""):(this.message=a,this.name=typeof(p=h)=="string"&&p.substring(p.length-c.Error.length)===c.Error?h:c.Error),Error.captureStackTrace&&Error.captureStackTrace(this,g)}S(g,!0),Object.defineProperties(g.prototype,{code:{enumerable:!0,get:function(){var a=A.indexOf(this.name);return _(a)?a:0}}});for(var m={INDEX_SIZE_ERR:1,DOMSTRING_SIZE_ERR:2,HIERARCHY_REQUEST_ERR:3,WRONG_DOCUMENT_ERR:4,INVALID_CHARACTER_ERR:5,NO_DATA_ALLOWED_ERR:6,NO_MODIFICATION_ALLOWED_ERR:7,NOT_FOUND_ERR:8,NOT_SUPPORTED_ERR:9,INUSE_ATTRIBUTE_ERR:10,INVALID_STATE_ERR:11,SYNTAX_ERR:12,INVALID_MODIFICATION_ERR:13,NAMESPACE_ERR:14,INVALID_ACCESS_ERR:15,VALIDATION_ERR:16,TYPE_MISMATCH_ERR:17,SECURITY_ERR:18,NETWORK_ERR:19,ABORT_ERR:20,URL_MISMATCH_ERR:21,QUOTA_EXCEEDED_ERR:22,TIMEOUT_ERR:23,INVALID_NODE_TYPE_ERR:24,DATA_CLONE_ERR:25},H=Object.entries(m),J=0;J<H.length;J++)g[H[J][0]]=H[J][1];function Q(a,h){this.message=a,this.locator=h,Error.captureStackTrace&&Error.captureStackTrace(this,Q)}return S(Q),Pe.DOMException=g,Pe.DOMExceptionName=c,Pe.ExceptionCode=m,Pe.ParseError=Q,Pe}var ar,ir,$={},O={};function fr(){if(ar)return O;function S(k){try{typeof k!="function"&&(k=RegExp);var V=new k("𝌆","u").exec("𝌆");return!!V&&V[0].length===2}catch{}return!1}ar=1;var c=S();function A(k){if(k.source[0]!=="[")throw new Error(k+" can not be used with chars");return k.source.slice(1,k.source.lastIndexOf("]"))}function _(k,V){if(k.source[0]!=="[")throw new Error("/"+k.source+"/ can not be used with chars_without");if(!V||typeof V!="string")throw new Error(JSON.stringify(V)+" is not a valid search");if(k.source.indexOf(V)===-1)throw new Error('"'+V+'" is not is /'+k.source+"/");if(V==="-"&&k.source.indexOf(V)!==1)throw new Error('"'+V+'" is not at the first postion of /'+k.source+"/");return new RegExp(k.source.replace(V,""),c?"u":"")}function g(k){var V=this;return new RegExp(Array.prototype.slice.call(arguments).map(function(se){var be=typeof se=="string";if(be&&V===void 0&&se==="|")throw new Error("use regg instead of reg to wrap expressions with `|`!");return be?se:se.source}).join(""),c?"mu":"m")}function m(k){if(arguments.length===0)throw new Error("no parameters provided");return g.apply(m,["(?:"].concat(Array.prototype.slice.call(arguments),[")"]))}var H=/[-\x09\x0A\x0D\x20-\x2C\x2E-\uD7FF\uE000-\uFFFD]/;c&&(H=g("[",A(H),"\\u{10000}-\\u{10FFFF}","]"));var J=/[\x20\x09\x0D\x0A]/,Q=A(J),a=g(J,"+"),h=g(J,"*"),p=/[:_a-zA-Z\xC0-\xD6\xD8-\xF6\xF8-\u02FF\u0370-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/;c&&(p=g("[",A(p),"\\u{10000}-\\u{10FFFF}","]"));var oe=g("[",A(p),A(/[-.0-9\xB7]/),A(/[\u0300-\u036F\u203F-\u2040]/),"]"),P=g(p,oe,"*"),W=g(oe,"+"),me=g("&",P,";"),ce=m(/&#[0-9]+;|&#x[0-9a-fA-F]+;/),le=m(me,"|",ce),ae=g("%",P,";"),l=m(g('"',m(/[^%&"]/,"|",ae,"|",le),"*",'"'),"|",g("'",m(/[^%&']/,"|",ae,"|",le),"*","'")),y=m('"',m(/[^<&"]/,"|",le),"*",'"',"|","'",m(/[^<&']/,"|",le),"*","'"),o=g(_(p,":"),_(oe,":"),"*"),i=g(o,m(":",o),"?"),d=g("^",i,"$"),N=g("(",i,")"),T=m(/"[^"]*"|'[^']*'/),u=g(/^<\?/,"(",P,")",m(a,"(",H,"*?)"),"?",/\?>/),D=/[\x20\x0D\x0Aa-zA-Z0-9-'()+,./:=?;!*#@$_%]/,E=m('"',D,'*"',"|","'",_(D,"'"),"*'"),w="<!--",I=g(w,m(_(H,"-"),"|",g("-",_(H,"-"))),"*","-->"),f="#PCDATA",F=m(g(/\(/,h,f,m(h,/\|/,h,i),"*",h,/\)\*/),"|",g(/\(/,h,f,h,/\)/)),C=m("EMPTY","|","ANY","|",F,"|",g(/\([^>]+\)/,/[?*+]?/)),ne=g("<!ELEMENT",a,m(i,"|",ae),a,m(C,"|",ae),h,">"),M=g("NOTATION",a,/\(/,h,P,m(h,/\|/,h,P),"*",h,/\)/),Ee=g(/\(/,h,W,m(h,/\|/,h,W),"*",h,/\)/),j=m(M,"|",Ee),q=m(/CDATA|ID|IDREF|IDREFS|ENTITY|ENTITIES|NMTOKEN|NMTOKENS/,"|",j),ee=m(/#REQUIRED|#IMPLIED/,"|",m(m("#FIXED",a),"?",y)),G=g("<!ATTLIST",a,P,m(a,P,a,q,a,ee),"*",h,">"),Y="about:legacy-compat",ve=m('"'+Y+'"',"|","'"+Y+"'"),Ne="SYSTEM",de="PUBLIC",v=m(m(Ne,a,T),"|",m(de,a,E,a,T)),Te=g("^",m(m(Ne,a,"(?<SystemLiteralOnly>",T,")"),"|",m(de,a,"(?<PubidLiteral>",E,")",a,"(?<SystemLiteral>",T,")"))),fe=m(a,"NDATA",a,P),ie="<!ENTITY",Re=g(ie,a,P,a,m(l,"|",m(v,fe,"?")),h,">"),ye=m(l,"|",v),De=m(Re,"|",g(ie,a,"%",a,P,a,ye,h,">")),ue=g(de,a,E),X=g("<!NOTATION",a,P,a,m(v,"|",ue),h,">"),ge=g(h,"=",h),Se=/1[.]\d+/,_e=g(a,"version",ge,m("'",Se,"'","|",'"',Se,'"')),Ie=/[A-Za-z][-A-Za-z0-9._]*/,Ae=g(/^<\?xml/,_e,m(a,"encoding",ge,m('"',Ie,'"',"|","'",Ie,"'")),"?",m(a,"standalone",ge,m("'",m("yes","|","no"),"'","|",'"',m("yes","|","no"),'"')),"?",h,/\?>/),L=g(H,"*?",/\]\]>/),K=g(/<!\[CDATA\[/,L);return O.chars=A,O.chars_without=_,O.detectUnicodeSupport=S,O.reg=g,O.regg=m,O.ABOUT_LEGACY_COMPAT=Y,O.ABOUT_LEGACY_COMPAT_SystemLiteral=ve,O.AttlistDecl=G,O.CDATA_START="<![CDATA[",O.CDATA_END="]]>",O.CDSect=K,O.Char=H,O.Comment=I,O.COMMENT_START=w,O.COMMENT_END="-->",O.DOCTYPE_DECL_START="<!DOCTYPE",O.elementdecl=ne,O.EntityDecl=De,O.EntityValue=l,O.ExternalID=v,O.ExternalID_match=Te,O.Name=P,O.NotationDecl=X,O.Reference=le,O.PEReference=ae,O.PI=u,O.PUBLIC=de,O.PubidLiteral=E,O.QName=i,O.QName_exact=d,O.QName_group=N,O.S=a,O.SChar_s=Q,O.S_OPT=h,O.SYSTEM=Ne,O.SystemLiteral=T,O.UNICODE_REPLACEMENT_CHARACTER="�",O.UNICODE_SUPPORT=c,O.XMLDecl=Ae,O}function hr(){if(ir)return $;ir=1;var S=ke(),c=S.find,A=S.hasDefaultHTMLNamespace,_=S.hasOwn,g=S.isHTMLMimeType,m=S.isHTMLRawTextElement,H=S.isHTMLVoidElement,J=S.MIME_TYPE,Q=S.NAMESPACE,a=Symbol(),h=Xe(),p=h.DOMException,oe=h.DOMExceptionName,P=fr();function W(e){if(e!==a)throw new TypeError("Illegal constructor")}function me(e){return e!==""}function ce(e,r){return _(e,r)||(e[r]=!0),e}function le(e){if(!e)return[];var r,t=(r=e)?r.split(/[\t\n\f\r ]+/).filter(me):[];return Object.keys(t.reduce(ce,{}))}function ae(e){if(!P.QName_exact.test(e))throw new p(p.INVALID_CHARACTER_ERR,'invalid character in qualified name "'+e+'"')}function l(e,r){ae(r),e=e||null;var t=null,n=r;if(r.indexOf(":")>=0){var s=r.split(":");t=s[0],n=s[1]}if(t!==null&&e===null)throw new p(p.NAMESPACE_ERR,"prefix is non-null and namespace is null");if(t==="xml"&&e!==S.NAMESPACE.XML)throw new p(p.NAMESPACE_ERR,'prefix is "xml" and namespace is not the XML namespace');if((t==="xmlns"||r==="xmlns")&&e!==S.NAMESPACE.XMLNS)throw new p(p.NAMESPACE_ERR,'either qualifiedName or prefix is "xmlns" and namespace is not the XMLNS namespace');if(e===S.NAMESPACE.XMLNS&&t!=="xmlns"&&r!=="xmlns")throw new p(p.NAMESPACE_ERR,'namespace is the XMLNS namespace and neither qualifiedName nor prefix is "xmlns"');return[e,t,n]}function y(e,r){for(var t in e)_(e,t)&&(r[t]=e[t])}function o(e,r){var t=e.prototype;if(!(t instanceof r)){let n=function(){};n.prototype=r.prototype,y(t,n=new n),e.prototype=t=n}t.constructor!=e&&(typeof e!="function"&&console.error("unknown Class:"+e),t.constructor=e)}var i={},d=i.ELEMENT_NODE=1,N=i.ATTRIBUTE_NODE=2,T=i.TEXT_NODE=3,u=i.CDATA_SECTION_NODE=4,D=i.ENTITY_REFERENCE_NODE=5,E=i.ENTITY_NODE=6,w=i.PROCESSING_INSTRUCTION_NODE=7,I=i.COMMENT_NODE=8,f=i.DOCUMENT_NODE=9,F=i.DOCUMENT_TYPE_NODE=10,C=i.DOCUMENT_FRAGMENT_NODE=11,ne=i.NOTATION_NODE=12,M=S.freeze({DOCUMENT_POSITION_DISCONNECTED:1,DOCUMENT_POSITION_PRECEDING:2,DOCUMENT_POSITION_FOLLOWING:4,DOCUMENT_POSITION_CONTAINS:8,DOCUMENT_POSITION_CONTAINED_BY:16,DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC:32});function Ee(e,r){if(r.length<e.length)return Ee(r,e);var t=null;for(var n in e){if(e[n]!==r[n])return t;t=e[n]}return t}function j(e){return e.guid||(e.guid=Math.random()),e.guid}function q(){}function ee(e,r){this._node=e,this._refresh=r,G(this)}function G(e){var r=e._node._inc||e._node.ownerDocument._inc;if(e._inc!==r){var t=e._refresh(e._node);if(rr(e,"length",t.length),!e.$$length||t.length<e.$$length)for(var n=t.length;n in e;n++)_(e,n)&&delete e[n];y(t,e),e._inc=r}}function Y(){}function ve(e,r){for(var t=0;t<e.length;){if(e[t]===r)return t;t++}}function Ne(e,r,t){var n=ve(r,t);if(n>=0){for(var s=r.length-1;n<=s;)r[n]=r[++n];if(r.length=s,e){var b=e.ownerDocument;b&&Re(b,e,t),t.ownerElement=null}}}function de(){}function v(e){W(e)}function Te(e){return(e=="<"?"&lt;":e==">"&&"&gt;")||e=="&"&&"&amp;"||e=='"'&&"&quot;"||"&#"+e.charCodeAt()+";"}function fe(e,r){if(r(e))return!0;if(e=e.firstChild)do if(fe(e,r))return!0;while(e=e.nextSibling)}function ie(e,r){W(e);var t=r||{};this.ownerDocument=this,this.contentType=t.contentType||J.XML_APPLICATION,this.type=g(this.contentType)?"html":"xml"}function Re(e,r,t,n){e&&e._inc++,t.namespaceURI===Q.XMLNS&&delete r._nsMap[t.prefix?t.localName:""]}function ye(e,r,t){if(e&&e._inc){e._inc++;var n=r.childNodes;if(t&&!t.nextSibling)n[n.length++]=t;else{for(var s=r.firstChild,b=0;s;)n[b++]=s,s=s.nextSibling;n.length=b,delete n[n.length]}}}function De(e,r){if(e!==r.parentNode)throw new p(p.NOT_FOUND_ERR,"child's parent is not parent");var t=r.previousSibling,n=r.nextSibling;return t?t.nextSibling=n:e.firstChild=n,n?n.previousSibling=t:e.lastChild=t,ye(e.ownerDocument,e),r.parentNode=null,r.previousSibling=null,r.nextSibling=null,r}function ue(e){return e&&e.nodeType===v.DOCUMENT_TYPE_NODE}function X(e){return e&&e.nodeType===v.ELEMENT_NODE}function ge(e){return e&&e.nodeType===v.TEXT_NODE}function Se(e,r){var t=e.childNodes||[];if(c(t,X)||ue(r))return!1;var n=c(t,ue);return!(r&&n&&t.indexOf(n)>t.indexOf(r))}function _e(e,r){var t=e.childNodes||[];if(c(t,function(s){return X(s)&&s!==r}))return!1;var n=c(t,ue);return!(r&&n&&t.indexOf(n)>t.indexOf(r))}function Ie(e,r,t){var n=e.childNodes||[],s=r.childNodes||[];if(r.nodeType===v.DOCUMENT_FRAGMENT_NODE){var b=s.filter(X);if(b.length>1||c(s,ge))throw new p(p.HIERARCHY_REQUEST_ERR,"More than one element or text in fragment");if(b.length===1&&!Se(e,t))throw new p(p.HIERARCHY_REQUEST_ERR,"Element in fragment can not be inserted before doctype")}if(X(r)&&!Se(e,t))throw new p(p.HIERARCHY_REQUEST_ERR,"Only one element can be added and only after doctype");if(ue(r)){if(c(n,ue))throw new p(p.HIERARCHY_REQUEST_ERR,"Only one doctype is allowed");var U=c(n,X);if(t&&n.indexOf(U)<n.indexOf(t))throw new p(p.HIERARCHY_REQUEST_ERR,"Doctype can only be inserted before an element");if(!t&&U)throw new p(p.HIERARCHY_REQUEST_ERR,"Doctype can not be appended since element is present")}}function Ae(e,r,t){var n=e.childNodes||[],s=r.childNodes||[];if(r.nodeType===v.DOCUMENT_FRAGMENT_NODE){var b=s.filter(X);if(b.length>1||c(s,ge))throw new p(p.HIERARCHY_REQUEST_ERR,"More than one element or text in fragment");if(b.length===1&&!_e(e,t))throw new p(p.HIERARCHY_REQUEST_ERR,"Element in fragment can not be inserted before doctype")}if(X(r)&&!_e(e,t))throw new p(p.HIERARCHY_REQUEST_ERR,"Only one element can be added and only after doctype");if(ue(r)){if(c(n,function(R){return ue(R)&&R!==t}))throw new p(p.HIERARCHY_REQUEST_ERR,"Only one doctype is allowed");var U=c(n,X);if(t&&n.indexOf(U)<n.indexOf(t))throw new p(p.HIERARCHY_REQUEST_ERR,"Doctype can only be inserted before an element")}}function L(e,r,t,n){(function(B,Z,z){if(!(pe=B)||pe.nodeType!==v.DOCUMENT_NODE&&pe.nodeType!==v.DOCUMENT_FRAGMENT_NODE&&pe.nodeType!==v.ELEMENT_NODE)throw new p(p.HIERARCHY_REQUEST_ERR,"Unexpected parent node type "+B.nodeType);var pe;if(z&&z.parentNode!==B)throw new p(p.NOT_FOUND_ERR,"child not in parent");if(!function(re){return re&&(re.nodeType===v.CDATA_SECTION_NODE||re.nodeType===v.COMMENT_NODE||re.nodeType===v.DOCUMENT_FRAGMENT_NODE||re.nodeType===v.DOCUMENT_TYPE_NODE||re.nodeType===v.ELEMENT_NODE||re.nodeType===v.PROCESSING_INSTRUCTION_NODE||re.nodeType===v.TEXT_NODE)}(Z)||ue(Z)&&B.nodeType!==v.DOCUMENT_NODE)throw new p(p.HIERARCHY_REQUEST_ERR,"Unexpected node type "+Z.nodeType+" for parent node type "+B.nodeType)})(e,r,t),e.nodeType===v.DOCUMENT_NODE&&(n||Ie)(e,r,t);var s=r.parentNode;if(s&&s.removeChild(r),r.nodeType===C){var b=r.firstChild;if(b==null)return r;var U=r.lastChild}else b=U=r;var R=t?t.previousSibling:e.lastChild;b.previousSibling=R,U.nextSibling=t,R?R.nextSibling=b:e.firstChild=b,t==null?e.lastChild=U:t.previousSibling=U;do b.parentNode=e;while(b!==U&&(b=b.nextSibling));return ye(e.ownerDocument||e,e,r),r.nodeType==C&&(r.firstChild=r.lastChild=null),r}function K(e){W(e),this._nsMap=Object.create(null)}function k(e){W(e),this.namespaceURI=null,this.prefix=null,this.ownerElement=null}function V(e){W(e)}function se(e){W(e)}function be(e){W(e)}function xe(e){W(e)}function Be(e){W(e)}function je(e){W(e)}function ze(e){W(e)}function Fe(e){W(e)}function He(e){W(e)}function Ge(e){W(e)}function $e(){}function Je(e){var r=[],t=this.nodeType===f&&this.documentElement||this,n=t.prefix,s=t.namespaceURI;if(s&&n==null&&(n=t.lookupPrefix(s))==null)var b=[{namespace:s,prefix:null}];return Le(this,r,e,b),r.join("")}function Ke(e,r,t){var n=e.prefix||"",s=e.namespaceURI;if(!s||n==="xml"&&s===Q.XML||s===Q.XMLNS)return!1;for(var b=t.length;b--;){var U=t[b];if(U.prefix===n)return U.namespace!==s}return!0}function Qe(e,r,t){e.push(" ",r,'="',t.replace(/[<>&"\t\n\r]/g,Te),'"')}function Le(e,r,t,n){n||(n=[]);var s=(e.nodeType===f?e:e.ownerDocument).type==="html";if(t){if(!(e=t(e)))return;if(typeof e=="string")return void r.push(e)}switch(e.nodeType){case d:var b=e.attributes,U=b.length,R=e.firstChild,B=e.tagName,Z=B;if(!s&&!e.prefix&&e.namespaceURI){for(var z,pe=0;pe<b.length;pe++)if(b.item(pe).name==="xmlns"){z=b.item(pe).value;break}if(!z){for(var re=n.length-1;re>=0;re--)if((he=n[re]).prefix===""&&he.namespace===e.namespaceURI){z=he.namespace;break}}if(z!==e.namespaceURI)for(re=n.length-1;re>=0;re--){var he;if((he=n[re]).namespace===e.namespaceURI){he.prefix&&(Z=he.prefix+":"+B);break}}}r.push("<",Z);for(var Oe=0;Oe<U;Oe++)(we=b.item(Oe)).prefix=="xmlns"?n.push({prefix:we.localName,namespace:we.value}):we.nodeName=="xmlns"&&n.push({prefix:"",namespace:we.value});for(Oe=0;Oe<U;Oe++){var we,Me,Ye;Ke(we=b.item(Oe),0,n)&&(Qe(r,(Me=we.prefix||"")?"xmlns:"+Me:"xmlns",Ye=we.namespaceURI),n.push({prefix:Me,namespace:Ye})),Le(we,r,t,n)}B===Z&&Ke(e,0,n)&&(Qe(r,(Me=e.prefix||"")?"xmlns:"+Me:"xmlns",Ye=e.namespaceURI),n.push({prefix:Me,namespace:Ye}));var Ze=!R;if(Ze&&(s||e.namespaceURI===Q.HTML)&&(Ze=H(B)),Ze)r.push("/>");else{if(r.push(">"),s&&m(B))for(;R;)R.data?r.push(R.data):Le(R,r,t,n.slice()),R=R.nextSibling;else for(;R;)Le(R,r,t,n.slice()),R=R.nextSibling;r.push("</",Z,">")}return;case f:case C:for(R=e.firstChild;R;)Le(R,r,t,n.slice()),R=R.nextSibling;return;case N:return Qe(r,e.name,e.value);case T:return r.push(e.data.replace(/[<&>]/g,Te));case u:return r.push(P.CDATA_START,e.data,P.CDATA_END);case I:return r.push(P.COMMENT_START,e.data,P.COMMENT_END);case F:var tr=e.publicId,qe=e.systemId;return r.push(P.DOCTYPE_DECL_START," ",e.name),tr?(r.push(" ",P.PUBLIC," ",tr),qe&&qe!=="."&&r.push(" ",qe)):qe&&qe!=="."&&r.push(" ",P.SYSTEM," ",qe),e.internalSubset&&r.push(" [",e.internalSubset,"]"),void r.push(">");case w:return r.push("<?",e.target," ",e.data,"?>");case D:return r.push("&",e.nodeName,";");default:r.push("??",e.nodeName)}}function er(e,r,t){var n;switch(r.nodeType){case d:(n=r.cloneNode(!1)).ownerDocument=e;case C:break;case N:t=!0}if(n||(n=r.cloneNode(!1)),n.ownerDocument=e,n.parentNode=null,t)for(var s=r.firstChild;s;)n.appendChild(er(e,s,t)),s=s.nextSibling;return n}function We(e,r,t){var n=new r.constructor(a);for(var s in r)if(_(r,s)){var b=r[s];typeof b!="object"&&b!=n[s]&&(n[s]=b)}switch(r.childNodes&&(n.childNodes=new q),n.ownerDocument=e,n.nodeType){case d:var U=r.attributes,R=n.attributes=new Y,B=U.length;R._ownerElement=n;for(var Z=0;Z<B;Z++)n.setAttributeNode(We(e,U.item(Z),!0));break;case N:t=!0}if(t)for(var z=r.firstChild;z;)n.appendChild(We(e,z,t)),z=z.nextSibling;return n}function rr(e,r,t){e[r]=t}q.prototype={length:0,item:function(e){return e>=0&&e<this.length?this[e]:null},toString:function(e){for(var r=[],t=0;t<this.length;t++)Le(this[t],r,e);return r.join("")},filter:function(e){return Array.prototype.filter.call(this,e)},indexOf:function(e){return Array.prototype.indexOf.call(this,e)}},q.prototype[Symbol.iterator]=function(){var e=this,r=0;return{next:function(){return r<e.length?{value:e[r++],done:!1}:{done:!0}},return:function(){return{done:!0}}}},ee.prototype.item=function(e){return G(this),this[e]||null},o(ee,q),Y.prototype={length:0,item:q.prototype.item,getNamedItem:function(e){this._ownerElement&&this._ownerElement._isInHTMLDocumentAndNamespace()&&(e=e.toLowerCase());for(var r=0;r<this.length;){var t=this[r];if(t.nodeName===e)return t;r++}return null},setNamedItem:function(e){var r=e.ownerElement;if(r&&r!==this._ownerElement)throw new p(p.INUSE_ATTRIBUTE_ERR);var t=this.getNamedItemNS(e.namespaceURI,e.localName);return t===e?e:(function(n,s,b,U){if(U?s[ve(s,U)]=b:(s[s.length]=b,s.length++),n){b.ownerElement=n;var R=n.ownerDocument;R&&(U&&Re(R,n,U),Z=n,z=b,(B=R)&&B._inc++,z.namespaceURI===Q.XMLNS&&(Z._nsMap[z.prefix?z.localName:""]=z.value))}var B,Z,z}(this._ownerElement,this,e,t),t)},setNamedItemNS:function(e){return this.setNamedItem(e)},removeNamedItem:function(e){var r=this.getNamedItem(e);if(!r)throw new p(p.NOT_FOUND_ERR,e);return Ne(this._ownerElement,this,r),r},removeNamedItemNS:function(e,r){var t=this.getNamedItemNS(e,r);if(!t)throw new p(p.NOT_FOUND_ERR,e?e+" : "+r:r);return Ne(this._ownerElement,this,t),t},getNamedItemNS:function(e,r){e||(e=null);for(var t=0;t<this.length;){var n=this[t];if(n.localName===r&&n.namespaceURI===e)return n;t++}return null}},Y.prototype[Symbol.iterator]=function(){var e=this,r=0;return{next:function(){return r<e.length?{value:e[r++],done:!1}:{done:!0}},return:function(){return{done:!0}}}},de.prototype={hasFeature:function(e,r){return!0},createDocument:function(e,r,t){var n=J.XML_APPLICATION;e===Q.HTML?n=J.XML_XHTML_APPLICATION:e===Q.SVG&&(n=J.XML_SVG_IMAGE);var s=new ie(a,{contentType:n});if(s.implementation=this,s.childNodes=new q,s.doctype=t||null,t&&s.appendChild(t),r){var b=s.createElementNS(e,r);s.appendChild(b)}return s},createDocumentType:function(e,r,t,n){ae(e);var s=new Be(a);return s.name=e,s.nodeName=e,s.publicId=r||"",s.systemId=t||"",s.internalSubset=n||"",s.childNodes=new q,s},createHTMLDocument:function(e){var r=new ie(a,{contentType:J.HTML});if(r.implementation=this,r.childNodes=new q,e!==!1){r.doctype=this.createDocumentType("html"),r.doctype.ownerDocument=r,r.appendChild(r.doctype);var t=r.createElement("html");r.appendChild(t);var n=r.createElement("head");if(t.appendChild(n),typeof e=="string"){var s=r.createElement("title");s.appendChild(r.createTextNode(e)),n.appendChild(s)}t.appendChild(r.createElement("body"))}return r}},v.prototype={firstChild:null,lastChild:null,previousSibling:null,nextSibling:null,parentNode:null,get parentElement(){return this.parentNode&&this.parentNode.nodeType===this.ELEMENT_NODE?this.parentNode:null},childNodes:null,ownerDocument:null,nodeValue:null,namespaceURI:null,prefix:null,localName:null,baseURI:"about:blank",get isConnected(){var e=this.getRootNode();return e&&e.nodeType===e.DOCUMENT_NODE},contains:function(e){if(!e)return!1;var r=e;do{if(this===r)return!0;r=e.parentNode}while(r);return!1},getRootNode:function(e){var r=this;do{if(!r.parentNode)return r;r=r.parentNode}while(r)},isEqualNode:function(e){if(!e||this.nodeType!==e.nodeType)return!1;switch(this.nodeType){case this.DOCUMENT_TYPE_NODE:if(this.name!==e.name||this.publicId!==e.publicId||this.systemId!==e.systemId)return!1;break;case this.ELEMENT_NODE:if(this.namespaceURI!==e.namespaceURI||this.prefix!==e.prefix||this.localName!==e.localName||this.attributes.length!==e.attributes.length)return!1;for(var r=0;r<this.attributes.length;r++){var t=this.attributes.item(r);if(!t.isEqualNode(e.getAttributeNodeNS(t.namespaceURI,t.localName)))return!1}break;case this.ATTRIBUTE_NODE:if(this.namespaceURI!==e.namespaceURI||this.localName!==e.localName||this.value!==e.value)return!1;break;case this.PROCESSING_INSTRUCTION_NODE:if(this.target!==e.target||this.data!==e.data)return!1;break;case this.TEXT_NODE:case this.COMMENT_NODE:if(this.data!==e.data)return!1}if(this.childNodes.length!==e.childNodes.length)return!1;for(r=0;r<this.childNodes.length;r++)if(!this.childNodes[r].isEqualNode(e.childNodes[r]))return!1;return!0},isSameNode:function(e){return this===e},insertBefore:function(e,r){return L(this,e,r)},replaceChild:function(e,r){L(this,e,r,Ae),r&&this.removeChild(r)},removeChild:function(e){return De(this,e)},appendChild:function(e){return this.insertBefore(e,null)},hasChildNodes:function(){return this.firstChild!=null},cloneNode:function(e){return We(this.ownerDocument||this,this,e)},normalize:function(){for(var e=this.firstChild;e;){var r=e.nextSibling;r&&r.nodeType==T&&e.nodeType==T?(this.removeChild(r),e.appendData(r.data)):(e.normalize(),e=r)}},isSupported:function(e,r){return this.ownerDocument.implementation.hasFeature(e,r)},lookupPrefix:function(e){for(var r=this;r;){var t=r._nsMap;if(t){for(var n in t)if(_(t,n)&&t[n]===e)return n}r=r.nodeType==N?r.ownerDocument:r.parentNode}return null},lookupNamespaceURI:function(e){for(var r=this;r;){var t=r._nsMap;if(t&&_(t,e))return t[e];r=r.nodeType==N?r.ownerDocument:r.parentNode}return null},isDefaultNamespace:function(e){return this.lookupPrefix(e)==null},compareDocumentPosition:function(e){if(this===e)return 0;var r=e,t=this,n=null,s=null;if(r instanceof k&&(r=(n=r).ownerElement),t instanceof k&&(t=(s=t).ownerElement,n&&r&&t===r))for(var b,U=0;b=t.attributes[U];U++){if(b===n)return M.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC+M.DOCUMENT_POSITION_PRECEDING;if(b===s)return M.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC+M.DOCUMENT_POSITION_FOLLOWING}if(!r||!t||t.ownerDocument!==r.ownerDocument)return M.DOCUMENT_POSITION_DISCONNECTED+M.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC+(j(t.ownerDocument)>j(r.ownerDocument)?M.DOCUMENT_POSITION_FOLLOWING:M.DOCUMENT_POSITION_PRECEDING);if(s&&r===t)return M.DOCUMENT_POSITION_CONTAINS+M.DOCUMENT_POSITION_PRECEDING;if(n&&r===t)return M.DOCUMENT_POSITION_CONTAINED_BY+M.DOCUMENT_POSITION_FOLLOWING;for(var R=[],B=r.parentNode;B;){if(!s&&B===t)return M.DOCUMENT_POSITION_CONTAINED_BY+M.DOCUMENT_POSITION_FOLLOWING;R.push(B),B=B.parentNode}R.reverse();for(var Z=[],z=t.parentNode;z;){if(!n&&z===r)return M.DOCUMENT_POSITION_CONTAINS+M.DOCUMENT_POSITION_PRECEDING;Z.push(z),z=z.parentNode}Z.reverse();var pe=Ee(R,Z);for(var re in pe.childNodes){var he=pe.childNodes[re];if(he===t)return M.DOCUMENT_POSITION_FOLLOWING;if(he===r)return M.DOCUMENT_POSITION_PRECEDING;if(Z.indexOf(he)>=0)return M.DOCUMENT_POSITION_FOLLOWING;if(R.indexOf(he)>=0)return M.DOCUMENT_POSITION_PRECEDING}return 0}},y(i,v),y(i,v.prototype),y(M,v),y(M,v.prototype),ie.prototype={implementation:null,nodeName:"#document",nodeType:f,doctype:null,documentElement:null,_inc:1,insertBefore:function(e,r){if(e.nodeType===C){for(var t=e.firstChild;t;){var n=t.nextSibling;this.insertBefore(t,r),t=n}return e}return L(this,e,r),e.ownerDocument=this,this.documentElement===null&&e.nodeType===d&&(this.documentElement=e),e},removeChild:function(e){var r=De(this,e);return r===this.documentElement&&(this.documentElement=null),r},replaceChild:function(e,r){L(this,e,r,Ae),e.ownerDocument=this,r&&this.removeChild(r),X(e)&&(this.documentElement=e)},importNode:function(e,r){return er(this,e,r)},getElementById:function(e){var r=null;return fe(this.documentElement,function(t){if(t.nodeType==d&&t.getAttribute("id")==e)return r=t,!0}),r},createElement:function(e){var r=new K(a);return r.ownerDocument=this,this.type==="html"&&(e=e.toLowerCase()),A(this.contentType)&&(r.namespaceURI=Q.HTML),r.nodeName=e,r.tagName=e,r.localName=e,r.childNodes=new q,(r.attributes=new Y)._ownerElement=r,r},createDocumentFragment:function(){var e=new He(a);return e.ownerDocument=this,e.childNodes=new q,e},createTextNode:function(e){var r=new se(a);return r.ownerDocument=this,r.childNodes=new q,r.appendData(e),r},createComment:function(e){var r=new be(a);return r.ownerDocument=this,r.childNodes=new q,r.appendData(e),r},createCDATASection:function(e){var r=new xe(a);return r.ownerDocument=this,r.childNodes=new q,r.appendData(e),r},createProcessingInstruction:function(e,r){var t=new Ge(a);return t.ownerDocument=this,t.childNodes=new q,t.nodeName=t.target=e,t.nodeValue=t.data=r,t},createAttribute:function(e){if(!P.QName_exact.test(e))throw new p(p.INVALID_CHARACTER_ERR,'invalid character in name "'+e+'"');return this.type==="html"&&(e=e.toLowerCase()),this._createAttribute(e)},_createAttribute:function(e){var r=new k(a);return r.ownerDocument=this,r.childNodes=new q,r.name=e,r.nodeName=e,r.localName=e,r.specified=!0,r},createEntityReference:function(e){if(!P.Name.test(e))throw new p(p.INVALID_CHARACTER_ERR,'not a valid xml name "'+e+'"');if(this.type==="html")throw new p("document is an html document",oe.NotSupportedError);var r=new Fe(a);return r.ownerDocument=this,r.childNodes=new q,r.nodeName=e,r},createElementNS:function(e,r){var t=l(e,r),n=new K(a),s=n.attributes=new Y;return n.childNodes=new q,n.ownerDocument=this,n.nodeName=r,n.tagName=r,n.namespaceURI=t[0],n.prefix=t[1],n.localName=t[2],s._ownerElement=n,n},createAttributeNS:function(e,r){var t=l(e,r),n=new k(a);return n.ownerDocument=this,n.childNodes=new q,n.nodeName=r,n.name=r,n.specified=!0,n.namespaceURI=t[0],n.prefix=t[1],n.localName=t[2],n}},o(ie,v),K.prototype={nodeType:d,attributes:null,getQualifiedName:function(){return this.prefix?this.prefix+":"+this.localName:this.localName},_isInHTMLDocumentAndNamespace:function(){return this.ownerDocument.type==="html"&&this.namespaceURI===Q.HTML},hasAttributes:function(){return!(!this.attributes||!this.attributes.length)},hasAttribute:function(e){return!!this.getAttributeNode(e)},getAttribute:function(e){var r=this.getAttributeNode(e);return r?r.value:null},getAttributeNode:function(e){return this._isInHTMLDocumentAndNamespace()&&(e=e.toLowerCase()),this.attributes.getNamedItem(e)},setAttribute:function(e,r){this._isInHTMLDocumentAndNamespace()&&(e=e.toLowerCase());var t=this.getAttributeNode(e);t?t.value=t.nodeValue=""+r:((t=this.ownerDocument._createAttribute(e)).value=t.nodeValue=""+r,this.setAttributeNode(t))},removeAttribute:function(e){var r=this.getAttributeNode(e);r&&this.removeAttributeNode(r)},setAttributeNode:function(e){return this.attributes.setNamedItem(e)},setAttributeNodeNS:function(e){return this.attributes.setNamedItemNS(e)},removeAttributeNode:function(e){return this.attributes.removeNamedItem(e.nodeName)},removeAttributeNS:function(e,r){var t=this.getAttributeNodeNS(e,r);t&&this.removeAttributeNode(t)},hasAttributeNS:function(e,r){return this.getAttributeNodeNS(e,r)!=null},getAttributeNS:function(e,r){var t=this.getAttributeNodeNS(e,r);return t?t.value:null},setAttributeNS:function(e,r,t){var n=l(e,r)[2],s=this.getAttributeNodeNS(e,n);s?s.value=s.nodeValue=""+t:((s=this.ownerDocument.createAttributeNS(e,r)).value=s.nodeValue=""+t,this.setAttributeNode(s))},getAttributeNodeNS:function(e,r){return this.attributes.getNamedItemNS(e,r)},getElementsByClassName:function(e){var r=le(e);return new ee(this,function(t){var n=[];return r.length>0&&fe(t,function(s){if(s!==t&&s.nodeType===d){var b=s.getAttribute("class");if(b){var U=e===b;if(!U){var R=le(b);U=r.every((B=R,function(Z){return B&&B.indexOf(Z)!==-1}))}U&&n.push(s)}}var B}),n})},getElementsByTagName:function(e){var r=(this.nodeType===f?this:this.ownerDocument).type==="html",t=e.toLowerCase();return new ee(this,function(n){var s=[];return fe(n,function(b){b!==n&&b.nodeType===d&&(e==="*"||b.getQualifiedName()===(r&&b.namespaceURI===Q.HTML?t:e))&&s.push(b)}),s})},getElementsByTagNameNS:function(e,r){return new ee(this,function(t){var n=[];return fe(t,function(s){s===t||s.nodeType!==d||e!=="*"&&s.namespaceURI!==e||r!=="*"&&s.localName!=r||n.push(s)}),n})}},ie.prototype.getElementsByClassName=K.prototype.getElementsByClassName,ie.prototype.getElementsByTagName=K.prototype.getElementsByTagName,ie.prototype.getElementsByTagNameNS=K.prototype.getElementsByTagNameNS,o(K,v),k.prototype.nodeType=N,o(k,v),V.prototype={data:"",substringData:function(e,r){return this.data.substring(e,e+r)},appendData:function(e){e=this.data+e,this.nodeValue=this.data=e,this.length=e.length},insertData:function(e,r){this.replaceData(e,0,r)},deleteData:function(e,r){this.replaceData(e,r,"")},replaceData:function(e,r,t){t=this.data.substring(0,e)+t+this.data.substring(e+r),this.nodeValue=this.data=t,this.length=t.length}},o(V,v),se.prototype={nodeName:"#text",nodeType:T,splitText:function(e){var r=this.data,t=r.substring(e);r=r.substring(0,e),this.data=this.nodeValue=r,this.length=r.length;var n=this.ownerDocument.createTextNode(t);return this.parentNode&&this.parentNode.insertBefore(n,this.nextSibling),n}},o(se,V),be.prototype={nodeName:"#comment",nodeType:I},o(be,V),xe.prototype={nodeName:"#cdata-section",nodeType:u},o(xe,se),Be.prototype.nodeType=F,o(Be,v),je.prototype.nodeType=ne,o(je,v),ze.prototype.nodeType=E,o(ze,v),Fe.prototype.nodeType=D,o(Fe,v),He.prototype.nodeName="#document-fragment",He.prototype.nodeType=C,o(He,v),Ge.prototype.nodeType=w,o(Ge,V),$e.prototype.serializeToString=function(e,r){return Je.call(e,r)},v.prototype.toString=Je;try{if(Object.defineProperty){let e=function(r){switch(r.nodeType){case d:case C:var t=[];for(r=r.firstChild;r;)r.nodeType!==7&&r.nodeType!==8&&t.push(e(r)),r=r.nextSibling;return t.join("");default:return r.nodeValue}};Object.defineProperty(ee.prototype,"length",{get:function(){return G(this),this.$$length}}),Object.defineProperty(v.prototype,"textContent",{get:function(){return e(this)},set:function(r){switch(this.nodeType){case d:case C:for(;this.firstChild;)this.removeChild(this.firstChild);(r||String(r))&&this.appendChild(this.ownerDocument.createTextNode(r));break;default:this.data=r,this.value=r,this.nodeValue=r}}}),rr=function(r,t,n){r["$$"+t]=n}}}catch{}return $._updateLiveList=G,$.Attr=k,$.CDATASection=xe,$.CharacterData=V,$.Comment=be,$.Document=ie,$.DocumentFragment=He,$.DocumentType=Be,$.DOMImplementation=de,$.Element=K,$.Entity=ze,$.EntityReference=Fe,$.LiveNodeList=ee,$.NamedNodeMap=Y,$.Node=v,$.NodeList=q,$.Notation=je,$.Text=se,$.ProcessingInstruction=Ge,$.XMLSerializer=$e,$}var sr,Ce={},lr={},cr,ur,pr,Ve={};function mr(){if(cr)return Ve;cr=1;var S=ke(),c=fr(),A=Xe(),_=S.isHTMLEscapableRawTextElement,g=S.isHTMLMimeType,m=S.isHTMLRawTextElement,H=S.hasOwn,J=S.NAMESPACE,Q=A.ParseError,a=A.DOMException;function h(){}h.prototype={parse:function(o,i,d){var N=this.domBuilder;N.startDocument(),ce(i,i=Object.create(null)),function(T,u,D,E,w){var I=g(E.mimeType);function f(L){var K=L[L.length-1]===";"?L:L+";";if(!I&&K!==L)return w.error("EntityRef: expecting ;"),L;var k=c.Reference.exec(K);if(!k||k[0].length!==K.length)return w.error("entity not matching Reference production: "+L),L;var V=K.slice(1,-1);return H(D,V)?D[V]:V.charAt(0)==="#"?function(se){if(se>65535){var be=55296+((se-=65536)>>10),xe=56320+(1023&se);return String.fromCharCode(be,xe)}return String.fromCharCode(se)}(parseInt(V.substr(1).replace("x","0x"))):(w.error("entity not found:"+L),L)}function F(L){if(L>G){var K=T.substring(G,L).replace(p,f);j&&C(G),E.characters(K,0,L-G),G=L}}function C(L,K){for(;L>=M&&(K=Ee.exec(T));)ne=K.index,M=ne+K[0].length,j.lineNumber++;j.columnNumber=L-ne+1}T.indexOf(c.UNICODE_REPLACEMENT_CHARACTER)>=0&&w.warning("Unicode replacement character detected, source encoding issues?");for(var ne=0,M=0,Ee=/.*(?:\r\n?|\n)|.*$/g,j=E.locator,q=[{currentNSMap:u}],ee=[],G=0;;){try{var Y=T.indexOf("<",G);if(Y<0){if(!I&&ee.length>0)return w.fatalError("unclosed xml tag(s): "+ee.join(", "));if(!T.substring(G).match(/^\s*$/)){var ve=E.doc,Ne=ve.createTextNode(T.substr(G));if(ve.documentElement)return w.error("Extra content at the end of the document");ve.appendChild(Ne),E.currentElement=Ne}return}if(Y>G){var de=T.substring(G,Y);I||ee.length!==0||(de=de.replace(new RegExp(c.S_OPT.source,"g"),""))&&w.error("Unexpected content outside root element: '"+de+"'"),F(Y)}switch(T.charAt(Y+1)){case"/":var v=T.indexOf(">",Y+2),Te=T.substring(Y+2,v>0?v:void 0);if(!Te)return w.fatalError("end tag name missing");var fe=v>0&&c.reg("^",c.QName_group,c.S_OPT,"$").exec(Te);if(!fe)return w.fatalError('end tag name contains invalid characters: "'+Te+'"');if(!E.currentElement&&!E.doc.documentElement)return;var ie=ee[ee.length-1]||E.currentElement.tagName||E.doc.documentElement.tagName||"";if(ie!==fe[1]){var Re=fe[1].toLowerCase();if(!I||ie.toLowerCase()!==Re)return w.fatalError('Opening and ending tag mismatch: "'+ie+'" != "'+Te+'"')}var ye=q.pop();ee.pop();var De=ye.localNSMap;if(E.endElement(ye.uri,ye.localName,ie),De)for(var ue in De)H(De,ue)&&E.endPrefixMapping(ue);v++;break;case"?":j&&C(Y),v=l(T,Y,E,w);break;case"!":j&&C(Y),v=ae(T,Y,E,w,I);break;default:j&&C(Y);var X=new y,ge=q[q.length-1].currentNSMap,Se=(v=P(T,Y,X,ge,f,w,I),X.length);if(X.closed||(I&&S.isHTMLVoidElement(X.tagName)?X.closed=!0:ee.push(X.tagName)),j&&Se){for(var _e=oe(j,{}),Ie=0;Ie<Se;Ie++){var Ae=X[Ie];C(Ae.offset),Ae.locator=oe(j,{})}E.locator=_e,W(X,E,ge)&&q.push(X),E.locator=j}else W(X,E,ge)&&q.push(X);I&&!X.closed?v=me(T,v,X.tagName,f,E):v++}}catch(L){if(L instanceof Q)throw L;if(L instanceof a)throw new Q(L.name+": "+L.message,E.locator,L);w.error("element parse error: "+L),v=-1}v>G?G=v:F(Math.max(Y,G)+1)}}(o,i,d,N,this.errorHandler),N.endDocument()}};var p=/&#?\w+;?/g;function oe(o,i){return i.lineNumber=o.lineNumber,i.columnNumber=o.columnNumber,i}function P(o,i,d,N,T,u,D){function E(ne,M,Ee){return H(d.attributeNames,ne)?u.fatalError("Attribute "+ne+" redefined"):!D&&M.indexOf("<")>=0?u.fatalError("Unescaped '<' not allowed in attributes values"):void d.addValue(ne,M.replace(/[\t\n\r]/g," ").replace(p,T),Ee)}for(var w,I=++i,f=0;;){var F=o.charAt(I);switch(F){case"=":if(f===1)w=o.slice(i,I),f=3;else{if(f!==2)throw new Error("attribute equal must after attrName");f=3}break;case"'":case'"':if(f===3||f===1){if(f===1&&(u.warning('attribute value must after "="'),w=o.slice(i,I)),i=I+1,!((I=o.indexOf(F,i))>0))throw new Error("attribute value no end '"+F+"' match");E(w,C=o.slice(i,I),i-1),f=5}else{if(f!=4)throw new Error('attribute value must after "="');E(w,C=o.slice(i,I),i),u.warning('attribute "'+w+'" missed start quot('+F+")!!"),i=I+1,f=5}break;case"/":switch(f){case 0:d.setTagName(o.slice(i,I));case 5:case 6:case 7:f=7,d.closed=!0;case 4:case 1:break;case 2:d.closed=!0;break;default:throw new Error("attribute invalid close char('/')")}break;case"":return u.error("unexpected end of input"),f==0&&d.setTagName(o.slice(i,I)),I;case">":switch(f){case 0:d.setTagName(o.slice(i,I));case 5:case 6:case 7:break;case 4:case 1:(C=o.slice(i,I)).slice(-1)==="/"&&(d.closed=!0,C=C.slice(0,-1));case 2:f===2&&(C=w),f==4?(u.warning('attribute "'+C+'" missed quot(")!'),E(w,C,i)):(D||u.warning('attribute "'+C+'" missed value!! "'+C+'" instead!!'),E(C,C,i));break;case 3:if(!D)return u.fatalError(`AttValue: ' or " expected`)}return I;case"€":F=" ";default:if(F<=" ")switch(f){case 0:d.setTagName(o.slice(i,I)),f=6;break;case 1:w=o.slice(i,I),f=2;break;case 4:var C=o.slice(i,I);u.warning('attribute "'+C+'" missed quot(")!!'),E(w,C,i);case 5:f=6}else switch(f){case 2:D||u.warning('attribute "'+w+'" missed value!! "'+w+'" instead2!!'),E(w,w,i),i=I,f=1;break;case 5:u.warning('attribute space is required"'+w+'"!!');case 6:f=1,i=I;break;case 3:f=4,i=I;break;case 7:throw new Error("elements closed character '/' and '>' must be connected to")}}I++}}function W(o,i,d){for(var N=o.tagName,T=null,u=o.length;u--;){var D=o[u],E=D.qName,w=D.value;if((C=E.indexOf(":"))>0)var I=D.prefix=E.slice(0,C),f=E.slice(C+1),F=I==="xmlns"&&f;else f=E,I=null,F=E==="xmlns"&&"";D.localName=f,F!==!1&&(T==null&&(T=Object.create(null),ce(d,d=Object.create(null))),d[F]=T[F]=w,D.uri=J.XMLNS,i.startPrefixMapping(F,w))}for(u=o.length;u--;)(D=o[u]).prefix&&(D.prefix==="xml"&&(D.uri=J.XML),D.prefix!=="xmlns"&&(D.uri=d[D.prefix]));var C;(C=N.indexOf(":"))>0?(I=o.prefix=N.slice(0,C),f=o.localName=N.slice(C+1)):(I=null,f=o.localName=N);var ne=o.uri=d[I||""];if(i.startElement(ne,f,N,o),!o.closed)return o.currentNSMap=d,o.localNSMap=T,!0;if(i.endElement(ne,f,N),T)for(I in T)H(T,I)&&i.endPrefixMapping(I)}function me(o,i,d,N,T){var u=_(d);if(u||m(d)){var D=o.indexOf("</"+d+">",i),E=o.substring(i+1,D);return u&&(E=E.replace(p,N)),T.characters(E,0,E.length),D}return i+1}function ce(o,i){for(var d in o)H(o,d)&&(i[d]=o[d])}function le(o,i){var d=i;function N(D){return D=D||0,o.charAt(d+D)}function T(D){d+=D=D||1}function u(){return o.substring(d)}return{char:N,getIndex:function(){return d},getMatch:function(D){var E=c.reg("^",D).exec(u());return E?(T(E[0].length),E[0]):null},getSource:function(){return o},skip:T,skipBlanks:function(){for(var D=0;d<o.length;){var E=N();if(E!==" "&&E!==`
7
- `&&E!==" "&&E!=="\r")return D;D++,T()}return-1},substringFromIndex:u,substringStartsWith:function(D){return o.substring(d,d+D.length)===D},substringStartsWithCaseInsensitive:function(D){return o.substring(d,d+D.length).toUpperCase()===D.toUpperCase()}}}function ae(o,i,d,N,T){var u=le(o,i);switch(T?u.char(2).toUpperCase():u.char(2)){case"-":var D=u.getMatch(c.Comment);return D?(d.comment(D,c.COMMENT_START.length,D.length-c.COMMENT_START.length-c.COMMENT_END.length),u.getIndex()):N.fatalError("comment is not well-formed at position "+u.getIndex());case"[":var E=u.getMatch(c.CDSect);return E?T||d.currentElement?(d.startCDATA(),d.characters(E,c.CDATA_START.length,E.length-c.CDATA_START.length-c.CDATA_END.length),d.endCDATA(),u.getIndex()):N.fatalError("CDATA outside of element"):N.fatalError("Invalid CDATA starting at position "+i);case"D":if(d.doc&&d.doc.documentElement)return N.fatalError("Doctype not allowed inside or after documentElement at position "+u.getIndex());if(T?!u.substringStartsWithCaseInsensitive(c.DOCTYPE_DECL_START):!u.substringStartsWith(c.DOCTYPE_DECL_START))return N.fatalError("Expected "+c.DOCTYPE_DECL_START+" at position "+u.getIndex());if(u.skip(c.DOCTYPE_DECL_START.length),u.skipBlanks()<1)return N.fatalError("Expected whitespace after "+c.DOCTYPE_DECL_START+" at position "+u.getIndex());var w={name:void 0,publicId:void 0,systemId:void 0,internalSubset:void 0};if(w.name=u.getMatch(c.Name),!w.name)return N.fatalError("doctype name missing or contains unexpected characters at position "+u.getIndex());if(T&&w.name.toLowerCase()!=="html"&&N.warning("Unexpected DOCTYPE in HTML document at position "+u.getIndex()),u.skipBlanks(),u.substringStartsWith(c.PUBLIC)||u.substringStartsWith(c.SYSTEM)){var I=c.ExternalID_match.exec(u.substringFromIndex());if(!I)return N.fatalError("doctype external id is not well-formed at position "+u.getIndex());I.groups.SystemLiteralOnly!==void 0?w.systemId=I.groups.SystemLiteralOnly:(w.systemId=I.groups.SystemLiteral,w.publicId=I.groups.PubidLiteral),u.skip(I[0].length)}else if(T&&u.substringStartsWithCaseInsensitive(c.SYSTEM)){if(u.skip(c.SYSTEM.length),u.skipBlanks()<1)return N.fatalError("Expected whitespace after "+c.SYSTEM+" at position "+u.getIndex());if(w.systemId=u.getMatch(c.ABOUT_LEGACY_COMPAT_SystemLiteral),!w.systemId)return N.fatalError("Expected "+c.ABOUT_LEGACY_COMPAT+" in single or double quotes after "+c.SYSTEM+" at position "+u.getIndex())}return T&&w.systemId&&!c.ABOUT_LEGACY_COMPAT_SystemLiteral.test(w.systemId)&&N.warning("Unexpected doctype.systemId in HTML document at position "+u.getIndex()),T||(u.skipBlanks(),w.internalSubset=function(f,F){function C(q,ee){var G=c.PI.exec(q.substringFromIndex());return G?G[1].toLowerCase()==="xml"?ee.fatalError("xml declaration is only allowed at the start of the document, but found at position "+q.getIndex()):(q.skip(G[0].length),G[0]):ee.fatalError("processing instruction is not well-formed at position "+q.getIndex())}var ne=f.getSource();if(f.char()==="["){f.skip(1);for(var M=f.getIndex();f.getIndex()<ne.length;){if(f.skipBlanks(),f.char()==="]"){var Ee=ne.substring(M,f.getIndex());return f.skip(1),Ee}var j=null;if(f.char()==="<"&&f.char(1)==="!")switch(f.char(2)){case"E":f.char(3)==="L"?j=f.getMatch(c.elementdecl):f.char(3)==="N"&&(j=f.getMatch(c.EntityDecl));break;case"A":j=f.getMatch(c.AttlistDecl);break;case"N":j=f.getMatch(c.NotationDecl);break;case"-":j=f.getMatch(c.Comment)}else if(f.char()==="<"&&f.char(1)==="?")j=C(f,F);else{if(f.char()!=="%")return F.fatalError("Error detected in Markup declaration");j=f.getMatch(c.PEReference)}if(!j)return F.fatalError("Error in internal subset at position "+f.getIndex())}return F.fatalError("doctype internal subset is not well-formed, missing ]")}}(u,N)),u.skipBlanks(),u.char()!==">"?N.fatalError("doctype not terminated with > at position "+u.getIndex()):(u.skip(1),d.startDTD(w.name,w.publicId,w.systemId,w.internalSubset),d.endDTD(),u.getIndex());default:return N.fatalError('Not well-formed XML starting with "<!" at position '+i)}}function l(o,i,d,N){var T=o.substring(i).match(c.PI);if(!T)return N.fatalError("Invalid processing instruction starting at position "+i);if(T[1].toLowerCase()==="xml"){if(i>0)return N.fatalError("processing instruction at position "+i+" is an xml declaration which is only at the start of the document");if(!c.XMLDecl.test(o.substring(i)))return N.fatalError("xml declaration is not well-formed")}return d.processingInstruction(T[1],T[2]),i+T[0].length}function y(){this.attributeNames=Object.create(null)}return y.prototype={setTagName:function(o){if(!c.QName_exact.test(o))throw new Error("invalid tagName:"+o);this.tagName=o},addValue:function(o,i,d){if(!c.QName_exact.test(o))throw new Error("invalid attribute:"+o);this.attributeNames[o]=this.length,this[this.length++]={qName:o,value:i,offset:d}},length:0,getLocalName:function(o){return this[o].localName},getLocator:function(o){return this[o].locator},getQName:function(o){return this[o].qName},getURI:function(o){return this[o].uri},getValue:function(o){return this[o].value}},Ve.XMLReader=h,Ve.parseUtils=le,Ve.parseDoctypeCommentOrCData=ae,Ve}function Er(){if(ur)return Ce;ur=1;var S=ke(),c=hr(),A=Xe(),_=function(){return sr||(sr=1,l=lr,y=ke().freeze,l.XML_ENTITIES=y({amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}),l.HTML_ENTITIES=y({Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"⁡",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",AMP:"&",amp:"&",And:"⩓",and:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",ap:"≈",apacir:"⩯",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"⁡",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",Barwed:"⌆",barwed:"⌅",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",Because:"∵",because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxDL:"╗",boxDl:"╖",boxdL:"╕",boxdl:"┐",boxDR:"╔",boxDr:"╓",boxdR:"╒",boxdr:"┌",boxH:"═",boxh:"─",boxHD:"╦",boxHd:"╤",boxhD:"╥",boxhd:"┬",boxHU:"╩",boxHu:"╧",boxhU:"╨",boxhu:"┴",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxUL:"╝",boxUl:"╜",boxuL:"╛",boxul:"┘",boxUR:"╚",boxUr:"╙",boxuR:"╘",boxur:"└",boxV:"║",boxv:"│",boxVH:"╬",boxVh:"╫",boxvH:"╪",boxvh:"┼",boxVL:"╣",boxVl:"╢",boxvL:"╡",boxvl:"┤",boxVR:"╠",boxVr:"╟",boxvR:"╞",boxvr:"├",bprime:"‵",Breve:"˘",breve:"˘",brvbar:"¦",Bscr:"ℬ",bscr:"𝒷",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",Cap:"⋒",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",CenterDot:"·",centerdot:"·",Cfr:"ℭ",cfr:"𝔠",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",cir:"○",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",Colon:"∷",colon:":",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",Conint:"∯",conint:"∮",ContourIntegral:"∮",Copf:"ℂ",copf:"𝕔",coprod:"∐",Coproduct:"∐",COPY:"©",copy:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",Cross:"⨯",cross:"✗",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",Cup:"⋓",cup:"∪",cupbrcap:"⩈",CupCap:"≍",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",Dagger:"‡",dagger:"†",daleth:"ℸ",Darr:"↡",dArr:"⇓",darr:"↓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",DD:"ⅅ",dd:"ⅆ",ddagger:"‡",ddarr:"⇊",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",Diamond:"⋄",diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrow:"↓",Downarrow:"⇓",downarrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",ecir:"≖",Ecirc:"Ê",ecirc:"ê",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",eDot:"≑",edot:"ė",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp:" ",emsp13:" ",emsp14:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",Escr:"ℰ",escr:"ℯ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",ExponentialE:"ⅇ",exponentiale:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",ForAll:"∀",forall:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",Fscr:"ℱ",fscr:"𝒻",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",gE:"≧",ge:"≥",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",Gg:"⋙",gg:"≫",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gnE:"≩",gne:"⪈",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",Gt:"≫",GT:">",gt:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",hArr:"⇔",harr:"↔",harrcir:"⥈",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",Hfr:"ℌ",hfr:"𝔥",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",Hopf:"ℍ",hopf:"𝕙",horbar:"―",HorizontalLine:"─",Hscr:"ℋ",hscr:"𝒽",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"⁣",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",Ifr:"ℑ",ifr:"𝔦",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Im:"ℑ",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",Int:"∬",int:"∫",intcal:"⊺",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",Iscr:"ℐ",iscr:"𝒾",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",Lang:"⟪",lang:"⟨",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",Larr:"↞",lArr:"⇐",larr:"←",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",lAtail:"⤛",latail:"⤙",late:"⪭",lates:"⪭︀",lBarr:"⤎",lbarr:"⤌",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",lE:"≦",le:"≤",LeftAngleBracket:"⟨",LeftArrow:"←",Leftarrow:"⇐",leftarrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",Ll:"⋘",ll:"≪",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnap:"⪉",lnapprox:"⪉",lnE:"≨",lne:"⪇",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftarrow:"⟵",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longleftrightarrow:"⟷",longmapsto:"⟼",LongRightArrow:"⟶",Longrightarrow:"⟹",longrightarrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",Lscr:"ℒ",lscr:"𝓁",Lsh:"↰",lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",Lt:"≪",LT:"<",lt:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",Mscr:"ℳ",mscr:"𝓂",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",ne:"≠",nearhk:"⤤",neArr:"⇗",nearr:"↗",nearrow:"↗",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:`
8
- `,nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nhArr:"⇎",nharr:"↮",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlArr:"⇍",nlarr:"↚",nldr:"‥",nlE:"≦̸",nle:"≰",nLeftarrow:"⇍",nleftarrow:"↚",nLeftrightarrow:"⇎",nleftrightarrow:"↮",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:" ",Nopf:"ℕ",nopf:"𝕟",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrArr:"⇏",nrarr:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nRightarrow:"⇏",nrightarrow:"↛",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nVDash:"⊯",nVdash:"⊮",nvDash:"⊭",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwArr:"⇖",nwarr:"↖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",ocir:"⊚",Ocirc:"Ô",ocirc:"ô",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",Or:"⩔",or:"∨",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",Otimes:"⨷",otimes:"⊗",otimesas:"⨶",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",Popf:"ℙ",popf:"𝕡",pound:"£",Pr:"⪻",pr:"≺",prap:"⪷",prcue:"≼",prE:"⪳",pre:"⪯",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",Prime:"″",prime:"′",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",Qopf:"ℚ",qopf:"𝕢",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",QUOT:'"',quot:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",Rang:"⟫",rang:"⟩",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",Rarr:"↠",rArr:"⇒",rarr:"→",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",rAtail:"⤜",ratail:"⤚",ratio:"∶",rationals:"ℚ",RBarr:"⤐",rBarr:"⤏",rbarr:"⤍",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",Re:"ℜ",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",REG:"®",reg:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",Rfr:"ℜ",rfr:"𝔯",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrow:"→",Rightarrow:"⇒",rightarrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",Ropf:"ℝ",ropf:"𝕣",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",Rscr:"ℛ",rscr:"𝓇",Rsh:"↱",rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",Sc:"⪼",sc:"≻",scap:"⪸",Scaron:"Š",scaron:"š",sccue:"≽",scE:"⪴",sce:"⪰",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdot:"⋅",sdotb:"⊡",sdote:"⩦",searhk:"⤥",seArr:"⇘",searr:"↘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",Square:"□",square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",Sub:"⋐",sub:"⊂",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",Subset:"⋐",subset:"⊂",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",Sum:"∑",sum:"∑",sung:"♪",Sup:"⋑",sup:"⊃",sup1:"¹",sup2:"²",sup3:"³",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",Supset:"⋑",supset:"⊃",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swArr:"⇙",swarr:"↙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:" ",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",Therefore:"∴",therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",thinsp:" ",ThinSpace:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",Tilde:"∼",tilde:"˜",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",TRADE:"™",trade:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",Uarr:"↟",uArr:"⇑",uarr:"↑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrow:"↑",Uparrow:"⇑",uparrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",UpDownArrow:"↕",Updownarrow:"⇕",updownarrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",Upsi:"ϒ",upsi:"υ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTee:"⊥",UpTeeArrow:"↥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",vArr:"⇕",varr:"↕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",Vbar:"⫫",vBar:"⫨",vBarv:"⫩",Vcy:"В",vcy:"в",VDash:"⊫",Vdash:"⊩",vDash:"⊨",vdash:"⊢",Vdashl:"⫦",Vee:"⋁",vee:"∨",veebar:"⊻",veeeq:"≚",vellip:"⋮",Verbar:"‖",verbar:"|",Vert:"‖",vert:"|",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",Wedge:"⋀",wedge:"∧",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xhArr:"⟺",xharr:"⟷",Xi:"Ξ",xi:"ξ",xlArr:"⟸",xlarr:"⟵",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrArr:"⟹",xrarr:"⟶",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",Yuml:"Ÿ",yuml:"ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"​",Zeta:"Ζ",zeta:"ζ",Zfr:"ℨ",zfr:"𝔷",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",Zopf:"ℤ",zopf:"𝕫",Zscr:"𝒵",zscr:"𝓏",zwj:"‍",zwnj:"‌"}),l.entityMap=l.HTML_ENTITIES),lr;var l,y}(),g=mr(),m=c.DOMImplementation,H=S.hasDefaultHTMLNamespace,J=S.isHTMLMimeType,Q=S.isValidMimeType,a=S.MIME_TYPE,h=S.NAMESPACE,p=A.ParseError,oe=g.XMLReader;function P(l){return l.replace(/\r[\n\u0085]/g,`
9
- `).replace(/[\r\u0085\u2028]/g,`
10
- `)}function W(l){if((l=l||{}).locator===void 0&&(l.locator=!0),this.assign=l.assign||S.assign,this.domHandler=l.domHandler||me,this.onError=l.onError||l.errorHandler,l.errorHandler&&typeof l.errorHandler!="function")throw new TypeError("errorHandler object is no longer supported, switch to onError!");l.errorHandler&&l.errorHandler("warning","The `errorHandler` option has been deprecated, use `onError` instead!",this),this.normalizeLineEndings=l.normalizeLineEndings||P,this.locator=!!l.locator,this.xmlns=this.assign(Object.create(null),l.xmlns)}function me(l){var y=l||{};this.mimeType=y.mimeType||a.XML_APPLICATION,this.defaultNamespace=y.defaultNamespace||null,this.cdata=!1,this.currentElement=void 0,this.doc=void 0,this.locator=void 0,this.onError=y.onError}function ce(l,y){y.lineNumber=l.lineNumber,y.columnNumber=l.columnNumber}function le(l,y,o){return typeof l=="string"?l.substr(y,o):l.length>=y+o||y?new java.lang.String(l,y,o)+"":l}function ae(l,y){l.currentElement?l.currentElement.appendChild(y):l.doc.appendChild(y)}return W.prototype.parseFromString=function(l,y){if(!Q(y))throw new TypeError('DOMParser.parseFromString: the provided mimeType "'+y+'" is not valid.');var o=this.assign(Object.create(null),this.xmlns),i=_.XML_ENTITIES,d=o[""]||null;H(y)?(i=_.HTML_ENTITIES,d=h.HTML):y===a.XML_SVG_IMAGE&&(d=h.SVG),o[""]=d,o.xml=o.xml||h.XML;var N=new this.domHandler({mimeType:y,defaultNamespace:d,onError:this.onError}),T=this.locator?{}:void 0;this.locator&&N.setDocumentLocator(T);var u=new oe;return u.errorHandler=N,u.domBuilder=N,!S.isHTMLMimeType(y)&&typeof l!="string"&&u.errorHandler.fatalError("source is not a string"),u.parse(this.normalizeLineEndings(String(l)),o,i),N.doc.documentElement||u.errorHandler.fatalError("missing root element"),N.doc},me.prototype={startDocument:function(){var l=new m;this.doc=J(this.mimeType)?l.createHTMLDocument(!1):l.createDocument(this.defaultNamespace,"")},startElement:function(l,y,o,i){var d=this.doc,N=d.createElementNS(l,o||y),T=i.length;ae(this,N),this.currentElement=N,this.locator&&ce(this.locator,N);for(var u=0;u<T;u++){l=i.getURI(u);var D=i.getValue(u),E=(o=i.getQName(u),d.createAttributeNS(l,o));this.locator&&ce(i.getLocator(u),E),E.value=E.nodeValue=D,N.setAttributeNode(E)}},endElement:function(l,y,o){this.currentElement=this.currentElement.parentNode},startPrefixMapping:function(l,y){},endPrefixMapping:function(l){},processingInstruction:function(l,y){var o=this.doc.createProcessingInstruction(l,y);this.locator&&ce(this.locator,o),ae(this,o)},ignorableWhitespace:function(l,y,o){},characters:function(l,y,o){if(l=le.apply(this,arguments)){if(this.cdata)var i=this.doc.createCDATASection(l);else i=this.doc.createTextNode(l);this.currentElement?this.currentElement.appendChild(i):/^\s*$/.test(l)&&this.doc.appendChild(i),this.locator&&ce(this.locator,i)}},skippedEntity:function(l){},endDocument:function(){this.doc.normalize()},setDocumentLocator:function(l){l&&(l.lineNumber=0),this.locator=l},comment:function(l,y,o){l=le.apply(this,arguments);var i=this.doc.createComment(l);this.locator&&ce(this.locator,i),ae(this,i)},startCDATA:function(){this.cdata=!0},endCDATA:function(){this.cdata=!1},startDTD:function(l,y,o,i){var d=this.doc.implementation;if(d&&d.createDocumentType){var N=d.createDocumentType(l,y,o,i);this.locator&&ce(this.locator,N),ae(this,N),this.doc.doctype=N}},reportError:function(l,y){if(typeof this.onError=="function")try{this.onError(l,y,this)}catch(o){throw new p("Reporting "+l+' "'+y+'" caused '+o,this.locator)}else console.error("[xmldom "+l+"] "+y,function(o){if(o)return`
11
- @#[line:`+o.lineNumber+",col:"+o.columnNumber+"]"}(this.locator))},warning:function(l){this.reportError("warning",l)},error:function(l){this.reportError("error",l)},fatalError:function(l){throw this.reportError("fatalError",l),new p(l,this.locator)}},"endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl".replace(/\w+/g,function(l){me.prototype[l]=function(){return null}}),Ce.__DOMHandler=me,Ce.DOMParser=W,Ce.normalizeLineEndings=P,Ce.onErrorStopParsing=function(l){if(l==="error")throw"onErrorStopParsing"},Ce.onWarningStopParsing=function(){throw"onWarningStopParsing"},Ce}var dr=function(){if(pr)return x;pr=1;var S=ke();x.assign=S.assign,x.hasDefaultHTMLNamespace=S.hasDefaultHTMLNamespace,x.isHTMLMimeType=S.isHTMLMimeType,x.isValidMimeType=S.isValidMimeType,x.MIME_TYPE=S.MIME_TYPE,x.NAMESPACE=S.NAMESPACE;var c=Xe();x.DOMException=c.DOMException,x.DOMExceptionName=c.DOMExceptionName,x.ExceptionCode=c.ExceptionCode,x.ParseError=c.ParseError;var A=hr();x.Attr=A.Attr,x.CDATASection=A.CDATASection,x.CharacterData=A.CharacterData,x.Comment=A.Comment,x.Document=A.Document,x.DocumentFragment=A.DocumentFragment,x.DocumentType=A.DocumentType,x.DOMImplementation=A.DOMImplementation,x.Element=A.Element,x.Entity=A.Entity,x.EntityReference=A.EntityReference,x.LiveNodeList=A.LiveNodeList,x.NamedNodeMap=A.NamedNodeMap,x.Node=A.Node,x.NodeList=A.NodeList,x.Notation=A.Notation,x.ProcessingInstruction=A.ProcessingInstruction,x.Text=A.Text,x.XMLSerializer=A.XMLSerializer;var _=Er();return x.DOMParser=_.DOMParser,x.onErrorStopParsing=_.onErrorStopParsing,x.onWarningStopParsing=_.onWarningStopParsing,x}();const gr=function(S,c){for(var A=0;A<c.length;A++){const _=c[A];if(typeof _!="string"&&!Array.isArray(_)){for(const g in _)if(g!=="default"&&!(g in S)){const m=Object.getOwnPropertyDescriptor(_,g);m&&Object.defineProperty(S,g,m.get?m:{enumerable:!0,get:()=>_[g]})}}}return Object.freeze(Object.defineProperty(S,Symbol.toStringTag,{value:"Module"}))}({__proto__:null,default:(Ue=dr,Ue&&Ue.__esModule&&Object.prototype.hasOwnProperty.call(Ue,"default")?Ue.default:Ue)},[dr]);var Ue;exports.i=gr;
@@ -1,6 +0,0 @@
1
- "use strict";/**
2
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.4.19
3
- *
4
- * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
- * License: The license can be found at https://www.sheetxl.com/license.
6
- */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("react/jsx-runtime"),t=require("react"),r=require("@mui/material"),c=require("./zr0HW2FkaHX7brxh.cjs"),k=["Ok","Cancel"],b=t.memo(h=>{const{tableOptions:a,context:p,onOption:u,onValidateOption:q,onDone:d,options:g=k,defaultOption:l=g?.[0],cancelOption:s="Cancel",sx:m,...O}=h,[f,C]=t.useState(!1),[o,j]=t.useState(()=>a?.hasHeader??!1),[i,S]=t.useState(()=>a?.ranges??null),T=c.T(e=>{const x={...a,hasHeader:o,ranges:i};u?.(e,e===s,e===l),d?.({option:e,tableOptions:x})},[d,u,l,s,o,i,a]),D=t.useCallback(async(e,x)=>null,[]);return n.jsx(c.D8,{title:"Insert Table",options:g,onDone:T,onValidateOption:D,defaultOption:l,cancelOption:s,autoFocusSel:".range-input input",sx:{width:"360px",...m},...O,children:n.jsxs(r.Box,{sx:{paddingTop:e=>e.spacing(1),paddingBottom:e=>e.spacing(0),rowGap:e=>e.spacing(1),display:"flex",flexDirection:"column"},children:[n.jsx(c.RangeInput,{formName:"range",value:i,onChangeInput:e=>S(e),resolvedAddress:p.getNames().getRanges.bind(p.getNames()),onFocus:e=>{f||e.target?.select(),C(!0)}}),n.jsx(r.FormControlLabel,{control:n.jsx(r.Checkbox,{checked:o,onChange:()=>j(!o)}),label:"Table has headers",labelPlacement:"end"})]})})});exports.TableNewDialog=b,exports.default=b;