@oneclick.dev/cms-core-modules 0.0.110 → 0.0.111

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 (62) hide show
  1. package/dist/{Acquisition-Dt2rREU8.js → Acquisition-DgzDQH51.js} +1 -1
  2. package/dist/{Acquisition-DNCy8nQz.mjs → Acquisition-FV3QpaUX.mjs} +2 -2
  3. package/dist/{Audience-Bs7b0TNm.js → Audience-BSgNvcVb.js} +1 -1
  4. package/dist/{Audience-CUeMVYRy.mjs → Audience-ka0b7YPE.mjs} +2 -2
  5. package/dist/{ContentEditor-D9-1SJ5F.mjs → ContentEditor-pZPfo0qN.mjs} +4384 -4282
  6. package/dist/{ContentEditor-BprPiHMJ.js → ContentEditor-tYkh4vRV.js} +42 -42
  7. package/dist/{Create-89z41K73.js → Create--MOBOTA-.js} +1 -1
  8. package/dist/{Create-BCklc_T1.mjs → Create-BXNLRQag.mjs} +1 -1
  9. package/dist/DateFormatter-CSAbE3BC.js +1 -0
  10. package/dist/{DateFormatter-DUxlo8X8.mjs → DateFormatter-qbhRYxI_.mjs} +226 -222
  11. package/dist/{Detail-CNlljBfH.mjs → Detail-ChD5XurA.mjs} +1 -1
  12. package/dist/{Detail-C857g62L.js → Detail-RISEJJab.js} +1 -1
  13. package/dist/{Find-DIISO5GO.mjs → Find-zN_dKz4p.mjs} +1 -1
  14. package/dist/NewReservationDialog.vue_vue_type_script_setup_true_lang-Baqy-rTT.js +1 -0
  15. package/dist/NewReservationDialog.vue_vue_type_script_setup_true_lang-Dx4Bpa2m.mjs +1263 -0
  16. package/dist/{Overview-Di84CsR5.mjs → Overview-98nkJUWN.mjs} +162 -157
  17. package/dist/{Overview-C-Jb_BxY.mjs → Overview-BR_y8x3W.mjs} +1 -1
  18. package/dist/{Overview-DC9io1bk.js → Overview-CX-n6W7d.js} +1 -1
  19. package/dist/Overview-Dl8cMlsr.js +1 -0
  20. package/dist/{Overview-BKAti8nc.mjs → Overview-MpgkLB6m.mjs} +36 -36
  21. package/dist/{SeoHealth-az1YuNF2.js → SeoHealth-C5npw7mE.js} +1 -1
  22. package/dist/{SeoHealth-MC3lSCOY.mjs → SeoHealth-bVQj_Xgm.mjs} +29 -29
  23. package/dist/{TableView-DXHhJ-jm.mjs → TableView-Bf1fdJrD.mjs} +1838 -1822
  24. package/dist/TableView-DNcXyIMu.js +4 -0
  25. package/dist/{agenda-IOqtALWf.js → agenda-BaJu3-1c.js} +1 -1
  26. package/dist/{agenda-DcatSSYQ.mjs → agenda-BwVY_8oM.mjs} +3 -3
  27. package/dist/cms-core-modules.css +1 -1
  28. package/dist/{exceptions-CI0B4xVj.js → exceptions-B6P9UiCj.js} +1 -1
  29. package/dist/{exceptions-YCQkHa6a.mjs → exceptions-De9-FvdP.mjs} +67 -67
  30. package/dist/{index-CpzDEMeC.mjs → index-B8GvmAwh.mjs} +438 -478
  31. package/dist/{index-wjkEPsNx.mjs → index-BIF2RB7k.mjs} +1212 -1316
  32. package/dist/index-ByRsp77L.js +70 -0
  33. package/dist/{index-BhWvXMOp.mjs → index-CFzn2Lus.mjs} +5 -9
  34. package/dist/{index-BFLV54kw.mjs → index-CkVwMqpn.mjs} +1114 -1100
  35. package/dist/index-DL6orwdK.js +35 -0
  36. package/dist/index-DUlYrnXH.js +58 -0
  37. package/dist/index-DZV720u-.mjs +439 -0
  38. package/dist/index-D_nfGegA.js +184 -0
  39. package/dist/index-DtSvAFLL.js +54 -0
  40. package/dist/{index-D30apIn-.mjs → index-L54VBzwJ.mjs} +2 -3
  41. package/dist/{index-BzWmWCo5.mjs → index-hH3e-IYz.mjs} +267 -267
  42. package/dist/index.cjs.js +1 -1
  43. package/dist/index.mjs +15 -15
  44. package/dist/math-BJ-oX_IM.mjs +80 -0
  45. package/dist/math-emotyaF6.js +1 -0
  46. package/dist/{resources-CYOb5Bl6.mjs → resources-DwYxn2Vi.mjs} +1 -1
  47. package/dist/src/contentManager/components/content-editor/tiptap-extensions/ScopedSelectAll.d.ts +1 -2
  48. package/dist/src/contentManager/components/content-editor/tiptap-extensions/helpers/useFocus.d.ts +1 -0
  49. package/package.json +2 -2
  50. package/dist/DateFormatter-CYAD4GBN.js +0 -1
  51. package/dist/NewReservationDialog.vue_vue_type_script_setup_true_lang-Ceoje52V.js +0 -1
  52. package/dist/NewReservationDialog.vue_vue_type_script_setup_true_lang-Dh9jzvE0.mjs +0 -1255
  53. package/dist/Overview-UoZHUMUz.js +0 -1
  54. package/dist/TableView-DQW0A1oG.js +0 -4
  55. package/dist/array-CbATeQbk.js +0 -1
  56. package/dist/array-DT5pE8Gm.mjs +0 -108
  57. package/dist/index-A2kp8Isi.js +0 -75
  58. package/dist/index-B5aBwdxY.js +0 -54
  59. package/dist/index-BiT55eU0.js +0 -58
  60. package/dist/index-G7cIlnGN.js +0 -158
  61. package/dist/index-V78huaSJ.mjs +0 -442
  62. package/dist/index-vHmvbEwa.js +0 -35
@@ -0,0 +1,70 @@
1
+ "use strict";const b=require("vue"),_=require("./index-DtSvAFLL.js"),A=require("./index-D_nfGegA.js"),w=require("./math-emotyaF6.js");function ft(t){this._context=t}ft.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._context.lineTo(t,e);break}}};function tt(t){return new ft(t)}function pt(t){return t[0]}function yt(t){return t[1]}function dt(){var t=pt,e=yt,i=w.constant(!0),n=null,s=tt,o=null;function a(r){var l,d=r.length,c,h=!1,u;for(n==null&&(o=s(u=w.path())),l=0;l<=d;++l)!(l<d&&i(c=r[l],l,r))===h&&((h=!h)?o.lineStart():o.lineEnd()),h&&o.point(+t(c,l,r),+e(c,l,r));if(u)return o=null,u+""||null}return a.x=function(r){return arguments.length?(t=typeof r=="function"?r:w.constant(+r),a):t},a.y=function(r){return arguments.length?(e=typeof r=="function"?r:w.constant(+r),a):e},a.defined=function(r){return arguments.length?(i=typeof r=="function"?r:w.constant(!!r),a):i},a.curve=function(r){return arguments.length?(s=r,n!=null&&(o=s(n)),a):s},a.context=function(r){return arguments.length?(r==null?n=o=null:o=s(n=r),a):n},a}function At(){var t=pt,e=null,i=w.constant(0),n=yt,s=w.constant(!0),o=null,a=tt,r=null;function l(c){var h,u,x,m=c.length,S,f=!1,p,v=new Array(m),y=new Array(m);for(o==null&&(r=a(p=w.path())),h=0;h<=m;++h){if(!(h<m&&s(S=c[h],h,c))===f)if(f=!f)u=h,r.areaStart(),r.lineStart();else{for(r.lineEnd(),r.lineStart(),x=h-1;x>=u;--x)r.point(v[x],y[x]);r.lineEnd(),r.areaEnd()}f&&(v[h]=+t(S,h,c),y[h]=+i(S,h,c),r.point(e?+e(S,h,c):v[h],n?+n(S,h,c):y[h]))}if(p)return r=null,p+""||null}function d(){return dt().defined(s).curve(a).context(o)}return l.x=function(c){return arguments.length?(t=typeof c=="function"?c:w.constant(+c),e=null,l):t},l.x0=function(c){return arguments.length?(t=typeof c=="function"?c:w.constant(+c),l):t},l.x1=function(c){return arguments.length?(e=c==null?null:typeof c=="function"?c:w.constant(+c),l):e},l.y=function(c){return arguments.length?(i=typeof c=="function"?c:w.constant(+c),n=null,l):i},l.y0=function(c){return arguments.length?(i=typeof c=="function"?c:w.constant(+c),l):i},l.y1=function(c){return arguments.length?(n=c==null?null:typeof c=="function"?c:w.constant(+c),l):n},l.lineX0=l.lineY0=function(){return d().x(t).y(i)},l.lineY1=function(){return d().x(t).y(n)},l.lineX1=function(){return d().x(e).y(i)},l.defined=function(c){return arguments.length?(s=typeof c=="function"?c:w.constant(!!c),l):s},l.curve=function(c){return arguments.length?(a=c,o!=null&&(r=a(o)),l):a},l.context=function(c){return arguments.length?(c==null?o=r=null:r=a(o=c),l):o},l}function N(){}function H(t,e,i){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+e)/6,(t._y0+4*t._y1+i)/6)}function X(t){this._context=t}X.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:H(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:H(this,t,e);break}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}};function Mt(t){return new X(t)}function vt(t){this._context=t}vt.prototype={areaStart:N,areaEnd:N,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x2,this._y2),this._context.closePath();break}case 2:{this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break}case 3:{this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4);break}}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x2=t,this._y2=e;break;case 1:this._point=2,this._x3=t,this._y3=e;break;case 2:this._point=3,this._x4=t,this._y4=e,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+e)/6);break;default:H(this,t,e);break}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}};function jt(t){return new vt(t)}function xt(t){this._context=t}xt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var i=(this._x0+4*this._x1+t)/6,n=(this._y0+4*this._y1+e)/6;this._line?this._context.lineTo(i,n):this._context.moveTo(i,n);break;case 3:this._point=4;default:H(this,t,e);break}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}};function Dt(t){return new xt(t)}function gt(t,e){this._basis=new X(t),this._beta=e}gt.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var t=this._x,e=this._y,i=t.length-1;if(i>0)for(var n=t[0],s=e[0],o=t[i]-n,a=e[i]-s,r=-1,l;++r<=i;)l=r/i,this._basis.point(this._beta*t[r]+(1-this._beta)*(n+l*o),this._beta*e[r]+(1-this._beta)*(s+l*a));this._x=this._y=null,this._basis.lineEnd()},point:function(t,e){this._x.push(+t),this._y.push(+e)}};const Et=(function t(e){function i(n){return e===1?new X(n):new gt(n,e)}return i.beta=function(n){return t(+n)},i})(.85);function L(t,e,i){t._context.bezierCurveTo(t._x1+t._k*(t._x2-t._x0),t._y1+t._k*(t._y2-t._y0),t._x2+t._k*(t._x1-e),t._y2+t._k*(t._y1-i),t._x2,t._y2)}function et(t,e){this._context=t,this._k=(1-e)/6}et.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:L(this,this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2,this._x1=t,this._y1=e;break;case 2:this._point=3;default:L(this,t,e);break}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};const Bt=(function t(e){function i(n){return new et(n,e)}return i.tension=function(n){return t(+n)},i})(0);function it(t,e){this._context=t,this._k=(1-e)/6}it.prototype={areaStart:N,areaEnd:N,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x3,this._y3),this._context.closePath();break}case 2:{this._context.lineTo(this._x3,this._y3),this._context.closePath();break}case 3:{this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5);break}}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:L(this,t,e);break}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};const Rt=(function t(e){function i(n){return new it(n,e)}return i.tension=function(n){return t(+n)},i})(0);function nt(t,e){this._context=t,this._k=(1-e)/6}nt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:L(this,t,e);break}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};const $t=(function t(e){function i(n){return new nt(n,e)}return i.tension=function(n){return t(+n)},i})(0);function st(t,e,i){var n=t._x1,s=t._y1,o=t._x2,a=t._y2;if(t._l01_a>w.epsilon){var r=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,l=3*t._l01_a*(t._l01_a+t._l12_a);n=(n*r-t._x0*t._l12_2a+t._x2*t._l01_2a)/l,s=(s*r-t._y0*t._l12_2a+t._y2*t._l01_2a)/l}if(t._l23_a>w.epsilon){var d=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,c=3*t._l23_a*(t._l23_a+t._l12_a);o=(o*d+t._x1*t._l23_2a-e*t._l12_2a)/c,a=(a*d+t._y1*t._l23_2a-i*t._l12_2a)/c}t._context.bezierCurveTo(n,s,o,a,t._x2,t._y2)}function bt(t,e){this._context=t,this._alpha=e}bt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var i=this._x2-t,n=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(i*i+n*n,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3;default:st(this,t,e);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};const Ht=(function t(e){function i(n){return e?new bt(n,e):new et(n,0)}return i.alpha=function(n){return t(+n)},i})(.5);function mt(t,e){this._context=t,this._alpha=e}mt.prototype={areaStart:N,areaEnd:N,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x3,this._y3),this._context.closePath();break}case 2:{this._context.lineTo(this._x3,this._y3),this._context.closePath();break}case 3:{this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5);break}}},point:function(t,e){if(t=+t,e=+e,this._point){var i=this._x2-t,n=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(i*i+n*n,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:st(this,t,e);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};const Lt=(function t(e){function i(n){return e?new mt(n,e):new it(n,0)}return i.alpha=function(n){return t(+n)},i})(.5);function kt(t,e){this._context=t,this._alpha=e}kt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var i=this._x2-t,n=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(i*i+n*n,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:st(this,t,e);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};const Ft=(function t(e){function i(n){return e?new kt(n,e):new nt(n,0)}return i.alpha=function(n){return t(+n)},i})(.5);function St(t){this._context=t}St.prototype={areaStart:N,areaEnd:N,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(t,e){t=+t,e=+e,this._point?this._context.lineTo(t,e):(this._point=1,this._context.moveTo(t,e))}};function It(t){return new St(t)}function ot(t){return t<0?-1:1}function rt(t,e,i){var n=t._x1-t._x0,s=e-t._x1,o=(t._y1-t._y0)/(n||s<0&&-0),a=(i-t._y1)/(s||n<0&&-0),r=(o*s+a*n)/(n+s);return(ot(o)+ot(a))*Math.min(Math.abs(o),Math.abs(a),.5*Math.abs(r))||0}function at(t,e){var i=t._x1-t._x0;return i?(3*(t._y1-t._y0)/i-e)/2:e}function z(t,e,i){var n=t._x0,s=t._y0,o=t._x1,a=t._y1,r=(o-n)/3;t._context.bezierCurveTo(n+r,s+r*e,o-r,a-r*i,o,a)}function F(t){this._context=t}F.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:z(this,this._t0,at(this,this._t0));break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){var i=NaN;if(t=+t,e=+e,!(t===this._x1&&e===this._y1)){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,z(this,at(this,i=rt(this,t,e)),i);break;default:z(this,this._t0,i=rt(this,t,e));break}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e,this._t0=i}}};function wt(t){this._context=new Tt(t)}(wt.prototype=Object.create(F.prototype)).point=function(t,e){F.prototype.point.call(this,e,t)};function Tt(t){this._context=t}Tt.prototype={moveTo:function(t,e){this._context.moveTo(e,t)},closePath:function(){this._context.closePath()},lineTo:function(t,e){this._context.lineTo(e,t)},bezierCurveTo:function(t,e,i,n,s,o){this._context.bezierCurveTo(e,t,n,i,o,s)}};function Xt(t){return new F(t)}function Yt(t){return new wt(t)}function Nt(t){this._context=t}Nt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var t=this._x,e=this._y,i=t.length;if(i)if(this._line?this._context.lineTo(t[0],e[0]):this._context.moveTo(t[0],e[0]),i===2)this._context.lineTo(t[1],e[1]);else for(var n=lt(t),s=lt(e),o=0,a=1;a<i;++o,++a)this._context.bezierCurveTo(n[0][o],s[0][o],n[1][o],s[1][o],t[a],e[a]);(this._line||this._line!==0&&i===1)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(t,e){this._x.push(+t),this._y.push(+e)}};function lt(t){var e,i=t.length-1,n,s=new Array(i),o=new Array(i),a=new Array(i);for(s[0]=0,o[0]=2,a[0]=t[0]+2*t[1],e=1;e<i-1;++e)s[e]=1,o[e]=4,a[e]=4*t[e]+2*t[e+1];for(s[i-1]=2,o[i-1]=7,a[i-1]=8*t[i-1]+t[i],e=1;e<i;++e)n=s[e]/o[e-1],o[e]-=n,a[e]-=n*a[e-1];for(s[i-1]=a[i-1]/o[i-1],e=i-2;e>=0;--e)s[e]=(a[e]-s[e+1])/o[e];for(o[i-1]=(t[i]+s[i-1])/2,e=0;e<i-1;++e)o[e]=2*t[e+1]-s[e+1];return[s,o]}function Gt(t){return new Nt(t)}function Y(t,e){this._context=t,this._t=e}Y.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&this._point===2&&this._context.lineTo(this._x,this._y),(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:{if(this._t<=0)this._context.lineTo(this._x,e),this._context.lineTo(t,e);else{var i=this._x*(1-this._t)+t*this._t;this._context.lineTo(i,this._y),this._context.lineTo(i,e)}break}}this._x=t,this._y=e}};function Vt(t){return new Y(t,.5)}function zt(t){return new Y(t,0)}function Zt(t){return new Y(t,1)}function ht(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(s){return Object.getOwnPropertyDescriptor(t,s).enumerable})),i.push.apply(i,n)}return i}function qt(t){for(var e=1;e<arguments.length;e++){var i=arguments[e]!=null?arguments[e]:{};e%2?ht(Object(i),!0).forEach(function(n){Wt(t,n,i[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):ht(Object(i)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(i,n))})}return t}function E(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?E=function(e){return typeof e}:E=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},E(t)}function Wt(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function I(){return I=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t},I.apply(this,arguments)}function Ut(t,e){if(t){if(typeof t=="string")return ct(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);if(i==="Object"&&t.constructor&&(i=t.constructor.name),i==="Map"||i==="Set")return Array.from(t);if(i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return ct(t,e)}}function ct(t,e){(e==null||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}function Ot(t,e){var i=typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(!i){if(Array.isArray(t)||(i=Ut(t))||e){i&&(t=i);var n=0,s=function(){};return{s,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(l){throw l},f:s}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
2
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o=!0,a=!1,r;return{s:function(){i=i.call(t)},n:function(){var l=i.next();return o=l.done,l},e:function(l){a=!0,r=l},f:function(){try{!o&&i.return!=null&&i.return()}finally{if(a)throw r}}}}function Qt(t,e){var i=[],n=[];function s(o,a){if(o.length===1)i.push(o[0]),n.push(o[0]);else{for(var r=Array(o.length-1),l=0;l<r.length;l++)l===0&&i.push(o[0]),l===r.length-1&&n.push(o[l+1]),r[l]=[(1-a)*o[l][0]+a*o[l+1][0],(1-a)*o[l][1]+a*o[l+1][1]];s(r,a)}}return t.length&&s(t,e),{left:i,right:n.reverse()}}function Jt(t){var e={};return t.length===4&&(e.x2=t[2][0],e.y2=t[2][1]),t.length>=3&&(e.x1=t[1][0],e.y1=t[1][1]),e.x=t[t.length-1][0],e.y=t[t.length-1][1],t.length===4?e.type="C":t.length===3?e.type="Q":e.type="L",e}function Kt(t,e){e=e||2;for(var i=[],n=t,s=1/e,o=0;o<e-1;o++){var a=s/(1-s*o),r=Qt(n,a);i.push(r.left),n=r.right}return i.push(n),i}function te(t,e,i){var n=[[t.x,t.y]];return e.x1!=null&&n.push([e.x1,e.y1]),e.x2!=null&&n.push([e.x2,e.y2]),n.push([e.x,e.y]),Kt(n,i).map(Jt)}var ee=/[MLCSTQAHVZmlcstqahv]|-?[\d.e+-]+/g,j={M:["x","y"],L:["x","y"],H:["x"],V:["y"],C:["x1","y1","x2","y2","x","y"],S:["x2","y2","x","y"],Q:["x1","y1","x","y"],T:["x","y"],A:["rx","ry","xAxisRotation","largeArcFlag","sweepFlag","x","y"],Z:[]};Object.keys(j).forEach(function(t){j[t.toLowerCase()]=j[t]});function Z(t,e){for(var i=Array(t),n=0;n<t;n++)i[n]=e;return i}function ie(t){return"".concat(t.type).concat(j[t.type].map(function(e){return t[e]}).join(","))}function ne(t,e){var i={x1:"x",y1:"y",x2:"x",y2:"y"},n=["xAxisRotation","largeArcFlag","sweepFlag"];if(t.type!==e.type&&e.type.toUpperCase()!=="M"){var s={};Object.keys(e).forEach(function(o){var a=e[o],r=t[o];r===void 0&&(n.includes(o)?r=a:(r===void 0&&i[o]&&(r=t[i[o]]),r===void 0&&(r=0))),s[o]=r}),s.type=e.type,t=s}return t}function se(t,e,i){var n=[];if(e.type==="L"||e.type==="Q"||e.type==="C")n=n.concat(te(t,e,i));else{var s=I({},t);s.type==="M"&&(s.type="L"),n=n.concat(Z(i-1).map(function(){return s})),n.push(e)}return n}function _t(t,e,i){var n=t.length-1,s=e.length-1,o=n/s,a=Z(s).reduce(function(l,d,c){var h=Math.floor(o*c);if(i&&h<t.length-1&&i(t[h],t[h+1])){var u=o*c%1<.5;l[h]&&(u?h>0?h-=1:h<t.length-1&&(h+=1):h<t.length-1?h+=1:h>0&&(h-=1))}return l[h]=(l[h]||0)+1,l},[]),r=a.reduce(function(l,d,c){if(c===t.length-1){var h=Z(d,I({},t[t.length-1]));return h[0].type==="M"&&h.forEach(function(u){u.type="L"}),l.concat(h)}return l.concat(se(t[c],t[c+1],d))},[]);return r.unshift(t[0]),r}function ut(t){for(var e=(t||"").match(ee)||[],i=[],n,s,o=0;o<e.length;++o)if(n=j[e[o]],n){s={type:e[o]};for(var a=0;a<n.length;++a)s[n[a]]=+e[o+a+1];o+=n.length,i.push(s)}return i}function oe(t,e,i){var n=t==null?[]:t.slice(),s=e==null?[]:e.slice(),o=E(i)==="object"?i:{excludeSegment:i,snapEndsToInput:!0},a=o.excludeSegment,r=o.snapEndsToInput;if(!n.length&&!s.length)return function(){return[]};var l=(n.length===0||n[n.length-1].type==="Z")&&(s.length===0||s[s.length-1].type==="Z");n.length>0&&n[n.length-1].type==="Z"&&n.pop(),s.length>0&&s[s.length-1].type==="Z"&&s.pop(),n.length?s.length||s.push(n[0]):n.push(s[0]);var d=Math.abs(s.length-n.length);d!==0&&(s.length>n.length?n=_t(n,s,a):s.length<n.length&&(s=_t(s,n,a))),n=n.map(function(h,u){return ne(h,s[u])});var c=n.map(function(h){return qt({},h)});return l&&(c.push({type:"Z"}),n.push({type:"Z"})),function(u){if(u===1&&r)return e??[];if(u===0)return n;for(var x=0;x<c.length;++x){var m=n[x],S=s[x],f=c[x],p=Ot(j[f.type]),v;try{for(p.s();!(v=p.n()).done;){var y=v.value;f[y]=(1-u)*m[y]+u*S[y],(y==="largeArcFlag"||y==="sweepFlag")&&(f[y]=Math.round(f[y]))}}catch(k){p.e(k)}finally{p.f()}}return c}}function Ct(t,e,i){var n=ut(t),s=ut(e),o=E(i)==="object"?i:{excludeSegment:i,snapEndsToInput:!0},a=o.excludeSegment,r=o.snapEndsToInput;if(!n.length&&!s.length)return function(){return""};var l=oe(n,s,{excludeSegment:a,snapEndsToInput:r});return function(c){if(c===1&&r)return e??"";var h=l(c),u="",x=Ot(h),m;try{for(x.s();!(m=x.n()).done;){var S=m.value;u+=ie(S)}}catch(f){x.e(f)}finally{x.f()}return u}}var g;(function(t){t.Basis="basis",t.BasisClosed="basisClosed",t.BasisOpen="basisOpen",t.Bundle="bundle",t.Cardinal="cardinal",t.CardinalClosed="cardinalClosed",t.CardinalOpen="cardinalOpen",t.CatmullRom="catmullRom",t.CatmullRomClosed="catmullRomClosed",t.CatmullRomOpen="catmullRomOpen",t.Linear="linear",t.LinearClosed="linearClosed",t.MonotoneX="monotoneX",t.MonotoneY="monotoneY",t.Natural="natural",t.Step="step",t.StepAfter="stepAfter",t.StepBefore="stepBefore"})(g||(g={}));const q={[g.Basis]:Mt,[g.BasisClosed]:jt,[g.BasisOpen]:Dt,[g.Bundle]:Et,[g.Cardinal]:Bt,[g.CardinalClosed]:Rt,[g.CardinalOpen]:$t,[g.CatmullRom]:Ht,[g.CatmullRomClosed]:Lt,[g.CatmullRomOpen]:Ft,[g.Linear]:tt,[g.LinearClosed]:It,[g.MonotoneX]:Xt,[g.MonotoneY]:Yt,[g.Natural]:Gt,[g.Step]:Vt,[g.StepAfter]:Zt,[g.StepBefore]:zt},re=Object.assign(Object.assign({},A.XYComponentDefaultConfig),{curveType:g.MonotoneX,lineWidth:2,lineDashArray:void 0,fallbackValue:void 0,highlightOnHover:!1,cursor:null,interpolateMissingData:!1}),ae=_.injectGlobal`
3
+ :root {
4
+ --vis-line-cursor: default;
5
+ --vis-line-stroke-dasharray: none;
6
+ --vis-line-stroke-dashoffset: 0;
7
+
8
+ --vis-line-gapfill-stroke-dasharray: 2 3;
9
+ --vis-line-gapfill-stroke-opacity: 0.8;
10
+ --vis-line-gapfill-stroke-dashoffset: 0;
11
+ }
12
+ `,le=_.css`
13
+ label: line-component;
14
+ `,D=_.css`
15
+ label: line;
16
+ transition: opacity 200ms;
17
+ cursor: var(--vis-line-cursor);
18
+ `,W=_.css`
19
+ label: linePath;
20
+ fill: none;
21
+ stroke-dasharray: var(--vis-line-stroke-dasharray);
22
+ stroke-dashoffset: var(--vis-line-stroke-dashoffset);
23
+ `,U=_.css`
24
+ label: lineSelectionHelper;
25
+ fill: none;
26
+ stroke: rgba(0, 0, 0, 0);
27
+ stroke-width: 8px;
28
+ `,Q=_.css`
29
+ opacity: 0.2;
30
+ `,J=_.css`
31
+ label: interpolated-path;
32
+ fill: none;
33
+ stroke-dasharray: var(--vis-line-gapfill-stroke-dasharray);
34
+ stroke-dashoffset: var(--vis-line-gapfill-stroke-dashoffset);
35
+ stroke-opacity: var(--vis-line-gapfill-stroke-opacity);
36
+ `,he=Object.freeze(Object.defineProperty({__proto__:null,dim:Q,globalStyles:ae,interpolatedPath:J,line:D,linePath:W,lineSelectionHelper:U,root:le},Symbol.toStringTag,{value:"Module"}));class G extends A.XYComponentCore{constructor(e){super(),this._defaultConfig=re,this.config=this._defaultConfig,this.curve=q[g.MonotoneX],this.events={[G.selectors.line]:{mouseover:this._highlight.bind(this),mouseleave:this._resetHighlight.bind(this)}},e&&this.setConfig(e)}get bleed(){const{config:{lineWidth:e}}=this,i=this.yScale.domain(),s=(this.yScale.range()[0]>this.yScale.range()[1]?A.Direction.North:A.Direction.South)===A.Direction.South,o=e>3,a=e>=10;return{top:!a&&(!s&&i[1]===0||s&&i[0]===0)?0:e/2,bottom:!a&&(!s&&i[0]===0||s&&i[1]===0)?0:e/2,left:o?e/2:0,right:o?e/2:0}}_render(e){super._render(e);const{config:i,datamodel:{data:n}}=this,s=_.isNumber(e)?e:i.duration;this.curve=q[i.curveType],this.lineGen=dt().x(h=>h.x).y(h=>h.y).defined(h=>h.defined).curve(this.curve);const o=_.isArray(i.y)?i.y:[i.y],a=n.map((h,u)=>this.xScale(_.getNumber(h,i.x,u))),r=o.map(h=>{const u=n.map((p,v)=>{const y=_.getNumber(p,h,v),k=(_.isNumber(y)||y===null)&&isFinite(y)?y:i.fallbackValue,T=i.interpolateMissingData?(_.isNumber(y)||y===null)&&isFinite(y):isFinite(k);return{x:a[v],y:this.yScale(k??0),defined:T,value:k}}),x=u.reduce((p,v)=>v.defined||p,!1);let m=!1;const S=u.reduce((p,v,y)=>{!v.defined&&isFinite(i.fallbackValue)&&p.push(Object.assign(Object.assign({},v),{defined:!0})),!v.defined&&!m&&(m=!0);const k=y>0&&!u[y-1].defined||y<u.length-1&&!u[y+1].defined;return v.defined&&k&&(m||p.push(Object.assign(Object.assign({},v),{defined:!1})),p.push(v),m=!1),p},[]),f=x&&u.some(p=>p.value!==null);return{values:u,defined:x,gaps:S,visible:f}}),l=this.g.selectAll(`.${D}`).data(r),d=l.enter().append("g").attr("class",D);d.append("path").attr("class",W).attr("stroke",(h,u)=>_.getColor(n,i.color,u)).attr("stroke-opacity",0).attr("stroke-width",i.lineWidth),d.append("path").attr("class",U).attr("d",this._emptyPath()),d.append("path").attr("class",J).attr("d",this._emptyPath()).style("opacity",0);const c=d.merge(l);c.style("cursor",(h,u)=>_.getString(n,i.cursor,u)),c.each((h,u,x)=>{var m;const S=_.select(x[u]),f=S.select(`.${W}`),p=S.select(`.${U}`),v=S.select(`.${J}`),y=h.visible,k=_.getValue(n,i.lineDashArray,u),T=_.smartTransition(f,s).attr("stroke",_.getColor(n,i.color,u)).attr("stroke-width",i.lineWidth).attr("stroke-opacity",y?1:0).style("stroke-dasharray",(m=k?.join(" "))!==null&&m!==void 0?m:null),M=h.values.some(C=>!C.defined),O=this.lineGen(h.values);if(s&&!M){const C=f.attr("d")||this._emptyPath(),P=O||this._emptyPath();T.attrTween("d",()=>Ct(C,P))}else h.visible&&T.attr("d",O);p.attr("d",O).attr("visibility",y?null:"hidden"),M&&i.interpolateMissingData?_.smartTransition(v,s).attr("d",this.lineGen(h.gaps)).attr("stroke",_.getColor(n,i.color,u)).attr("stroke-width",i.lineWidth-1).style("opacity",1):v.transition().duration(s).style("opacity",0)}),_.smartTransition(l.exit(),s).style("opacity",0).remove()}_emptyPath(){const e=this.xScale.range(),i=this.yScale.range();return`M${e[0]},${i[0]} L${e[1]},${i[0]}`}_highlight(e){const{config:i}=this;i.highlightOnHover&&this.g.selectAll(`.${D}`).classed(Q,n=>n!==e)}_resetHighlight(){const{config:e}=this;e.highlightOnHover&&this.g.selectAll(`.${D}`).classed(Q,!1)}}G.selectors=he;const ce=Object.assign(Object.assign({},A.XYComponentDefaultConfig),{color:void 0,curveType:g.MonotoneX,baseline:()=>0,opacity:1,cursor:null,minHeight1Px:!1,minHeight:void 0}),Pt=_.css`
37
+ label: area-component;
38
+ `,_e=_.injectGlobal`
39
+ :root {
40
+ --vis-area-cursor: default;
41
+ --vis-area-fill-opacity: 1;
42
+ --vis-area-stroke-color: none;
43
+ --vis-area-stroke-width: 0px;
44
+ --vis-area-stroke-dasharray: none;
45
+ --vis-area-stroke-opacity: 1;
46
+ --vis-area-hover-fill-opacity: none;
47
+ --vis-area-hover-stroke-width: none;
48
+
49
+ /* Dark Theme */
50
+ --vis-dark-area-stroke-color: none;
51
+ }
52
+
53
+ body.theme-dark ${`.${Pt}`} {
54
+ --vis-area-stroke-color: var(--vis-dark-area-stroke-color);
55
+ }
56
+
57
+ `,K=_.css`
58
+ label: area;
59
+ cursor: var(--vis-area-cursor);
60
+ fill-opacity: var(--vis-area-fill-opacity);
61
+ stroke-width: var(--vis-area-stroke-width);
62
+ stroke-dasharray: var(--vis-area-stroke-dasharray);
63
+ stroke: var(--vis-area-stroke-color);
64
+ stroke-opacity: var(--vis-area-stroke-opacity);
65
+
66
+ &:hover {
67
+ fill-opacity: var(--vis-area-hover-fill-opacity);
68
+ stroke-width: var(--vis-area-hover-stroke-width);
69
+ }
70
+ `,ue=Object.freeze(Object.defineProperty({__proto__:null,area:K,globalStyles:_e,root:Pt},Symbol.toStringTag,{value:"Module"}));class V extends A.XYComponentCore{constructor(e){super(),this._defaultConfig=ce,this.config=this._defaultConfig,this.stacked=!0,this.events={[V.selectors.area]:{}},e&&this.setConfig(e),this.stacked=Array.isArray(this.config.y)}_render(e){super._render(e);const{config:i,datamodel:{data:n}}=this,s=_.isNumber(e)?e:i.duration,o=q[i.curveType];this._areaGen=At().x(f=>f.x).y0(f=>f.y0).y1(f=>f.y1).curve(o);const a=_.isArray(i.y)?i.y:[i.y],r=n.map((f,p)=>this.xScale(_.getNumber(f,i.x,p))),l=_.getStackedData(n,i.baseline,a,this._prevNegative);this._prevNegative=l.map(f=>!!f.isMostlyNegative);const d=[],c=l.map(f=>f.map((p,v)=>{var y,k;const T=r[v],M=this.yScale(p[0]),O=this.yScale(p[1]),C=O>M,P=d[v]||0,B=C?M+P:M-P,R=C?O+P:O-P;let $=0;return(i.minHeight||i.minHeight1Px)&&Math.abs(R-B)<((y=i.minHeight)!==null&&y!==void 0?y:1)&&($=((k=i.minHeight)!==null&&k!==void 0?k:1)-Math.abs(R-B),d[v]=P+$),{x:T,y0:B,y1:C?R+$:R-$}})),h=c.length-1,u=c.reverse(),x=this.g.selectAll(`.${K}`).data(u),m=x.enter().append("path").attr("class",K).attr("d",f=>this._areaGen(f)||this._emptyPath()).style("opacity",0).style("fill",(f,p)=>_.getColor(n,i.color,h-p)),S=_.smartTransition(m.merge(x),s).style("opacity",(f,p)=>f.some(y=>y.y0-y.y1!==0)?_.getNumber(n,i.opacity,h-p):0).style("fill",(f,p)=>_.getColor(n,i.color,h-p)).style("cursor",(f,p)=>_.getString(n,i.cursor,h-p));s?S.attrTween("d",(p,v,y)=>{const k=_.select(y[v]).attr("d"),T=this._areaGen(p)||this._emptyPath();return Ct(k,T)}):S.attr("d",f=>this._areaGen(f)||this._emptyPath()),_.smartTransition(x.exit(),s).style("opacity",0).remove()}getYDataExtent(e){const{config:i,datamodel:n}=this,s=_.isArray(i.y)?i.y:[i.y],o=e?_.filterDataByRange(n.data,this.xScale.domain(),i.x):n.data;return _.getStackedExtent(o,i.baseline,...s)}_emptyPath(){const e=this.xScale.range(),i=this.yScale.domain(),n=this.yScale((i[0]+i[1])/2),s=n;return this._areaGen([{y0:n,y1:s,x:e[0]},{y0:n,y1:s,x:e[1]}])}}V.selectors=ue;const fe={"data-vis-component":""},pe=b.defineComponent({__name:"index",props:{color:{},curveType:{},baseline:{},opacity:{},cursor:{},minHeight1Px:{type:Boolean},minHeight:{},x:{},y:{},id:{type:Function},xScale:{type:[Object,Function]},yScale:{type:[Object,Function]},excludeFromDomainCalculation:{type:Boolean},duration:{},events:{},attributes:{},data:{}},setup(t,{expose:e}){const i=b.inject(_.o),n=t,s=b.computed(()=>i.data.value??n.data),o=_.m(n),a=b.ref();return b.onMounted(()=>{b.nextTick(()=>{var r;a.value=new V(o.value),(r=a.value)==null||r.setData(s.value),i.update(a.value)})}),b.onUnmounted(()=>{var r;(r=a.value)==null||r.destroy(),i.destroy()}),b.watch(o,(r,l)=>{var d;_.f(r,l)||(d=a.value)==null||d.setConfig(o.value)}),b.watch(s,()=>{var r;(r=a.value)==null||r.setData(s.value)}),e({component:a}),(r,l)=>(b.openBlock(),b.createElementBlock("div",fe))}}),ye={"data-vis-component":""},de=b.defineComponent({__name:"index",props:{color:{},curveType:{},lineWidth:{},lineDashArray:{},fallbackValue:{},highlightOnHover:{type:Boolean},cursor:{},interpolateMissingData:{type:Boolean},x:{},y:{},id:{type:Function},xScale:{type:[Object,Function]},yScale:{type:[Object,Function]},excludeFromDomainCalculation:{type:Boolean},duration:{},events:{},attributes:{},data:{}},setup(t,{expose:e}){const i=b.inject(_.o),n=t,s=b.computed(()=>i.data.value??n.data),o=_.m(n),a=b.ref();return b.onMounted(()=>{b.nextTick(()=>{var r;a.value=new G(o.value),(r=a.value)==null||r.setData(s.value),i.update(a.value)})}),b.onUnmounted(()=>{var r;(r=a.value)==null||r.destroy(),i.destroy()}),b.watch(o,(r,l)=>{var d;_.f(r,l)||(d=a.value)==null||d.setConfig(o.value)}),b.watch(s,()=>{var r;(r=a.value)==null||r.setData(s.value)}),e({component:a}),(r,l)=>(b.openBlock(),b.createElementBlock("div",ye))}});exports.P=pe;exports.S=de;
@@ -1,5 +1,5 @@
1
- import { c as E, a as y, d as O, t as W, e as z, p as M, i as R, b as B } from "./index-D30apIn-.mjs";
2
- import { computed as b, shallowRef as p, watch as S, toValue as w, watchEffect as H, hasInjectionContext as C, unref as N, getCurrentInstance as T, onMounted as L } from "vue";
1
+ import { c as E, a as y, t as W, e as z, d as O, p as M, i as R, b as B } from "./index-L54VBzwJ.mjs";
2
+ import { shallowRef as p, watch as S, computed as b, toValue as w, watchEffect as H, hasInjectionContext as C, unref as N, getCurrentInstance as T, onMounted as L } from "vue";
3
3
  const g = y ? window : void 0;
4
4
  function m(o) {
5
5
  var e;
@@ -41,26 +41,23 @@ function I(...o) {
41
41
  };
42
42
  return O(u), l;
43
43
  }
44
- // @__NO_SIDE_EFFECTS__
45
44
  function P() {
46
45
  const o = p(!1), e = T();
47
46
  return e && L(() => {
48
47
  o.value = !0;
49
48
  }, e), o;
50
49
  }
51
- // @__NO_SIDE_EFFECTS__
52
50
  function V(o) {
53
- const e = /* @__PURE__ */ P();
51
+ const e = P();
54
52
  return b(() => (e.value, !!o()));
55
53
  }
56
54
  const j = /* @__PURE__ */ Symbol("vueuse-ssr-width");
57
- // @__NO_SIDE_EFFECTS__
58
55
  function A() {
59
56
  const o = C() ? R(j, null) : null;
60
57
  return typeof o == "number" ? o : void 0;
61
58
  }
62
59
  function F(o, e = {}) {
63
- const { window: u = g, ssrWidth: f = /* @__PURE__ */ A() } = e, d = /* @__PURE__ */ V(() => u && "matchMedia" in u && typeof u.matchMedia == "function"), h = p(typeof f == "number"), l = p(), t = p(!1), i = (s) => {
60
+ const { window: u = g, ssrWidth: f = A() } = e, d = V(() => u && "matchMedia" in u && typeof u.matchMedia == "function"), h = p(typeof f == "number"), l = p(), t = p(!1), i = (s) => {
64
61
  t.value = s.matches;
65
62
  };
66
63
  return H(() => {
@@ -80,7 +77,7 @@ function F(o, e = {}) {
80
77
  function Q(o, e, u = {}) {
81
78
  const { window: f = g, ...d } = u;
82
79
  let h;
83
- const l = /* @__PURE__ */ V(() => f && "ResizeObserver" in f), t = () => {
80
+ const l = V(() => f && "ResizeObserver" in f), t = () => {
84
81
  h && (h.disconnect(), h = void 0);
85
82
  }, i = b(() => {
86
83
  const n = w(o);
@@ -144,7 +141,6 @@ function D(o, e = { width: 0, height: 0 }, u = {}) {
144
141
  stop: c
145
142
  };
146
143
  }
147
- // @__NO_SIDE_EFFECTS__
148
144
  function G(o = {}) {
149
145
  const {
150
146
  window: e = g,