@oliasoft-open-source/charts-library 5.2.2 → 5.4.0

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 (27) hide show
  1. package/dist/assets/{Color-AVL7NMMY-Cb2-bd5I.js → Color-AVL7NMMY-994VbFdE.js} +1 -1
  2. package/dist/assets/{DocsRenderer-PQXLIZUC-CjYFY4v1.js → DocsRenderer-PQXLIZUC-bAUpr2nb.js} +2 -2
  3. package/dist/assets/{bar-chart.stories-DM307tLn.js → bar-chart.stories-BgSpvkVq.js} +1 -1
  4. package/dist/assets/client-BDy5C6da.js +1 -0
  5. package/dist/assets/{components-GkTcjyb8.js → components-Dh2frV4l.js} +1 -1
  6. package/dist/assets/{get-draggableData-Bobxhi2c.js → get-draggableData-DaqZhgHK.js} +1 -1
  7. package/dist/assets/{iframe-ssGAGOoN.js → iframe-D8t45Jkw.js} +5 -5
  8. package/dist/assets/{legend-BhtvtFF5.js → legend-CPlrxuvf.js} +1 -1
  9. package/dist/assets/{legend-context-BjaECN31.js → legend-context-SNdgAaoM.js} +3 -3
  10. package/dist/assets/{line-chart-BmcE7UzQ.js → line-chart-WOEGLOk2.js} +1 -1
  11. package/dist/assets/{line-chart.stories-C_rP3xzY.js → line-chart.stories-ChpI0UHM.js} +13 -9
  12. package/dist/assets/{line-chart.test-case.stories-_ccmREqm.js → line-chart.test-case.stories-B-SWX8h6.js} +1 -1
  13. package/dist/assets/{pie-chart.stories-Kl-j-Lt6.js → pie-chart.stories-CBcjkrFA.js} +1 -1
  14. package/dist/assets/{react-18-BJiLw6wy.js → react-18-DMqmYXih.js} +1 -1
  15. package/dist/assets/{react-C7bT4huM.js → react-BgjAoB93.js} +1 -1
  16. package/dist/assets/{scatter-chart.stories-BeIk_1_v.js → scatter-chart.stories-BqsR5bsR.js} +1 -1
  17. package/dist/common/common.interface.d.ts +1 -0
  18. package/dist/common/helpers/add-transparency/add-transparency.d.ts +1 -0
  19. package/dist/common/helpers/get-chart-annotation.d.ts +1 -0
  20. package/dist/iframe.html +1 -1
  21. package/dist/index.js +17 -8
  22. package/dist/index.json +1 -1
  23. package/dist/project.json +1 -1
  24. package/dist/src/components/common/common.interface.d.ts +6 -0
  25. package/dist/src/components/line-chart/utils/get-line-chart-tooltips.d.ts +4 -8
  26. package/package.json +1 -1
  27. package/dist/assets/client-D0XldUgU.js +0 -1
@@ -1,4 +1,4 @@
1
- import{_t as e,at as t,dt as n,ft as r,gt as i,ht as a,it as o,mt as s,pt as c}from"./iframe-ssGAGOoN.js";import{$ as l,$t as u,Bt as d,Et as f,Ft as p,Gt as m,Ht as h,It as g,Jt as _,Kt as v,Lt as y,Q as b,Qt as x,Rt as S,S as C,Tt as w,Ut as T,V as E,Vt as D,Wt as O,Xt as k,Yt as A,Zt as j,an as M,at as N,bt as P,c as F,ct as I,dt as L,en as ee,ft as te,in as R,it as ne,j as re,lt as ie,m as ae,nn as oe,nt as z,ot as se,pt as ce,qt as le,rn as B,st as ue,t as de,tn as V,wt as fe,zt as pe}from"./legend-context-BjaECN31.js";var me={modes:{point(e,t){return ve(e,t,{intersect:!0})},nearest(e,t,n){return ye(e,t,n)},x(e,t,n){return ve(e,t,{intersect:n.intersect,axis:`x`})},y(e,t,n){return ve(e,t,{intersect:n.intersect,axis:`y`})}}};function he(e,t,n){return(me.modes[n.mode]||me.modes.nearest)(e,t,n)}function ge(e,t,n){return n!==`x`&&n!==`y`?e.inRange(t.x,t.y,`x`,!0)||e.inRange(t.x,t.y,`y`,!0):e.inRange(t.x,t.y,n,!0)}function _e(e,t,n){return n===`x`?{x:e.x,y:t.y}:n===`y`?{x:t.x,y:e.y}:t}function ve(e,t,n){return e.filter(e=>n.intersect?e.inRange(t.x,t.y):ge(e,t,n.axis))}function ye(e,t,n){let r=1/0;return ve(e,t,n).reduce((e,i)=>{let a=v(t,_e(t,i.getCenterPoint(),n.axis));return a<r?(e=[i],r=a):a===r&&e.push(i),e},[]).sort((e,t)=>e._index-t._index).slice(0,1)}function be(e,t,n){let r=Math.cos(n),i=Math.sin(n),a=t.x,o=t.y;return{x:a+r*(e.x-a)-i*(e.y-o),y:o+i*(e.x-a)+r*(e.y-o)}}var xe=(e,t)=>t>e||e.length>t.length&&e.slice(0,t.length)===t,Se=.001,Ce=(e,t,n)=>Math.min(n,Math.max(t,e)),we=(e,t)=>e.value>=e.start-t&&e.value<=e.end+t;function Te(e,t,n){for(let r of Object.keys(e))e[r]=Ce(e[r],t,n);return e}function Ee(e,t,n,r){return!e||!t||n<=0?!1:(e.x-t.x)**2+(e.y-t.y)**2<=(n+r)**2}function De(e,{x:t,y:n,x2:r,y2:i},a,{borderWidth:o,hitTolerance:s}){let c=(o+s)/2,l=e.x>=t-c-Se&&e.x<=r+c+Se,u=e.y>=n-c-Se&&e.y<=i+c+Se;return a===`x`?l:(a===`y`||l)&&u}function Oe(e,{rect:t,center:n},r,{rotation:i,borderWidth:a,hitTolerance:o}){return De(be(e,n,oe(-i)),t,r,{borderWidth:a,hitTolerance:o})}function ke(e,t){let{centerX:n,centerY:r}=e.getProps([`centerX`,`centerY`],t);return{x:n,y:r}}function Ae(e,t,n,r=!0){let i=n.split(`.`),a=0;for(let o of t.split(`.`)){let s=i[a++];if(parseInt(o,10)<parseInt(s,10))break;if(xe(s,o)){if(r)throw Error(`${e} v${n} is not supported. v${t} or newer is required.`);return!1}}return!0}var je=e=>typeof e==`string`&&e.endsWith(`%`),Me=e=>parseFloat(e)/100,Ne=e=>Ce(Me(e),0,1),Pe=(e,t)=>({x:e,y:t,x2:e,y2:t,width:0,height:0}),Fe={box:e=>Pe(e.centerX,e.centerY),doughnutLabel:e=>Pe(e.centerX,e.centerY),ellipse:e=>({centerX:e.centerX,centerY:e.centerX,radius:0,width:0,height:0}),label:e=>Pe(e.centerX,e.centerY),line:e=>Pe(e.x,e.y),point:e=>({centerX:e.centerX,centerY:e.centerY,radius:0,width:0,height:0}),polygon:e=>Pe(e.centerX,e.centerY)};function Ie(e,t){return t===`start`?0:t===`end`?e:je(t)?Ne(t)*e:e/2}function Le(e,t,n=!0){return typeof t==`number`?t:je(t)?(n?Ne(t):Me(t))*e:e}function Re(e,t){let{x:n,width:r}=e,i=t.textAlign;return i===`center`?n+r/2:i===`end`||i===`right`?n+r:n}function ze(e,t,{borderWidth:n,position:r,xAdjust:i,yAdjust:a},o){let s=x(o),c=t.width+(s?o.width:0)+n,l=t.height+(s?o.height:0)+n,u=Be(r),d=We(e.x,c,i,u.x),f=We(e.y,l,a,u.y);return{x:d,y:f,x2:d+c,y2:f+l,width:c,height:l,centerX:d+c/2,centerY:f+l/2}}function Be(e,t=`center`){return x(e)?{x:M(e.x,t),y:M(e.y,t)}:(e=M(e,t),{x:e,y:e})}var Ve=(e,t)=>e&&e.autoFit&&t<1;function He(e,t){let n=e.font,r=_(n)?n:[n];return Ve(e,t)?r.map(function(e){let n=ee(e);return n.size=Math.floor(e.size*t),n.lineHeight=e.lineHeight,ee(n)}):r.map(e=>ee(e))}function Ue(e){return e&&(m(e.xValue)||m(e.yValue))}function We(e,t,n=0,r){return e-Ie(t,r)+n}function Ge(e,t,n){let r=n.init;if(r){if(r===!0)return qe(t,n)}else return;return Je(e,t,n)}function Ke(e,t,n){let r=!1;return t.forEach(t=>{A(e[t])?(r=!0,n[t]=e[t]):m(n[t])&&delete n[t]}),r}function qe(e,t){return Fe[t.type||`line`](e)}function Je(e,t,n){let r=h(n.init,[{chart:e,properties:t,options:n}]);if(r===!0)return qe(t,n);if(x(r))return r}var Ye=new Map,Xe=e=>isNaN(e)||e<=0,Ze=e=>e.reduce(function(e,t){return e+=t.string,e},``);function Qe(e){if(e&&typeof e==`object`){let t=e.toString();return t===`[object HTMLImageElement]`||t===`[object HTMLCanvasElement]`}}function $e(e,{x:t,y:n},r){r&&(e.translate(t,n),e.rotate(oe(r)),e.translate(-t,-n))}function et(e,t){if(t&&t.borderWidth)return e.lineCap=t.borderCapStyle||`butt`,e.setLineDash(t.borderDash),e.lineDashOffset=t.borderDashOffset,e.lineJoin=t.borderJoinStyle||`miter`,e.lineWidth=t.borderWidth,e.strokeStyle=t.borderColor,!0}function tt(e,t){e.shadowColor=t.backgroundShadowColor,e.shadowBlur=t.shadowBlur,e.shadowOffsetX=t.shadowOffsetX,e.shadowOffsetY=t.shadowOffsetY}function nt(e,t){let n=t.content;if(Qe(n))return{width:Le(n.width,t.width),height:Le(n.height,t.height)};let r=He(t),i=t.textStrokeWidth,a=_(n)?n:[n],o=a.join()+Ze(r)+i+(e._measureText?`-spriting`:``);return Ye.has(o)||Ye.set(o,ct(e,a,r,i)),Ye.get(o)}function rt(e,t,n){let{x:r,y:i,width:a,height:o}=t;e.save(),tt(e,n);let s=et(e,n);e.fillStyle=n.backgroundColor,e.beginPath(),D(e,{x:r,y:i,w:a,h:o,radius:Te(B(n.borderRadius),0,Math.min(a,o)/2)}),e.closePath(),e.fill(),s&&(e.shadowColor=n.borderShadowColor,e.stroke()),e.restore()}function it(e,t,n,r){let i=n.content;if(Qe(i)){e.save(),e.globalAlpha=dt(n.opacity,i.style.opacity),e.drawImage(i,t.x,t.y,t.width,t.height),e.restore();return}let a=_(i)?i:[i],o=He(n,r),s=n.color,c=_(s)?s:[s],l=Re(t,n),u=t.y+n.textStrokeWidth/2;e.save(),e.textBaseline=`middle`,e.textAlign=n.textAlign,at(e,n)&&lt(e,{x:l,y:u},a,o),ut(e,{x:l,y:u},a,{fonts:o,colors:c}),e.restore()}function at(e,t){if(t.textStrokeWidth>0)return e.lineJoin=`round`,e.miterLimit=2,e.lineWidth=t.textStrokeWidth,e.strokeStyle=t.textStrokeColor,!0}function ot(e,t,n,r){let{radius:i,options:a}=t,o=a.pointStyle,s=a.rotation,c=(s||0)*S;if(Qe(o)){e.save(),e.translate(n,r),e.rotate(c),e.drawImage(o,-o.width/2,-o.height/2,o.width,o.height),e.restore();return}Xe(i)||st(e,{x:n,y:r,radius:i,rotation:s,style:o,rad:c})}function st(e,{x:t,y:n,radius:r,rotation:i,style:a,rad:o}){let s,c,l,u;switch(e.beginPath(),a){default:e.arc(t,n,r,0,pe),e.closePath();break;case`triangle`:e.moveTo(t+Math.sin(o)*r,n-Math.cos(o)*r),o+=d,e.lineTo(t+Math.sin(o)*r,n-Math.cos(o)*r),o+=d,e.lineTo(t+Math.sin(o)*r,n-Math.cos(o)*r),e.closePath();break;case`rectRounded`:u=r*.516,l=r-u,s=Math.cos(o+y)*l,c=Math.sin(o+y)*l,e.arc(t-s,n-c,u,o-g,o-p),e.arc(t+c,n-s,u,o-p,o),e.arc(t+s,n+c,u,o,o+p),e.arc(t-c,n+s,u,o+p,o+g),e.closePath();break;case`rect`:if(!i){l=Math.SQRT1_2*r,e.rect(t-l,n-l,2*l,2*l);break}o+=y;case`rectRot`:s=Math.cos(o)*r,c=Math.sin(o)*r,e.moveTo(t-s,n-c),e.lineTo(t+c,n-s),e.lineTo(t+s,n+c),e.lineTo(t-c,n+s),e.closePath();break;case`crossRot`:o+=y;case`cross`:s=Math.cos(o)*r,c=Math.sin(o)*r,e.moveTo(t-s,n-c),e.lineTo(t+s,n+c),e.moveTo(t+c,n-s),e.lineTo(t-c,n+s);break;case`star`:s=Math.cos(o)*r,c=Math.sin(o)*r,e.moveTo(t-s,n-c),e.lineTo(t+s,n+c),e.moveTo(t+c,n-s),e.lineTo(t-c,n+s),o+=y,s=Math.cos(o)*r,c=Math.sin(o)*r,e.moveTo(t-s,n-c),e.lineTo(t+s,n+c),e.moveTo(t+c,n-s),e.lineTo(t-c,n+s);break;case`line`:s=Math.cos(o)*r,c=Math.sin(o)*r,e.moveTo(t-s,n-c),e.lineTo(t+s,n+c);break;case`dash`:e.moveTo(t,n),e.lineTo(t+Math.cos(o)*r,n+Math.sin(o)*r);break}e.fill()}function ct(e,t,n,r){e.save();let i=t.length,a=0,o=r;for(let s=0;s<i;s++){let i=n[Math.min(s,n.length-1)];e.font=i.string;let c=t[s];a=Math.max(a,e.measureText(c).width+r),o+=i.lineHeight}return e.restore(),{width:a,height:o}}function lt(e,{x:t,y:n},r,i){e.beginPath();let a=0;r.forEach(function(r,o){let s=i[Math.min(o,i.length-1)],c=s.lineHeight;e.font=s.string,e.strokeText(r,t,n+c/2+a),a+=c}),e.stroke()}function ut(e,{x:t,y:n},r,{fonts:i,colors:a}){let o=0;r.forEach(function(r,s){let c=a[Math.min(s,a.length-1)],l=i[Math.min(s,i.length-1)],u=l.lineHeight;e.beginPath(),e.font=l.string,e.fillStyle=c,e.fillText(r,t,n+u/2+o),o+=u,e.fill()})}function dt(e,t){let n=k(e)?e:t;return k(n)?Ce(n,0,1):1}var ft=[`left`,`bottom`,`top`,`right`];function pt(e,t){let{pointX:n,pointY:r,options:i}=t,a=i.callout,o=a&&a.display&&vt(t,a);if(!o||bt(t,a,o))return;if(e.save(),e.beginPath(),!et(e,a))return e.restore();let{separatorStart:s,separatorEnd:c}=mt(t,o),{sideStart:l,sideEnd:u}=gt(t,o,s);(a.margin>0||i.borderWidth===0)&&(e.moveTo(s.x,s.y),e.lineTo(c.x,c.y)),e.moveTo(l.x,l.y),e.lineTo(u.x,u.y);let d=be({x:n,y:r},t.getCenterPoint(),oe(-t.rotation));e.lineTo(d.x,d.y),e.stroke(),e.restore()}function mt(e,t){let{x:n,y:r,x2:i,y2:a}=e,o=ht(e,t),s,c;return t===`left`||t===`right`?(s={x:n+o,y:r},c={x:s.x,y:a}):(s={x:n,y:r+o},c={x:i,y:s.y}),{separatorStart:s,separatorEnd:c}}function ht(e,t){let{width:n,height:r,options:i}=e,a=i.callout.margin+i.borderWidth/2;return t===`right`?n+a:t===`bottom`?r+a:-a}function gt(e,t,n){let{y:r,width:i,height:a,options:o}=e,s=o.callout.start,c=_t(t,o.callout),l,u;return t===`left`||t===`right`?(l={x:n.x,y:r+Le(a,s)},u={x:l.x+c,y:l.y}):(l={x:n.x+Le(i,s),y:n.y},u={x:l.x,y:l.y+c}),{sideStart:l,sideEnd:u}}function _t(e,t){let n=t.side;return e===`left`||e===`top`?-n:n}function vt(e,t){let n=t.position;return ft.includes(n)?n:yt(e,t)}function yt(e,t){let{x:n,y:r,x2:i,y2:a,width:o,height:s,pointX:c,pointY:l,centerX:u,centerY:d,rotation:f}=e,p={x:u,y:d},m=t.start,h=Le(o,m),g=Le(s,m),_=[n,n+h,n+h,i],y=[r+g,a,r,a],b=[];for(let e=0;e<4;e++){let t=be({x:_[e],y:y[e]},p,oe(f));b.push({position:ft[e],distance:v(t,{x:c,y:l})})}return b.sort((e,t)=>e.distance-t.distance)[0].position}function bt(e,t,n){let{pointX:r,pointY:i}=e,a=t.margin,o=r,s=i;return n===`left`?o+=a:n===`right`?o-=a:n===`top`?s+=a:n===`bottom`&&(s-=a),e.inRange(o,s)}var xt={xScaleID:{min:`xMin`,max:`xMax`,start:`left`,end:`right`,startProp:`x`,endProp:`x2`},yScaleID:{min:`yMin`,max:`yMax`,start:`bottom`,end:`top`,startProp:`y`,endProp:`y2`}};function St(e,t,n){return t=typeof t==`number`?t:e.parse(t),j(t)?e.getPixelForValue(t):n}function Ct(e,t,n){let r=t[n];if(r||n===`scaleID`)return r;let i=n.charAt(0),a=Object.values(e).filter(e=>e.axis&&e.axis===i);return a.length?a[0].id:i}function wt(e,t){if(e){let n=e.options.reverse;return{start:St(e,t.min,n?t.end:t.start),end:St(e,t.max,n?t.start:t.end)}}}function Tt(e,t){let{chartArea:n,scales:r}=e,i=r[Ct(r,t,`xScaleID`)],a=r[Ct(r,t,`yScaleID`)],o=n.width/2,s=n.height/2;return i&&(o=St(i,t.xValue,i.left+i.width/2)),a&&(s=St(a,t.yValue,a.top+a.height/2)),{x:o,y:s}}function Et(e,t){let n=e.scales,r=n[Ct(n,t,`xScaleID`)],i=n[Ct(n,t,`yScaleID`)];if(!r&&!i)return{};let{left:a,right:o}=r||e.chartArea,{top:s,bottom:c}=i||e.chartArea,l=jt(r,{min:t.xMin,max:t.xMax,start:a,end:o});a=l.start,o=l.end;let u=jt(i,{min:t.yMin,max:t.yMax,start:c,end:s});return s=u.start,c=u.end,{x:a,y:s,x2:o,y2:c,width:o-a,height:c-s,centerX:a+(o-a)/2,centerY:s+(c-s)/2}}function Dt(e,t){if(!Ue(t)){let n=Et(e,t),r=t.radius;(!r||isNaN(r))&&(r=Math.min(n.width,n.height)/2,t.radius=r);let i=r*2,a=n.centerX+t.xAdjust,o=n.centerY+t.yAdjust;return{x:a-r,y:o-r,x2:a+r,y2:o+r,centerX:a,centerY:o,width:i,height:i,radius:r}}return At(e,t)}function Ot(e,t){let{scales:n,chartArea:r}=e,i=n[t.scaleID],a={x:r.left,y:r.top,x2:r.right,y2:r.bottom};return i?Mt(i,a,t):Nt(n,a,t),a}function kt(e,t){let n=Et(e,t);return n.initProperties=Ge(e,n,t),n.elements=[{type:`label`,optionScope:`label`,properties:Lt(e,n,t),initProperties:n.initProperties}],n}function At(e,t){let n=Tt(e,t),r=t.radius*2;return{x:n.x-t.radius+t.xAdjust,y:n.y-t.radius+t.yAdjust,x2:n.x+t.radius+t.xAdjust,y2:n.y+t.radius+t.yAdjust,centerX:n.x+t.xAdjust,centerY:n.y+t.yAdjust,radius:t.radius,width:r,height:r}}function jt(e,t){let n=wt(e,t)||t;return{start:Math.min(n.start,n.end),end:Math.max(n.start,n.end)}}function Mt(e,t,n){let r=St(e,n.value,NaN),i=St(e,n.endValue,r);e.isHorizontal()?(t.x=r,t.x2=i):(t.y=r,t.y2=i)}function Nt(e,t,n){for(let r of Object.keys(xt)){let i=e[Ct(e,n,r)];if(i){let{min:e,max:a,start:o,end:s,startProp:c,endProp:l}=xt[r],u=wt(i,{min:n[e],max:n[a],start:i[o],end:i[s]});t[c]=u.start,t[l]=u.end}}}function Pt({properties:e,options:t},n,r,i){let{x:a,x2:o,width:s}=e;return It({start:a,end:o,size:s,borderWidth:t.borderWidth},{position:r.x,padding:{start:i.left,end:i.right},adjust:t.label.xAdjust,size:n.width})}function Ft({properties:e,options:t},n,r,i){let{y:a,y2:o,height:s}=e;return It({start:a,end:o,size:s,borderWidth:t.borderWidth},{position:r.y,padding:{start:i.top,end:i.bottom},adjust:t.label.yAdjust,size:n.height})}function It(e,t){let{start:n,end:r,borderWidth:i}=e,{position:a,padding:{start:o,end:s},adjust:c}=t,l=r-i-n-o-s-t.size;return n+i/2+c+Ie(l,a)}function Lt(e,t,n){let r=n.label;r.backgroundColor=`transparent`,r.callout.display=!1;let i=Be(r.position),a=V(r.padding),o=nt(e.ctx,r),s=Pt({properties:t,options:n},o,i,a),c=Ft({properties:t,options:n},o,i,a),l=o.width+a.width,u=o.height+a.height;return{x:s,y:c,x2:s+l,y2:c+u,width:l,height:u,centerX:s+l/2,centerY:c+u/2,rotation:r.rotation}}var Rt=[`enter`,`leave`],zt=Rt.concat(`click`);function Bt(e,t,n){t.listened=Ke(n,zt,t.listeners),t.moveListened=!1,Rt.forEach(e=>{A(n[e])&&(t.moveListened=!0)}),(!t.listened||!t.moveListened)&&t.annotations.forEach(e=>{!t.listened&&A(e.click)&&(t.listened=!0),t.moveListened||Rt.forEach(n=>{A(e[n])&&(t.listened=!0,t.moveListened=!0)})})}function Vt(e,t,n){if(e.listened)switch(t.type){case`mousemove`:case`mouseout`:return Ht(e,t,n);case`click`:return Wt(e,t,n)}}function Ht(e,t,n){if(!e.moveListened)return;let r;r=t.type===`mousemove`?he(e.visibleElements,t,n.interaction):[];let i=e.hovered;e.hovered=r;let a={state:e,event:t},o=Ut(a,`leave`,i,r);return Ut(a,`enter`,r,i)||o}function Ut({state:e,event:t},n,r,i){let a;for(let o of r)i.indexOf(o)<0&&(a=Gt(o.options[n]||e.listeners[n],o,t)||a);return a}function Wt(e,t,n){let r=e.listeners,i=he(e.visibleElements,t,n.interaction),a;for(let e of i)a=Gt(e.options.click||r.click,e,t)||a;return a}function Gt(e,t,n){return h(e,[t.$context,n])===!0}var Kt=[`afterDraw`,`beforeDraw`];function qt(e,t,n){let r=t.visibleElements;t.hooked=Ke(n,Kt,t.hooks),t.hooked||r.forEach(e=>{t.hooked||Kt.forEach(n=>{A(e.options[n])&&(t.hooked=!0)})})}function Jt(e,t,n){if(e.hooked)return h(t.options[n]||e.hooks[n],[t.$context])}function Yt(e,t,n){let r=tn(e.scales,t,n),i=Zt(t,r,`min`,`suggestedMin`);i=Zt(t,r,`max`,`suggestedMax`)||i,i&&A(t.handleTickRangeOptions)&&t.handleTickRangeOptions()}function Xt(e,t){for(let n of e)$t(n,t)}function Zt(e,t,n,r){if(j(t[n])&&!Qt(e.options,n,r)){let r=e[n]!==t[n];return e[n]=t[n],r}}function Qt(e,t,n){return m(e[t])||m(e[n])}function $t(e,t){for(let n of[`scaleID`,`xScaleID`,`yScaleID`]){let r=Ct(t,e,n);r&&!t[r]&&en(e,n)&&console.warn(`No scale found with id '${r}' for annotation '${e.id}'`)}}function en(e,t){if(t===`scaleID`)return!0;let n=t.charAt(0);for(let t of[`Min`,`Max`,`Value`])if(m(e[n+t]))return!0;return!1}function tn(e,t,n){let r=t.axis,i=t.id,a=r+`ScaleID`,o={min:M(t.min,-1/0),max:M(t.max,1/0)};for(let s of n)s.scaleID===i?nn(s,t,[`value`,`endValue`],o):Ct(e,s,a)===i&&nn(s,t,[r+`Min`,r+`Max`,r+`Value`],o);return o}function nn(e,t,n,r){for(let i of n){let n=e[i];if(m(n)){let e=t.parse(n);r.min=Math.min(r.min,e),r.max=Math.max(r.max,e)}}}var rn=class extends f{inRange(e,t,n,r){let{x:i,y:a}=be({x:e,y:t},this.getCenterPoint(r),oe(-this.options.rotation));return De({x:i,y:a},this.getProps([`x`,`y`,`x2`,`y2`],r),n,this.options)}getCenterPoint(e){return ke(this,e)}draw(e){e.save(),$e(e,this.getCenterPoint(),this.options.rotation),rt(e,this,this.options),e.restore()}get label(){return this.elements&&this.elements[0]}resolveElementProperties(e,t){return kt(e,t)}};rn.id=`boxAnnotation`,rn.defaults={adjustScaleRange:!0,backgroundShadowColor:`transparent`,borderCapStyle:`butt`,borderDash:[],borderDashOffset:0,borderJoinStyle:`miter`,borderRadius:0,borderShadowColor:`transparent`,borderWidth:1,display:!0,init:void 0,hitTolerance:0,label:{backgroundColor:`transparent`,borderWidth:0,callout:{display:!1},color:`black`,content:null,display:!1,drawTime:void 0,font:{family:void 0,lineHeight:void 0,size:void 0,style:void 0,weight:`bold`},height:void 0,hitTolerance:void 0,opacity:void 0,padding:6,position:`center`,rotation:void 0,textAlign:`start`,textStrokeColor:void 0,textStrokeWidth:0,width:void 0,xAdjust:0,yAdjust:0,z:void 0},rotation:0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,xMax:void 0,xMin:void 0,xScaleID:void 0,yMax:void 0,yMin:void 0,yScaleID:void 0,z:0},rn.defaultRoutes={borderColor:`color`,backgroundColor:`color`},rn.descriptors={label:{_fallback:!0}};var an=class extends f{inRange(e,t,n,r){return Oe({x:e,y:t},{rect:this.getProps([`x`,`y`,`x2`,`y2`],r),center:this.getCenterPoint(r)},n,{rotation:this.rotation,borderWidth:0,hitTolerance:this.options.hitTolerance})}getCenterPoint(e){return ke(this,e)}draw(e){let t=this.options;!t.display||!t.content||(dn(e,this),e.save(),$e(e,this.getCenterPoint(),this.rotation),it(e,this,t,this._fitRatio),e.restore())}resolveElementProperties(e,t){let n=on(e,t);if(!n)return{};let{controllerMeta:r,point:i,radius:a}=cn(e,t,n),o=nt(e.ctx,t),s=ln(o,a);Ve(t,s)&&(o={width:o.width*s,height:o.height*s});let{position:c,xAdjust:l,yAdjust:u}=t,d=ze(i,o,{borderWidth:0,position:c,xAdjust:l,yAdjust:u});return{initProperties:Ge(e,d,t),...d,...r,rotation:t.rotation,_fitRatio:s}}};an.id=`doughnutLabelAnnotation`,an.defaults={autoFit:!0,autoHide:!0,backgroundColor:`transparent`,backgroundShadowColor:`transparent`,borderColor:`transparent`,borderDash:[],borderDashOffset:0,borderJoinStyle:`miter`,borderShadowColor:`transparent`,borderWidth:0,color:`black`,content:null,display:!0,font:{family:void 0,lineHeight:void 0,size:void 0,style:void 0,weight:void 0},height:void 0,hitTolerance:0,init:void 0,opacity:void 0,position:`center`,rotation:0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,spacing:1,textAlign:`center`,textStrokeColor:void 0,textStrokeWidth:0,width:void 0,xAdjust:0,yAdjust:0},an.defaultRoutes={};function on(e,t){return e.getSortedVisibleDatasetMetas().reduce(function(n,r){let i=r.controller;return i instanceof w&&sn(e,t,r.data)&&(!n||i.innerRadius<n.controller.innerRadius)&&i.options.circumference>=90?r:n},void 0)}function sn(e,t,n){if(!t.autoHide)return!0;for(let t=0;t<n.length;t++)if(!n[t].hidden&&e.getDataVisibility(t))return!0}function cn({chartArea:e},t,n){let{left:r,top:i,right:a,bottom:o}=e,{innerRadius:s,offsetX:c,offsetY:l}=n.controller,u=(r+a)/2+c,d=(i+o)/2+l,f={left:Math.max(u-s,r),right:Math.min(u+s,a),top:Math.max(d-s,i),bottom:Math.min(d+s,o)},p={x:(f.left+f.right)/2,y:(f.top+f.bottom)/2},m=t.spacing+t.borderWidth/2,h=s-m,g=p.y>d;return{controllerMeta:{_centerX:u,_centerY:d,_radius:h,_counterclockwise:g,...un(g?i+m:o-m,u,d,h)},point:p,radius:Math.min(s,Math.min(f.right-f.left,f.bottom-f.top)/2)}}function ln({width:e,height:t},n){let r=Math.sqrt(e**2+t**2);return n*2/r}function un(e,t,n,r){let i=(n-e)**2,a=r**2,o=t*-2,s=t**2+i-a,c=o**2-4*s;if(c<=0)return{_startAngle:0,_endAngle:pe};let l=(-o-Math.sqrt(c))/2,u=(-o+Math.sqrt(c))/2;return{_startAngle:le({x:t,y:n},{x:l,y:e}).angle,_endAngle:le({x:t,y:n},{x:u,y:e}).angle}}function dn(e,t){let{_centerX:n,_centerY:r,_radius:i,_startAngle:a,_endAngle:o,_counterclockwise:s,options:c}=t;e.save();let l=et(e,c);e.fillStyle=c.backgroundColor,e.beginPath(),e.arc(n,r,i,a,o,s),e.closePath(),e.fill(),l&&e.stroke(),e.restore()}var fn=class extends f{inRange(e,t,n,r){return Oe({x:e,y:t},{rect:this.getProps([`x`,`y`,`x2`,`y2`],r),center:this.getCenterPoint(r)},n,{rotation:this.rotation,borderWidth:this.options.borderWidth,hitTolerance:this.options.hitTolerance})}getCenterPoint(e){return ke(this,e)}draw(e){let t=this.options,n=!m(this._visible)||this._visible;!t.display||!t.content||!n||(e.save(),$e(e,this.getCenterPoint(),this.rotation),pt(e,this),rt(e,this,t),it(e,pn(this),t),e.restore())}resolveElementProperties(e,t){let n;if(Ue(t))n=Tt(e,t);else{let{centerX:r,centerY:i}=Et(e,t);n={x:r,y:i}}let r=V(t.padding),i=nt(e.ctx,t),a=ze(n,i,t,r);return{initProperties:Ge(e,a,t),pointX:n.x,pointY:n.y,...a,rotation:t.rotation}}};fn.id=`labelAnnotation`,fn.defaults={adjustScaleRange:!0,backgroundColor:`transparent`,backgroundShadowColor:`transparent`,borderCapStyle:`butt`,borderDash:[],borderDashOffset:0,borderJoinStyle:`miter`,borderRadius:0,borderShadowColor:`transparent`,borderWidth:0,callout:{borderCapStyle:`butt`,borderColor:void 0,borderDash:[],borderDashOffset:0,borderJoinStyle:`miter`,borderWidth:1,display:!1,margin:5,position:`auto`,side:5,start:`50%`},color:`black`,content:null,display:!0,font:{family:void 0,lineHeight:void 0,size:void 0,style:void 0,weight:void 0},height:void 0,hitTolerance:0,init:void 0,opacity:void 0,padding:6,position:`center`,rotation:0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,textAlign:`center`,textStrokeColor:void 0,textStrokeWidth:0,width:void 0,xAdjust:0,xMax:void 0,xMin:void 0,xScaleID:void 0,xValue:void 0,yAdjust:0,yMax:void 0,yMin:void 0,yScaleID:void 0,yValue:void 0,z:0},fn.defaultRoutes={borderColor:`color`};function pn({x:e,y:t,width:n,height:r,options:i}){let a=i.borderWidth/2,o=V(i.padding);return{x:e+o.left+a,y:t+o.top+a,width:n-o.left-o.right-i.borderWidth,height:r-o.top-o.bottom-i.borderWidth}}var mn=(e,t,n)=>({x:e.x+n*(t.x-e.x),y:e.y+n*(t.y-e.y)}),hn=(e,t,n)=>mn(t,n,Math.abs((e-t.y)/(n.y-t.y))).x,gn=(e,t,n)=>mn(t,n,Math.abs((e-t.x)/(n.x-t.x))).y,_n=e=>e*e,vn=(e,t,{x:n,y:r,x2:i,y2:a},o)=>o===`y`?{start:Math.min(r,a),end:Math.max(r,a),value:t}:{start:Math.min(n,i),end:Math.max(n,i),value:e},yn=(e,t,n,r)=>(1-r)*(1-r)*e+2*(1-r)*r*t+r*r*n,bn=(e,t,n,r)=>({x:yn(e.x,t.x,n.x,r),y:yn(e.y,t.y,n.y,r)}),xn=(e,t,n,r)=>2*(1-r)*(t-e)+2*r*(n-t),Sn=(e,t,n,r)=>-Math.atan2(xn(e.x,t.x,n.x,r),xn(e.y,t.y,n.y,r))+.5*g,Cn=class extends f{inRange(e,t,n,r){let i=(this.options.borderWidth+this.options.hitTolerance)/2;if(n!==`x`&&n!==`y`){let n={mouseX:e,mouseY:t},{path:a,ctx:o}=this;if(a){et(o,this.options),o.lineWidth+=this.options.hitTolerance;let{chart:i}=this.$context,s=e*i.currentDevicePixelRatio,c=t*i.currentDevicePixelRatio,l=o.isPointInStroke(a,s,c)||En(this,n,r);return o.restore(),l}let s=_n(i);return ree(this,n,s,r)||En(this,n,r)}return eee(this,{mouseX:e,mouseY:t},n,{hitSize:i,useFinalPosition:r})}getCenterPoint(e){return ke(this,e)}draw(e){let{x:t,y:n,x2:r,y2:i,cp:a,options:o}=this;if(e.save(),!et(e,o))return e.restore();tt(e,o);let s=Math.sqrt((r-t)**2+(i-n)**2);if(o.curve&&a)return dee(e,this,a,s),e.restore();let{startOpts:c,endOpts:l,startAdjust:u,endAdjust:d}=kn(this),f=Math.atan2(i-n,r-t);e.translate(t,n),e.rotate(f),e.beginPath(),e.moveTo(0+u,0),e.lineTo(s-d,0),e.shadowColor=o.borderShadowColor,e.stroke(),jn(e,0,u,c),jn(e,s,-d,l),e.restore()}get label(){return this.elements&&this.elements[0]}resolveElementProperties(e,t){let n=Ot(e,t),{x:r,y:i,x2:a,y2:o}=n,s=tee(n,e.chartArea),c=s?nee({x:r,y:i},{x:a,y:o},e.chartArea):{x:r,y:i,x2:a,y2:o,width:Math.abs(a-r),height:Math.abs(o-i)};c.centerX=(a+r)/2,c.centerY=(o+i)/2,c.initProperties=Ge(e,c,t),t.curve&&(c.cp=uee(c,t,v({x:c.x,y:c.y},{x:c.x2,y:c.y2})));let l=iee(e,c,t.label);return l._visible=s,c.elements=[{type:`label`,optionScope:`label`,properties:l,initProperties:c.initProperties}],c}};Cn.id=`lineAnnotation`;var wn={backgroundColor:void 0,backgroundShadowColor:void 0,borderColor:void 0,borderDash:void 0,borderDashOffset:void 0,borderShadowColor:void 0,borderWidth:void 0,display:void 0,fill:void 0,length:void 0,shadowBlur:void 0,shadowOffsetX:void 0,shadowOffsetY:void 0,width:void 0};Cn.defaults={adjustScaleRange:!0,arrowHeads:{display:!1,end:Object.assign({},wn),fill:!1,length:12,start:Object.assign({},wn),width:6},borderDash:[],borderDashOffset:0,borderShadowColor:`transparent`,borderWidth:2,curve:!1,controlPoint:{y:`-50%`},display:!0,endValue:void 0,init:void 0,hitTolerance:0,label:{backgroundColor:`rgba(0,0,0,0.8)`,backgroundShadowColor:`transparent`,borderCapStyle:`butt`,borderColor:`black`,borderDash:[],borderDashOffset:0,borderJoinStyle:`miter`,borderRadius:6,borderShadowColor:`transparent`,borderWidth:0,callout:Object.assign({},fn.defaults.callout),color:`#fff`,content:null,display:!1,drawTime:void 0,font:{family:void 0,lineHeight:void 0,size:void 0,style:void 0,weight:`bold`},height:void 0,hitTolerance:void 0,opacity:void 0,padding:6,position:`center`,rotation:0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,textAlign:`center`,textStrokeColor:void 0,textStrokeWidth:0,width:void 0,xAdjust:0,yAdjust:0,z:void 0},scaleID:void 0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,value:void 0,xMax:void 0,xMin:void 0,xScaleID:void 0,yMax:void 0,yMin:void 0,yScaleID:void 0,z:0},Cn.descriptors={arrowHeads:{start:{_fallback:!0},end:{_fallback:!0},_fallback:!0}},Cn.defaultRoutes={borderColor:`color`};function eee(e,{mouseX:t,mouseY:n},r,{hitSize:i,useFinalPosition:a}){return we(vn(t,n,e.getProps([`x`,`y`,`x2`,`y2`],a),r),i)||En(e,{mouseX:t,mouseY:n},a,r)}function tee({x:e,y:t,x2:n,y2:r},{top:i,right:a,bottom:o,left:s}){return!(e<s&&n<s||e>a&&n>a||t<i&&r<i||t>o&&r>o)}function Tn({x:e,y:t},n,{top:r,right:i,bottom:a,left:o}){return e<o&&(t=gn(o,{x:e,y:t},n),e=o),e>i&&(t=gn(i,{x:e,y:t},n),e=i),t<r&&(e=hn(r,{x:e,y:t},n),t=r),t>a&&(e=hn(a,{x:e,y:t},n),t=a),{x:e,y:t}}function nee(e,t,n){let{x:r,y:i}=Tn(e,t,n),{x:a,y:o}=Tn(t,e,n);return{x:r,y:i,x2:a,y2:o,width:Math.abs(a-r),height:Math.abs(o-i)}}function ree(e,{mouseX:t,mouseY:n},r=Se,i){let{x:a,y:o,x2:s,y2:c}=e.getProps([`x`,`y`,`x2`,`y2`],i),l=s-a,u=c-o,d=_n(l)+_n(u),f=d===0?-1:((t-a)*l+(n-o)*u)/d,p,m;return f<0?(p=a,m=o):f>1?(p=s,m=c):(p=a+f*l,m=o+f*u),_n(t-p)+_n(n-m)<=r}function En(e,{mouseX:t,mouseY:n},r,i){let a=e.label;return a.options.display&&a.inRange(t,n,i,r)}function iee(e,t,n){let r=n.borderWidth,i=V(n.padding),a=nt(e.ctx,n);return oee(t,n,{width:a.width+i.width+r,height:a.height+i.height+r,padding:i},e.chartArea)}function aee(e){let{x:t,y:n,x2:r,y2:i}=e,a=Math.atan2(i-n,r-t);return a>g/2?a-g:a<g/-2?a+g:a}function oee(e,t,n,r){let{width:i,height:a,padding:o}=n,{xAdjust:s,yAdjust:c}=t,l={x:e.x,y:e.y},d={x:e.x2,y:e.y2},f=t.rotation===`auto`?aee(e):oe(t.rotation),p=see(i,a,f),m=cee(e,t,{labelSize:p,padding:o},r),h=e.cp?bn(l,e.cp,d,m):mn(l,d,m),g={size:p.w,min:r.left,max:r.right,padding:o.left},_={size:p.h,min:r.top,max:r.bottom,padding:o.top},v=On(h.x,g)+s,y=On(h.y,_)+c;return{x:v-i/2,y:y-a/2,x2:v+i/2,y2:y+a/2,centerX:v,centerY:y,pointX:h.x,pointY:h.y,width:i,height:a,rotation:u(f)}}function see(e,t,n){let r=Math.cos(n),i=Math.sin(n);return{w:Math.abs(e*r)+Math.abs(t*i),h:Math.abs(e*i)+Math.abs(t*r)}}function cee(e,t,n,r){let i,a=lee(e,r);return i=t.position===`start`?Dn({w:e.x2-e.x,h:e.y2-e.y},n,t,a):t.position===`end`?1-Dn({w:e.x-e.x2,h:e.y-e.y2},n,t,a):Ie(1,t.position),i}function Dn(e,t,n,r){let{labelSize:i,padding:a}=t,o=e.w*r.dx,s=e.h*r.dy,c=o>0&&(i.w/2+a.left-r.x)/o,l=s>0&&(i.h/2+a.top-r.y)/s;return Ce(Math.max(c,l),0,.25)}function lee(e,t){let{x:n,x2:r,y:i,y2:a}=e,o=Math.min(i,a)-t.top,s=Math.min(n,r)-t.left,c=t.bottom-Math.max(i,a),l=t.right-Math.max(n,r);return{x:Math.min(s,l),y:Math.min(o,c),dx:s<=l?1:-1,dy:o<=c?1:-1}}function On(e,t){let{size:n,min:r,max:i,padding:a}=t,o=n/2;return n>i-r?(i+r)/2:(r>=e-a-o&&(e=r+a+o),i<=e+a+o&&(e=i-a-o),e)}function kn(e){let t=e.options,n=t.arrowHeads&&t.arrowHeads.start,r=t.arrowHeads&&t.arrowHeads.end;return{startOpts:n,endOpts:r,startAdjust:An(e,n),endAdjust:An(e,r)}}function An(e,t){if(!t||!t.display)return 0;let{length:n,width:r}=t,i=e.options.borderWidth/2,a={x:n,y:r+i},o={x:0,y:i};return Math.abs(hn(0,a,o))}function jn(e,t,n,r){if(!r||!r.display)return;let{length:i,width:a,fill:o,backgroundColor:s,borderColor:c}=r,l=Math.abs(t-i)+n;e.beginPath(),tt(e,r),et(e,r),e.moveTo(l,-a),e.lineTo(t+n,0),e.lineTo(l,a),o===!0?(e.fillStyle=s||c,e.closePath(),e.fill(),e.shadowColor=`transparent`):e.shadowColor=r.borderShadowColor,e.stroke()}function uee(e,t,n){let{x:r,y:i,x2:a,y2:o,centerX:s,centerY:c}=e,l=Math.atan2(o-i,a-r),u=Be(t.controlPoint,0);return be({x:s+Le(n,u.x,!1),y:c+Le(n,u.y,!1)},{x:s,y:c},l)}function Mn(e,{x:t,y:n},{angle:r,adjust:i},a){!a||!a.display||(e.save(),e.translate(t,n),e.rotate(r),jn(e,0,-i,a),e.restore())}function dee(e,t,n,r){let{x:i,y:a,x2:o,y2:s,options:c}=t,{startOpts:l,endOpts:u,startAdjust:d,endAdjust:f}=kn(t),p={x:i,y:a},m={x:o,y:s},h=Sn(p,n,m,0),_=Sn(p,n,m,1)-g,v=bn(p,n,m,d/r),y=bn(p,n,m,1-f/r),b=new Path2D;e.beginPath(),b.moveTo(v.x,v.y),b.quadraticCurveTo(n.x,n.y,y.x,y.y),e.shadowColor=c.borderShadowColor,e.stroke(b),t.path=b,t.ctx=e,Mn(e,v,{angle:h,adjust:d},l),Mn(e,y,{angle:_,adjust:f},u)}var Nn=class extends f{inRange(e,t,n,r){let i=this.options.rotation,a=(this.options.borderWidth+this.options.hitTolerance)/2;if(n!==`x`&&n!==`y`)return fee({x:e,y:t},this.getProps([`width`,`height`,`centerX`,`centerY`],r),i,a);let{x:o,y:s,x2:c,y2:l}=this.getProps([`x`,`y`,`x2`,`y2`],r),u=n===`y`?{start:s,end:l}:{start:o,end:c},d=be({x:e,y:t},this.getCenterPoint(r),oe(-i));return d[n]>=u.start-a-Se&&d[n]<=u.end+a+Se}getCenterPoint(e){return ke(this,e)}draw(e){let{width:t,height:n,centerX:r,centerY:i,options:a}=this;e.save(),$e(e,this.getCenterPoint(),a.rotation),tt(e,this.options),e.beginPath(),e.fillStyle=a.backgroundColor;let o=et(e,a);e.ellipse(r,i,n/2,t/2,g/2,0,2*g),e.fill(),o&&(e.shadowColor=a.borderShadowColor,e.stroke()),e.restore()}get label(){return this.elements&&this.elements[0]}resolveElementProperties(e,t){return kt(e,t)}};Nn.id=`ellipseAnnotation`,Nn.defaults={adjustScaleRange:!0,backgroundShadowColor:`transparent`,borderDash:[],borderDashOffset:0,borderShadowColor:`transparent`,borderWidth:1,display:!0,hitTolerance:0,init:void 0,label:Object.assign({},rn.defaults.label),rotation:0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,xMax:void 0,xMin:void 0,xScaleID:void 0,yMax:void 0,yMin:void 0,yScaleID:void 0,z:0},Nn.defaultRoutes={borderColor:`color`,backgroundColor:`color`},Nn.descriptors={label:{_fallback:!0}};function fee(e,t,n,r){let{width:i,height:a,centerX:o,centerY:s}=t,c=i/2,l=a/2;if(c<=0||l<=0)return!1;let u=oe(n||0),d=Math.cos(u),f=Math.sin(u),p=(d*(e.x-o)+f*(e.y-s))**2,m=(f*(e.x-o)-d*(e.y-s))**2;return p/(c+r)**2+m/(l+r)**2<=1.0001}var Pn=class extends f{inRange(e,t,n,r){let{x:i,y:a,x2:o,y2:s,width:c}=this.getProps([`x`,`y`,`x2`,`y2`,`width`],r),l=(this.options.borderWidth+this.options.hitTolerance)/2;return n!==`x`&&n!==`y`?Ee({x:e,y:t},this.getCenterPoint(r),c/2,l):we(n===`y`?{start:a,end:s,value:t}:{start:i,end:o,value:e},l)}getCenterPoint(e){return ke(this,e)}draw(e){let t=this.options,n=t.borderWidth;if(t.radius<.1)return;e.save(),e.fillStyle=t.backgroundColor,tt(e,t);let r=et(e,t);ot(e,this,this.centerX,this.centerY),r&&!Qe(t.pointStyle)&&(e.shadowColor=t.borderShadowColor,e.stroke()),e.restore(),t.borderWidth=n}resolveElementProperties(e,t){let n=Dt(e,t);return n.initProperties=Ge(e,n,t),n}};Pn.id=`pointAnnotation`,Pn.defaults={adjustScaleRange:!0,backgroundShadowColor:`transparent`,borderDash:[],borderDashOffset:0,borderShadowColor:`transparent`,borderWidth:1,display:!0,hitTolerance:0,init:void 0,pointStyle:`circle`,radius:10,rotation:0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,xAdjust:0,xMax:void 0,xMin:void 0,xScaleID:void 0,xValue:void 0,yAdjust:0,yMax:void 0,yMin:void 0,yScaleID:void 0,yValue:void 0,z:0},Pn.defaultRoutes={borderColor:`color`,backgroundColor:`color`};var Fn=class extends f{inRange(e,t,n,r){if(n!==`x`&&n!==`y`)return this.options.radius>=.1&&this.elements.length>1&&mee(this.elements,e,t,r);let i=be({x:e,y:t},this.getCenterPoint(r),oe(-this.options.rotation)),a=this.elements.map(e=>n===`y`?e.bY:e.bX),o=Math.min(...a),s=Math.max(...a);return i[n]>=o&&i[n]<=s}getCenterPoint(e){return ke(this,e)}draw(e){let{elements:t,options:n}=this;e.save(),e.beginPath(),e.fillStyle=n.backgroundColor,tt(e,n);let r=et(e,n),i=!0;for(let n of t)i?(e.moveTo(n.x,n.y),i=!1):e.lineTo(n.x,n.y);e.closePath(),e.fill(),r&&(e.shadowColor=n.borderShadowColor,e.stroke()),e.restore()}resolveElementProperties(e,t){let n=Dt(e,t),{sides:r,rotation:i}=t,a=[],o=2*g/r,s=i*S;for(let i=0;i<r;i++,s+=o){let r=pee(n,t,s);r.initProperties=Ge(e,n,t),a.push(r)}return n.elements=a,n}};Fn.id=`polygonAnnotation`,Fn.defaults={adjustScaleRange:!0,backgroundShadowColor:`transparent`,borderCapStyle:`butt`,borderDash:[],borderDashOffset:0,borderJoinStyle:`miter`,borderShadowColor:`transparent`,borderWidth:1,display:!0,hitTolerance:0,init:void 0,point:{radius:0},radius:10,rotation:0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,sides:3,xAdjust:0,xMax:void 0,xMin:void 0,xScaleID:void 0,xValue:void 0,yAdjust:0,yMax:void 0,yMin:void 0,yScaleID:void 0,yValue:void 0,z:0},Fn.defaultRoutes={borderColor:`color`,backgroundColor:`color`};function pee({centerX:e,centerY:t},{radius:n,borderWidth:r,hitTolerance:i},a){let o=(r+i)/2,s=Math.sin(a),c=Math.cos(a),l={x:e+s*n,y:t-c*n};return{type:`point`,optionScope:`point`,properties:{x:l.x,y:l.y,centerX:l.x,centerY:l.y,bX:e+s*(n+o),bY:t-c*(n+o)}}}function mee(e,t,n,r){let i=!1,a=e[e.length-1].getProps([`bX`,`bY`],r);for(let o of e){let e=o.getProps([`bX`,`bY`],r);e.bY>n!=a.bY>n&&t<(a.bX-e.bX)*(n-e.bY)/(a.bY-e.bY)+e.bX&&(i=!i),a=e}return i}var In={box:rn,doughnutLabel:an,ellipse:Nn,label:fn,line:Cn,point:Pn,polygon:Fn};Object.keys(In).forEach(e=>{O.describe(`elements.${In[e].id}`,{_fallback:`plugins.annotation.common`})});var hee={update:Object.assign},gee=zt.concat(Kt),Ln=(e,t)=>x(t)?Hn(e,t):e,Rn=e=>e===`color`||e===`font`;function zn(e=`line`){return In[e]?e:(console.warn(`Unknown annotation type: '${e}', defaulting to 'line'`),`line`)}function _ee(e,t,n,r){let i=yee(e,n.animations,r),a=t.annotations,o=See(t.elements,a);for(let t=0;t<a.length;t++){let n=a[t],r=Bn(o,t,n.type),s=n.setContext(xee(e,r,o,n)),c=r.resolveElementProperties(e,s);c.skip=vee(c),`elements`in c&&(bee(r,c.elements,s,i),delete c.elements),m(r.x)||Object.assign(r,c),Object.assign(r,c.initProperties),c.options=Vn(s),i.update(r,c)}}function vee(e){return isNaN(e.x)||isNaN(e.y)}function yee(e,t,n){return n===`reset`||n===`none`||n===`resize`?hee:new P(e,t)}function bee(e,t,n,r){let i=e.elements||=[];i.length=t.length;for(let e=0;e<t.length;e++){let a=t[e],o=a.properties,s=Bn(i,e,a.type,a.initProperties);o.options=Vn(n[a.optionScope].override(a)),r.update(s,o)}}function Bn(e,t,n,r){let i=In[zn(n)],a=e[t];return(!a||!(a instanceof i))&&(a=e[t]=new i,Object.assign(a,r)),a}function Vn(e){let t=In[zn(e.type)],n={};n.id=e.id,n.type=e.type,n.drawTime=e.drawTime,Object.assign(n,Hn(e,t.defaults),Hn(e,t.defaultRoutes));for(let t of gee)n[t]=e[t];return n}function Hn(e,t){let n={};for(let r of Object.keys(t)){let i=t[r],a=e[r];Rn(r)&&_(a)?n[r]=a.map(e=>Ln(e,i)):n[r]=Ln(a,i)}return n}function xee(e,t,n,r){return t.$context||=Object.assign(Object.create(e.getContext()),{element:t,get elements(){return n.filter(e=>e&&e.options)},id:r.id,type:`annotation`})}function See(e,t){let n=t.length,r=e.length;if(r<n){let t=n-r;e.splice(r,0,...Array(t))}else r>n&&e.splice(n,r-n);return e}var Cee=`3.1.0`,Un=new Map,Wn=e=>e.type!==`doughnutLabel`,wee=zt.concat(Kt),Tee={id:`annotation`,version:Cee,beforeRegister(){Ae(`chart.js`,`4.0`,fe.version)},afterRegister(){fe.register(In)},afterUnregister(){fe.unregister(In)},beforeInit(e){Un.set(e,{annotations:[],elements:[],visibleElements:[],listeners:{},listened:!1,moveListened:!1,hooks:{},hooked:!1,hovered:[]})},beforeUpdate(e,t,n){let r=Un.get(e),i=r.annotations=[],a=n.annotations;x(a)?Object.keys(a).forEach(e=>{let t=a[e];x(t)&&(t.id=e,i.push(t))}):_(a)&&i.push(...a),Xt(i.filter(Wn),e.scales)},afterDataLimits(e,t){let n=Un.get(e);Yt(e,t.scale,n.annotations.filter(Wn).filter(e=>e.display&&e.adjustScaleRange))},afterUpdate(e,t,n){let r=Un.get(e);Bt(e,r,n),_ee(e,r,n,t.mode),r.visibleElements=r.elements.filter(e=>!e.skip&&e.options.display),qt(e,r,n)},beforeDatasetsDraw(e,t,n){Gn(e,`beforeDatasetsDraw`,n.clip)},afterDatasetsDraw(e,t,n){Gn(e,`afterDatasetsDraw`,n.clip)},beforeDatasetDraw(e,t,n){Gn(e,t.index,n.clip)},beforeDraw(e,t,n){Gn(e,`beforeDraw`,n.clip)},afterDraw(e,t,n){Gn(e,`afterDraw`,n.clip)},beforeEvent(e,t,n){Vt(Un.get(e),t.event,n)&&(t.changed=!0)},afterDestroy(e){Un.delete(e)},getAnnotations(e){let t=Un.get(e);return t?t.elements:[]},_getAnnotationElementsAtEventForMode(e,t,n){return he(e,t,n)},defaults:{animations:{numbers:{properties:[`x`,`y`,`x2`,`y2`,`width`,`height`,`centerX`,`centerY`,`pointX`,`pointY`,`radius`],type:`number`},colors:{properties:[`backgroundColor`,`borderColor`],type:`color`}},clip:!0,interaction:{mode:void 0,axis:void 0,intersect:void 0},common:{drawTime:`afterDatasetsDraw`,init:!1,label:{}}},descriptors:{_indexable:!1,_scriptable:e=>!wee.includes(e)&&e!==`init`,annotations:{_allKeys:!1,_fallback:(e,t)=>`elements.${In[zn(t.type)].id}`},interaction:{_fallback:!0},common:{label:{_indexable:Rn,_fallback:!0},_indexable:Rn}},additionalOptionScopes:[``]};function Gn(e,t,n){let{ctx:r,chartArea:i}=e,a=Un.get(e);n&&T(r,i);let o=Eee(a.visibleElements,t).sort((e,t)=>e.element.options.z-t.element.options.z);for(let e of o)Dee(r,i,a,e);n&&R(r)}function Eee(e,t){let n=[];for(let r of e)if(r.options.drawTime===t&&n.push({element:r,main:!0}),r.elements&&r.elements.length)for(let e of r.elements)e.options.display&&e.options.drawTime===t&&n.push({element:e});return n}function Dee(e,t,n,r){let i=r.element;r.main?(Jt(n,i,`beforeDraw`),i.draw(e,t),Jt(n,i,`afterDraw`)):i.draw(e,t)}function Kn(e){let t=null;return()=>(t??=e(),t)}function Oee(e,t){return e.filter(e=>e!==t)}function kee(e,t){let n=new Set,r=e=>n.add(e);e.forEach(r),t.forEach(r);let i=[];return n.forEach(e=>i.push(e)),i}var Aee=class{enter(e){let t=this.entered.length;return this.entered=kee(this.entered.filter(t=>this.isNodeInDocument(t)&&(!t.contains||t.contains(e))),[e]),t===0&&this.entered.length>0}leave(e){let t=this.entered.length;return this.entered=Oee(this.entered.filter(this.isNodeInDocument),e),t>0&&this.entered.length===0}reset(){this.entered=[]}constructor(e){this.entered=[],this.isNodeInDocument=e}},jee=class{initializeExposedProperties(){Object.keys(this.config.exposeProperties).forEach(e=>{Object.defineProperty(this.item,e,{configurable:!0,enumerable:!0,get(){return console.warn(`Browser doesn't allow reading "${e}" until the drop event.`),null}})})}loadDataTransfer(e){if(e){let t={};Object.keys(this.config.exposeProperties).forEach(n=>{let r=this.config.exposeProperties[n];r!=null&&(t[n]={value:r(e,this.config.matchesTypes),configurable:!0,enumerable:!0})}),Object.defineProperties(this.item,t)}}canDrag(){return!0}beginDrag(){return this.item}isDragging(e,t){return t===e.getSourceId()}endDrag(){}constructor(e){this.config=e,this.item={},this.initializeExposedProperties()}},qn=s({FILE:()=>Jn,HTML:()=>Zn,TEXT:()=>Xn,URL:()=>Yn});const Jn=`__NATIVE_FILE__`,Yn=`__NATIVE_URL__`,Xn=`__NATIVE_TEXT__`,Zn=`__NATIVE_HTML__`;function Qn(e,t,n){return t.reduce((t,n)=>t||e.getData(n),``)??n}const $n={[Jn]:{exposeProperties:{files:e=>Array.prototype.slice.call(e.files),items:e=>e.items,dataTransfer:e=>e},matchesTypes:[`Files`]},[Zn]:{exposeProperties:{html:(e,t)=>Qn(e,t,``),dataTransfer:e=>e},matchesTypes:[`Html`,`text/html`]},[Yn]:{exposeProperties:{urls:(e,t)=>Qn(e,t,``).split(`
1
+ import{_t as e,at as t,dt as n,ft as r,gt as i,ht as a,it as o,mt as s,pt as c}from"./iframe-D8t45Jkw.js";import{$ as l,$t as u,Bt as d,Et as f,Ft as p,Gt as m,Ht as h,It as g,Jt as _,Kt as v,Lt as y,Q as b,Qt as x,Rt as S,S as C,Tt as w,Ut as T,V as E,Vt as D,Wt as O,Xt as k,Yt as A,Zt as j,an as M,at as N,bt as P,c as F,ct as I,dt as L,en as ee,ft as te,in as R,it as ne,j as re,lt as ie,m as ae,nn as oe,nt as z,ot as se,pt as ce,qt as le,rn as B,st as ue,t as de,tn as V,wt as fe,zt as pe}from"./legend-context-SNdgAaoM.js";var me={modes:{point(e,t){return ve(e,t,{intersect:!0})},nearest(e,t,n){return ye(e,t,n)},x(e,t,n){return ve(e,t,{intersect:n.intersect,axis:`x`})},y(e,t,n){return ve(e,t,{intersect:n.intersect,axis:`y`})}}};function he(e,t,n){return(me.modes[n.mode]||me.modes.nearest)(e,t,n)}function ge(e,t,n){return n!==`x`&&n!==`y`?e.inRange(t.x,t.y,`x`,!0)||e.inRange(t.x,t.y,`y`,!0):e.inRange(t.x,t.y,n,!0)}function _e(e,t,n){return n===`x`?{x:e.x,y:t.y}:n===`y`?{x:t.x,y:e.y}:t}function ve(e,t,n){return e.filter(e=>n.intersect?e.inRange(t.x,t.y):ge(e,t,n.axis))}function ye(e,t,n){let r=1/0;return ve(e,t,n).reduce((e,i)=>{let a=v(t,_e(t,i.getCenterPoint(),n.axis));return a<r?(e=[i],r=a):a===r&&e.push(i),e},[]).sort((e,t)=>e._index-t._index).slice(0,1)}function be(e,t,n){let r=Math.cos(n),i=Math.sin(n),a=t.x,o=t.y;return{x:a+r*(e.x-a)-i*(e.y-o),y:o+i*(e.x-a)+r*(e.y-o)}}var xe=(e,t)=>t>e||e.length>t.length&&e.slice(0,t.length)===t,Se=.001,Ce=(e,t,n)=>Math.min(n,Math.max(t,e)),we=(e,t)=>e.value>=e.start-t&&e.value<=e.end+t;function Te(e,t,n){for(let r of Object.keys(e))e[r]=Ce(e[r],t,n);return e}function Ee(e,t,n,r){return!e||!t||n<=0?!1:(e.x-t.x)**2+(e.y-t.y)**2<=(n+r)**2}function De(e,{x:t,y:n,x2:r,y2:i},a,{borderWidth:o,hitTolerance:s}){let c=(o+s)/2,l=e.x>=t-c-Se&&e.x<=r+c+Se,u=e.y>=n-c-Se&&e.y<=i+c+Se;return a===`x`?l:(a===`y`||l)&&u}function Oe(e,{rect:t,center:n},r,{rotation:i,borderWidth:a,hitTolerance:o}){return De(be(e,n,oe(-i)),t,r,{borderWidth:a,hitTolerance:o})}function ke(e,t){let{centerX:n,centerY:r}=e.getProps([`centerX`,`centerY`],t);return{x:n,y:r}}function Ae(e,t,n,r=!0){let i=n.split(`.`),a=0;for(let o of t.split(`.`)){let s=i[a++];if(parseInt(o,10)<parseInt(s,10))break;if(xe(s,o)){if(r)throw Error(`${e} v${n} is not supported. v${t} or newer is required.`);return!1}}return!0}var je=e=>typeof e==`string`&&e.endsWith(`%`),Me=e=>parseFloat(e)/100,Ne=e=>Ce(Me(e),0,1),Pe=(e,t)=>({x:e,y:t,x2:e,y2:t,width:0,height:0}),Fe={box:e=>Pe(e.centerX,e.centerY),doughnutLabel:e=>Pe(e.centerX,e.centerY),ellipse:e=>({centerX:e.centerX,centerY:e.centerX,radius:0,width:0,height:0}),label:e=>Pe(e.centerX,e.centerY),line:e=>Pe(e.x,e.y),point:e=>({centerX:e.centerX,centerY:e.centerY,radius:0,width:0,height:0}),polygon:e=>Pe(e.centerX,e.centerY)};function Ie(e,t){return t===`start`?0:t===`end`?e:je(t)?Ne(t)*e:e/2}function Le(e,t,n=!0){return typeof t==`number`?t:je(t)?(n?Ne(t):Me(t))*e:e}function Re(e,t){let{x:n,width:r}=e,i=t.textAlign;return i===`center`?n+r/2:i===`end`||i===`right`?n+r:n}function ze(e,t,{borderWidth:n,position:r,xAdjust:i,yAdjust:a},o){let s=x(o),c=t.width+(s?o.width:0)+n,l=t.height+(s?o.height:0)+n,u=Be(r),d=We(e.x,c,i,u.x),f=We(e.y,l,a,u.y);return{x:d,y:f,x2:d+c,y2:f+l,width:c,height:l,centerX:d+c/2,centerY:f+l/2}}function Be(e,t=`center`){return x(e)?{x:M(e.x,t),y:M(e.y,t)}:(e=M(e,t),{x:e,y:e})}var Ve=(e,t)=>e&&e.autoFit&&t<1;function He(e,t){let n=e.font,r=_(n)?n:[n];return Ve(e,t)?r.map(function(e){let n=ee(e);return n.size=Math.floor(e.size*t),n.lineHeight=e.lineHeight,ee(n)}):r.map(e=>ee(e))}function Ue(e){return e&&(m(e.xValue)||m(e.yValue))}function We(e,t,n=0,r){return e-Ie(t,r)+n}function Ge(e,t,n){let r=n.init;if(r){if(r===!0)return qe(t,n)}else return;return Je(e,t,n)}function Ke(e,t,n){let r=!1;return t.forEach(t=>{A(e[t])?(r=!0,n[t]=e[t]):m(n[t])&&delete n[t]}),r}function qe(e,t){return Fe[t.type||`line`](e)}function Je(e,t,n){let r=h(n.init,[{chart:e,properties:t,options:n}]);if(r===!0)return qe(t,n);if(x(r))return r}var Ye=new Map,Xe=e=>isNaN(e)||e<=0,Ze=e=>e.reduce(function(e,t){return e+=t.string,e},``);function Qe(e){if(e&&typeof e==`object`){let t=e.toString();return t===`[object HTMLImageElement]`||t===`[object HTMLCanvasElement]`}}function $e(e,{x:t,y:n},r){r&&(e.translate(t,n),e.rotate(oe(r)),e.translate(-t,-n))}function et(e,t){if(t&&t.borderWidth)return e.lineCap=t.borderCapStyle||`butt`,e.setLineDash(t.borderDash),e.lineDashOffset=t.borderDashOffset,e.lineJoin=t.borderJoinStyle||`miter`,e.lineWidth=t.borderWidth,e.strokeStyle=t.borderColor,!0}function tt(e,t){e.shadowColor=t.backgroundShadowColor,e.shadowBlur=t.shadowBlur,e.shadowOffsetX=t.shadowOffsetX,e.shadowOffsetY=t.shadowOffsetY}function nt(e,t){let n=t.content;if(Qe(n))return{width:Le(n.width,t.width),height:Le(n.height,t.height)};let r=He(t),i=t.textStrokeWidth,a=_(n)?n:[n],o=a.join()+Ze(r)+i+(e._measureText?`-spriting`:``);return Ye.has(o)||Ye.set(o,ct(e,a,r,i)),Ye.get(o)}function rt(e,t,n){let{x:r,y:i,width:a,height:o}=t;e.save(),tt(e,n);let s=et(e,n);e.fillStyle=n.backgroundColor,e.beginPath(),D(e,{x:r,y:i,w:a,h:o,radius:Te(B(n.borderRadius),0,Math.min(a,o)/2)}),e.closePath(),e.fill(),s&&(e.shadowColor=n.borderShadowColor,e.stroke()),e.restore()}function it(e,t,n,r){let i=n.content;if(Qe(i)){e.save(),e.globalAlpha=dt(n.opacity,i.style.opacity),e.drawImage(i,t.x,t.y,t.width,t.height),e.restore();return}let a=_(i)?i:[i],o=He(n,r),s=n.color,c=_(s)?s:[s],l=Re(t,n),u=t.y+n.textStrokeWidth/2;e.save(),e.textBaseline=`middle`,e.textAlign=n.textAlign,at(e,n)&&lt(e,{x:l,y:u},a,o),ut(e,{x:l,y:u},a,{fonts:o,colors:c}),e.restore()}function at(e,t){if(t.textStrokeWidth>0)return e.lineJoin=`round`,e.miterLimit=2,e.lineWidth=t.textStrokeWidth,e.strokeStyle=t.textStrokeColor,!0}function ot(e,t,n,r){let{radius:i,options:a}=t,o=a.pointStyle,s=a.rotation,c=(s||0)*S;if(Qe(o)){e.save(),e.translate(n,r),e.rotate(c),e.drawImage(o,-o.width/2,-o.height/2,o.width,o.height),e.restore();return}Xe(i)||st(e,{x:n,y:r,radius:i,rotation:s,style:o,rad:c})}function st(e,{x:t,y:n,radius:r,rotation:i,style:a,rad:o}){let s,c,l,u;switch(e.beginPath(),a){default:e.arc(t,n,r,0,pe),e.closePath();break;case`triangle`:e.moveTo(t+Math.sin(o)*r,n-Math.cos(o)*r),o+=d,e.lineTo(t+Math.sin(o)*r,n-Math.cos(o)*r),o+=d,e.lineTo(t+Math.sin(o)*r,n-Math.cos(o)*r),e.closePath();break;case`rectRounded`:u=r*.516,l=r-u,s=Math.cos(o+y)*l,c=Math.sin(o+y)*l,e.arc(t-s,n-c,u,o-g,o-p),e.arc(t+c,n-s,u,o-p,o),e.arc(t+s,n+c,u,o,o+p),e.arc(t-c,n+s,u,o+p,o+g),e.closePath();break;case`rect`:if(!i){l=Math.SQRT1_2*r,e.rect(t-l,n-l,2*l,2*l);break}o+=y;case`rectRot`:s=Math.cos(o)*r,c=Math.sin(o)*r,e.moveTo(t-s,n-c),e.lineTo(t+c,n-s),e.lineTo(t+s,n+c),e.lineTo(t-c,n+s),e.closePath();break;case`crossRot`:o+=y;case`cross`:s=Math.cos(o)*r,c=Math.sin(o)*r,e.moveTo(t-s,n-c),e.lineTo(t+s,n+c),e.moveTo(t+c,n-s),e.lineTo(t-c,n+s);break;case`star`:s=Math.cos(o)*r,c=Math.sin(o)*r,e.moveTo(t-s,n-c),e.lineTo(t+s,n+c),e.moveTo(t+c,n-s),e.lineTo(t-c,n+s),o+=y,s=Math.cos(o)*r,c=Math.sin(o)*r,e.moveTo(t-s,n-c),e.lineTo(t+s,n+c),e.moveTo(t+c,n-s),e.lineTo(t-c,n+s);break;case`line`:s=Math.cos(o)*r,c=Math.sin(o)*r,e.moveTo(t-s,n-c),e.lineTo(t+s,n+c);break;case`dash`:e.moveTo(t,n),e.lineTo(t+Math.cos(o)*r,n+Math.sin(o)*r);break}e.fill()}function ct(e,t,n,r){e.save();let i=t.length,a=0,o=r;for(let s=0;s<i;s++){let i=n[Math.min(s,n.length-1)];e.font=i.string;let c=t[s];a=Math.max(a,e.measureText(c).width+r),o+=i.lineHeight}return e.restore(),{width:a,height:o}}function lt(e,{x:t,y:n},r,i){e.beginPath();let a=0;r.forEach(function(r,o){let s=i[Math.min(o,i.length-1)],c=s.lineHeight;e.font=s.string,e.strokeText(r,t,n+c/2+a),a+=c}),e.stroke()}function ut(e,{x:t,y:n},r,{fonts:i,colors:a}){let o=0;r.forEach(function(r,s){let c=a[Math.min(s,a.length-1)],l=i[Math.min(s,i.length-1)],u=l.lineHeight;e.beginPath(),e.font=l.string,e.fillStyle=c,e.fillText(r,t,n+u/2+o),o+=u,e.fill()})}function dt(e,t){let n=k(e)?e:t;return k(n)?Ce(n,0,1):1}var ft=[`left`,`bottom`,`top`,`right`];function pt(e,t){let{pointX:n,pointY:r,options:i}=t,a=i.callout,o=a&&a.display&&vt(t,a);if(!o||bt(t,a,o))return;if(e.save(),e.beginPath(),!et(e,a))return e.restore();let{separatorStart:s,separatorEnd:c}=mt(t,o),{sideStart:l,sideEnd:u}=gt(t,o,s);(a.margin>0||i.borderWidth===0)&&(e.moveTo(s.x,s.y),e.lineTo(c.x,c.y)),e.moveTo(l.x,l.y),e.lineTo(u.x,u.y);let d=be({x:n,y:r},t.getCenterPoint(),oe(-t.rotation));e.lineTo(d.x,d.y),e.stroke(),e.restore()}function mt(e,t){let{x:n,y:r,x2:i,y2:a}=e,o=ht(e,t),s,c;return t===`left`||t===`right`?(s={x:n+o,y:r},c={x:s.x,y:a}):(s={x:n,y:r+o},c={x:i,y:s.y}),{separatorStart:s,separatorEnd:c}}function ht(e,t){let{width:n,height:r,options:i}=e,a=i.callout.margin+i.borderWidth/2;return t===`right`?n+a:t===`bottom`?r+a:-a}function gt(e,t,n){let{y:r,width:i,height:a,options:o}=e,s=o.callout.start,c=_t(t,o.callout),l,u;return t===`left`||t===`right`?(l={x:n.x,y:r+Le(a,s)},u={x:l.x+c,y:l.y}):(l={x:n.x+Le(i,s),y:n.y},u={x:l.x,y:l.y+c}),{sideStart:l,sideEnd:u}}function _t(e,t){let n=t.side;return e===`left`||e===`top`?-n:n}function vt(e,t){let n=t.position;return ft.includes(n)?n:yt(e,t)}function yt(e,t){let{x:n,y:r,x2:i,y2:a,width:o,height:s,pointX:c,pointY:l,centerX:u,centerY:d,rotation:f}=e,p={x:u,y:d},m=t.start,h=Le(o,m),g=Le(s,m),_=[n,n+h,n+h,i],y=[r+g,a,r,a],b=[];for(let e=0;e<4;e++){let t=be({x:_[e],y:y[e]},p,oe(f));b.push({position:ft[e],distance:v(t,{x:c,y:l})})}return b.sort((e,t)=>e.distance-t.distance)[0].position}function bt(e,t,n){let{pointX:r,pointY:i}=e,a=t.margin,o=r,s=i;return n===`left`?o+=a:n===`right`?o-=a:n===`top`?s+=a:n===`bottom`&&(s-=a),e.inRange(o,s)}var xt={xScaleID:{min:`xMin`,max:`xMax`,start:`left`,end:`right`,startProp:`x`,endProp:`x2`},yScaleID:{min:`yMin`,max:`yMax`,start:`bottom`,end:`top`,startProp:`y`,endProp:`y2`}};function St(e,t,n){return t=typeof t==`number`?t:e.parse(t),j(t)?e.getPixelForValue(t):n}function Ct(e,t,n){let r=t[n];if(r||n===`scaleID`)return r;let i=n.charAt(0),a=Object.values(e).filter(e=>e.axis&&e.axis===i);return a.length?a[0].id:i}function wt(e,t){if(e){let n=e.options.reverse;return{start:St(e,t.min,n?t.end:t.start),end:St(e,t.max,n?t.start:t.end)}}}function Tt(e,t){let{chartArea:n,scales:r}=e,i=r[Ct(r,t,`xScaleID`)],a=r[Ct(r,t,`yScaleID`)],o=n.width/2,s=n.height/2;return i&&(o=St(i,t.xValue,i.left+i.width/2)),a&&(s=St(a,t.yValue,a.top+a.height/2)),{x:o,y:s}}function Et(e,t){let n=e.scales,r=n[Ct(n,t,`xScaleID`)],i=n[Ct(n,t,`yScaleID`)];if(!r&&!i)return{};let{left:a,right:o}=r||e.chartArea,{top:s,bottom:c}=i||e.chartArea,l=jt(r,{min:t.xMin,max:t.xMax,start:a,end:o});a=l.start,o=l.end;let u=jt(i,{min:t.yMin,max:t.yMax,start:c,end:s});return s=u.start,c=u.end,{x:a,y:s,x2:o,y2:c,width:o-a,height:c-s,centerX:a+(o-a)/2,centerY:s+(c-s)/2}}function Dt(e,t){if(!Ue(t)){let n=Et(e,t),r=t.radius;(!r||isNaN(r))&&(r=Math.min(n.width,n.height)/2,t.radius=r);let i=r*2,a=n.centerX+t.xAdjust,o=n.centerY+t.yAdjust;return{x:a-r,y:o-r,x2:a+r,y2:o+r,centerX:a,centerY:o,width:i,height:i,radius:r}}return At(e,t)}function Ot(e,t){let{scales:n,chartArea:r}=e,i=n[t.scaleID],a={x:r.left,y:r.top,x2:r.right,y2:r.bottom};return i?Mt(i,a,t):Nt(n,a,t),a}function kt(e,t){let n=Et(e,t);return n.initProperties=Ge(e,n,t),n.elements=[{type:`label`,optionScope:`label`,properties:Lt(e,n,t),initProperties:n.initProperties}],n}function At(e,t){let n=Tt(e,t),r=t.radius*2;return{x:n.x-t.radius+t.xAdjust,y:n.y-t.radius+t.yAdjust,x2:n.x+t.radius+t.xAdjust,y2:n.y+t.radius+t.yAdjust,centerX:n.x+t.xAdjust,centerY:n.y+t.yAdjust,radius:t.radius,width:r,height:r}}function jt(e,t){let n=wt(e,t)||t;return{start:Math.min(n.start,n.end),end:Math.max(n.start,n.end)}}function Mt(e,t,n){let r=St(e,n.value,NaN),i=St(e,n.endValue,r);e.isHorizontal()?(t.x=r,t.x2=i):(t.y=r,t.y2=i)}function Nt(e,t,n){for(let r of Object.keys(xt)){let i=e[Ct(e,n,r)];if(i){let{min:e,max:a,start:o,end:s,startProp:c,endProp:l}=xt[r],u=wt(i,{min:n[e],max:n[a],start:i[o],end:i[s]});t[c]=u.start,t[l]=u.end}}}function Pt({properties:e,options:t},n,r,i){let{x:a,x2:o,width:s}=e;return It({start:a,end:o,size:s,borderWidth:t.borderWidth},{position:r.x,padding:{start:i.left,end:i.right},adjust:t.label.xAdjust,size:n.width})}function Ft({properties:e,options:t},n,r,i){let{y:a,y2:o,height:s}=e;return It({start:a,end:o,size:s,borderWidth:t.borderWidth},{position:r.y,padding:{start:i.top,end:i.bottom},adjust:t.label.yAdjust,size:n.height})}function It(e,t){let{start:n,end:r,borderWidth:i}=e,{position:a,padding:{start:o,end:s},adjust:c}=t,l=r-i-n-o-s-t.size;return n+i/2+c+Ie(l,a)}function Lt(e,t,n){let r=n.label;r.backgroundColor=`transparent`,r.callout.display=!1;let i=Be(r.position),a=V(r.padding),o=nt(e.ctx,r),s=Pt({properties:t,options:n},o,i,a),c=Ft({properties:t,options:n},o,i,a),l=o.width+a.width,u=o.height+a.height;return{x:s,y:c,x2:s+l,y2:c+u,width:l,height:u,centerX:s+l/2,centerY:c+u/2,rotation:r.rotation}}var Rt=[`enter`,`leave`],zt=Rt.concat(`click`);function Bt(e,t,n){t.listened=Ke(n,zt,t.listeners),t.moveListened=!1,Rt.forEach(e=>{A(n[e])&&(t.moveListened=!0)}),(!t.listened||!t.moveListened)&&t.annotations.forEach(e=>{!t.listened&&A(e.click)&&(t.listened=!0),t.moveListened||Rt.forEach(n=>{A(e[n])&&(t.listened=!0,t.moveListened=!0)})})}function Vt(e,t,n){if(e.listened)switch(t.type){case`mousemove`:case`mouseout`:return Ht(e,t,n);case`click`:return Wt(e,t,n)}}function Ht(e,t,n){if(!e.moveListened)return;let r;r=t.type===`mousemove`?he(e.visibleElements,t,n.interaction):[];let i=e.hovered;e.hovered=r;let a={state:e,event:t},o=Ut(a,`leave`,i,r);return Ut(a,`enter`,r,i)||o}function Ut({state:e,event:t},n,r,i){let a;for(let o of r)i.indexOf(o)<0&&(a=Gt(o.options[n]||e.listeners[n],o,t)||a);return a}function Wt(e,t,n){let r=e.listeners,i=he(e.visibleElements,t,n.interaction),a;for(let e of i)a=Gt(e.options.click||r.click,e,t)||a;return a}function Gt(e,t,n){return h(e,[t.$context,n])===!0}var Kt=[`afterDraw`,`beforeDraw`];function qt(e,t,n){let r=t.visibleElements;t.hooked=Ke(n,Kt,t.hooks),t.hooked||r.forEach(e=>{t.hooked||Kt.forEach(n=>{A(e.options[n])&&(t.hooked=!0)})})}function Jt(e,t,n){if(e.hooked)return h(t.options[n]||e.hooks[n],[t.$context])}function Yt(e,t,n){let r=tn(e.scales,t,n),i=Zt(t,r,`min`,`suggestedMin`);i=Zt(t,r,`max`,`suggestedMax`)||i,i&&A(t.handleTickRangeOptions)&&t.handleTickRangeOptions()}function Xt(e,t){for(let n of e)$t(n,t)}function Zt(e,t,n,r){if(j(t[n])&&!Qt(e.options,n,r)){let r=e[n]!==t[n];return e[n]=t[n],r}}function Qt(e,t,n){return m(e[t])||m(e[n])}function $t(e,t){for(let n of[`scaleID`,`xScaleID`,`yScaleID`]){let r=Ct(t,e,n);r&&!t[r]&&en(e,n)&&console.warn(`No scale found with id '${r}' for annotation '${e.id}'`)}}function en(e,t){if(t===`scaleID`)return!0;let n=t.charAt(0);for(let t of[`Min`,`Max`,`Value`])if(m(e[n+t]))return!0;return!1}function tn(e,t,n){let r=t.axis,i=t.id,a=r+`ScaleID`,o={min:M(t.min,-1/0),max:M(t.max,1/0)};for(let s of n)s.scaleID===i?nn(s,t,[`value`,`endValue`],o):Ct(e,s,a)===i&&nn(s,t,[r+`Min`,r+`Max`,r+`Value`],o);return o}function nn(e,t,n,r){for(let i of n){let n=e[i];if(m(n)){let e=t.parse(n);r.min=Math.min(r.min,e),r.max=Math.max(r.max,e)}}}var rn=class extends f{inRange(e,t,n,r){let{x:i,y:a}=be({x:e,y:t},this.getCenterPoint(r),oe(-this.options.rotation));return De({x:i,y:a},this.getProps([`x`,`y`,`x2`,`y2`],r),n,this.options)}getCenterPoint(e){return ke(this,e)}draw(e){e.save(),$e(e,this.getCenterPoint(),this.options.rotation),rt(e,this,this.options),e.restore()}get label(){return this.elements&&this.elements[0]}resolveElementProperties(e,t){return kt(e,t)}};rn.id=`boxAnnotation`,rn.defaults={adjustScaleRange:!0,backgroundShadowColor:`transparent`,borderCapStyle:`butt`,borderDash:[],borderDashOffset:0,borderJoinStyle:`miter`,borderRadius:0,borderShadowColor:`transparent`,borderWidth:1,display:!0,init:void 0,hitTolerance:0,label:{backgroundColor:`transparent`,borderWidth:0,callout:{display:!1},color:`black`,content:null,display:!1,drawTime:void 0,font:{family:void 0,lineHeight:void 0,size:void 0,style:void 0,weight:`bold`},height:void 0,hitTolerance:void 0,opacity:void 0,padding:6,position:`center`,rotation:void 0,textAlign:`start`,textStrokeColor:void 0,textStrokeWidth:0,width:void 0,xAdjust:0,yAdjust:0,z:void 0},rotation:0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,xMax:void 0,xMin:void 0,xScaleID:void 0,yMax:void 0,yMin:void 0,yScaleID:void 0,z:0},rn.defaultRoutes={borderColor:`color`,backgroundColor:`color`},rn.descriptors={label:{_fallback:!0}};var an=class extends f{inRange(e,t,n,r){return Oe({x:e,y:t},{rect:this.getProps([`x`,`y`,`x2`,`y2`],r),center:this.getCenterPoint(r)},n,{rotation:this.rotation,borderWidth:0,hitTolerance:this.options.hitTolerance})}getCenterPoint(e){return ke(this,e)}draw(e){let t=this.options;!t.display||!t.content||(dn(e,this),e.save(),$e(e,this.getCenterPoint(),this.rotation),it(e,this,t,this._fitRatio),e.restore())}resolveElementProperties(e,t){let n=on(e,t);if(!n)return{};let{controllerMeta:r,point:i,radius:a}=cn(e,t,n),o=nt(e.ctx,t),s=ln(o,a);Ve(t,s)&&(o={width:o.width*s,height:o.height*s});let{position:c,xAdjust:l,yAdjust:u}=t,d=ze(i,o,{borderWidth:0,position:c,xAdjust:l,yAdjust:u});return{initProperties:Ge(e,d,t),...d,...r,rotation:t.rotation,_fitRatio:s}}};an.id=`doughnutLabelAnnotation`,an.defaults={autoFit:!0,autoHide:!0,backgroundColor:`transparent`,backgroundShadowColor:`transparent`,borderColor:`transparent`,borderDash:[],borderDashOffset:0,borderJoinStyle:`miter`,borderShadowColor:`transparent`,borderWidth:0,color:`black`,content:null,display:!0,font:{family:void 0,lineHeight:void 0,size:void 0,style:void 0,weight:void 0},height:void 0,hitTolerance:0,init:void 0,opacity:void 0,position:`center`,rotation:0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,spacing:1,textAlign:`center`,textStrokeColor:void 0,textStrokeWidth:0,width:void 0,xAdjust:0,yAdjust:0},an.defaultRoutes={};function on(e,t){return e.getSortedVisibleDatasetMetas().reduce(function(n,r){let i=r.controller;return i instanceof w&&sn(e,t,r.data)&&(!n||i.innerRadius<n.controller.innerRadius)&&i.options.circumference>=90?r:n},void 0)}function sn(e,t,n){if(!t.autoHide)return!0;for(let t=0;t<n.length;t++)if(!n[t].hidden&&e.getDataVisibility(t))return!0}function cn({chartArea:e},t,n){let{left:r,top:i,right:a,bottom:o}=e,{innerRadius:s,offsetX:c,offsetY:l}=n.controller,u=(r+a)/2+c,d=(i+o)/2+l,f={left:Math.max(u-s,r),right:Math.min(u+s,a),top:Math.max(d-s,i),bottom:Math.min(d+s,o)},p={x:(f.left+f.right)/2,y:(f.top+f.bottom)/2},m=t.spacing+t.borderWidth/2,h=s-m,g=p.y>d;return{controllerMeta:{_centerX:u,_centerY:d,_radius:h,_counterclockwise:g,...un(g?i+m:o-m,u,d,h)},point:p,radius:Math.min(s,Math.min(f.right-f.left,f.bottom-f.top)/2)}}function ln({width:e,height:t},n){let r=Math.sqrt(e**2+t**2);return n*2/r}function un(e,t,n,r){let i=(n-e)**2,a=r**2,o=t*-2,s=t**2+i-a,c=o**2-4*s;if(c<=0)return{_startAngle:0,_endAngle:pe};let l=(-o-Math.sqrt(c))/2,u=(-o+Math.sqrt(c))/2;return{_startAngle:le({x:t,y:n},{x:l,y:e}).angle,_endAngle:le({x:t,y:n},{x:u,y:e}).angle}}function dn(e,t){let{_centerX:n,_centerY:r,_radius:i,_startAngle:a,_endAngle:o,_counterclockwise:s,options:c}=t;e.save();let l=et(e,c);e.fillStyle=c.backgroundColor,e.beginPath(),e.arc(n,r,i,a,o,s),e.closePath(),e.fill(),l&&e.stroke(),e.restore()}var fn=class extends f{inRange(e,t,n,r){return Oe({x:e,y:t},{rect:this.getProps([`x`,`y`,`x2`,`y2`],r),center:this.getCenterPoint(r)},n,{rotation:this.rotation,borderWidth:this.options.borderWidth,hitTolerance:this.options.hitTolerance})}getCenterPoint(e){return ke(this,e)}draw(e){let t=this.options,n=!m(this._visible)||this._visible;!t.display||!t.content||!n||(e.save(),$e(e,this.getCenterPoint(),this.rotation),pt(e,this),rt(e,this,t),it(e,pn(this),t),e.restore())}resolveElementProperties(e,t){let n;if(Ue(t))n=Tt(e,t);else{let{centerX:r,centerY:i}=Et(e,t);n={x:r,y:i}}let r=V(t.padding),i=nt(e.ctx,t),a=ze(n,i,t,r);return{initProperties:Ge(e,a,t),pointX:n.x,pointY:n.y,...a,rotation:t.rotation}}};fn.id=`labelAnnotation`,fn.defaults={adjustScaleRange:!0,backgroundColor:`transparent`,backgroundShadowColor:`transparent`,borderCapStyle:`butt`,borderDash:[],borderDashOffset:0,borderJoinStyle:`miter`,borderRadius:0,borderShadowColor:`transparent`,borderWidth:0,callout:{borderCapStyle:`butt`,borderColor:void 0,borderDash:[],borderDashOffset:0,borderJoinStyle:`miter`,borderWidth:1,display:!1,margin:5,position:`auto`,side:5,start:`50%`},color:`black`,content:null,display:!0,font:{family:void 0,lineHeight:void 0,size:void 0,style:void 0,weight:void 0},height:void 0,hitTolerance:0,init:void 0,opacity:void 0,padding:6,position:`center`,rotation:0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,textAlign:`center`,textStrokeColor:void 0,textStrokeWidth:0,width:void 0,xAdjust:0,xMax:void 0,xMin:void 0,xScaleID:void 0,xValue:void 0,yAdjust:0,yMax:void 0,yMin:void 0,yScaleID:void 0,yValue:void 0,z:0},fn.defaultRoutes={borderColor:`color`};function pn({x:e,y:t,width:n,height:r,options:i}){let a=i.borderWidth/2,o=V(i.padding);return{x:e+o.left+a,y:t+o.top+a,width:n-o.left-o.right-i.borderWidth,height:r-o.top-o.bottom-i.borderWidth}}var mn=(e,t,n)=>({x:e.x+n*(t.x-e.x),y:e.y+n*(t.y-e.y)}),hn=(e,t,n)=>mn(t,n,Math.abs((e-t.y)/(n.y-t.y))).x,gn=(e,t,n)=>mn(t,n,Math.abs((e-t.x)/(n.x-t.x))).y,_n=e=>e*e,vn=(e,t,{x:n,y:r,x2:i,y2:a},o)=>o===`y`?{start:Math.min(r,a),end:Math.max(r,a),value:t}:{start:Math.min(n,i),end:Math.max(n,i),value:e},yn=(e,t,n,r)=>(1-r)*(1-r)*e+2*(1-r)*r*t+r*r*n,bn=(e,t,n,r)=>({x:yn(e.x,t.x,n.x,r),y:yn(e.y,t.y,n.y,r)}),xn=(e,t,n,r)=>2*(1-r)*(t-e)+2*r*(n-t),Sn=(e,t,n,r)=>-Math.atan2(xn(e.x,t.x,n.x,r),xn(e.y,t.y,n.y,r))+.5*g,Cn=class extends f{inRange(e,t,n,r){let i=(this.options.borderWidth+this.options.hitTolerance)/2;if(n!==`x`&&n!==`y`){let n={mouseX:e,mouseY:t},{path:a,ctx:o}=this;if(a){et(o,this.options),o.lineWidth+=this.options.hitTolerance;let{chart:i}=this.$context,s=e*i.currentDevicePixelRatio,c=t*i.currentDevicePixelRatio,l=o.isPointInStroke(a,s,c)||En(this,n,r);return o.restore(),l}let s=_n(i);return ree(this,n,s,r)||En(this,n,r)}return eee(this,{mouseX:e,mouseY:t},n,{hitSize:i,useFinalPosition:r})}getCenterPoint(e){return ke(this,e)}draw(e){let{x:t,y:n,x2:r,y2:i,cp:a,options:o}=this;if(e.save(),!et(e,o))return e.restore();tt(e,o);let s=Math.sqrt((r-t)**2+(i-n)**2);if(o.curve&&a)return dee(e,this,a,s),e.restore();let{startOpts:c,endOpts:l,startAdjust:u,endAdjust:d}=kn(this),f=Math.atan2(i-n,r-t);e.translate(t,n),e.rotate(f),e.beginPath(),e.moveTo(0+u,0),e.lineTo(s-d,0),e.shadowColor=o.borderShadowColor,e.stroke(),jn(e,0,u,c),jn(e,s,-d,l),e.restore()}get label(){return this.elements&&this.elements[0]}resolveElementProperties(e,t){let n=Ot(e,t),{x:r,y:i,x2:a,y2:o}=n,s=tee(n,e.chartArea),c=s?nee({x:r,y:i},{x:a,y:o},e.chartArea):{x:r,y:i,x2:a,y2:o,width:Math.abs(a-r),height:Math.abs(o-i)};c.centerX=(a+r)/2,c.centerY=(o+i)/2,c.initProperties=Ge(e,c,t),t.curve&&(c.cp=uee(c,t,v({x:c.x,y:c.y},{x:c.x2,y:c.y2})));let l=iee(e,c,t.label);return l._visible=s,c.elements=[{type:`label`,optionScope:`label`,properties:l,initProperties:c.initProperties}],c}};Cn.id=`lineAnnotation`;var wn={backgroundColor:void 0,backgroundShadowColor:void 0,borderColor:void 0,borderDash:void 0,borderDashOffset:void 0,borderShadowColor:void 0,borderWidth:void 0,display:void 0,fill:void 0,length:void 0,shadowBlur:void 0,shadowOffsetX:void 0,shadowOffsetY:void 0,width:void 0};Cn.defaults={adjustScaleRange:!0,arrowHeads:{display:!1,end:Object.assign({},wn),fill:!1,length:12,start:Object.assign({},wn),width:6},borderDash:[],borderDashOffset:0,borderShadowColor:`transparent`,borderWidth:2,curve:!1,controlPoint:{y:`-50%`},display:!0,endValue:void 0,init:void 0,hitTolerance:0,label:{backgroundColor:`rgba(0,0,0,0.8)`,backgroundShadowColor:`transparent`,borderCapStyle:`butt`,borderColor:`black`,borderDash:[],borderDashOffset:0,borderJoinStyle:`miter`,borderRadius:6,borderShadowColor:`transparent`,borderWidth:0,callout:Object.assign({},fn.defaults.callout),color:`#fff`,content:null,display:!1,drawTime:void 0,font:{family:void 0,lineHeight:void 0,size:void 0,style:void 0,weight:`bold`},height:void 0,hitTolerance:void 0,opacity:void 0,padding:6,position:`center`,rotation:0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,textAlign:`center`,textStrokeColor:void 0,textStrokeWidth:0,width:void 0,xAdjust:0,yAdjust:0,z:void 0},scaleID:void 0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,value:void 0,xMax:void 0,xMin:void 0,xScaleID:void 0,yMax:void 0,yMin:void 0,yScaleID:void 0,z:0},Cn.descriptors={arrowHeads:{start:{_fallback:!0},end:{_fallback:!0},_fallback:!0}},Cn.defaultRoutes={borderColor:`color`};function eee(e,{mouseX:t,mouseY:n},r,{hitSize:i,useFinalPosition:a}){return we(vn(t,n,e.getProps([`x`,`y`,`x2`,`y2`],a),r),i)||En(e,{mouseX:t,mouseY:n},a,r)}function tee({x:e,y:t,x2:n,y2:r},{top:i,right:a,bottom:o,left:s}){return!(e<s&&n<s||e>a&&n>a||t<i&&r<i||t>o&&r>o)}function Tn({x:e,y:t},n,{top:r,right:i,bottom:a,left:o}){return e<o&&(t=gn(o,{x:e,y:t},n),e=o),e>i&&(t=gn(i,{x:e,y:t},n),e=i),t<r&&(e=hn(r,{x:e,y:t},n),t=r),t>a&&(e=hn(a,{x:e,y:t},n),t=a),{x:e,y:t}}function nee(e,t,n){let{x:r,y:i}=Tn(e,t,n),{x:a,y:o}=Tn(t,e,n);return{x:r,y:i,x2:a,y2:o,width:Math.abs(a-r),height:Math.abs(o-i)}}function ree(e,{mouseX:t,mouseY:n},r=Se,i){let{x:a,y:o,x2:s,y2:c}=e.getProps([`x`,`y`,`x2`,`y2`],i),l=s-a,u=c-o,d=_n(l)+_n(u),f=d===0?-1:((t-a)*l+(n-o)*u)/d,p,m;return f<0?(p=a,m=o):f>1?(p=s,m=c):(p=a+f*l,m=o+f*u),_n(t-p)+_n(n-m)<=r}function En(e,{mouseX:t,mouseY:n},r,i){let a=e.label;return a.options.display&&a.inRange(t,n,i,r)}function iee(e,t,n){let r=n.borderWidth,i=V(n.padding),a=nt(e.ctx,n);return oee(t,n,{width:a.width+i.width+r,height:a.height+i.height+r,padding:i},e.chartArea)}function aee(e){let{x:t,y:n,x2:r,y2:i}=e,a=Math.atan2(i-n,r-t);return a>g/2?a-g:a<g/-2?a+g:a}function oee(e,t,n,r){let{width:i,height:a,padding:o}=n,{xAdjust:s,yAdjust:c}=t,l={x:e.x,y:e.y},d={x:e.x2,y:e.y2},f=t.rotation===`auto`?aee(e):oe(t.rotation),p=see(i,a,f),m=cee(e,t,{labelSize:p,padding:o},r),h=e.cp?bn(l,e.cp,d,m):mn(l,d,m),g={size:p.w,min:r.left,max:r.right,padding:o.left},_={size:p.h,min:r.top,max:r.bottom,padding:o.top},v=On(h.x,g)+s,y=On(h.y,_)+c;return{x:v-i/2,y:y-a/2,x2:v+i/2,y2:y+a/2,centerX:v,centerY:y,pointX:h.x,pointY:h.y,width:i,height:a,rotation:u(f)}}function see(e,t,n){let r=Math.cos(n),i=Math.sin(n);return{w:Math.abs(e*r)+Math.abs(t*i),h:Math.abs(e*i)+Math.abs(t*r)}}function cee(e,t,n,r){let i,a=lee(e,r);return i=t.position===`start`?Dn({w:e.x2-e.x,h:e.y2-e.y},n,t,a):t.position===`end`?1-Dn({w:e.x-e.x2,h:e.y-e.y2},n,t,a):Ie(1,t.position),i}function Dn(e,t,n,r){let{labelSize:i,padding:a}=t,o=e.w*r.dx,s=e.h*r.dy,c=o>0&&(i.w/2+a.left-r.x)/o,l=s>0&&(i.h/2+a.top-r.y)/s;return Ce(Math.max(c,l),0,.25)}function lee(e,t){let{x:n,x2:r,y:i,y2:a}=e,o=Math.min(i,a)-t.top,s=Math.min(n,r)-t.left,c=t.bottom-Math.max(i,a),l=t.right-Math.max(n,r);return{x:Math.min(s,l),y:Math.min(o,c),dx:s<=l?1:-1,dy:o<=c?1:-1}}function On(e,t){let{size:n,min:r,max:i,padding:a}=t,o=n/2;return n>i-r?(i+r)/2:(r>=e-a-o&&(e=r+a+o),i<=e+a+o&&(e=i-a-o),e)}function kn(e){let t=e.options,n=t.arrowHeads&&t.arrowHeads.start,r=t.arrowHeads&&t.arrowHeads.end;return{startOpts:n,endOpts:r,startAdjust:An(e,n),endAdjust:An(e,r)}}function An(e,t){if(!t||!t.display)return 0;let{length:n,width:r}=t,i=e.options.borderWidth/2,a={x:n,y:r+i},o={x:0,y:i};return Math.abs(hn(0,a,o))}function jn(e,t,n,r){if(!r||!r.display)return;let{length:i,width:a,fill:o,backgroundColor:s,borderColor:c}=r,l=Math.abs(t-i)+n;e.beginPath(),tt(e,r),et(e,r),e.moveTo(l,-a),e.lineTo(t+n,0),e.lineTo(l,a),o===!0?(e.fillStyle=s||c,e.closePath(),e.fill(),e.shadowColor=`transparent`):e.shadowColor=r.borderShadowColor,e.stroke()}function uee(e,t,n){let{x:r,y:i,x2:a,y2:o,centerX:s,centerY:c}=e,l=Math.atan2(o-i,a-r),u=Be(t.controlPoint,0);return be({x:s+Le(n,u.x,!1),y:c+Le(n,u.y,!1)},{x:s,y:c},l)}function Mn(e,{x:t,y:n},{angle:r,adjust:i},a){!a||!a.display||(e.save(),e.translate(t,n),e.rotate(r),jn(e,0,-i,a),e.restore())}function dee(e,t,n,r){let{x:i,y:a,x2:o,y2:s,options:c}=t,{startOpts:l,endOpts:u,startAdjust:d,endAdjust:f}=kn(t),p={x:i,y:a},m={x:o,y:s},h=Sn(p,n,m,0),_=Sn(p,n,m,1)-g,v=bn(p,n,m,d/r),y=bn(p,n,m,1-f/r),b=new Path2D;e.beginPath(),b.moveTo(v.x,v.y),b.quadraticCurveTo(n.x,n.y,y.x,y.y),e.shadowColor=c.borderShadowColor,e.stroke(b),t.path=b,t.ctx=e,Mn(e,v,{angle:h,adjust:d},l),Mn(e,y,{angle:_,adjust:f},u)}var Nn=class extends f{inRange(e,t,n,r){let i=this.options.rotation,a=(this.options.borderWidth+this.options.hitTolerance)/2;if(n!==`x`&&n!==`y`)return fee({x:e,y:t},this.getProps([`width`,`height`,`centerX`,`centerY`],r),i,a);let{x:o,y:s,x2:c,y2:l}=this.getProps([`x`,`y`,`x2`,`y2`],r),u=n===`y`?{start:s,end:l}:{start:o,end:c},d=be({x:e,y:t},this.getCenterPoint(r),oe(-i));return d[n]>=u.start-a-Se&&d[n]<=u.end+a+Se}getCenterPoint(e){return ke(this,e)}draw(e){let{width:t,height:n,centerX:r,centerY:i,options:a}=this;e.save(),$e(e,this.getCenterPoint(),a.rotation),tt(e,this.options),e.beginPath(),e.fillStyle=a.backgroundColor;let o=et(e,a);e.ellipse(r,i,n/2,t/2,g/2,0,2*g),e.fill(),o&&(e.shadowColor=a.borderShadowColor,e.stroke()),e.restore()}get label(){return this.elements&&this.elements[0]}resolveElementProperties(e,t){return kt(e,t)}};Nn.id=`ellipseAnnotation`,Nn.defaults={adjustScaleRange:!0,backgroundShadowColor:`transparent`,borderDash:[],borderDashOffset:0,borderShadowColor:`transparent`,borderWidth:1,display:!0,hitTolerance:0,init:void 0,label:Object.assign({},rn.defaults.label),rotation:0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,xMax:void 0,xMin:void 0,xScaleID:void 0,yMax:void 0,yMin:void 0,yScaleID:void 0,z:0},Nn.defaultRoutes={borderColor:`color`,backgroundColor:`color`},Nn.descriptors={label:{_fallback:!0}};function fee(e,t,n,r){let{width:i,height:a,centerX:o,centerY:s}=t,c=i/2,l=a/2;if(c<=0||l<=0)return!1;let u=oe(n||0),d=Math.cos(u),f=Math.sin(u),p=(d*(e.x-o)+f*(e.y-s))**2,m=(f*(e.x-o)-d*(e.y-s))**2;return p/(c+r)**2+m/(l+r)**2<=1.0001}var Pn=class extends f{inRange(e,t,n,r){let{x:i,y:a,x2:o,y2:s,width:c}=this.getProps([`x`,`y`,`x2`,`y2`,`width`],r),l=(this.options.borderWidth+this.options.hitTolerance)/2;return n!==`x`&&n!==`y`?Ee({x:e,y:t},this.getCenterPoint(r),c/2,l):we(n===`y`?{start:a,end:s,value:t}:{start:i,end:o,value:e},l)}getCenterPoint(e){return ke(this,e)}draw(e){let t=this.options,n=t.borderWidth;if(t.radius<.1)return;e.save(),e.fillStyle=t.backgroundColor,tt(e,t);let r=et(e,t);ot(e,this,this.centerX,this.centerY),r&&!Qe(t.pointStyle)&&(e.shadowColor=t.borderShadowColor,e.stroke()),e.restore(),t.borderWidth=n}resolveElementProperties(e,t){let n=Dt(e,t);return n.initProperties=Ge(e,n,t),n}};Pn.id=`pointAnnotation`,Pn.defaults={adjustScaleRange:!0,backgroundShadowColor:`transparent`,borderDash:[],borderDashOffset:0,borderShadowColor:`transparent`,borderWidth:1,display:!0,hitTolerance:0,init:void 0,pointStyle:`circle`,radius:10,rotation:0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,xAdjust:0,xMax:void 0,xMin:void 0,xScaleID:void 0,xValue:void 0,yAdjust:0,yMax:void 0,yMin:void 0,yScaleID:void 0,yValue:void 0,z:0},Pn.defaultRoutes={borderColor:`color`,backgroundColor:`color`};var Fn=class extends f{inRange(e,t,n,r){if(n!==`x`&&n!==`y`)return this.options.radius>=.1&&this.elements.length>1&&mee(this.elements,e,t,r);let i=be({x:e,y:t},this.getCenterPoint(r),oe(-this.options.rotation)),a=this.elements.map(e=>n===`y`?e.bY:e.bX),o=Math.min(...a),s=Math.max(...a);return i[n]>=o&&i[n]<=s}getCenterPoint(e){return ke(this,e)}draw(e){let{elements:t,options:n}=this;e.save(),e.beginPath(),e.fillStyle=n.backgroundColor,tt(e,n);let r=et(e,n),i=!0;for(let n of t)i?(e.moveTo(n.x,n.y),i=!1):e.lineTo(n.x,n.y);e.closePath(),e.fill(),r&&(e.shadowColor=n.borderShadowColor,e.stroke()),e.restore()}resolveElementProperties(e,t){let n=Dt(e,t),{sides:r,rotation:i}=t,a=[],o=2*g/r,s=i*S;for(let i=0;i<r;i++,s+=o){let r=pee(n,t,s);r.initProperties=Ge(e,n,t),a.push(r)}return n.elements=a,n}};Fn.id=`polygonAnnotation`,Fn.defaults={adjustScaleRange:!0,backgroundShadowColor:`transparent`,borderCapStyle:`butt`,borderDash:[],borderDashOffset:0,borderJoinStyle:`miter`,borderShadowColor:`transparent`,borderWidth:1,display:!0,hitTolerance:0,init:void 0,point:{radius:0},radius:10,rotation:0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,sides:3,xAdjust:0,xMax:void 0,xMin:void 0,xScaleID:void 0,xValue:void 0,yAdjust:0,yMax:void 0,yMin:void 0,yScaleID:void 0,yValue:void 0,z:0},Fn.defaultRoutes={borderColor:`color`,backgroundColor:`color`};function pee({centerX:e,centerY:t},{radius:n,borderWidth:r,hitTolerance:i},a){let o=(r+i)/2,s=Math.sin(a),c=Math.cos(a),l={x:e+s*n,y:t-c*n};return{type:`point`,optionScope:`point`,properties:{x:l.x,y:l.y,centerX:l.x,centerY:l.y,bX:e+s*(n+o),bY:t-c*(n+o)}}}function mee(e,t,n,r){let i=!1,a=e[e.length-1].getProps([`bX`,`bY`],r);for(let o of e){let e=o.getProps([`bX`,`bY`],r);e.bY>n!=a.bY>n&&t<(a.bX-e.bX)*(n-e.bY)/(a.bY-e.bY)+e.bX&&(i=!i),a=e}return i}var In={box:rn,doughnutLabel:an,ellipse:Nn,label:fn,line:Cn,point:Pn,polygon:Fn};Object.keys(In).forEach(e=>{O.describe(`elements.${In[e].id}`,{_fallback:`plugins.annotation.common`})});var hee={update:Object.assign},gee=zt.concat(Kt),Ln=(e,t)=>x(t)?Hn(e,t):e,Rn=e=>e===`color`||e===`font`;function zn(e=`line`){return In[e]?e:(console.warn(`Unknown annotation type: '${e}', defaulting to 'line'`),`line`)}function _ee(e,t,n,r){let i=yee(e,n.animations,r),a=t.annotations,o=See(t.elements,a);for(let t=0;t<a.length;t++){let n=a[t],r=Bn(o,t,n.type),s=n.setContext(xee(e,r,o,n)),c=r.resolveElementProperties(e,s);c.skip=vee(c),`elements`in c&&(bee(r,c.elements,s,i),delete c.elements),m(r.x)||Object.assign(r,c),Object.assign(r,c.initProperties),c.options=Vn(s),i.update(r,c)}}function vee(e){return isNaN(e.x)||isNaN(e.y)}function yee(e,t,n){return n===`reset`||n===`none`||n===`resize`?hee:new P(e,t)}function bee(e,t,n,r){let i=e.elements||=[];i.length=t.length;for(let e=0;e<t.length;e++){let a=t[e],o=a.properties,s=Bn(i,e,a.type,a.initProperties);o.options=Vn(n[a.optionScope].override(a)),r.update(s,o)}}function Bn(e,t,n,r){let i=In[zn(n)],a=e[t];return(!a||!(a instanceof i))&&(a=e[t]=new i,Object.assign(a,r)),a}function Vn(e){let t=In[zn(e.type)],n={};n.id=e.id,n.type=e.type,n.drawTime=e.drawTime,Object.assign(n,Hn(e,t.defaults),Hn(e,t.defaultRoutes));for(let t of gee)n[t]=e[t];return n}function Hn(e,t){let n={};for(let r of Object.keys(t)){let i=t[r],a=e[r];Rn(r)&&_(a)?n[r]=a.map(e=>Ln(e,i)):n[r]=Ln(a,i)}return n}function xee(e,t,n,r){return t.$context||=Object.assign(Object.create(e.getContext()),{element:t,get elements(){return n.filter(e=>e&&e.options)},id:r.id,type:`annotation`})}function See(e,t){let n=t.length,r=e.length;if(r<n){let t=n-r;e.splice(r,0,...Array(t))}else r>n&&e.splice(n,r-n);return e}var Cee=`3.1.0`,Un=new Map,Wn=e=>e.type!==`doughnutLabel`,wee=zt.concat(Kt),Tee={id:`annotation`,version:Cee,beforeRegister(){Ae(`chart.js`,`4.0`,fe.version)},afterRegister(){fe.register(In)},afterUnregister(){fe.unregister(In)},beforeInit(e){Un.set(e,{annotations:[],elements:[],visibleElements:[],listeners:{},listened:!1,moveListened:!1,hooks:{},hooked:!1,hovered:[]})},beforeUpdate(e,t,n){let r=Un.get(e),i=r.annotations=[],a=n.annotations;x(a)?Object.keys(a).forEach(e=>{let t=a[e];x(t)&&(t.id=e,i.push(t))}):_(a)&&i.push(...a),Xt(i.filter(Wn),e.scales)},afterDataLimits(e,t){let n=Un.get(e);Yt(e,t.scale,n.annotations.filter(Wn).filter(e=>e.display&&e.adjustScaleRange))},afterUpdate(e,t,n){let r=Un.get(e);Bt(e,r,n),_ee(e,r,n,t.mode),r.visibleElements=r.elements.filter(e=>!e.skip&&e.options.display),qt(e,r,n)},beforeDatasetsDraw(e,t,n){Gn(e,`beforeDatasetsDraw`,n.clip)},afterDatasetsDraw(e,t,n){Gn(e,`afterDatasetsDraw`,n.clip)},beforeDatasetDraw(e,t,n){Gn(e,t.index,n.clip)},beforeDraw(e,t,n){Gn(e,`beforeDraw`,n.clip)},afterDraw(e,t,n){Gn(e,`afterDraw`,n.clip)},beforeEvent(e,t,n){Vt(Un.get(e),t.event,n)&&(t.changed=!0)},afterDestroy(e){Un.delete(e)},getAnnotations(e){let t=Un.get(e);return t?t.elements:[]},_getAnnotationElementsAtEventForMode(e,t,n){return he(e,t,n)},defaults:{animations:{numbers:{properties:[`x`,`y`,`x2`,`y2`,`width`,`height`,`centerX`,`centerY`,`pointX`,`pointY`,`radius`],type:`number`},colors:{properties:[`backgroundColor`,`borderColor`],type:`color`}},clip:!0,interaction:{mode:void 0,axis:void 0,intersect:void 0},common:{drawTime:`afterDatasetsDraw`,init:!1,label:{}}},descriptors:{_indexable:!1,_scriptable:e=>!wee.includes(e)&&e!==`init`,annotations:{_allKeys:!1,_fallback:(e,t)=>`elements.${In[zn(t.type)].id}`},interaction:{_fallback:!0},common:{label:{_indexable:Rn,_fallback:!0},_indexable:Rn}},additionalOptionScopes:[``]};function Gn(e,t,n){let{ctx:r,chartArea:i}=e,a=Un.get(e);n&&T(r,i);let o=Eee(a.visibleElements,t).sort((e,t)=>e.element.options.z-t.element.options.z);for(let e of o)Dee(r,i,a,e);n&&R(r)}function Eee(e,t){let n=[];for(let r of e)if(r.options.drawTime===t&&n.push({element:r,main:!0}),r.elements&&r.elements.length)for(let e of r.elements)e.options.display&&e.options.drawTime===t&&n.push({element:e});return n}function Dee(e,t,n,r){let i=r.element;r.main?(Jt(n,i,`beforeDraw`),i.draw(e,t),Jt(n,i,`afterDraw`)):i.draw(e,t)}function Kn(e){let t=null;return()=>(t??=e(),t)}function Oee(e,t){return e.filter(e=>e!==t)}function kee(e,t){let n=new Set,r=e=>n.add(e);e.forEach(r),t.forEach(r);let i=[];return n.forEach(e=>i.push(e)),i}var Aee=class{enter(e){let t=this.entered.length;return this.entered=kee(this.entered.filter(t=>this.isNodeInDocument(t)&&(!t.contains||t.contains(e))),[e]),t===0&&this.entered.length>0}leave(e){let t=this.entered.length;return this.entered=Oee(this.entered.filter(this.isNodeInDocument),e),t>0&&this.entered.length===0}reset(){this.entered=[]}constructor(e){this.entered=[],this.isNodeInDocument=e}},jee=class{initializeExposedProperties(){Object.keys(this.config.exposeProperties).forEach(e=>{Object.defineProperty(this.item,e,{configurable:!0,enumerable:!0,get(){return console.warn(`Browser doesn't allow reading "${e}" until the drop event.`),null}})})}loadDataTransfer(e){if(e){let t={};Object.keys(this.config.exposeProperties).forEach(n=>{let r=this.config.exposeProperties[n];r!=null&&(t[n]={value:r(e,this.config.matchesTypes),configurable:!0,enumerable:!0})}),Object.defineProperties(this.item,t)}}canDrag(){return!0}beginDrag(){return this.item}isDragging(e,t){return t===e.getSourceId()}endDrag(){}constructor(e){this.config=e,this.item={},this.initializeExposedProperties()}},qn=s({FILE:()=>Jn,HTML:()=>Zn,TEXT:()=>Xn,URL:()=>Yn});const Jn=`__NATIVE_FILE__`,Yn=`__NATIVE_URL__`,Xn=`__NATIVE_TEXT__`,Zn=`__NATIVE_HTML__`;function Qn(e,t,n){return t.reduce((t,n)=>t||e.getData(n),``)??n}const $n={[Jn]:{exposeProperties:{files:e=>Array.prototype.slice.call(e.files),items:e=>e.items,dataTransfer:e=>e},matchesTypes:[`Files`]},[Zn]:{exposeProperties:{html:(e,t)=>Qn(e,t,``),dataTransfer:e=>e},matchesTypes:[`Html`,`text/html`]},[Yn]:{exposeProperties:{urls:(e,t)=>Qn(e,t,``).split(`
2
2
  `),dataTransfer:e=>e},matchesTypes:[`Url`,`text/uri-list`]},[Xn]:{exposeProperties:{text:(e,t)=>Qn(e,t,``),dataTransfer:e=>e},matchesTypes:[`Text`,`text/plain`]}};function Mee(e,t){let n=$n[e];if(!n)throw Error(`native type ${e} has no configuration`);let r=new jee(n);return r.loadDataTransfer(t),r}function er(e){if(!e)return null;let t=Array.prototype.slice.call(e.types||[]);return Object.keys($n).filter(e=>{let n=$n[e];return n?.matchesTypes?n.matchesTypes.some(e=>t.indexOf(e)>-1):!1})[0]||null}const Nee=Kn(()=>/firefox/i.test(navigator.userAgent)),tr=Kn(()=>!!window.safari);var nr=class{interpolate(e){let{xs:t,ys:n,c1s:r,c2s:i,c3s:a}=this,o=t.length-1;if(e===t[o])return n[o];let s=0,c=a.length-1,l;for(;s<=c;){l=Math.floor(.5*(s+c));let r=t[l];if(r<e)s=l+1;else if(r>e)c=l-1;else return n[l]}o=Math.max(0,c);let u=e-t[o],d=u*u;return n[o]+r[o]*u+i[o]*d+a[o]*u*d}constructor(e,t){let{length:n}=e,r=[];for(let e=0;e<n;e++)r.push(e);r.sort((t,n)=>e[t]<e[n]?-1:1);let i=[],a=[],o=[],s,c;for(let r=0;r<n-1;r++)s=e[r+1]-e[r],c=t[r+1]-t[r],a.push(s),i.push(c),o.push(c/s);let l=[o[0]];for(let e=0;e<a.length-1;e++){let t=o[e],n=o[e+1];if(t*n<=0)l.push(0);else{s=a[e];let r=a[e+1],i=s+r;l.push(3*i/((i+r)/t+(i+s)/n))}}l.push(o[o.length-1]);let u=[],d=[],f;for(let e=0;e<l.length-1;e++){f=o[e];let t=l[e],n=1/a[e],r=t+l[e+1]-f-f;u.push((f-t-r)*n),d.push(r*n*n)}this.xs=e,this.ys=t,this.c1s=l,this.c2s=u,this.c3s=d}},Pee=1;function rr(e){let t=e.nodeType===Pee?e:e.parentElement;if(!t)return null;let{top:n,left:r}=t.getBoundingClientRect();return{x:r,y:n}}function ir(e){return{x:e.clientX,y:e.clientY}}function Fee(e){return e.nodeName===`IMG`&&(Nee()||!document.documentElement?.contains(e))}function Iee(e,t,n,r){let i=e?t.width:n,a=e?t.height:r;return tr()&&e&&(a/=window.devicePixelRatio,i/=window.devicePixelRatio),{dragPreviewWidth:i,dragPreviewHeight:a}}function Lee(e,t,n,r,i){let a=Fee(t),o=rr(a?e:t),s={x:n.x-o.x,y:n.y-o.y},{offsetWidth:c,offsetHeight:l}=e,{anchorX:u,anchorY:d}=r,{dragPreviewWidth:f,dragPreviewHeight:p}=Iee(a,t,c,l),m=()=>{let e=new nr([0,.5,1],[s.y,s.y/l*p,s.y+p-l]).interpolate(d);return tr()&&a&&(e+=(window.devicePixelRatio-1)*p),e},h=()=>new nr([0,.5,1],[s.x,s.x/c*f,s.x+f-c]).interpolate(u),{offsetX:g,offsetY:_}=i,v=g===0||g,y=_===0||_;return{x:v?g:h(),y:y?_:m()}}var Ree=class{get window(){if(this.globalContext)return this.globalContext;if(typeof window<`u`)return window}get document(){if(this.globalContext?.document)return this.globalContext.document;if(this.window)return this.window.document}get rootElement(){return this.optionsArgs?.rootElement||this.window}constructor(e,t){this.ownerDocument=null,this.globalContext=e,this.optionsArgs=t}};function zee(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ar(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t],r=Object.keys(n);typeof Object.getOwnPropertySymbols==`function`&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){zee(e,t,n[t])})}return e}var Bee=class{profile(){return{sourcePreviewNodes:this.sourcePreviewNodes.size,sourcePreviewNodeOptions:this.sourcePreviewNodeOptions.size,sourceNodeOptions:this.sourceNodeOptions.size,sourceNodes:this.sourceNodes.size,dragStartSourceIds:this.dragStartSourceIds?.length||0,dropTargetIds:this.dropTargetIds.length,dragEnterTargetIds:this.dragEnterTargetIds.length,dragOverTargetIds:this.dragOverTargetIds?.length||0}}get window(){return this.options.window}get document(){return this.options.document}get rootElement(){return this.options.rootElement}setup(){let e=this.rootElement;if(e!==void 0){if(e.__isReactDndBackendSetUp)throw Error(`Cannot have two HTML5 backends at the same time.`);e.__isReactDndBackendSetUp=!0,this.addEventListeners(e)}}teardown(){let e=this.rootElement;if(e!==void 0&&(e.__isReactDndBackendSetUp=!1,this.removeEventListeners(this.rootElement),this.clearCurrentDragSourceNode(),this.asyncEndDragFrameId)){var t;(t=this.window)==null||t.cancelAnimationFrame(this.asyncEndDragFrameId)}}connectDragPreview(e,t,n){return this.sourcePreviewNodeOptions.set(e,n),this.sourcePreviewNodes.set(e,t),()=>{this.sourcePreviewNodes.delete(e),this.sourcePreviewNodeOptions.delete(e)}}connectDragSource(e,t,n){this.sourceNodes.set(e,t),this.sourceNodeOptions.set(e,n);let r=t=>this.handleDragStart(t,e),i=e=>this.handleSelectStart(e);return t.setAttribute(`draggable`,`true`),t.addEventListener(`dragstart`,r),t.addEventListener(`selectstart`,i),()=>{this.sourceNodes.delete(e),this.sourceNodeOptions.delete(e),t.removeEventListener(`dragstart`,r),t.removeEventListener(`selectstart`,i),t.setAttribute(`draggable`,`false`)}}connectDropTarget(e,t){let n=t=>this.handleDragEnter(t,e),r=t=>this.handleDragOver(t,e),i=t=>this.handleDrop(t,e);return t.addEventListener(`dragenter`,n),t.addEventListener(`dragover`,r),t.addEventListener(`drop`,i),()=>{t.removeEventListener(`dragenter`,n),t.removeEventListener(`dragover`,r),t.removeEventListener(`drop`,i)}}addEventListeners(e){e.addEventListener&&(e.addEventListener(`dragstart`,this.handleTopDragStart),e.addEventListener(`dragstart`,this.handleTopDragStartCapture,!0),e.addEventListener(`dragend`,this.handleTopDragEndCapture,!0),e.addEventListener(`dragenter`,this.handleTopDragEnter),e.addEventListener(`dragenter`,this.handleTopDragEnterCapture,!0),e.addEventListener(`dragleave`,this.handleTopDragLeaveCapture,!0),e.addEventListener(`dragover`,this.handleTopDragOver),e.addEventListener(`dragover`,this.handleTopDragOverCapture,!0),e.addEventListener(`drop`,this.handleTopDrop),e.addEventListener(`drop`,this.handleTopDropCapture,!0))}removeEventListeners(e){e.removeEventListener&&(e.removeEventListener(`dragstart`,this.handleTopDragStart),e.removeEventListener(`dragstart`,this.handleTopDragStartCapture,!0),e.removeEventListener(`dragend`,this.handleTopDragEndCapture,!0),e.removeEventListener(`dragenter`,this.handleTopDragEnter),e.removeEventListener(`dragenter`,this.handleTopDragEnterCapture,!0),e.removeEventListener(`dragleave`,this.handleTopDragLeaveCapture,!0),e.removeEventListener(`dragover`,this.handleTopDragOver),e.removeEventListener(`dragover`,this.handleTopDragOverCapture,!0),e.removeEventListener(`drop`,this.handleTopDrop),e.removeEventListener(`drop`,this.handleTopDropCapture,!0))}getCurrentSourceNodeOptions(){let e=this.monitor.getSourceId(),t=this.sourceNodeOptions.get(e);return ar({dropEffect:this.altKeyPressed?`copy`:`move`},t||{})}getCurrentDropEffect(){return this.isDraggingNativeItem()?`copy`:this.getCurrentSourceNodeOptions().dropEffect}getCurrentSourcePreviewNodeOptions(){let e=this.monitor.getSourceId();return ar({anchorX:.5,anchorY:.5,captureDraggingState:!1},this.sourcePreviewNodeOptions.get(e)||{})}isDraggingNativeItem(){let e=this.monitor.getItemType();return Object.keys(qn).some(t=>qn[t]===e)}beginDragNativeItem(e,t){this.clearCurrentDragSourceNode(),this.currentNativeSource=Mee(e,t),this.currentNativeHandle=this.registry.addSource(e,this.currentNativeSource),this.actions.beginDrag([this.currentNativeHandle])}setCurrentDragSourceNode(e){this.clearCurrentDragSourceNode(),this.currentDragSourceNode=e,this.mouseMoveTimeoutTimer=setTimeout(()=>this.rootElement?.addEventListener(`mousemove`,this.endDragIfSourceWasRemovedFromDOM,!0),1e3)}clearCurrentDragSourceNode(){if(this.currentDragSourceNode){if(this.currentDragSourceNode=null,this.rootElement){var e;(e=this.window)==null||e.clearTimeout(this.mouseMoveTimeoutTimer||void 0),this.rootElement.removeEventListener(`mousemove`,this.endDragIfSourceWasRemovedFromDOM,!0)}return this.mouseMoveTimeoutTimer=null,!0}return!1}handleDragStart(e,t){e.defaultPrevented||(this.dragStartSourceIds||=[],this.dragStartSourceIds.unshift(t))}handleDragEnter(e,t){this.dragEnterTargetIds.unshift(t)}handleDragOver(e,t){this.dragOverTargetIds===null&&(this.dragOverTargetIds=[]),this.dragOverTargetIds.unshift(t)}handleDrop(e,t){this.dropTargetIds.unshift(t)}constructor(e,t,n){this.sourcePreviewNodes=new Map,this.sourcePreviewNodeOptions=new Map,this.sourceNodes=new Map,this.sourceNodeOptions=new Map,this.dragStartSourceIds=null,this.dropTargetIds=[],this.dragEnterTargetIds=[],this.currentNativeSource=null,this.currentNativeHandle=null,this.currentDragSourceNode=null,this.altKeyPressed=!1,this.mouseMoveTimeoutTimer=null,this.asyncEndDragFrameId=null,this.dragOverTargetIds=null,this.lastClientOffset=null,this.hoverRafId=null,this.getSourceClientOffset=e=>{let t=this.sourceNodes.get(e);return t&&rr(t)||null},this.endDragNativeItem=()=>{this.isDraggingNativeItem()&&(this.actions.endDrag(),this.currentNativeHandle&&this.registry.removeSource(this.currentNativeHandle),this.currentNativeHandle=null,this.currentNativeSource=null)},this.isNodeInDocument=e=>!!(e&&this.document&&this.document.body&&this.document.body.contains(e)),this.endDragIfSourceWasRemovedFromDOM=()=>{let e=this.currentDragSourceNode;e==null||this.isNodeInDocument(e)||(this.clearCurrentDragSourceNode()&&this.monitor.isDragging()&&this.actions.endDrag(),this.cancelHover())},this.scheduleHover=e=>{this.hoverRafId===null&&typeof requestAnimationFrame<`u`&&(this.hoverRafId=requestAnimationFrame(()=>{this.monitor.isDragging()&&this.actions.hover(e||[],{clientOffset:this.lastClientOffset}),this.hoverRafId=null}))},this.cancelHover=()=>{this.hoverRafId!==null&&typeof cancelAnimationFrame<`u`&&(cancelAnimationFrame(this.hoverRafId),this.hoverRafId=null)},this.handleTopDragStartCapture=()=>{this.clearCurrentDragSourceNode(),this.dragStartSourceIds=[]},this.handleTopDragStart=e=>{if(e.defaultPrevented)return;let{dragStartSourceIds:t}=this;this.dragStartSourceIds=null;let n=ir(e);this.monitor.isDragging()&&(this.actions.endDrag(),this.cancelHover()),this.actions.beginDrag(t||[],{publishSource:!1,getSourceClientOffset:this.getSourceClientOffset,clientOffset:n});let{dataTransfer:r}=e,i=er(r);if(this.monitor.isDragging()){if(r&&typeof r.setDragImage==`function`){let e=this.monitor.getSourceId(),t=this.sourceNodes.get(e),i=this.sourcePreviewNodes.get(e)||t;if(i){let{anchorX:e,anchorY:a,offsetX:o,offsetY:s}=this.getCurrentSourcePreviewNodeOptions(),c=Lee(t,i,n,{anchorX:e,anchorY:a},{offsetX:o,offsetY:s});r.setDragImage(i,c.x,c.y)}}try{r?.setData(`application/json`,{})}catch{}this.setCurrentDragSourceNode(e.target);let{captureDraggingState:t}=this.getCurrentSourcePreviewNodeOptions();t?this.actions.publishDragSource():setTimeout(()=>this.actions.publishDragSource(),0)}else if(i)this.beginDragNativeItem(i);else if(r&&!r.types&&(e.target&&!e.target.hasAttribute||!e.target.hasAttribute(`draggable`)))return;else e.preventDefault()},this.handleTopDragEndCapture=()=>{this.clearCurrentDragSourceNode()&&this.monitor.isDragging()&&this.actions.endDrag(),this.cancelHover()},this.handleTopDragEnterCapture=e=>{if(this.dragEnterTargetIds=[],this.isDraggingNativeItem()){var t;(t=this.currentNativeSource)==null||t.loadDataTransfer(e.dataTransfer)}if(!this.enterLeaveCounter.enter(e.target)||this.monitor.isDragging())return;let{dataTransfer:n}=e,r=er(n);r&&this.beginDragNativeItem(r,n)},this.handleTopDragEnter=e=>{let{dragEnterTargetIds:t}=this;this.dragEnterTargetIds=[],this.monitor.isDragging()&&(this.altKeyPressed=e.altKey,t.length>0&&this.actions.hover(t,{clientOffset:ir(e)}),t.some(e=>this.monitor.canDropOnTarget(e))&&(e.preventDefault(),e.dataTransfer&&(e.dataTransfer.dropEffect=this.getCurrentDropEffect())))},this.handleTopDragOverCapture=e=>{if(this.dragOverTargetIds=[],this.isDraggingNativeItem()){var t;(t=this.currentNativeSource)==null||t.loadDataTransfer(e.dataTransfer)}},this.handleTopDragOver=e=>{let{dragOverTargetIds:t}=this;if(this.dragOverTargetIds=[],!this.monitor.isDragging()){e.preventDefault(),e.dataTransfer&&(e.dataTransfer.dropEffect=`none`);return}this.altKeyPressed=e.altKey,this.lastClientOffset=ir(e),this.scheduleHover(t),(t||[]).some(e=>this.monitor.canDropOnTarget(e))?(e.preventDefault(),e.dataTransfer&&(e.dataTransfer.dropEffect=this.getCurrentDropEffect())):this.isDraggingNativeItem()?e.preventDefault():(e.preventDefault(),e.dataTransfer&&(e.dataTransfer.dropEffect=`none`))},this.handleTopDragLeaveCapture=e=>{this.isDraggingNativeItem()&&e.preventDefault(),this.enterLeaveCounter.leave(e.target)&&(this.isDraggingNativeItem()&&setTimeout(()=>this.endDragNativeItem(),0),this.cancelHover())},this.handleTopDropCapture=e=>{if(this.dropTargetIds=[],this.isDraggingNativeItem()){var t;e.preventDefault(),(t=this.currentNativeSource)==null||t.loadDataTransfer(e.dataTransfer)}else er(e.dataTransfer)&&e.preventDefault();this.enterLeaveCounter.reset()},this.handleTopDrop=e=>{let{dropTargetIds:t}=this;this.dropTargetIds=[],this.actions.hover(t,{clientOffset:ir(e)}),this.actions.drop({dropEffect:this.getCurrentDropEffect()}),this.isDraggingNativeItem()?this.endDragNativeItem():this.monitor.isDragging()&&this.actions.endDrag(),this.cancelHover()},this.handleSelectStart=e=>{let t=e.target;typeof t.dragDrop==`function`&&(t.tagName===`INPUT`||t.tagName===`SELECT`||t.tagName===`TEXTAREA`||t.isContentEditable||(e.preventDefault(),t.dragDrop()))},this.options=new Ree(t,n),this.actions=e.getActions(),this.monitor=e.getMonitor(),this.registry=e.getRegistry(),this.enterLeaveCounter=new Aee(this.isNodeInDocument)}};const Vee=function(e,t,n){return new Bee(e,t,n)};var H=e(n(),1);const or=(0,H.createContext)({dragDropManager:void 0});function sr(e){return`Minified Redux error #`+e+`; visit https://redux.js.org/Errors?code=`+e+` for the full message or use the non-minified dev environment for full errors. `}var cr=(function(){return typeof Symbol==`function`&&Symbol.observable||`@@observable`})(),lr=function(){return Math.random().toString(36).substring(7).split(``).join(`.`)},ur={INIT:`@@redux/INIT`+lr(),REPLACE:`@@redux/REPLACE`+lr(),PROBE_UNKNOWN_ACTION:function(){return`@@redux/PROBE_UNKNOWN_ACTION`+lr()}};function Hee(e){if(typeof e!=`object`||!e)return!1;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function dr(e,t,n){var r;if(typeof t==`function`&&typeof n==`function`||typeof n==`function`&&typeof arguments[3]==`function`)throw Error(sr(0));if(typeof t==`function`&&n===void 0&&(n=t,t=void 0),n!==void 0){if(typeof n!=`function`)throw Error(sr(1));return n(dr)(e,t)}if(typeof e!=`function`)throw Error(sr(2));var i=e,a=t,o=[],s=o,c=!1;function l(){s===o&&(s=o.slice())}function u(){if(c)throw Error(sr(3));return a}function d(e){if(typeof e!=`function`)throw Error(sr(4));if(c)throw Error(sr(5));var t=!0;return l(),s.push(e),function(){if(t){if(c)throw Error(sr(6));t=!1,l();var n=s.indexOf(e);s.splice(n,1),o=null}}}function f(e){if(!Hee(e))throw Error(sr(7));if(e.type===void 0)throw Error(sr(8));if(c)throw Error(sr(9));try{c=!0,a=i(a,e)}finally{c=!1}for(var t=o=s,n=0;n<t.length;n++){var r=t[n];r()}return e}function p(e){if(typeof e!=`function`)throw Error(sr(10));i=e,f({type:ur.REPLACE})}function m(){var e,t=d;return e={subscribe:function(e){if(typeof e!=`object`||!e)throw Error(sr(11));function n(){e.next&&e.next(u())}return n(),{unsubscribe:t(n)}}},e[cr]=function(){return this},e}return f({type:ur.INIT}),r={dispatch:f,subscribe:d,getState:u,replaceReducer:p},r[cr]=m,r}function fr(e,t,...n){if(Uee()&&t===void 0)throw Error(`invariant requires an error message argument`);if(!e){let e;if(t===void 0)e=Error(`Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.`);else{let r=0;e=Error(t.replace(/%s/g,function(){return n[r++]})),e.name=`Invariant Violation`}throw e.framesToPop=1,e}}function Uee(){return typeof process<`u`&&!0}function Wee(e,t,n){return t.split(`.`).reduce((e,t)=>e&&e[t]?e[t]:n||null,e)}function Gee(e,t){return e.filter(e=>e!==t)}function pr(e){return typeof e==`object`}function Kee(e,t){let n=new Map,r=e=>{n.set(e,n.has(e)?n.get(e)+1:1)};e.forEach(r),t.forEach(r);let i=[];return n.forEach((e,t)=>{e===1&&i.push(t)}),i}function qee(e,t){return e.filter(e=>t.indexOf(e)>-1)}const mr=`dnd-core/INIT_COORDS`,hr=`dnd-core/BEGIN_DRAG`,gr=`dnd-core/PUBLISH_DRAG_SOURCE`,_r=`dnd-core/HOVER`,vr=`dnd-core/DROP`,yr=`dnd-core/END_DRAG`;function br(e,t){return{type:mr,payload:{sourceClientOffset:t||null,clientOffset:e||null}}}var Jee={type:mr,payload:{clientOffset:null,sourceClientOffset:null}};function Yee(e){return function(t=[],n={publishSource:!0}){let{publishSource:r=!0,clientOffset:i,getSourceClientOffset:a}=n,o=e.getMonitor(),s=e.getRegistry();e.dispatch(br(i)),Xee(t,o,s);let c=$ee(t,o);if(c==null){e.dispatch(Jee);return}let l=null;if(i){if(!a)throw Error(`getSourceClientOffset must be defined`);Zee(a),l=a(c)}e.dispatch(br(i,l));let u=s.getSource(c).beginDrag(o,c);if(u!=null)return Qee(u),s.pinSource(c),{type:hr,payload:{itemType:s.getSourceType(c),item:u,sourceId:c,clientOffset:i||null,sourceClientOffset:l||null,isSourcePublic:!!r}}}}function Xee(e,t,n){fr(!t.isDragging(),`Cannot call beginDrag while dragging.`),e.forEach(function(e){fr(n.getSource(e),`Expected sourceIds to be registered.`)})}function Zee(e){fr(typeof e==`function`,`When clientOffset is provided, getSourceClientOffset must be a function.`)}function Qee(e){fr(pr(e),`Item must be an object.`)}function $ee(e,t){let n=null;for(let r=e.length-1;r>=0;r--)if(t.canDragSource(e[r])){n=e[r];break}return n}function ete(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function tte(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t],r=Object.keys(n);typeof Object.getOwnPropertySymbols==`function`&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){ete(e,t,n[t])})}return e}function nte(e){return function(t={}){let n=e.getMonitor(),r=e.getRegistry();rte(n),ote(n).forEach((i,a)=>{let o={type:vr,payload:{dropResult:tte({},t,ite(i,a,r,n))}};e.dispatch(o)})}}function rte(e){fr(e.isDragging(),`Cannot call drop while not dragging.`),fr(!e.didDrop(),`Cannot call drop twice during one drag operation.`)}function ite(e,t,n,r){let i=n.getTarget(e),a=i?i.drop(r,e):void 0;return ate(a),a===void 0&&(a=t===0?{}:r.getDropResult()),a}function ate(e){fr(e===void 0||pr(e),`Drop result must either be an object or undefined.`)}function ote(e){let t=e.getTargetIds().filter(e.canDropOnTarget,e);return t.reverse(),t}function ste(e){return function(){let t=e.getMonitor(),n=e.getRegistry();cte(t);let r=t.getSourceId();return r!=null&&(n.getSource(r,!0).endDrag(t,r),n.unpinSource()),{type:yr}}}function cte(e){fr(e.isDragging(),`Cannot call endDrag while not dragging.`)}function xr(e,t){return t===null?e===null:Array.isArray(e)?e.some(e=>e===t):e===t}function lte(e){return function(t,{clientOffset:n}={}){ute(t);let r=t.slice(0),i=e.getMonitor(),a=e.getRegistry();return fte(r,a,i.getItemType()),dte(r,i,a),pte(r,i,a),{type:_r,payload:{targetIds:r,clientOffset:n||null}}}}function ute(e){fr(Array.isArray(e),`Expected targetIds to be an array.`)}function dte(e,t,n){fr(t.isDragging(),`Cannot call hover while not dragging.`),fr(!t.didDrop(),`Cannot call hover after drop.`);for(let t=0;t<e.length;t++){let r=e[t];fr(e.lastIndexOf(r)===t,`Expected targetIds to be unique in the passed array.`),fr(n.getTarget(r),`Expected targetIds to be registered.`)}}function fte(e,t,n){for(let r=e.length-1;r>=0;r--){let i=e[r];xr(t.getTargetType(i),n)||e.splice(r,1)}}function pte(e,t,n){e.forEach(function(e){n.getTarget(e).hover(t,e)})}function mte(e){return function(){if(e.getMonitor().isDragging())return{type:gr}}}function hte(e){return{beginDrag:Yee(e),publishDragSource:mte(e),hover:lte(e),drop:nte(e),endDrag:ste(e)}}var gte=class{receiveBackend(e){this.backend=e}getMonitor(){return this.monitor}getBackend(){return this.backend}getRegistry(){return this.monitor.registry}getActions(){let e=this,{dispatch:t}=this.store;function n(n){return(...r)=>{let i=n.apply(e,r);i!==void 0&&t(i)}}let r=hte(this);return Object.keys(r).reduce((e,t)=>{let i=r[t];return e[t]=n(i),e},{})}dispatch(e){this.store.dispatch(e)}constructor(e,t){this.isSetUp=!1,this.handleRefCountChange=()=>{let e=this.store.getState().refCount>0;this.backend&&(e&&!this.isSetUp?(this.backend.setup(),this.isSetUp=!0):!e&&this.isSetUp&&(this.backend.teardown(),this.isSetUp=!1))},this.store=e,this.monitor=t,e.subscribe(this.handleRefCountChange)}};function _te(e,t){return{x:e.x+t.x,y:e.y+t.y}}function Sr(e,t){return{x:e.x-t.x,y:e.y-t.y}}function vte(e){let{clientOffset:t,initialClientOffset:n,initialSourceClientOffset:r}=e;return!t||!n||!r?null:Sr(_te(t,r),n)}function yte(e){let{clientOffset:t,initialClientOffset:n}=e;return!t||!n?null:Sr(t,n)}const Cr=[],wr=[];Cr.__IS_NONE__=!0,wr.__IS_ALL__=!0;function bte(e,t){return e===Cr?!1:e===wr||t===void 0?!0:qee(t,e).length>0}var xte=class{subscribeToStateChange(e,t={}){let{handlerIds:n}=t;fr(typeof e==`function`,`listener must be a function.`),fr(n===void 0||Array.isArray(n),`handlerIds, when specified, must be an array of strings.`);let r=this.store.getState().stateId;return this.store.subscribe(()=>{let t=this.store.getState(),i=t.stateId;try{i===r||i===r+1&&!bte(t.dirtyHandlerIds,n)||e()}finally{r=i}})}subscribeToOffsetChange(e){fr(typeof e==`function`,`listener must be a function.`);let t=this.store.getState().dragOffset;return this.store.subscribe(()=>{let n=this.store.getState().dragOffset;n!==t&&(t=n,e())})}canDragSource(e){if(!e)return!1;let t=this.registry.getSource(e);return fr(t,`Expected to find a valid source. sourceId=${e}`),this.isDragging()?!1:t.canDrag(this,e)}canDropOnTarget(e){if(!e)return!1;let t=this.registry.getTarget(e);return fr(t,`Expected to find a valid target. targetId=${e}`),!this.isDragging()||this.didDrop()?!1:xr(this.registry.getTargetType(e),this.getItemType())&&t.canDrop(this,e)}isDragging(){return!!this.getItemType()}isDraggingSource(e){if(!e)return!1;let t=this.registry.getSource(e,!0);return fr(t,`Expected to find a valid source. sourceId=${e}`),!this.isDragging()||!this.isSourcePublic()||this.registry.getSourceType(e)!==this.getItemType()?!1:t.isDragging(this,e)}isOverTarget(e,t={shallow:!1}){if(!e)return!1;let{shallow:n}=t;if(!this.isDragging())return!1;let r=this.registry.getTargetType(e),i=this.getItemType();if(i&&!xr(r,i))return!1;let a=this.getTargetIds();if(!a.length)return!1;let o=a.indexOf(e);return n?o===a.length-1:o>-1}getItemType(){return this.store.getState().dragOperation.itemType}getItem(){return this.store.getState().dragOperation.item}getSourceId(){return this.store.getState().dragOperation.sourceId}getTargetIds(){return this.store.getState().dragOperation.targetIds}getDropResult(){return this.store.getState().dragOperation.dropResult}didDrop(){return this.store.getState().dragOperation.didDrop}isSourcePublic(){return!!this.store.getState().dragOperation.isSourcePublic}getInitialClientOffset(){return this.store.getState().dragOffset.initialClientOffset}getInitialSourceClientOffset(){return this.store.getState().dragOffset.initialSourceClientOffset}getClientOffset(){return this.store.getState().dragOffset.clientOffset}getSourceClientOffset(){return vte(this.store.getState().dragOffset)}getDifferenceFromInitialOffset(){return yte(this.store.getState().dragOffset)}constructor(e,t){this.store=e,this.registry=t}},Tr=typeof global<`u`?global:self,Er=Tr.MutationObserver||Tr.WebKitMutationObserver;function Dr(e){return function(){let t=setTimeout(r,0),n=setInterval(r,50);function r(){clearTimeout(t),clearInterval(n),e()}}}function Ste(e){let t=1,n=new Er(e),r=document.createTextNode(``);return n.observe(r,{characterData:!0}),function(){t=-t,r.data=t}}const Cte=typeof Er==`function`?Ste:Dr;var wte=class{enqueueTask(e){let{queue:t,requestFlush:n}=this;t.length||(n(),this.flushing=!0),t[t.length]=e}constructor(){this.queue=[],this.pendingErrors=[],this.flushing=!1,this.index=0,this.capacity=1024,this.flush=()=>{let{queue:e}=this;for(;this.index<e.length;){let t=this.index;if(this.index++,e[t].call(),this.index>this.capacity){for(let t=0,n=e.length-this.index;t<n;t++)e[t]=e[t+this.index];e.length-=this.index,this.index=0}}e.length=0,this.index=0,this.flushing=!1},this.registerPendingError=e=>{this.pendingErrors.push(e),this.requestErrorThrow()},this.requestFlush=Cte(this.flush),this.requestErrorThrow=Dr(()=>{if(this.pendingErrors.length)throw this.pendingErrors.shift()})}},Tte=class{call(){try{this.task&&this.task()}catch(e){this.onError(e)}finally{this.task=null,this.release(this)}}constructor(e,t){this.onError=e,this.release=t,this.task=null}},Ete=class{create(e){let t=this.freeTasks,n=t.length?t.pop():new Tte(this.onError,e=>t[t.length]=e);return n.task=e,n}constructor(e){this.onError=e,this.freeTasks=[]}},Or=new wte,Dte=new Ete(Or.registerPendingError);function Ote(e){Or.enqueueTask(Dte.create(e))}const kr=`dnd-core/ADD_SOURCE`,Ar=`dnd-core/ADD_TARGET`,jr=`dnd-core/REMOVE_SOURCE`,Mr=`dnd-core/REMOVE_TARGET`;function kte(e){return{type:kr,payload:{sourceId:e}}}function Ate(e){return{type:Ar,payload:{targetId:e}}}function jte(e){return{type:jr,payload:{sourceId:e}}}function Mte(e){return{type:Mr,payload:{targetId:e}}}function Nte(e){fr(typeof e.canDrag==`function`,`Expected canDrag to be a function.`),fr(typeof e.beginDrag==`function`,`Expected beginDrag to be a function.`),fr(typeof e.endDrag==`function`,`Expected endDrag to be a function.`)}function Pte(e){fr(typeof e.canDrop==`function`,`Expected canDrop to be a function.`),fr(typeof e.hover==`function`,`Expected hover to be a function.`),fr(typeof e.drop==`function`,`Expected beginDrag to be a function.`)}function Nr(e,t){if(t&&Array.isArray(e)){e.forEach(e=>Nr(e,!1));return}fr(typeof e==`string`||typeof e==`symbol`,t?`Type can only be a string, a symbol, or an array of either.`:`Type can only be a string or a symbol.`)}var Pr;(function(e){e.SOURCE=`SOURCE`,e.TARGET=`TARGET`})(Pr||={});var Fte=0;function Ite(){return Fte++}function Lte(e){let t=Ite().toString();switch(e){case Pr.SOURCE:return`S${t}`;case Pr.TARGET:return`T${t}`;default:throw Error(`Unknown Handler Role: ${e}`)}}function Fr(e){switch(e[0]){case`S`:return Pr.SOURCE;case`T`:return Pr.TARGET;default:throw Error(`Cannot parse handler ID: ${e}`)}}function Ir(e,t){let n=e.entries(),r=!1;do{let{done:e,value:[,i]}=n.next();if(i===t)return!0;r=!!e}while(!r);return!1}var Rte=class{addSource(e,t){Nr(e),Nte(t);let n=this.addHandler(Pr.SOURCE,e,t);return this.store.dispatch(kte(n)),n}addTarget(e,t){Nr(e,!0),Pte(t);let n=this.addHandler(Pr.TARGET,e,t);return this.store.dispatch(Ate(n)),n}containsHandler(e){return Ir(this.dragSources,e)||Ir(this.dropTargets,e)}getSource(e,t=!1){return fr(this.isSourceId(e),`Expected a valid source ID.`),t&&e===this.pinnedSourceId?this.pinnedSource:this.dragSources.get(e)}getTarget(e){return fr(this.isTargetId(e),`Expected a valid target ID.`),this.dropTargets.get(e)}getSourceType(e){return fr(this.isSourceId(e),`Expected a valid source ID.`),this.types.get(e)}getTargetType(e){return fr(this.isTargetId(e),`Expected a valid target ID.`),this.types.get(e)}isSourceId(e){return Fr(e)===Pr.SOURCE}isTargetId(e){return Fr(e)===Pr.TARGET}removeSource(e){fr(this.getSource(e),`Expected an existing source.`),this.store.dispatch(jte(e)),Ote(()=>{this.dragSources.delete(e),this.types.delete(e)})}removeTarget(e){fr(this.getTarget(e),`Expected an existing target.`),this.store.dispatch(Mte(e)),this.dropTargets.delete(e),this.types.delete(e)}pinSource(e){let t=this.getSource(e);fr(t,`Expected an existing source.`),this.pinnedSourceId=e,this.pinnedSource=t}unpinSource(){fr(this.pinnedSource,`No source is pinned at the time.`),this.pinnedSourceId=null,this.pinnedSource=null}addHandler(e,t,n){let r=Lte(e);return this.types.set(r,t),e===Pr.SOURCE?this.dragSources.set(r,n):e===Pr.TARGET&&this.dropTargets.set(r,n),r}constructor(e){this.types=new Map,this.dragSources=new Map,this.dropTargets=new Map,this.pinnedSourceId=null,this.pinnedSource=null,this.store=e}};const zte=(e,t)=>e===t;function Bte(e,t){return!e&&!t?!0:!e||!t?!1:e.x===t.x&&e.y===t.y}function Vte(e,t,n=zte){if(e.length!==t.length)return!1;for(let r=0;r<e.length;++r)if(!n(e[r],t[r]))return!1;return!0}function Hte(e=Cr,t){switch(t.type){case _r:break;case kr:case Ar:case Mr:case jr:return Cr;case hr:case gr:case yr:case vr:default:return wr}let{targetIds:n=[],prevTargetIds:r=[]}=t.payload,i=Kee(n,r);if(!(i.length>0||!Vte(n,r)))return Cr;let a=r[r.length-1],o=n[n.length-1];return a!==o&&(a&&i.push(a),o&&i.push(o)),i}function Ute(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Wte(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t],r=Object.keys(n);typeof Object.getOwnPropertySymbols==`function`&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){Ute(e,t,n[t])})}return e}var Lr={initialSourceClientOffset:null,initialClientOffset:null,clientOffset:null};function Gte(e=Lr,t){let{payload:n}=t;switch(t.type){case mr:case hr:return{initialSourceClientOffset:n.sourceClientOffset,initialClientOffset:n.clientOffset,clientOffset:n.clientOffset};case _r:return Bte(e.clientOffset,n.clientOffset)?e:Wte({},e,{clientOffset:n.clientOffset});case yr:case vr:return Lr;default:return e}}function Kte(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Rr(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t],r=Object.keys(n);typeof Object.getOwnPropertySymbols==`function`&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){Kte(e,t,n[t])})}return e}var qte={itemType:null,item:null,sourceId:null,targetIds:[],dropResult:null,didDrop:!1,isSourcePublic:null};function Jte(e=qte,t){let{payload:n}=t;switch(t.type){case hr:return Rr({},e,{itemType:n.itemType,item:n.item,sourceId:n.sourceId,isSourcePublic:n.isSourcePublic,dropResult:null,didDrop:!1});case gr:return Rr({},e,{isSourcePublic:!0});case _r:return Rr({},e,{targetIds:n.targetIds});case Mr:return e.targetIds.indexOf(n.targetId)===-1?e:Rr({},e,{targetIds:Gee(e.targetIds,n.targetId)});case vr:return Rr({},e,{dropResult:n.dropResult,didDrop:!0,targetIds:[]});case yr:return Rr({},e,{itemType:null,item:null,sourceId:null,dropResult:null,didDrop:!1,isSourcePublic:null,targetIds:[]});default:return e}}function Yte(e=0,t){switch(t.type){case kr:case Ar:return e+1;case jr:case Mr:return e-1;default:return e}}function Xte(e=0){return e+1}function Zte(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Qte(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t],r=Object.keys(n);typeof Object.getOwnPropertySymbols==`function`&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){Zte(e,t,n[t])})}return e}function $te(e={},t){return{dirtyHandlerIds:Hte(e.dirtyHandlerIds,{type:t.type,payload:Qte({},t.payload,{prevTargetIds:Wee(e,`dragOperation.targetIds`,[])})}),dragOffset:Gte(e.dragOffset,t),refCount:Yte(e.refCount,t),dragOperation:Jte(e.dragOperation,t),stateId:Xte(e.stateId)}}function ene(e,t=void 0,n={},r=!1){let i=tne(r),a=new gte(i,new xte(i,new Rte(i))),o=e(a,t,n);return a.receiveBackend(o),a}function tne(e){let t=typeof window<`u`&&window.__REDUX_DEVTOOLS_EXTENSION__;return dr($te,e&&t&&t({name:`dnd-core`,instanceId:`dnd-core`}))}var U=e(t(),1);function nne(e,t){if(e==null)return{};var n=rne(e,t),r,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)r=a[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function rne(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a<r.length;a++)i=r[a],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}var zr=0,Br=Symbol.for(`__REACT_DND_CONTEXT_INSTANCE__`),ine=(0,H.memo)(function(e){var{children:t}=e;let[n,r]=ane(nne(e,[`children`]));return(0,H.useEffect)(()=>{if(r){let e=Vr();return++zr,()=>{--zr===0&&(e[Br]=null)}}},[]),(0,U.jsx)(or.Provider,{value:n,children:t})});function ane(e){return`manager`in e?[{dragDropManager:e.manager},!1]:[one(e.backend,e.context,e.options,e.debugMode),!e.context]}function one(e,t=Vr(),n,r){let i=t;return i[Br]||(i[Br]={dragDropManager:ene(e,t,n,r)}),i[Br]}function Vr(){return typeof global<`u`?global:window}const Hr=typeof window<`u`?H.useLayoutEffect:H.useEffect;var sne=e(ce(),1);function cne(e,t,n){let[r,i]=(0,H.useState)(()=>t(e)),a=(0,H.useCallback)(()=>{let a=t(e);(0,sne.default)(r,a)||(i(a),n&&n())},[r,e,n]);return Hr(a),[r,a]}function lne(e,t,n){let[r,i]=cne(e,t,n);return Hr(function(){let t=e.getHandlerId();if(t!=null)return e.subscribeToStateChange(i,{handlerIds:[t]})},[e,i]),r}function Ur(e,t,n){return lne(t,e||(()=>({})),()=>n.reconnect())}function Wr(e,t){let n=[...t||[]];return t==null&&typeof e!=`function`&&n.push(e),(0,H.useMemo)(()=>typeof e==`function`?e():e,n)}function une(e){return(0,H.useMemo)(()=>e.hooks.dragSource(),[e])}function dne(e){return(0,H.useMemo)(()=>e.hooks.dragPreview(),[e])}var Gr=!1,Kr=!1,fne=class{receiveHandlerId(e){this.sourceId=e}getHandlerId(){return this.sourceId}canDrag(){fr(!Gr,`You may not call monitor.canDrag() inside your canDrag() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source-monitor`);try{return Gr=!0,this.internalMonitor.canDragSource(this.sourceId)}finally{Gr=!1}}isDragging(){if(!this.sourceId)return!1;fr(!Kr,`You may not call monitor.isDragging() inside your isDragging() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source-monitor`);try{return Kr=!0,this.internalMonitor.isDraggingSource(this.sourceId)}finally{Kr=!1}}subscribeToStateChange(e,t){return this.internalMonitor.subscribeToStateChange(e,t)}isDraggingSource(e){return this.internalMonitor.isDraggingSource(e)}isOverTarget(e,t){return this.internalMonitor.isOverTarget(e,t)}getTargetIds(){return this.internalMonitor.getTargetIds()}isSourcePublic(){return this.internalMonitor.isSourcePublic()}getSourceId(){return this.internalMonitor.getSourceId()}subscribeToOffsetChange(e){return this.internalMonitor.subscribeToOffsetChange(e)}canDragSource(e){return this.internalMonitor.canDragSource(e)}canDropOnTarget(e){return this.internalMonitor.canDropOnTarget(e)}getItemType(){return this.internalMonitor.getItemType()}getItem(){return this.internalMonitor.getItem()}getDropResult(){return this.internalMonitor.getDropResult()}didDrop(){return this.internalMonitor.didDrop()}getInitialClientOffset(){return this.internalMonitor.getInitialClientOffset()}getInitialSourceClientOffset(){return this.internalMonitor.getInitialSourceClientOffset()}getSourceClientOffset(){return this.internalMonitor.getSourceClientOffset()}getClientOffset(){return this.internalMonitor.getClientOffset()}getDifferenceFromInitialOffset(){return this.internalMonitor.getDifferenceFromInitialOffset()}constructor(e){this.sourceId=null,this.internalMonitor=e.getMonitor()}},qr=!1,pne=class{receiveHandlerId(e){this.targetId=e}getHandlerId(){return this.targetId}subscribeToStateChange(e,t){return this.internalMonitor.subscribeToStateChange(e,t)}canDrop(){if(!this.targetId)return!1;fr(!qr,`You may not call monitor.canDrop() inside your canDrop() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drop-target-monitor`);try{return qr=!0,this.internalMonitor.canDropOnTarget(this.targetId)}finally{qr=!1}}isOver(e){return this.targetId?this.internalMonitor.isOverTarget(this.targetId,e):!1}getItemType(){return this.internalMonitor.getItemType()}getItem(){return this.internalMonitor.getItem()}getDropResult(){return this.internalMonitor.getDropResult()}didDrop(){return this.internalMonitor.didDrop()}getInitialClientOffset(){return this.internalMonitor.getInitialClientOffset()}getInitialSourceClientOffset(){return this.internalMonitor.getInitialSourceClientOffset()}getSourceClientOffset(){return this.internalMonitor.getSourceClientOffset()}getClientOffset(){return this.internalMonitor.getClientOffset()}getDifferenceFromInitialOffset(){return this.internalMonitor.getDifferenceFromInitialOffset()}constructor(e){this.targetId=null,this.internalMonitor=e.getMonitor()}};function mne(e,t,n){let r=n.getRegistry(),i=r.addTarget(e,t);return[i,()=>r.removeTarget(i)]}function hne(e,t,n){let r=n.getRegistry(),i=r.addSource(e,t);return[i,()=>r.removeSource(i)]}function Jr(e,t,n,r){let i=n?n.call(r,e,t):void 0;if(i!==void 0)return!!i;if(e===t)return!0;if(typeof e!=`object`||!e||typeof t!=`object`||!t)return!1;let a=Object.keys(e),o=Object.keys(t);if(a.length!==o.length)return!1;let s=Object.prototype.hasOwnProperty.bind(t);for(let o=0;o<a.length;o++){let c=a[o];if(!s(c))return!1;let l=e[c],u=t[c];if(i=n?n.call(r,l,u,c):void 0,i===!1||i===void 0&&l!==u)return!1}return!0}function Yr(e){return typeof e==`object`&&!!e&&Object.prototype.hasOwnProperty.call(e,`current`)}function gne(e){if(typeof e.type==`string`)return;let t=e.type.displayName||e.type.name||`the component`;throw Error(`Only native element nodes can now be passed to React DnD connectors.You can either wrap ${t} into a <div>, or turn it into a drag source or a drop target itself.`)}function _ne(e){return(t=null,n=null)=>{if(!(0,H.isValidElement)(t)){let r=t;return e(r,n),r}let r=t;return gne(r),vne(r,n?t=>e(t,n):e)}}function Xr(e){let t={};return Object.keys(e).forEach(n=>{let r=e[n];if(n.endsWith(`Ref`))t[n]=e[n];else{let e=_ne(r);t[n]=()=>e}}),t}function Zr(e,t){typeof e==`function`?e(t):e.current=t}function vne(e,t){let n=e.ref;return fr(typeof n!=`string`,`Cannot connect React DnD to an element with an existing string ref. Please convert it to use a callback ref instead, or wrap it into a <span> or <div>. Read more: https://reactjs.org/docs/refs-and-the-dom.html#callback-refs`),n?(0,H.cloneElement)(e,{ref:e=>{Zr(n,e),Zr(t,e)}}):(0,H.cloneElement)(e,{ref:t})}var yne=class{receiveHandlerId(e){this.handlerId!==e&&(this.handlerId=e,this.reconnect())}get connectTarget(){return this.dragSource}get dragSourceOptions(){return this.dragSourceOptionsInternal}set dragSourceOptions(e){this.dragSourceOptionsInternal=e}get dragPreviewOptions(){return this.dragPreviewOptionsInternal}set dragPreviewOptions(e){this.dragPreviewOptionsInternal=e}reconnect(){let e=this.reconnectDragSource();this.reconnectDragPreview(e)}reconnectDragSource(){let e=this.dragSource,t=this.didHandlerIdChange()||this.didConnectedDragSourceChange()||this.didDragSourceOptionsChange();return t&&this.disconnectDragSource(),this.handlerId?e?(t&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDragSource=e,this.lastConnectedDragSourceOptions=this.dragSourceOptions,this.dragSourceUnsubscribe=this.backend.connectDragSource(this.handlerId,e,this.dragSourceOptions)),t):(this.lastConnectedDragSource=e,t):t}reconnectDragPreview(e=!1){let t=this.dragPreview,n=e||this.didHandlerIdChange()||this.didConnectedDragPreviewChange()||this.didDragPreviewOptionsChange();if(n&&this.disconnectDragPreview(),this.handlerId){if(!t){this.lastConnectedDragPreview=t;return}n&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDragPreview=t,this.lastConnectedDragPreviewOptions=this.dragPreviewOptions,this.dragPreviewUnsubscribe=this.backend.connectDragPreview(this.handlerId,t,this.dragPreviewOptions))}}didHandlerIdChange(){return this.lastConnectedHandlerId!==this.handlerId}didConnectedDragSourceChange(){return this.lastConnectedDragSource!==this.dragSource}didConnectedDragPreviewChange(){return this.lastConnectedDragPreview!==this.dragPreview}didDragSourceOptionsChange(){return!Jr(this.lastConnectedDragSourceOptions,this.dragSourceOptions)}didDragPreviewOptionsChange(){return!Jr(this.lastConnectedDragPreviewOptions,this.dragPreviewOptions)}disconnectDragSource(){this.dragSourceUnsubscribe&&=(this.dragSourceUnsubscribe(),void 0)}disconnectDragPreview(){this.dragPreviewUnsubscribe&&(this.dragPreviewUnsubscribe(),this.dragPreviewUnsubscribe=void 0,this.dragPreviewNode=null,this.dragPreviewRef=null)}get dragSource(){return this.dragSourceNode||this.dragSourceRef&&this.dragSourceRef.current}get dragPreview(){return this.dragPreviewNode||this.dragPreviewRef&&this.dragPreviewRef.current}clearDragSource(){this.dragSourceNode=null,this.dragSourceRef=null}clearDragPreview(){this.dragPreviewNode=null,this.dragPreviewRef=null}constructor(e){this.hooks=Xr({dragSource:(e,t)=>{this.clearDragSource(),this.dragSourceOptions=t||null,Yr(e)?this.dragSourceRef=e:this.dragSourceNode=e,this.reconnectDragSource()},dragPreview:(e,t)=>{this.clearDragPreview(),this.dragPreviewOptions=t||null,Yr(e)?this.dragPreviewRef=e:this.dragPreviewNode=e,this.reconnectDragPreview()}}),this.handlerId=null,this.dragSourceRef=null,this.dragSourceOptionsInternal=null,this.dragPreviewRef=null,this.dragPreviewOptionsInternal=null,this.lastConnectedHandlerId=null,this.lastConnectedDragSource=null,this.lastConnectedDragSourceOptions=null,this.lastConnectedDragPreview=null,this.lastConnectedDragPreviewOptions=null,this.backend=e}},bne=class{get connectTarget(){return this.dropTarget}reconnect(){let e=this.didHandlerIdChange()||this.didDropTargetChange()||this.didOptionsChange();e&&this.disconnectDropTarget();let t=this.dropTarget;if(this.handlerId){if(!t){this.lastConnectedDropTarget=t;return}e&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDropTarget=t,this.lastConnectedDropTargetOptions=this.dropTargetOptions,this.unsubscribeDropTarget=this.backend.connectDropTarget(this.handlerId,t,this.dropTargetOptions))}}receiveHandlerId(e){e!==this.handlerId&&(this.handlerId=e,this.reconnect())}get dropTargetOptions(){return this.dropTargetOptionsInternal}set dropTargetOptions(e){this.dropTargetOptionsInternal=e}didHandlerIdChange(){return this.lastConnectedHandlerId!==this.handlerId}didDropTargetChange(){return this.lastConnectedDropTarget!==this.dropTarget}didOptionsChange(){return!Jr(this.lastConnectedDropTargetOptions,this.dropTargetOptions)}disconnectDropTarget(){this.unsubscribeDropTarget&&=(this.unsubscribeDropTarget(),void 0)}get dropTarget(){return this.dropTargetNode||this.dropTargetRef&&this.dropTargetRef.current}clearDropTarget(){this.dropTargetRef=null,this.dropTargetNode=null}constructor(e){this.hooks=Xr({dropTarget:(e,t)=>{this.clearDropTarget(),this.dropTargetOptions=t,Yr(e)?this.dropTargetRef=e:this.dropTargetNode=e,this.reconnect()}}),this.handlerId=null,this.dropTargetRef=null,this.dropTargetOptionsInternal=null,this.lastConnectedHandlerId=null,this.lastConnectedDropTarget=null,this.lastConnectedDropTargetOptions=null,this.backend=e}};function Qr(){let{dragDropManager:e}=(0,H.useContext)(or);return fr(e!=null,`Expected drag drop context`),e}function xne(e,t){let n=Qr(),r=(0,H.useMemo)(()=>new yne(n.getBackend()),[n]);return Hr(()=>(r.dragSourceOptions=e||null,r.reconnect(),()=>r.disconnectDragSource()),[r,e]),Hr(()=>(r.dragPreviewOptions=t||null,r.reconnect(),()=>r.disconnectDragPreview()),[r,t]),r}function Sne(){let e=Qr();return(0,H.useMemo)(()=>new fne(e),[e])}var Cne=class{beginDrag(){let e=this.spec,t=this.monitor,n=null;return n=typeof e.item==`object`?e.item:typeof e.item==`function`?e.item(t):{},n??null}canDrag(){let e=this.spec,t=this.monitor;return typeof e.canDrag==`boolean`?e.canDrag:typeof e.canDrag==`function`?e.canDrag(t):!0}isDragging(e,t){let n=this.spec,r=this.monitor,{isDragging:i}=n;return i?i(r):t===e.getSourceId()}endDrag(){let e=this.spec,t=this.monitor,n=this.connector,{end:r}=e;r&&r(t.getItem(),t),n.reconnect()}constructor(e,t,n){this.spec=e,this.monitor=t,this.connector=n}};function wne(e,t,n){let r=(0,H.useMemo)(()=>new Cne(e,t,n),[t,n]);return(0,H.useEffect)(()=>{r.spec=e},[e]),r}function Tne(e){return(0,H.useMemo)(()=>{let t=e.type;return fr(t!=null,`spec.type must be defined`),t},[e])}function Ene(e,t,n){let r=Qr(),i=wne(e,t,n),a=Tne(e);Hr(function(){if(a!=null){let[e,o]=hne(a,i,r);return t.receiveHandlerId(e),n.receiveHandlerId(e),o}},[r,t,n,i,a])}function Dne(e,t){let n=Wr(e,t);fr(!n.begin,`useDrag::spec.begin was deprecated in v14. Replace spec.begin() with spec.item(). (see more here - https://react-dnd.github.io/react-dnd/docs/api/use-drag)`);let r=Sne(),i=xne(n.options,n.previewOptions);return Ene(n,r,i),[Ur(n.collect,r,i),une(i),dne(i)]}function One(e){return(0,H.useMemo)(()=>e.hooks.dropTarget(),[e])}function kne(e){let t=Qr(),n=(0,H.useMemo)(()=>new bne(t.getBackend()),[t]);return Hr(()=>(n.dropTargetOptions=e||null,n.reconnect(),()=>n.disconnectDropTarget()),[e]),n}function Ane(){let e=Qr();return(0,H.useMemo)(()=>new pne(e),[e])}function jne(e){let{accept:t}=e;return(0,H.useMemo)(()=>(fr(e.accept!=null,`accept must be defined`),Array.isArray(t)?t:[t]),[t])}var Mne=class{canDrop(){let e=this.spec,t=this.monitor;return e.canDrop?e.canDrop(t.getItem(),t):!0}hover(){let e=this.spec,t=this.monitor;e.hover&&e.hover(t.getItem(),t)}drop(){let e=this.spec,t=this.monitor;if(e.drop)return e.drop(t.getItem(),t)}constructor(e,t){this.spec=e,this.monitor=t}};function Nne(e,t){let n=(0,H.useMemo)(()=>new Mne(e,t),[t]);return(0,H.useEffect)(()=>{n.spec=e},[e]),n}function Pne(e,t,n){let r=Qr(),i=Nne(e,t),a=jne(e);Hr(function(){let[e,o]=mne(a,i,r);return t.receiveHandlerId(e),n.receiveHandlerId(e),o},[r,t,i,n,a.map(e=>e.toString()).join(`|`)])}function Fne(e,t){let n=Wr(e,t),r=Ane(),i=kne(n.options);return Pne(n,r,i),[Ur(n.collect,r,i),One(i)]}var Ine=r(((e,t)=>{t.exports=`SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED`})),Lne=r(((e,t)=>{var n=Ine();function r(){}function i(){}i.resetWarningCache=r,t.exports=function(){function e(e,t,r,i,a,o){if(o!==n){var s=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name=`Invariant Violation`,s}}e.isRequired=e;function t(){return e}var a={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:r};return a.PropTypes=a,a}})),$r=r(((e,t)=>{t.exports=Lne()()}));function Rne(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var zne=c((()=>{})),Bne=s({default:()=>ti}),ei,ti,Vne=c((()=>{zne(),ei=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,ti=Rne(function(e){return ei.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91})})),ni=e($r(),1),ri=e($r(),1),ii=e(o(),1),ai=e(te(),1),Hne=Object.defineProperty,oi=e=>{throw TypeError(e)},Une=(e,t,n)=>t in e?Hne(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,si=(e,t,n)=>Une(e,typeof t==`symbol`?t:t+``,n),ci=(e,t,n)=>t.has(e)||oi(`Cannot `+n),li=(e,t,n)=>(ci(e,t,`read from private field`),n?n.call(e):t.get(e)),ui=(e,t,n)=>t.has(e)?oi(`Cannot add the same private member more than once`):t instanceof WeakSet?t.add(e):t.set(e,n),di=(e,t,n,r)=>(ci(e,t,`write to private field`),r?r.call(e,n):t.set(e,n),n),fi,pi,mi,hi,gi,_i,vi,yi,bi,xi,Si=typeof globalThis<`u`?globalThis:typeof window<`u`?window:typeof global<`u`?global:typeof self<`u`?self:{};function Ci(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,`default`)?e.default:e}function wi(e){if(e.__esModule)return e;var t=e.default;if(typeof t==`function`){var n=function e(){return this instanceof e?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,`__esModule`,{value:!0}),Object.keys(e).forEach(function(t){var r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,r.get?r:{enumerable:!0,get:function(){return e[t]}})}),n}var Ti={exports:{}},Ei;function Di(){return Ei?Ti.exports:(Ei=1,(function(e){(function(){var t={}.hasOwnProperty;function n(){for(var e=``,t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=i(e,r(n)))}return e}function r(e){if(typeof e==`string`||typeof e==`number`)return e;if(typeof e!=`object`)return``;if(Array.isArray(e))return n.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes(`[native code]`))return e.toString();var r=``;for(var a in e)t.call(e,a)&&e[a]&&(r=i(r,a));return r}function i(e,t){return t?e?e+` `+t:e+t:e}e.exports?(n.default=n,e.exports=n):window.classNames=n})()})(Ti),Ti.exports)}var Oi=Ci(Di()),ki=(e=>(e.TEXT=`Text`,e.BUTTON=`Button`,e.DROP_DOWN_BUTTON=`DropDownButton`,e.COMPONENT=`Component`,e))(ki||{}),Ai=(e=>(e.FIRST=`first`,e.MIDDLE=`middle`,e.LAST=`last`,e))(Ai||{}),ji=(e=>(e.DANGER=`danger`,e.RED=`red`,e.WHITE=`white`,e.SUCCESS=`success`,e.GREEN=`green`,e.MUTED=`muted`,e))(ji||{}),Mi=(e=>(e.LEFT=`left`,e.RIGHT=`right`,e.CENTER=`center`,e))(Mi||{}),Ni=(e=>(e.TOP=`top`,e.BOTTOM=`bottom`,e))(Ni||{}),Pi=(e=>(e.LIBRARY=`library`,e.ADD=`add`,e.DRAG=`drag`,e.HELP=`help`,e.NOTIFICATION=`notification`,e.MENU=`menu`,e.EDIT=`edit`,e.FAST_FORWARD=`fast forward`,e.INDENT=`indent`,e.STAR=`star`,e.LIST=`list`,e.SETTINGS=`settings`,e.CHECK=`check`,e.LOCK=`lock`,e.UNLOCK=`unlock`,e.CLOSE=`close`,e.SUCCESS=`success`,e.WARNING=`warning`,e.ERROR=`error`,e.INFO=`info`,e.LEFT=`left`,e.COLLAPSE=`collapse`,e.EXPAND=`expand`,e.SORT_ASCENDING=`sort ascending`,e.SORT_DESCENDING=`sort descending`,e.FAST_BACKWARD=`fast backward`,e.CHEVRON_DOWN=`chevron down`,e.CHEVRON_RIGHT=`chevron right`,e.CHEVRON_LEFT=`chevron left`,e.CHEVRON_DOUBLE_LEFT=`chevron double left`,e.CHEVRON_DOUBLE_RIGHT=`chevron double right`,e))(Pi||{}),Fi=(e=>(e.TEXT=`text`,e.RADIO=`radio`,e.CHECKBOX=`checkbox`,e))(Fi||{});function Ii(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function Li(){return Li=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Li.apply(null,arguments)}function Ri(e,t){return Ri=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Ri(e,t)}function zi(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Ri(e,t)}function Bi(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,a;r<i;r++)(a||!(r in t))&&(a||=Array.prototype.slice.call(t,0,r),a[r]=t[r]);return e.concat(a||Array.prototype.slice.call(t))}var Vi={},Hi;function Wne(){if(Hi)return Vi;Hi=1;var e=/; *([!#$%&'*+.^_`|~0-9A-Za-z-]+) *= *("(?:[\u000b\u0020\u0021\u0023-\u005b\u005d-\u007e\u0080-\u00ff]|\\[\u000b\u0020-\u00ff])*"|[!#$%&'*+.^_`|~0-9A-Za-z-]+) */g,t=/^[\u000b\u0020-\u007e\u0080-\u00ff]+$/,n=/^[!#$%&'*+.^_`|~0-9A-Za-z-]+$/,r=/\\([\u000b\u0020-\u00ff])/g,i=/([\\"])/g,a=/^[!#$%&'*+.^_`|~0-9A-Za-z-]+\/[!#$%&'*+.^_`|~0-9A-Za-z-]+$/;Vi.format=o,Vi.parse=s;function o(e){if(!e||typeof e!=`object`)throw TypeError(`argument obj is required`);var t=e.parameters,r=e.type;if(!r||!a.test(r))throw TypeError(`invalid type`);var i=r;if(t&&typeof t==`object`)for(var o,s=Object.keys(t).sort(),c=0;c<s.length;c++){if(o=s[c],!n.test(o))throw TypeError(`invalid parameter name`);i+=`; `+o+`=`+l(t[o])}return i}function s(t){if(!t)throw TypeError(`argument string is required`);var n=typeof t==`object`?c(t):t;if(typeof n!=`string`)throw TypeError(`argument string is required to be a string`);var i=n.indexOf(`;`),o=i===-1?n.trim():n.slice(0,i).trim();if(!a.test(o))throw TypeError(`invalid media type`);var s=new u(o.toLowerCase());if(i!==-1){var l,d,f;for(e.lastIndex=i;d=e.exec(n);){if(d.index!==i)throw TypeError(`invalid parameter format`);i+=d[0].length,l=d[1].toLowerCase(),f=d[2],f.charCodeAt(0)===34&&(f=f.slice(1,-1),f.indexOf(`\\`)!==-1&&(f=f.replace(r,`$1`))),s.parameters[l]=f}if(i!==n.length)throw TypeError(`invalid parameter format`)}return s}function c(e){var t;if(typeof e.getHeader==`function`?t=e.getHeader(`content-type`):typeof e.headers==`object`&&(t=e.headers&&e.headers[`content-type`]),typeof t!=`string`)throw TypeError(`content-type header is missing from object`);return t}function l(e){var r=String(e);if(n.test(r))return r;if(r.length>0&&!t.test(r))throw TypeError(`invalid parameter value`);return`"`+r.replace(i,`\\$1`)+`"`}function u(e){this.parameters=Object.create(null),this.type=e}return Vi}var Gne=Wne(),Ui=new Map,Wi=function(e){return e.cloneNode(!0)},Gi=function(){return window.location.protocol===`file:`},Ki=function(e,t,n){var r=new XMLHttpRequest;r.onreadystatechange=function(){try{if(!/\.svg/i.test(e)&&r.readyState===2){var t=r.getResponseHeader(`Content-Type`);if(!t)throw Error(`Content type not found`);var i=Gne.parse(t).type;if(!(i===`image/svg+xml`||i===`text/plain`))throw Error(`Invalid content type: ${i}`)}if(r.readyState===4){if(r.status===404||r.responseXML===null)throw Error(Gi()?`Note: SVG injection ajax calls do not work locally without adjusting security settings in your browser. Or consider using a local webserver.`:`Unable to load SVG file: `+e);if(r.status===200||Gi()&&r.status===0)n(null,r);else throw Error(`There was a problem injecting the SVG: `+r.status+` `+r.statusText)}}catch(e){if(r.abort(),e instanceof Error)n(e,r);else throw e}},r.open(`GET`,e),r.withCredentials=t,r.overrideMimeType&&r.overrideMimeType(`text/xml`),r.send()},qi={},Ji=function(e,t){qi[e]=qi[e]||[],qi[e].push(t)},Kne=function(e){for(var t=function(t,n){setTimeout(function(){if(Array.isArray(qi[e])){var n=Ui.get(e),r=qi[e][t];n instanceof SVGSVGElement&&r(null,Wi(n)),n instanceof Error&&r(n),t===qi[e].length-1&&delete qi[e]}},0)},n=0,r=qi[e].length;n<r;n++)t(n)},qne=function(e,t,n){if(Ui.has(e)){var r=Ui.get(e);if(r===void 0){Ji(e,n);return}if(r instanceof SVGSVGElement){n(null,Wi(r));return}}Ui.set(e,void 0),Ji(e,n),Ki(e,t,function(t,n){t?Ui.set(e,t):n.responseXML?.documentElement instanceof SVGSVGElement&&Ui.set(e,n.responseXML.documentElement),Kne(e)})},Jne=function(e,t,n){Ki(e,t,function(e,t){e?n(e):t.responseXML?.documentElement instanceof SVGSVGElement&&n(null,t.responseXML.documentElement)})},Yne=0,Xne=function(){return++Yne},Yi=[],Xi={},Zne=`http://www.w3.org/2000/svg`,Zi=`http://www.w3.org/1999/xlink`,Qi=function(e,t,n,r,i,a,o){var s=e.getAttribute(`data-src`)||e.getAttribute(`src`);if(!s){o(Error(`Invalid data-src or src attribute`));return}if(Yi.indexOf(e)!==-1){Yi.splice(Yi.indexOf(e),1),e=null;return}Yi.push(e),e.setAttribute(`src`,``),(r?qne:Jne)(s,i,function(r,i){if(!i){Yi.splice(Yi.indexOf(e),1),e=null,o(r);return}var c=e.getAttribute(`id`);c&&i.setAttribute(`id`,c);var l=e.getAttribute(`title`);l&&i.setAttribute(`title`,l);var u=e.getAttribute(`width`);u&&i.setAttribute(`width`,u);var d=e.getAttribute(`height`);d&&i.setAttribute(`height`,d);var f=Array.from(new Set(Bi(Bi(Bi([],(i.getAttribute(`class`)||``).split(` `),!0),[`injected-svg`],!1),(e.getAttribute(`class`)||``).split(` `),!0))).join(` `).trim();i.setAttribute(`class`,f);var p=e.getAttribute(`style`);p&&i.setAttribute(`style`,p),i.setAttribute(`data-src`,s);var m=[].filter.call(e.attributes,function(e){return/^data-\w[\w-]*$/.test(e.name)});if(Array.prototype.forEach.call(m,function(e){e.name&&e.value&&i.setAttribute(e.name,e.value)}),n){var h={clipPath:[`clip-path`],"color-profile":[`color-profile`],cursor:[`cursor`],filter:[`filter`],linearGradient:[`fill`,`stroke`],marker:[`marker`,`marker-start`,`marker-mid`,`marker-end`],mask:[`mask`],path:[],pattern:[`fill`,`stroke`],radialGradient:[`fill`,`stroke`]},g,_,v,y,b;Object.keys(h).forEach(function(e){g=e,v=h[e],_=i.querySelectorAll(g+`[id]`);for(var t=function(e,t){y=_[e].id,b=y+`-`+Xne();var n;Array.prototype.forEach.call(v,function(e){n=i.querySelectorAll(`[`+e+`*="`+y+`"]`);for(var t=0,r=n.length;t<r;t++){var a=n[t].getAttribute(e);a&&!a.match(RegExp(`url\\("?#`+y+`"?\\)`))||n[t].setAttribute(e,`url(#`+b+`)`)}});for(var r=i.querySelectorAll(`[*|href]`),a=[],o=0,s=r.length;o<s;o++){var c=r[o].getAttributeNS(Zi,`href`);c&&c.toString()===`#`+_[e].id&&a.push(r[o])}for(var l=0,u=a.length;l<u;l++)a[l].setAttributeNS(Zi,`href`,`#`+b);_[e].id=b},n=0,r=_.length;n<r;n++)t(n)})}i.removeAttribute(`xmlns:a`);for(var x=i.querySelectorAll(`script`),S=[],C,w,T=0,E=x.length;T<E;T++)w=x[T].getAttribute(`type`),(!w||w===`application/ecmascript`||w===`application/javascript`||w===`text/javascript`)&&(C=x[T].innerText||x[T].textContent,C&&S.push(C),i.removeChild(x[T]));if(S.length>0&&(t===`always`||t===`once`&&!Xi[s])){for(var D=0,O=S.length;D<O;D++)Function(S[D])(window);Xi[s]=!0}var k=i.querySelectorAll(`style`);if(Array.prototype.forEach.call(k,function(e){e.textContent+=``}),i.setAttribute(`xmlns`,Zne),i.setAttribute(`xmlns:xlink`,Zi),a(i),!e.parentNode){Yi.splice(Yi.indexOf(e),1),e=null,o(Error(`Parent node is null`));return}e.parentNode.replaceChild(i,e),Yi.splice(Yi.indexOf(e),1),e=null,o(null,i)})},Qne=function(e,t){var n=t===void 0?{}:t,r=n.afterAll,i=r===void 0?function(){}:r,a=n.afterEach,o=a===void 0?function(){}:a,s=n.beforeEach,c=s===void 0?function(){}:s,l=n.cacheRequests,u=l===void 0?!0:l,d=n.evalScripts,f=d===void 0?`never`:d,p=n.httpRequestWithCredentials,m=p===void 0?!1:p,h=n.renumerateIRIElements,g=h===void 0?!0:h;if(e&&`length`in e)for(var _=0,v=0,y=e.length;v<y;v++)Qi(e[v],f,g,u,m,c,function(t,n){o(t,n),e&&`length`in e&&e.length===++_&&i(_)});else e?Qi(e,f,g,u,m,c,function(t,n){o(t,n),i(1),e=null}):i(0)},$ne=function(e){return(e?.ownerDocument||document).defaultView||window},ere=function(e,t){for(var n in e)if(!(n in t))return!0;for(var r in t)if(e[r]!==t[r])return!0;return!1},tre=[`afterInjection`,`beforeInjection`,`desc`,`evalScripts`,`fallback`,`httpRequestWithCredentials`,`loading`,`renumerateIRIElements`,`src`,`title`,`useRequestCache`,`wrapper`],$i=`http://www.w3.org/2000/svg`,ea=`http://www.w3.org/1999/xlink`,ta=function(e){function t(){var t,n=[...arguments];return t=e.call.apply(e,[this].concat(n))||this,t.initialState={hasError:!1,isLoading:!0},t.state=t.initialState,t._isMounted=!1,t.reactWrapper=void 0,t.nonReactWrapper=void 0,t.refCallback=function(e){t.reactWrapper=e},t}zi(t,e);var n=t.prototype;return n.renderSVG=function(){var e=this;if(this.reactWrapper instanceof $ne(this.reactWrapper).Node){var t=this.props,n=t.desc,r=t.evalScripts,i=t.httpRequestWithCredentials,a=t.renumerateIRIElements,o=t.src,s=t.title,c=t.useRequestCache,l=this.props.onError,u=this.props.beforeInjection,d=this.props.afterInjection,f=this.props.wrapper,p,m;f===`svg`?(p=document.createElementNS($i,f),p.setAttribute(`xmlns`,$i),p.setAttribute(`xmlns:xlink`,ea),m=document.createElementNS($i,f)):(p=document.createElement(f),m=document.createElement(f)),p.appendChild(m),m.dataset.src=o,this.nonReactWrapper=this.reactWrapper.appendChild(p);var h=function(t){if(e.removeSVG(),!e._isMounted){l(t);return}e.setState(function(){return{hasError:!0,isLoading:!1}},function(){l(t)})};Qne(m,{afterEach:function(t,n){if(t){h(t);return}e._isMounted&&e.setState(function(){return{isLoading:!1}},function(){try{d(n)}catch(e){h(e)}})},beforeEach:function(e){if(e.setAttribute(`role`,`img`),n){var t=e.querySelector(`:scope > desc`);t&&e.removeChild(t);var r=document.createElement(`desc`);r.innerHTML=n,e.prepend(r)}if(s){var i=e.querySelector(`:scope > title`);i&&e.removeChild(i);var a=document.createElement(`title`);a.innerHTML=s,e.prepend(a)}try{u(e)}catch(e){h(e)}},cacheRequests:c,evalScripts:r,httpRequestWithCredentials:i,renumerateIRIElements:a})}},n.removeSVG=function(){var e;(e=this.nonReactWrapper)!=null&&e.parentNode&&(this.nonReactWrapper.parentNode.removeChild(this.nonReactWrapper),this.nonReactWrapper=null)},n.componentDidMount=function(){this._isMounted=!0,this.renderSVG()},n.componentDidUpdate=function(e){var t=this;ere(Li({},e),this.props)&&this.setState(function(){return t.initialState},function(){t.removeSVG(),t.renderSVG()})},n.componentWillUnmount=function(){this._isMounted=!1,this.removeSVG()},n.render=function(){var e=this.props;e.afterInjection,e.beforeInjection,e.desc,e.evalScripts;var t=e.fallback;e.httpRequestWithCredentials;var n=e.loading;e.renumerateIRIElements,e.src,e.title,e.useRequestCache;var r=e.wrapper,i=Ii(e,tre),a=r;return H.createElement(a,Li({},i,{ref:this.refCallback},r===`svg`?{xmlns:$i,xmlnsXlink:ea}:{}),this.state.isLoading&&n&&H.createElement(n,null),this.state.hasError&&t&&H.createElement(t,null))},t}(H.Component);ta.defaultProps={afterInjection:function(){},beforeInjection:function(){},desc:``,evalScripts:`never`,fallback:null,httpRequestWithCredentials:!1,loading:null,onError:function(){},renumerateIRIElements:!0,title:``,useRequestCache:!0,wrapper:`div`},ta.propTypes={afterInjection:ni.func,beforeInjection:ni.func,desc:ni.string,evalScripts:ni.oneOf([`always`,`once`,`never`]),fallback:ni.oneOfType([ni.func,ni.object,ni.string]),httpRequestWithCredentials:ni.bool,loading:ni.oneOfType([ni.func,ni.object,ni.string]),onError:ni.func,renumerateIRIElements:ni.bool,src:ni.string.isRequired,title:ni.string,useRequestCache:ni.bool,wrapper:ni.oneOf([`div`,`span`,`svg`])};var na=H.createContext(!1),ra={wrapper:`_wrapper_18jt2_1`,customSvg:`_customSvg_18jt2_8`,customPng:`_customPng_18jt2_11`,clickable:`_clickable_18jt2_16`},ia={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},aa=H.createContext&&H.createContext(ia),oa=function(){return oa=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},oa.apply(this,arguments)},nre=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols==`function`)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};function sa(e){return e&&e.map(function(e,t){return H.createElement(e.tag,oa({key:t},e.attr),sa(e.child))})}function W(e){return function(t){return H.createElement(rre,oa({attr:oa({},e.attr)},t),sa(e.child))}}function rre(e){var t=function(t){var n=e.attr,r=e.size,i=e.title,a=nre(e,[`attr`,`size`,`title`]),o=r||t.size||`1em`,s;return t.className&&(s=t.className),e.className&&(s=(s?s+` `:``)+e.className),H.createElement(`svg`,oa({stroke:`currentColor`,fill:`currentColor`,strokeWidth:`0`},t.attr,n,a,{className:s,style:oa(oa({color:e.color||t.color},t.style),e.style),height:o,width:o,xmlns:`http://www.w3.org/2000/svg`}),i&&H.createElement(`title`,null,i),e.children)};return aa===void 0?t(ia):H.createElement(aa.Consumer,null,function(e){return t(e)})}function ire(e){return W({attr:{viewBox:`0 0 24 24`,strokeWidth:`2`,stroke:`currentColor`,fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{stroke:`none`,d:`M0 0h24v24H0z`,fill:`none`}},{tag:`path`,attr:{d:`M12 9v4`}},{tag:`path`,attr:{d:`M10.363 3.591l-8.106 13.534a1.914 1.914 0 0 0 1.636 2.871h16.214a1.914 1.914 0 0 0 1.636 -2.87l-8.106 -13.536a1.914 1.914 0 0 0 -3.274 0z`}},{tag:`path`,attr:{d:`M12 16h.01`}}]})(e)}function are(e){return W({attr:{viewBox:`0 0 24 24`,strokeWidth:`2`,stroke:`currentColor`,fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{stroke:`none`,d:`M0 0h24v24H0z`,fill:`none`}},{tag:`path`,attr:{d:`M12 5l0 14`}},{tag:`path`,attr:{d:`M18 13l-6 6`}},{tag:`path`,attr:{d:`M6 13l6 6`}}]})(e)}function ore(e){return W({attr:{viewBox:`0 0 24 24`,strokeWidth:`2`,stroke:`currentColor`,fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{stroke:`none`,d:`M0 0h24v24H0z`,fill:`none`}},{tag:`path`,attr:{d:`M5 12l14 0`}},{tag:`path`,attr:{d:`M5 12l6 6`}},{tag:`path`,attr:{d:`M5 12l6 -6`}}]})(e)}function sre(e){return W({attr:{viewBox:`0 0 24 24`,strokeWidth:`2`,stroke:`currentColor`,fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{stroke:`none`,d:`M0 0h24v24H0z`,fill:`none`}},{tag:`path`,attr:{d:`M5 12l14 0`}},{tag:`path`,attr:{d:`M13 18l6 -6`}},{tag:`path`,attr:{d:`M13 6l6 6`}}]})(e)}function cre(e){return W({attr:{viewBox:`0 0 24 24`,strokeWidth:`2`,stroke:`currentColor`,fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{stroke:`none`,d:`M0 0h24v24H0z`,fill:`none`}},{tag:`path`,attr:{d:`M12 5l0 14`}},{tag:`path`,attr:{d:`M18 11l-6 -6`}},{tag:`path`,attr:{d:`M6 11l6 -6`}}]})(e)}function lre(e){return W({attr:{viewBox:`0 0 24 24`,strokeWidth:`2`,stroke:`currentColor`,fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{stroke:`none`,d:`M0 0h24v24H0z`,fill:`none`}},{tag:`path`,attr:{d:`M16 4l4 0l0 4`}},{tag:`path`,attr:{d:`M14 10l6 -6`}},{tag:`path`,attr:{d:`M8 20l-4 0l0 -4`}},{tag:`path`,attr:{d:`M4 20l6 -6`}}]})(e)}function ure(e){return W({attr:{viewBox:`0 0 24 24`,strokeWidth:`2`,stroke:`currentColor`,fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{stroke:`none`,d:`M0 0h24v24H0z`,fill:`none`}},{tag:`path`,attr:{d:`M16 4l4 0l0 4`}},{tag:`path`,attr:{d:`M14 10l6 -6`}},{tag:`path`,attr:{d:`M8 20l-4 0l0 -4`}},{tag:`path`,attr:{d:`M4 20l6 -6`}},{tag:`path`,attr:{d:`M16 20l4 0l0 -4`}},{tag:`path`,attr:{d:`M14 14l6 6`}},{tag:`path`,attr:{d:`M8 4l-4 0l0 4`}},{tag:`path`,attr:{d:`M4 4l6 6`}}]})(e)}function dre(e){return W({attr:{viewBox:`0 0 24 24`,strokeWidth:`2`,stroke:`currentColor`,fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{stroke:`none`,d:`M0 0h24v24H0z`,fill:`none`}},{tag:`path`,attr:{d:`M5 9l4 0l0 -4`}},{tag:`path`,attr:{d:`M3 3l6 6`}},{tag:`path`,attr:{d:`M5 15l4 0l0 4`}},{tag:`path`,attr:{d:`M3 21l6 -6`}},{tag:`path`,attr:{d:`M19 9l-4 0l0 -4`}},{tag:`path`,attr:{d:`M15 9l6 -6`}},{tag:`path`,attr:{d:`M19 15l-4 0l0 4`}},{tag:`path`,attr:{d:`M15 15l6 6`}}]})(e)}function fre(e){return W({attr:{viewBox:`0 0 24 24`,strokeWidth:`2`,stroke:`currentColor`,fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{stroke:`none`,d:`M0 0h24v24H0z`,fill:`none`}},{tag:`path`,attr:{d:`M18 9l3 3l-3 3`}},{tag:`path`,attr:{d:`M15 12h6`}},{tag:`path`,attr:{d:`M6 9l-3 3l3 3`}},{tag:`path`,attr:{d:`M3 12h6`}},{tag:`path`,attr:{d:`M9 18l3 3l3 -3`}},{tag:`path`,attr:{d:`M12 15v6`}},{tag:`path`,attr:{d:`M15 6l-3 -3l-3 3`}},{tag:`path`,attr:{d:`M12 3v6`}}]})(e)}function pre(e){return W({attr:{viewBox:`0 0 24 24`,strokeWidth:`2`,stroke:`currentColor`,fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{stroke:`none`,d:`M0 0h24v24H0z`,fill:`none`}},{tag:`path`,attr:{d:`M21 17h-8l-3.5 -5h-6.5`}},{tag:`path`,attr:{d:`M21 7h-8l-3.495 5`}},{tag:`path`,attr:{d:`M18 10l3 -3l-3 -3`}},{tag:`path`,attr:{d:`M18 20l3 -3l-3 -3`}}]})(e)}function mre(e){return W({attr:{viewBox:`0 0 24 24`,strokeWidth:`2`,stroke:`currentColor`,fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{stroke:`none`,d:`M0 0h24v24H0z`,fill:`none`}},{tag:`path`,attr:{d:`M10 5a2 2 0 1 1 4 0a7 7 0 0 1 4 6v3a4 4 0 0 0 2 3h-16a4 4 0 0 0 2 -3v-3a7 7 0 0 1 4 -6`}},{tag:`path`,attr:{d:`M9 17v1a3 3 0 0 0 6 0v-1`}}]})(e)}function hre(e){return W({attr:{viewBox:`0 0 24 24`,strokeWidth:`2`,stroke:`currentColor`,fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{stroke:`none`,d:`M0 0h24v24H0z`,fill:`none`}},{tag:`path`,attr:{d:`M7 5h6a3.5 3.5 0 0 1 0 7h-6z`}},{tag:`path`,attr:{d:`M13 12h1a3.5 3.5 0 0 1 0 7h-7v-7`}}]})(e)}function gre(e){return W({attr:{viewBox:`0 0 24 24`,strokeWidth:`2`,stroke:`currentColor`,fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{stroke:`none`,d:`M0 0h24v24H0z`,fill:`none`}},{tag:`path`,attr:{d:`M13 3l0 7l6 0l-8 11l0 -7l-6 0l8 -11`}}]})(e)}function _re(e){return W({attr:{viewBox:`0 0 24 24`,strokeWidth:`2`,stroke:`currentColor`,fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{stroke:`none`,d:`M0 0h24v24H0z`,fill:`none`}},{tag:`path`,attr:{d:`M19 4v16h-12a2 2 0 0 1 -2 -2v-12a2 2 0 0 1 2 -2h12z`}},{tag:`path`,attr:{d:`M19 16h-12a2 2 0 0 0 -2 2`}},{tag:`path`,attr:{d:`M9 8h6`}}]})(e)}function vre(e){return W({attr:{viewBox:`0 0 24 24`,strokeWidth:`2`,stroke:`currentColor`,fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{stroke:`none`,d:`M0 0h24v24H0z`,fill:`none`}},{tag:`path`,attr:{d:`M3 21l18 0`}},{tag:`path`,attr:{d:`M5 21v-14l8 -4v18`}},{tag:`path`,attr:{d:`M19 21v-10l-6 -4`}},{tag:`path`,attr:{d:`M9 9l0 .01`}},{tag:`path`,attr:{d:`M9 12l0 .01`}},{tag:`path`,attr:{d:`M9 15l0 .01`}},{tag:`path`,attr:{d:`M9 18l0 .01`}}]})(e)}function yre(e){return W({attr:{viewBox:`0 0 24 24`,strokeWidth:`2`,stroke:`currentColor`,fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{stroke:`none`,d:`M0 0h24v24H0z`,fill:`none`}},{tag:`path`,attr:{d:`M5 7h1a2 2 0 0 0 2 -2a1 1 0 0 1 1 -1h6a1 1 0 0 1 1 1a2 2 0 0 0 2 2h1a2 2 0 0 1 2 2v9a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2v-9a2 2 0 0 1 2 -2`}},{tag:`path`,attr:{d:`M9 13a3 3 0 1 0 6 0a3 3 0 0 0 -6 0`}}]})(e)}function bre(e){return W({attr:{viewBox:`0 0 24 24`,strokeWidth:`2`,stroke:`currentColor`,fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{stroke:`none`,d:`M0 0h24v24H0z`,fill:`none`}},{tag:`path`,attr:{d:`M3 12m0 1a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v6a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1z`}},{tag:`path`,attr:{d:`M9 8m0 1a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v10a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1z`}},{tag:`path`,attr:{d:`M15 4m0 1a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v14a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1z`}},{tag:`path`,attr:{d:`M4 20l14 0`}}]})(e)}function xre(e){return W({attr:{viewBox:`0 0 24 24`,strokeWidth:`2`,stroke:`currentColor`,fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{stroke:`none`,d:`M0 0h24v24H0z`,fill:`none`}},{tag:`path`,attr:{d:`M4 19l16 0`}},{tag:`path`,attr:{d:`M4 15l4 -6l4 2l4 -5l4 4`}}]})(e)}function Sre(e){return W({attr:{viewBox:`0 0 24 24`,strokeWidth:`2`,stroke:`currentColor`,fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{stroke:`none`,d:`M0 0h24v24H0z`,fill:`none`}},{tag:`path`,attr:{d:`M12 3v9h9`}},{tag:`path`,attr:{d:`M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0`}}]})(e)}function Cre(e){return W({attr:{viewBox:`0 0 24 24`,strokeWidth:`2`,stroke:`currentColor`,fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{stroke:`none`,d:`M0 0h24v24H0z`,fill:`none`}},{tag:`path`,attr:{d:`M5 12l5 5l10 -10`}}]})(e)}function wre(e){return W({attr:{viewBox:`0 0 24 24`,strokeWidth:`2`,stroke:`currentColor`,fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{stroke:`none`,d:`M0 0h24v24H0z`,fill:`none`}},{tag:`path`,attr:{d:`M6 9l6 6l6 -6`}}]})(e)}function Tre(e){return W({attr:{viewBox:`0 0 24 24`,strokeWidth:`2`,stroke:`currentColor`,fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{stroke:`none`,d:`M0 0h24v24H0z`,fill:`none`}},{tag:`path`,attr:{d:`M15 6l-6 6l6 6`}}]})(e)}function Ere(e){return W({attr:{viewBox:`0 0 24 24`,strokeWidth:`2`,stroke:`currentColor`,fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{stroke:`none`,d:`M0 0h24v24H0z`,fill:`none`}},{tag:`path`,attr:{d:`M9 6l6 6l-6 6`}}]})(e)}function Dre(e){return W({attr:{viewBox:`0 0 24 24`,strokeWidth:`2`,stroke:`currentColor`,fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{stroke:`none`,d:`M0 0h24v24H0z`,fill:`none`}},{tag:`path`,attr:{d:`M6 15l6 -6l6 6`}}]})(e)}function Ore(e){return W({attr:{viewBox:`0 0 24 24`,strokeWidth:`2`,stroke:`currentColor`,fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{stroke:`none`,d:`M0 0h24v24H0z`,fill:`none`}},{tag:`path`,attr:{d:`M11 7l-5 5l5 5`}},{tag:`path`,attr:{d:`M17 7l-5 5l5 5`}}]})(e)}function kre(e){return W({attr:{viewBox:`0 0 24 24`,strokeWidth:`2`,stroke:`currentColor`,fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{stroke:`none`,d:`M0 0h24v24H0z`,fill:`none`}},{tag:`path`,attr:{d:`M7 7l5 5l-5 5`}},{tag:`path`,attr:{d:`M13 7l5 5l-5 5`}}]})(e)}function Are(e){return W({attr:{viewBox:`0 0 24 24`,strokeWidth:`2`,stroke:`currentColor`,fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{stroke:`none`,d:`M0 0h24v24H0z`,fill:`none`}},{tag:`path`,attr:{d:`M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0`}},{tag:`path`,attr:{d:`M9 12l2 2l4 -4`}}]})(e)}function jre(e){return W({attr:{viewBox:`0 0 24 24`,strokeWidth:`2`,stroke:`currentColor`,fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{stroke:`none`,d:`M0 0h24v24H0z`,fill:`none`}},{tag:`path`,attr:{d:`M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0`}},{tag:`path`,attr:{d:`M10 10l4 4m0 -4l-4 4`}}]})(e)}function Mre(e){return W({attr:{viewBox:`0 0 24 24`,strokeWidth:`2`,stroke:`currentColor`,fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{stroke:`none`,d:`M0 0h24v24H0z`,fill:`none`}},{tag:`path`,attr:{d:`M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0`}}]})(e)}function Nre(e){return W({attr:{viewBox:`0 0 24 24`,strokeWidth:`2`,stroke:`currentColor`,fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{stroke:`none`,d:`M0 0h24v24H0z`,fill:`none`}},{tag:`path`,attr:{d:`M9 5h-2a2 2 0 0 0 -2 2v12a2 2 0 0 0 2 2h10a2 2 0 0 0 2 -2v-12a2 2 0 0 0 -2 -2h-2`}},{tag:`path`,attr:{d:`M9 3m0 2a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v0a2 2 0 0 1 -2 2h-2a2 2 0 0 1 -2 -2z`}}]})(e)}function Pre(e){return W({attr:{viewBox:`0 0 24 24`,strokeWidth:`2`,stroke:`currentColor`,fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{stroke:`none`,d:`M0 0h24v24H0z`,fill:`none`}},{tag:`path`,attr:{d:`M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0`}},{tag:`path`,attr:{d:`M12 7v5l3 3`}}]})(e)}function Fre(e){return W({attr:{viewBox:`0 0 24 24`,strokeWidth:`2`,stroke:`currentColor`,fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{stroke:`none`,d:`M0 0h24v24H0z`,fill:`none`}},{tag:`path`,attr:{d:`M7 8l-4 4l4 4`}},{tag:`path`,attr:{d:`M17 8l4 4l-4 4`}},{tag:`path`,attr:{d:`M14 4l-4 16`}}]})(e)}function Ire(e){return W({attr:{viewBox:`0 0 24 24`,strokeWidth:`2`,stroke:`currentColor`,fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{stroke:`none`,d:`M0 0h24v24H0z`,fill:`none`}},{tag:`path`,attr:{d:`M8 8m0 2a2 2 0 0 1 2 -2h8a2 2 0 0 1 2 2v8a2 2 0 0 1 -2 2h-8a2 2 0 0 1 -2 -2z`}},{tag:`path`,attr:{d:`M16 8v-2a2 2 0 0 0 -2 -2h-8a2 2 0 0 0 -2 2v8a2 2 0 0 0 2 2h2`}}]})(e)}function Lre(e){return W({attr:{viewBox:`0 0 24 24`,strokeWidth:`2`,stroke:`currentColor`,fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{stroke:`none`,d:`M0 0h24v24H0z`,fill:`none`}},{tag:`path`,attr:{d:`M6 6v6a3 3 0 0 0 3 3h10l-4 -4m0 8l4 -4`}}]})(e)}function Rre(e){return W({attr:{viewBox:`0 0 24 24`,strokeWidth:`2`,stroke:`currentColor`,fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{stroke:`none`,d:`M0 0h24v24H0z`,fill:`none`}},{tag:`path`,attr:{d:`M6 4h10l4 4v10a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2v-12a2 2 0 0 1 2 -2`}},{tag:`path`,attr:{d:`M12 14m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0`}},{tag:`path`,attr:{d:`M14 4l0 4l-6 0l0 -4`}}]})(e)}function zre(e){return W({attr:{viewBox:`0 0 24 24`,strokeWidth:`2`,stroke:`currentColor`,fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{stroke:`none`,d:`M0 0h24v24H0z`,fill:`none`}},{tag:`path`,attr:{d:`M3 19l18 0`}},{tag:`path`,attr:{d:`M5 6m0 1a1 1 0 0 1 1 -1h12a1 1 0 0 1 1 1v8a1 1 0 0 1 -1 1h-12a1 1 0 0 1 -1 -1z`}}]})(e)}function Bre(e){return W({attr:{viewBox:`0 0 24 24`,strokeWidth:`2`,stroke:`currentColor`,fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{stroke:`none`,d:`M0 0h24v24H0z`,fill:`none`}},{tag:`path`,attr:{d:`M12 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0`}},{tag:`path`,attr:{d:`M12 19m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0`}},{tag:`path`,attr:{d:`M12 5m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0`}}]})(e)}function Vre(e){return W({attr:{viewBox:`0 0 24 24`,strokeWidth:`2`,stroke:`currentColor`,fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{stroke:`none`,d:`M0 0h24v24H0z`,fill:`none`}},{tag:`path`,attr:{d:`M4 17v2a2 2 0 0 0 2 2h12a2 2 0 0 0 2 -2v-2`}},{tag:`path`,attr:{d:`M7 11l5 5l5 -5`}},{tag:`path`,attr:{d:`M12 4l0 12`}}]})(e)}function Hre(e){return W({attr:{viewBox:`0 0 24 24`,strokeWidth:`2`,stroke:`currentColor`,fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{stroke:`none`,d:`M0 0h24v24H0z`,fill:`none`}},{tag:`path`,attr:{d:`M7.502 19.423c2.602 2.105 6.395 2.105 8.996 0c2.602 -2.105 3.262 -5.708 1.566 -8.546l-4.89 -7.26c-.42 -.625 -1.287 -.803 -1.936 -.397a1.376 1.376 0 0 0 -.41 .397l-4.893 7.26c-1.695 2.838 -1.035 6.441 1.567 8.546z`}}]})(e)}function Ure(e){return W({attr:{viewBox:`0 0 24 24`,strokeWidth:`2`,stroke:`currentColor`,fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{stroke:`none`,d:`M0 0h24v24H0z`,fill:`none`}},{tag:`path`,attr:{d:`M12 19v.01`}},{tag:`path`,attr:{d:`M12 15v-10`}}]})(e)}function Wre(e){return W({attr:{viewBox:`0 0 24 24`,strokeWidth:`2`,stroke:`currentColor`,fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{stroke:`none`,d:`M0 0h24v24H0z`,fill:`none`}},{tag:`path`,attr:{d:`M12 6h-6a2 2 0 0 0 -2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2 -2v-6`}},{tag:`path`,attr:{d:`M11 13l9 -9`}},{tag:`path`,attr:{d:`M15 4h5v5`}}]})(e)}function Gre(e){return W({attr:{viewBox:`0 0 24 24`,strokeWidth:`2`,stroke:`currentColor`,fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{stroke:`none`,d:`M0 0h24v24H0z`,fill:`none`}},{tag:`path`,attr:{d:`M10.585 10.587a2 2 0 0 0 2.829 2.828`}},{tag:`path`,attr:{d:`M16.681 16.673a8.717 8.717 0 0 1 -4.681 1.327c-3.6 0 -6.6 -2 -9 -6c1.272 -2.12 2.712 -3.678 4.32 -4.674m2.86 -1.146a9.055 9.055 0 0 1 1.82 -.18c3.6 0 6.6 2 9 6c-.666 1.11 -1.379 2.067 -2.138 2.87`}},{tag:`path`,attr:{d:`M3 3l18 18`}}]})(e)}function Kre(e){return W({attr:{viewBox:`0 0 24 24`,strokeWidth:`2`,stroke:`currentColor`,fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{stroke:`none`,d:`M0 0h24v24H0z`,fill:`none`}},{tag:`path`,attr:{d:`M10 12a2 2 0 1 0 4 0a2 2 0 0 0 -4 0`}},{tag:`path`,attr:{d:`M21 12c-2.4 4 -5.4 6 -9 6c-3.6 0 -6.6 -2 -9 -6c2.4 -4 5.4 -6 9 -6c3.6 0 6.6 2 9 6`}}]})(e)}function qre(e){return W({attr:{viewBox:`0 0 24 24`,strokeWidth:`2`,stroke:`currentColor`,fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{stroke:`none`,d:`M0 0h24v24H0z`,fill:`none`}},{tag:`path`,attr:{d:`M14 3v4a1 1 0 0 0 1 1h4`}},{tag:`path`,attr:{d:`M17 21h-10a2 2 0 0 1 -2 -2v-14a2 2 0 0 1 2 -2h7l5 5v11a2 2 0 0 1 -2 2z`}}]})(e)}function Jre(e){return W({attr:{viewBox:`0 0 24 24`,strokeWidth:`2`,stroke:`currentColor`,fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{stroke:`none`,d:`M0 0h24v24H0z`,fill:`none`}},{tag:`path`,attr:{d:`M8 4h12v2.172a2 2 0 0 1 -.586 1.414l-3.914 3.914m-.5 3.5v4l-6 2v-8.5l-4.48 -4.928a2 2 0 0 1 -.52 -1.345v-2.227`}},{tag:`path`,attr:{d:`M3 3l18 18`}}]})(e)}function Yre(e){return W({attr:{viewBox:`0 0 24 24`,strokeWidth:`2`,stroke:`currentColor`,fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{stroke:`none`,d:`M0 0h24v24H0z`,fill:`none`}},{tag:`path`,attr:{d:`M4 4h16v2.172a2 2 0 0 1 -.586 1.414l-4.414 4.414v7l-6 2v-8.5l-4.48 -4.928a2 2 0 0 1 -.52 -1.345v-2.227z`}}]})(e)}function Xre(e){return W({attr:{viewBox:`0 0 24 24`,strokeWidth:`2`,stroke:`currentColor`,fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{stroke:`none`,d:`M0 0h24v24H0z`,fill:`none`}},{tag:`path`,attr:{d:`M12 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0`}},{tag:`path`,attr:{d:`M4 8v-2a2 2 0 0 1 2 -2h2`}},{tag:`path`,attr:{d:`M4 16v2a2 2 0 0 0 2 2h2`}},{tag:`path`,attr:{d:`M16 4h2a2 2 0 0 1 2 2v2`}},{tag:`path`,attr:{d:`M16 20h2a2 2 0 0 0 2 -2v-2`}}]})(e)}function Zre(e){return W({attr:{viewBox:`0 0 24 24`,strokeWidth:`2`,stroke:`currentColor`,fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{stroke:`none`,d:`M0 0h24v24H0z`,fill:`none`}},{tag:`path`,attr:{d:`M11 19h-6a2 2 0 0 1 -2 -2v-11a2 2 0 0 1 2 -2h4l3 3h7a2 2 0 0 1 2 2v2.5`}},{tag:`path`,attr:{d:`M18 18m-3 0a3 3 0 1 0 6 0a3 3 0 1 0 -6 0`}},{tag:`path`,attr:{d:`M20.2 20.2l1.8 1.8`}}]})(e)}function Qre(e){return W({attr:{viewBox:`0 0 24 24`,strokeWidth:`2`,stroke:`currentColor`,fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{stroke:`none`,d:`M0 0h24v24H0z`,fill:`none`}},{tag:`path`,attr:{d:`M5 4h4l3 3h7a2 2 0 0 1 2 2v8a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2v-11a2 2 0 0 1 2 -2`}}]})(e)}function $re(e){return W({attr:{viewBox:`0 0 24 24`,strokeWidth:`2`,stroke:`currentColor`,fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{stroke:`none`,d:`M0 0h24v24H0z`,fill:`none`}},{tag:`path`,attr:{d:`M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0`}},{tag:`path`,attr:{d:`M12 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0`}},{tag:`path`,attr:{d:`M13.41 10.59l2.59 -2.59`}},{tag:`path`,attr:{d:`M7 12a5 5 0 0 1 5 -5`}}]})(e)}function eie(e){return W({attr:{viewBox:`0 0 24 24`,strokeWidth:`2`,stroke:`currentColor`,fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{stroke:`none`,d:`M0 0h24v24H0z`,fill:`none`}},{tag:`path`,attr:{d:`M12 18m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0`}},{tag:`path`,attr:{d:`M7 6m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0`}},{tag:`path`,attr:{d:`M17 6m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0`}},{tag:`path`,attr:{d:`M7 8v2a2 2 0 0 0 2 2h6a2 2 0 0 0 2 -2v-2`}},{tag:`path`,attr:{d:`M12 12l0 4`}}]})(e)}function tie(e){return W({attr:{viewBox:`0 0 24 24`,strokeWidth:`2`,stroke:`currentColor`,fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{stroke:`none`,d:`M0 0h24v24H0z`,fill:`none`}},{tag:`path`,attr:{d:`M9 5m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0`}},{tag:`path`,attr:{d:`M9 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0`}},{tag:`path`,attr:{d:`M9 19m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0`}},{tag:`path`,attr:{d:`M15 5m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0`}},{tag:`path`,attr:{d:`M15 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0`}},{tag:`path`,attr:{d:`M15 19m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0`}}]})(e)}function nie(e){return W({attr:{viewBox:`0 0 24 24`,strokeWidth:`2`,stroke:`currentColor`,fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{stroke:`none`,d:`M0 0h24v24H0z`,fill:`none`}},{tag:`path`,attr:{d:`M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0`}},{tag:`path`,attr:{d:`M12 17l0 .01`}},{tag:`path`,attr:{d:`M12 13.5a1.5 1.5 0 0 1 1 -1.5a2.6 2.6 0 1 0 -3 -4`}}]})(e)}function rie(e){return W({attr:{viewBox:`0 0 24 24`,strokeWidth:`2`,stroke:`currentColor`,fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{stroke:`none`,d:`M0 0h24v24H0z`,fill:`none`}},{tag:`path`,attr:{d:`M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0`}},{tag:`path`,attr:{d:`M12 9h.01`}},{tag:`path`,attr:{d:`M11 12h1v4h1`}}]})(e)}function iie(e){return W({attr:{viewBox:`0 0 24 24`,strokeWidth:`2`,stroke:`currentColor`,fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{stroke:`none`,d:`M0 0h24v24H0z`,fill:`none`}},{tag:`path`,attr:{d:`M11 5l6 0`}},{tag:`path`,attr:{d:`M7 19l6 0`}},{tag:`path`,attr:{d:`M14 5l-4 14`}}]})(e)}function aie(e){return W({attr:{viewBox:`0 0 24 24`,strokeWidth:`2`,stroke:`currentColor`,fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{stroke:`none`,d:`M0 0h24v24H0z`,fill:`none`}},{tag:`path`,attr:{d:`M16.555 3.843l3.602 3.602a2.877 2.877 0 0 1 0 4.069l-2.643 2.643a2.877 2.877 0 0 1 -4.069 0l-.301 -.301l-6.558 6.558a2 2 0 0 1 -1.239 .578l-.175 .008h-1.172a1 1 0 0 1 -.993 -.883l-.007 -.117v-1.172a2 2 0 0 1 .467 -1.284l.119 -.13l.414 -.414h2v-2h2v-2l2.144 -2.144l-.301 -.301a2.877 2.877 0 0 1 0 -4.069l2.643 -2.643a2.877 2.877 0 0 1 4.069 0z`}},{tag:`path`,attr:{d:`M15 9h.01`}}]})(e)}function oie(e){return W({attr:{viewBox:`0 0 24 24`,strokeWidth:`2`,stroke:`currentColor`,fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{stroke:`none`,d:`M0 0h24v24H0z`,fill:`none`}},{tag:`path`,attr:{d:`M4 4m0 2a2 2 0 0 1 2 -2h12a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2z`}},{tag:`path`,attr:{d:`M12 4l0 16`}}]})(e)}function sie(e){return W({attr:{viewBox:`0 0 24 24`,strokeWidth:`2`,stroke:`currentColor`,fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{stroke:`none`,d:`M0 0h24v24H0z`,fill:`none`}},{tag:`path`,attr:{d:`M4 4m0 2a2 2 0 0 1 2 -2h12a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2z`}},{tag:`path`,attr:{d:`M4 12l16 0`}}]})(e)}function cie(e){return W({attr:{viewBox:`0 0 24 24`,strokeWidth:`2`,stroke:`currentColor`,fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{stroke:`none`,d:`M0 0h24v24H0z`,fill:`none`}},{tag:`path`,attr:{d:`M9 15l3 -3m2 -2l1 -1`}},{tag:`path`,attr:{d:`M11 6l.463 -.536a5 5 0 0 1 7.071 7.072l-.534 .464`}},{tag:`path`,attr:{d:`M3 3l18 18`}},{tag:`path`,attr:{d:`M13 18l-.397 .534a5.068 5.068 0 0 1 -7.127 0a4.972 4.972 0 0 1 0 -7.071l.524 -.463`}}]})(e)}function lie(e){return W({attr:{viewBox:`0 0 24 24`,strokeWidth:`2`,stroke:`currentColor`,fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{stroke:`none`,d:`M0 0h24v24H0z`,fill:`none`}},{tag:`path`,attr:{d:`M9 15l6 -6`}},{tag:`path`,attr:{d:`M11 6l.463 -.536a5 5 0 0 1 7.071 7.072l-.534 .464`}},{tag:`path`,attr:{d:`M13 18l-.397 .534a5.068 5.068 0 0 1 -7.127 0a4.972 4.972 0 0 1 0 -7.071l.524 -.463`}}]})(e)}function uie(e){return W({attr:{viewBox:`0 0 24 24`,strokeWidth:`2`,stroke:`currentColor`,fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{stroke:`none`,d:`M0 0h24v24H0z`,fill:`none`}},{tag:`path`,attr:{d:`M11 6h9`}},{tag:`path`,attr:{d:`M11 12h9`}},{tag:`path`,attr:{d:`M12 18h8`}},{tag:`path`,attr:{d:`M4 16a2 2 0 1 1 4 0c0 .591 -.5 1 -1 1.5l-3 2.5h4`}},{tag:`path`,attr:{d:`M6 10v-6l-2 2`}}]})(e)}function die(e){return W({attr:{viewBox:`0 0 24 24`,strokeWidth:`2`,stroke:`currentColor`,fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{stroke:`none`,d:`M0 0h24v24H0z`,fill:`none`}},{tag:`path`,attr:{d:`M9 6l11 0`}},{tag:`path`,attr:{d:`M9 12l11 0`}},{tag:`path`,attr:{d:`M9 18l11 0`}},{tag:`path`,attr:{d:`M5 6l0 .01`}},{tag:`path`,attr:{d:`M5 12l0 .01`}},{tag:`path`,attr:{d:`M5 18l0 .01`}}]})(e)}function fie(e){return W({attr:{viewBox:`0 0 24 24`,strokeWidth:`2`,stroke:`currentColor`,fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{stroke:`none`,d:`M0 0h24v24H0z`,fill:`none`}},{tag:`path`,attr:{d:`M12 3a9 9 0 1 0 9 9`}}]})(e)}function pie(e){return W({attr:{viewBox:`0 0 24 24`,strokeWidth:`2`,stroke:`currentColor`,fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{stroke:`none`,d:`M0 0h24v24H0z`,fill:`none`}},{tag:`path`,attr:{d:`M5 11m0 2a2 2 0 0 1 2 -2h10a2 2 0 0 1 2 2v6a2 2 0 0 1 -2 2h-10a2 2 0 0 1 -2 -2z`}},{tag:`path`,attr:{d:`M12 16m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0`}},{tag:`path`,attr:{d:`M8 11v-5a4 4 0 0 1 8 0`}}]})(e)}function mie(e){return W({attr:{viewBox:`0 0 24 24`,strokeWidth:`2`,stroke:`currentColor`,fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{stroke:`none`,d:`M0 0h24v24H0z`,fill:`none`}},{tag:`path`,attr:{d:`M5 13a2 2 0 0 1 2 -2h10a2 2 0 0 1 2 2v6a2 2 0 0 1 -2 2h-10a2 2 0 0 1 -2 -2v-6z`}},{tag:`path`,attr:{d:`M11 16a1 1 0 1 0 2 0a1 1 0 0 0 -2 0`}},{tag:`path`,attr:{d:`M8 11v-4a4 4 0 1 1 8 0v4`}}]})(e)}function hie(e){return W({attr:{viewBox:`0 0 24 24`,strokeWidth:`2`,stroke:`currentColor`,fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{stroke:`none`,d:`M0 0h24v24H0z`,fill:`none`}},{tag:`path`,attr:{d:`M9 11a3 3 0 1 0 6 0a3 3 0 0 0 -6 0`}},{tag:`path`,attr:{d:`M17.657 16.657l-4.243 4.243a2 2 0 0 1 -2.827 0l-4.244 -4.243a8 8 0 1 1 11.314 0z`}}]})(e)}function gie(e){return W({attr:{viewBox:`0 0 24 24`,strokeWidth:`2`,stroke:`currentColor`,fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{stroke:`none`,d:`M0 0h24v24H0z`,fill:`none`}},{tag:`path`,attr:{d:`M3 20l1.3 -3.9c-2.324 -3.437 -1.426 -7.872 2.1 -10.374c3.526 -2.501 8.59 -2.296 11.845 .48c3.255 2.777 3.695 7.266 1.029 10.501c-2.666 3.235 -7.615 4.215 -11.574 2.293l-4.7 1`}}]})(e)}function _ie(e){return W({attr:{viewBox:`0 0 24 24`,strokeWidth:`2`,stroke:`currentColor`,fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{stroke:`none`,d:`M0 0h24v24H0z`,fill:`none`}},{tag:`path`,attr:{d:`M5 12l14 0`}}]})(e)}function vie(e){return W({attr:{viewBox:`0 0 24 24`,strokeWidth:`2`,stroke:`currentColor`,fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{stroke:`none`,d:`M0 0h24v24H0z`,fill:`none`}},{tag:`path`,attr:{d:`M12 3c.132 0 .263 0 .393 0a7.5 7.5 0 0 0 7.92 12.446a9 9 0 1 1 -8.313 -12.454z`}}]})(e)}function yie(e){return W({attr:{viewBox:`0 0 24 24`,strokeWidth:`2`,stroke:`currentColor`,fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{stroke:`none`,d:`M0 0h24v24H0z`,fill:`none`}},{tag:`path`,attr:{d:`M4 4m0 2a2 2 0 0 1 2 -2h12a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2z`}},{tag:`path`,attr:{d:`M8 4l0 16`}},{tag:`path`,attr:{d:`M16 4l0 16`}},{tag:`path`,attr:{d:`M4 8l4 0`}},{tag:`path`,attr:{d:`M4 16l4 0`}},{tag:`path`,attr:{d:`M4 12l16 0`}},{tag:`path`,attr:{d:`M16 8l4 0`}},{tag:`path`,attr:{d:`M16 16l4 0`}}]})(e)}function bie(e){return W({attr:{viewBox:`0 0 24 24`,strokeWidth:`2`,stroke:`currentColor`,fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{stroke:`none`,d:`M0 0h24v24H0z`,fill:`none`}},{tag:`path`,attr:{d:`M13 20l7 -7`}},{tag:`path`,attr:{d:`M13 20v-6a1 1 0 0 1 1 -1h6v-7a2 2 0 0 0 -2 -2h-12a2 2 0 0 0 -2 2v12a2 2 0 0 0 2 2h7`}}]})(e)}function xie(e){return W({attr:{viewBox:`0 0 24 24`,strokeWidth:`2`,stroke:`currentColor`,fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{stroke:`none`,d:`M0 0h24v24H0z`,fill:`none`}},{tag:`path`,attr:{d:`M4 20h4l10.5 -10.5a2.828 2.828 0 1 0 -4 -4l-10.5 10.5v4`}},{tag:`path`,attr:{d:`M13.5 6.5l4 4`}}]})(e)}function Sie(e){return W({attr:{viewBox:`0 0 24 24`,strokeWidth:`2`,stroke:`currentColor`,fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{stroke:`none`,d:`M0 0h24v24H0z`,fill:`none`}},{tag:`path`,attr:{d:`M6 5m0 1a1 1 0 0 1 1 -1h2a1 1 0 0 1 1 1v12a1 1 0 0 1 -1 1h-2a1 1 0 0 1 -1 -1z`}},{tag:`path`,attr:{d:`M14 5m0 1a1 1 0 0 1 1 -1h2a1 1 0 0 1 1 1v12a1 1 0 0 1 -1 1h-2a1 1 0 0 1 -1 -1z`}}]})(e)}function Cie(e){return W({attr:{viewBox:`0 0 24 24`,strokeWidth:`2`,stroke:`currentColor`,fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{stroke:`none`,d:`M0 0h24v24H0z`,fill:`none`}},{tag:`path`,attr:{d:`M7 4v16l13 -8z`}}]})(e)}function wie(e){return W({attr:{viewBox:`0 0 24 24`,strokeWidth:`2`,stroke:`currentColor`,fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{stroke:`none`,d:`M0 0h24v24H0z`,fill:`none`}},{tag:`path`,attr:{d:`M20 5v14l-12 -7z`}},{tag:`path`,attr:{d:`M4 5l0 14`}}]})(e)}function Tie(e){return W({attr:{viewBox:`0 0 24 24`,strokeWidth:`2`,stroke:`currentColor`,fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{stroke:`none`,d:`M0 0h24v24H0z`,fill:`none`}},{tag:`path`,attr:{d:`M4 5v14l12 -7z`}},{tag:`path`,attr:{d:`M20 5l0 14`}}]})(e)}function Eie(e){return W({attr:{viewBox:`0 0 24 24`,strokeWidth:`2`,stroke:`currentColor`,fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{stroke:`none`,d:`M0 0h24v24H0z`,fill:`none`}},{tag:`path`,attr:{d:`M5 5m0 2a2 2 0 0 1 2 -2h10a2 2 0 0 1 2 2v10a2 2 0 0 1 -2 2h-10a2 2 0 0 1 -2 -2z`}}]})(e)}function Die(e){return W({attr:{viewBox:`0 0 24 24`,strokeWidth:`2`,stroke:`currentColor`,fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{stroke:`none`,d:`M0 0h24v24H0z`,fill:`none`}},{tag:`path`,attr:{d:`M3 5v14l8 -7z`}},{tag:`path`,attr:{d:`M14 5v14l8 -7z`}}]})(e)}function Oie(e){return W({attr:{viewBox:`0 0 24 24`,strokeWidth:`2`,stroke:`currentColor`,fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{stroke:`none`,d:`M0 0h24v24H0z`,fill:`none`}},{tag:`path`,attr:{d:`M21 5v14l-8 -7z`}},{tag:`path`,attr:{d:`M10 5v14l-8 -7z`}}]})(e)}function kie(e){return W({attr:{viewBox:`0 0 24 24`,strokeWidth:`2`,stroke:`currentColor`,fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{stroke:`none`,d:`M0 0h24v24H0z`,fill:`none`}},{tag:`path`,attr:{d:`M12 5l0 14`}},{tag:`path`,attr:{d:`M5 12l14 0`}}]})(e)}function Aie(e){return W({attr:{viewBox:`0 0 24 24`,strokeWidth:`2`,stroke:`currentColor`,fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{stroke:`none`,d:`M0 0h24v24H0z`,fill:`none`}},{tag:`path`,attr:{d:`M8 8a3.5 3 0 0 1 3.5 -3h1a3.5 3 0 0 1 3.5 3a3 3 0 0 1 -2 3a3 4 0 0 0 -2 4`}},{tag:`path`,attr:{d:`M12 19l0 .01`}}]})(e)}function jie(e){return W({attr:{viewBox:`0 0 24 24`,strokeWidth:`2`,stroke:`currentColor`,fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{stroke:`none`,d:`M0 0h24v24H0z`,fill:`none`}},{tag:`path`,attr:{d:`M20 11a8.1 8.1 0 0 0 -15.5 -2m-.5 -4v4h4`}},{tag:`path`,attr:{d:`M4 13a8.1 8.1 0 0 0 15.5 2m.5 4v-4h-4`}}]})(e)}function Mie(e){return W({attr:{viewBox:`0 0 24 24`,strokeWidth:`2`,stroke:`currentColor`,fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{stroke:`none`,d:`M0 0h24v24H0z`,fill:`none`}},{tag:`path`,attr:{d:`M19.933 13.041a8 8 0 1 1 -9.925 -8.788c3.899 -1 7.935 1.007 9.425 4.747`}},{tag:`path`,attr:{d:`M20 4v5h-5`}}]})(e)}function Nie(e){return W({attr:{viewBox:`0 0 24 24`,strokeWidth:`2`,stroke:`currentColor`,fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{stroke:`none`,d:`M0 0h24v24H0z`,fill:`none`}},{tag:`path`,attr:{d:`M19.95 11a8 8 0 1 0 -.5 4m.5 5v-5h-5`}}]})(e)}function Pie(e){return W({attr:{viewBox:`0 0 24 24`,strokeWidth:`2`,stroke:`currentColor`,fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{stroke:`none`,d:`M0 0h24v24H0z`,fill:`none`}},{tag:`path`,attr:{d:`M20 6v4a1 1 0 0 1 -1 1h-14a1 1 0 0 1 -1 -1v-4a1 1 0 0 1 1 -1h14a1 1 0 0 1 1 1z`}},{tag:`path`,attr:{d:`M12 15l0 4`}},{tag:`path`,attr:{d:`M14 17l-4 0`}}]})(e)}function Fie(e){return W({attr:{viewBox:`0 0 24 24`,strokeWidth:`2`,stroke:`currentColor`,fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{stroke:`none`,d:`M0 0h24v24H0z`,fill:`none`}},{tag:`path`,attr:{d:`M4 18v-4a1 1 0 0 1 1 -1h14a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-14a1 1 0 0 1 -1 -1z`}},{tag:`path`,attr:{d:`M12 9v-4`}},{tag:`path`,attr:{d:`M10 7l4 0`}}]})(e)}function Iie(e){return W({attr:{viewBox:`0 0 24 24`,strokeWidth:`2`,stroke:`currentColor`,fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{stroke:`none`,d:`M0 0h24v24H0z`,fill:`none`}},{tag:`path`,attr:{d:`M19.875 8c.621 0 1.125 .512 1.125 1.143v5.714c0 .631 -.504 1.143 -1.125 1.143h-15.875a1 1 0 0 1 -1 -1v-5.857c0 -.631 .504 -1.143 1.125 -1.143h15.75z`}},{tag:`path`,attr:{d:`M9 8v2`}},{tag:`path`,attr:{d:`M6 8v3`}},{tag:`path`,attr:{d:`M12 8v3`}},{tag:`path`,attr:{d:`M18 8v3`}},{tag:`path`,attr:{d:`M15 8v2`}}]})(e)}function Lie(e){return W({attr:{viewBox:`0 0 24 24`,strokeWidth:`2`,stroke:`currentColor`,fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{stroke:`none`,d:`M0 0h24v24H0z`,fill:`none`}},{tag:`path`,attr:{d:`M7 20l10 0`}},{tag:`path`,attr:{d:`M6 6l6 -1l6 1`}},{tag:`path`,attr:{d:`M12 3l0 17`}},{tag:`path`,attr:{d:`M9 12l-3 -6l-3 6a3 3 0 0 0 6 0`}},{tag:`path`,attr:{d:`M21 12l-3 -6l-3 6a3 3 0 0 0 6 0`}}]})(e)}function Rie(e){return W({attr:{viewBox:`0 0 24 24`,strokeWidth:`2`,stroke:`currentColor`,fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{stroke:`none`,d:`M0 0h24v24H0z`,fill:`none`}},{tag:`path`,attr:{d:`M10 10m-7 0a7 7 0 1 0 14 0a7 7 0 1 0 -14 0`}},{tag:`path`,attr:{d:`M21 21l-6 -6`}}]})(e)}function zie(e){return W({attr:{viewBox:`0 0 24 24`,strokeWidth:`2`,stroke:`currentColor`,fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{stroke:`none`,d:`M0 0h24v24H0z`,fill:`none`}},{tag:`path`,attr:{d:`M3 4m0 3a3 3 0 0 1 3 -3h12a3 3 0 0 1 3 3v2a3 3 0 0 1 -3 3h-12a3 3 0 0 1 -3 -3z`}},{tag:`path`,attr:{d:`M3 12m0 3a3 3 0 0 1 3 -3h12a3 3 0 0 1 3 3v2a3 3 0 0 1 -3 3h-12a3 3 0 0 1 -3 -3z`}},{tag:`path`,attr:{d:`M7 8l0 .01`}},{tag:`path`,attr:{d:`M7 16l0 .01`}}]})(e)}function Bie(e){return W({attr:{viewBox:`0 0 24 24`,strokeWidth:`2`,stroke:`currentColor`,fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{stroke:`none`,d:`M0 0h24v24H0z`,fill:`none`}},{tag:`path`,attr:{d:`M10.325 4.317c.426 -1.756 2.924 -1.756 3.35 0a1.724 1.724 0 0 0 2.573 1.066c1.543 -.94 3.31 .826 2.37 2.37a1.724 1.724 0 0 0 1.065 2.572c1.756 .426 1.756 2.924 0 3.35a1.724 1.724 0 0 0 -1.066 2.573c.94 1.543 -.826 3.31 -2.37 2.37a1.724 1.724 0 0 0 -2.572 1.065c-.426 1.756 -2.924 1.756 -3.35 0a1.724 1.724 0 0 0 -2.573 -1.066c-1.543 .94 -3.31 -.826 -2.37 -2.37a1.724 1.724 0 0 0 -1.065 -2.572c-1.756 -.426 -1.756 -2.924 0 -3.35a1.724 1.724 0 0 0 1.066 -2.573c-.94 -1.543 .826 -3.31 2.37 -2.37c1 .608 2.296 .07 2.572 -1.065z`}},{tag:`path`,attr:{d:`M9 12a3 3 0 1 0 6 0a3 3 0 0 0 -6 0`}}]})(e)}function Vie(e){return W({attr:{viewBox:`0 0 24 24`,strokeWidth:`2`,stroke:`currentColor`,fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{stroke:`none`,d:`M0 0h24v24H0z`,fill:`none`}},{tag:`path`,attr:{d:`M4 6l7 0`}},{tag:`path`,attr:{d:`M4 12l7 0`}},{tag:`path`,attr:{d:`M4 18l9 0`}},{tag:`path`,attr:{d:`M15 9l3 -3l3 3`}},{tag:`path`,attr:{d:`M18 6l0 12`}}]})(e)}function Hie(e){return W({attr:{viewBox:`0 0 24 24`,strokeWidth:`2`,stroke:`currentColor`,fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{stroke:`none`,d:`M0 0h24v24H0z`,fill:`none`}},{tag:`path`,attr:{d:`M4 6l9 0`}},{tag:`path`,attr:{d:`M4 12l7 0`}},{tag:`path`,attr:{d:`M4 18l7 0`}},{tag:`path`,attr:{d:`M15 15l3 3l3 -3`}},{tag:`path`,attr:{d:`M18 6l0 12`}}]})(e)}function Uie(e){return W({attr:{viewBox:`0 0 24 24`,strokeWidth:`2`,stroke:`currentColor`,fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{stroke:`none`,d:`M0 0h24v24H0z`,fill:`none`}},{tag:`path`,attr:{d:`M12 17.75l-6.172 3.245l1.179 -6.873l-5 -4.867l6.9 -1l3.086 -6.253l3.086 6.253l6.9 1l-5 4.867l1.179 6.873z`}}]})(e)}function Wie(e){return W({attr:{viewBox:`0 0 24 24`,strokeWidth:`2`,stroke:`currentColor`,fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{stroke:`none`,d:`M0 0h24v24H0z`,fill:`none`}},{tag:`path`,attr:{d:`M12 12m-4 0a4 4 0 1 0 8 0a4 4 0 1 0 -8 0`}},{tag:`path`,attr:{d:`M3 12h1m8 -9v1m8 8h1m-9 8v1m-6.4 -15.4l.7 .7m12.1 -.7l-.7 .7m0 11.4l.7 .7m-12.1 -.7l-.7 .7`}}]})(e)}function Gie(e){return W({attr:{viewBox:`0 0 24 24`,strokeWidth:`2`,stroke:`currentColor`,fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{stroke:`none`,d:`M0 0h24v24H0z`,fill:`none`}},{tag:`path`,attr:{d:`M3 5a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v14a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2v-14z`}},{tag:`path`,attr:{d:`M3 10h18`}},{tag:`path`,attr:{d:`M10 3v18`}}]})(e)}function Kie(e){return W({attr:{viewBox:`0 0 24 24`,strokeWidth:`2`,stroke:`currentColor`,fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{stroke:`none`,d:`M0 0h24v24H0z`,fill:`none`}},{tag:`path`,attr:{d:`M12 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0`}},{tag:`path`,attr:{d:`M12 12m-5 0a5 5 0 1 0 10 0a5 5 0 1 0 -10 0`}},{tag:`path`,attr:{d:`M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0`}}]})(e)}function qie(e){return W({attr:{viewBox:`0 0 24 24`,strokeWidth:`2`,stroke:`currentColor`,fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{stroke:`none`,d:`M0 0h24v24H0z`,fill:`none`}},{tag:`path`,attr:{d:`M4 7l16 0`}},{tag:`path`,attr:{d:`M10 11l0 6`}},{tag:`path`,attr:{d:`M14 11l0 6`}},{tag:`path`,attr:{d:`M5 7l1 12a2 2 0 0 0 2 2h8a2 2 0 0 0 2 -2l1 -12`}},{tag:`path`,attr:{d:`M9 7v-3a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v3`}}]})(e)}function Jie(e){return W({attr:{viewBox:`0 0 24 24`,strokeWidth:`2`,stroke:`currentColor`,fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{stroke:`none`,d:`M0 0h24v24H0z`,fill:`none`}},{tag:`path`,attr:{d:`M4 17v2a2 2 0 0 0 2 2h12a2 2 0 0 0 2 -2v-2`}},{tag:`path`,attr:{d:`M7 9l5 -5l5 5`}},{tag:`path`,attr:{d:`M12 4l0 12`}}]})(e)}function Yie(e){return W({attr:{viewBox:`0 0 24 24`,strokeWidth:`2`,stroke:`currentColor`,fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{stroke:`none`,d:`M0 0h24v24H0z`,fill:`none`}},{tag:`path`,attr:{d:`M8 7a4 4 0 1 0 8 0a4 4 0 0 0 -8 0`}},{tag:`path`,attr:{d:`M6 21v-2a4 4 0 0 1 4 -4h4a4 4 0 0 1 4 4v2`}}]})(e)}function Xie(e){return W({attr:{viewBox:`0 0 24 24`,strokeWidth:`2`,stroke:`currentColor`,fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{stroke:`none`,d:`M0 0h24v24H0z`,fill:`none`}},{tag:`path`,attr:{d:`M9 7m-4 0a4 4 0 1 0 8 0a4 4 0 1 0 -8 0`}},{tag:`path`,attr:{d:`M3 21v-2a4 4 0 0 1 4 -4h4a4 4 0 0 1 4 4v2`}},{tag:`path`,attr:{d:`M16 3.13a4 4 0 0 1 0 7.75`}},{tag:`path`,attr:{d:`M21 21v-2a4 4 0 0 0 -3 -3.85`}}]})(e)}function Zie(e){return W({attr:{viewBox:`0 0 24 24`,strokeWidth:`2`,stroke:`currentColor`,fill:`none`,strokeLinecap:`round`,strokeLinejoin:`round`},child:[{tag:`path`,attr:{stroke:`none`,d:`M0 0h24v24H0z`,fill:`none`}},{tag:`path`,attr:{d:`M18 6l-12 12`}},{tag:`path`,attr:{d:`M6 6l12 12`}}]})(e)}function Qie(e){return W({attr:{viewBox:`0 0 16 16`,fill:`currentColor`},child:[{tag:`path`,attr:{d:`M9 9H4v1h5V9z`}},{tag:`path`,attr:{fillRule:`evenodd`,clipRule:`evenodd`,d:`M5 3l1-1h7l1 1v7l-1 1h-2v2l-1 1H3l-1-1V6l1-1h2V3zm1 2h4l1 1v4h2V3H6v2zm4 1H3v7h7V6z`}}]})(e)}function $ie(e){return W({attr:{viewBox:`0 0 16 16`,fill:`currentColor`},child:[{tag:`path`,attr:{d:`M9 9H4v1h5V9z`}},{tag:`path`,attr:{d:`M7 12V7H6v5h1z`}},{tag:`path`,attr:{fillRule:`evenodd`,clipRule:`evenodd`,d:`M5 3l1-1h7l1 1v7l-1 1h-2v2l-1 1H3l-1-1V6l1-1h2V3zm1 2h4l1 1v4h2V3H6v2zm4 1H3v7h7V6z`}}]})(e)}function eae(e){return W({attr:{viewBox:`0 0 1024 1024`},child:[{tag:`path`,attr:{d:`M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z`}},{tag:`path`,attr:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z`}}]})(e)}function tae(e){return W({attr:{viewBox:`0 0 1024 1024`},child:[{tag:`path`,attr:{d:`M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z`}},{tag:`path`,attr:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z`}}]})(e)}var nae=`data:image/svg+xml,%3csvg%20width='1em'%20height='1em'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M18%204H6C4.89543%204%204%204.89543%204%206V18C4%2019.1046%204.89543%2020%206%2020H18C19.1046%2020%2020%2019.1046%2020%2018V6C20%204.89543%2019.1046%204%2018%204Z'%20stroke='currentColor'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e`,rae=`data:image/svg+xml,%3csvg%20width='1em'%20height='1em'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M4%2012H20M12%204V12M18%2020H6C4.89543%2020%204%2019.1046%204%2018V6C4%204.8954%204.89543%204%206%204H18C19.1046%204%2020%204.8954%2020%206V18C20%2019.1046%2019.1046%2020%2018%2020Z'%20stroke='currentColor'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e`,iae=`data:image/svg+xml,%3csvg%20width='1em'%20height='1em'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M4%2012H20M12%2020V12M18%204H6C4.89543%204%204%204.89543%204%206V18C4%2019.1046%204.89543%2020%206%2020H18C19.1046%2020%2020%2019.1046%2020%2018V6C20%204.89543%2019.1046%204%2018%204Z'%20stroke='currentColor'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e`,aae=`data:image/svg+xml,%3csvg%20fill='none'%20height='1em'%20viewBox='0%200%2024%2024'%20width='1em'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='m12%2020v-16m-8%208h8m8-6v12c0%201.1046-.8954%202-2%202h-12c-1.1046%200-2-.8954-2-2v-12c0-1.1046.8954-2%202-2h12c1.1046%200%202%20.8954%202%202z'%20stroke='currentColor'%20stroke-linecap='round'%20stroke-linejoin='round'%20stroke-width='2'/%3e%3c/svg%3e`,oae=`data:image/svg+xml,%3csvg%20width='1em'%20height='1em'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M12%204L12%2020M20%2012H12M4%2018L4%206C4%204.89543%204.89543%204%206%204L18%204C19.1046%204%2020%204.89543%2020%206V18C20%2019.1046%2019.1046%2020%2018%2020H6C4.89543%2020%204%2019.1046%204%2018Z'%20stroke='currentColor'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e`,sae=`data:image/svg+xml,%3csvg%20width='1em'%20height='1em'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M6%204C4.89543%204%204%204.89543%204%206V18C4%2019.1046%204.89543%2020%206%2020H18C19.1046%2020%2020%2019.1046%2020%2018V6C20%204.89543%2019.1046%204%2018%204M6%204H18M6%204H12M18%204H12M4%2012H20M12%204V20'%20stroke='currentColor'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e`,cae=({icon:e})=>{switch(e){case`add`:case`plus`:return(0,U.jsx)(kie,{});case`add above`:return(0,U.jsx)(Fie,{});case`add below`:return(0,U.jsx)(Pie,{});case`arrow down`:case`down`:return(0,U.jsx)(are,{});case`arrow left`:case`left`:return(0,U.jsx)(ore,{});case`arrow right`:case`right`:return(0,U.jsx)(sre,{});case`arrow up`:case`up`:return(0,U.jsx)(cre,{});case`bold`:return(0,U.jsx)(hre,{});case`book`:case`library`:return(0,U.jsx)(_re,{});case`camera`:return(0,U.jsx)(yre,{});case`close`:case`clear`:case`times`:return(0,U.jsx)(Zie,{});case`chart`:case`chart line`:return(0,U.jsx)(xre,{});case`chart bar`:return(0,U.jsx)(bre,{});case`chart pie`:return(0,U.jsx)(Sre,{});case`chat`:return(0,U.jsx)(gie,{});case`check`:case`checkmark`:return(0,U.jsx)(Cre,{});case`chevron up`:return(0,U.jsx)(Dre,{});case`chevron down`:return(0,U.jsx)(wre,{});case`chevron left`:return(0,U.jsx)(Tre,{});case`chevron right`:return(0,U.jsx)(Ere,{});case`chevron double left`:return(0,U.jsx)(Ore,{});case`chevron double right`:return(0,U.jsx)(kre,{});case`clock`:return(0,U.jsx)(Pre,{});case`clone`:case`copy`:case`duplicate`:return(0,U.jsx)(Ire,{});case`code`:return(0,U.jsx)(Fre,{});case`collapse`:return(0,U.jsx)(eae,{});case`collapse all`:return(0,U.jsx)(Qie,{});case`company`:return(0,U.jsx)(vre,{});case`compare`:return(0,U.jsx)(Lie,{});case`delete`:case`trash`:return(0,U.jsx)(qie,{});case`depth`:return(0,U.jsx)(Iie,{style:{transform:`rotate(-90deg)`}});case`download`:case`export`:return(0,U.jsx)(Vre,{});case`drag`:return(0,U.jsx)(tie,{});case`edit`:case`pencil`:case`rename`:return(0,U.jsx)(xie,{});case`electricity`:return(0,U.jsx)(gre,{});case`error`:return(0,U.jsx)(jre,{});case`exclamation`:return(0,U.jsx)(Ure,{});case`expand`:return(0,U.jsx)(tae,{});case`expand all`:return(0,U.jsx)($ie,{});case`external`:return(0,U.jsx)(Wre,{});case`fast forward`:return(0,U.jsx)(Die,{});case`fast backward`:return(0,U.jsx)(Oie,{});case`file`:return(0,U.jsx)(qre,{});case`filter`:return(0,U.jsx)(Yre,{});case`focus`:return(0,U.jsx)(Xre,{});case`folder`:return(0,U.jsx)(Qre,{});case`folder search`:return(0,U.jsx)(Zre,{});case`fork`:return(0,U.jsx)(eie,{});case`gauge`:return(0,U.jsx)($re,{});case`help`:return(0,U.jsx)(nie,{});case`hide`:return(0,U.jsx)(Gre,{});case`indent`:return(0,U.jsx)(Lre,{});case`info`:return(0,U.jsx)(rie,{});case`italic`:return(0,U.jsx)(iie,{});case`key`:return(0,U.jsx)(aie,{});case`laptop`:return(0,U.jsx)(zre,{});case`layout columns`:case`columns`:return(0,U.jsx)(oie,{});case`layout grid`:case`grid`:return(0,U.jsx)(ta,{src:sae});case`layout rows`:case`rows`:return(0,U.jsx)(sie,{});case`layout single`:case`square`:return(0,U.jsx)(ta,{src:nae});case`layout 3 split top`:return(0,U.jsx)(ta,{src:rae});case`layout 3 split bottom`:return(0,U.jsx)(ta,{src:iae});case`layout 3 split left`:return(0,U.jsx)(ta,{src:aae});case`layout 3 split right`:return(0,U.jsx)(ta,{src:oae});case`link`:return(0,U.jsx)(lie,{});case`list`:case`legend`:case`ul`:return(0,U.jsx)(die,{});case`list numbers`:case`ol`:return(0,U.jsx)(uie,{});case`location`:return(0,U.jsx)(hie,{});case`lock`:return(0,U.jsx)(mie,{});case`maximize`:return(0,U.jsx)(ure,{});case`menu`:return(0,U.jsx)(Bre,{});case`minimize`:return(0,U.jsx)(dre,{});case`minus`:return(0,U.jsx)(_ie,{});case`moon`:return(0,U.jsx)(vie,{});case`move`:return(0,U.jsx)(fre,{});case`note`:return(0,U.jsx)(bie,{});case`notification`:case`bell`:return(0,U.jsx)(mre,{});case`paste`:return(0,U.jsx)(Nre,{});case`pause`:return(0,U.jsx)(Sie,{});case`play`:return(0,U.jsx)(Cie,{});case`question`:return(0,U.jsx)(Aie,{});case`redo`:case`rotate`:case`rotate right`:return(0,U.jsx)(Mie,{});case`refresh`:case`sync`:return(0,U.jsx)(jie,{});case`save`:return(0,U.jsx)(Rre,{});case`scale`:return(0,U.jsx)(lre,{});case`search`:return(0,U.jsx)(Rie,{});case`server`:return(0,U.jsx)(zie,{});case`settings`:return(0,U.jsx)(Bie,{});case`show`:case`eye`:return(0,U.jsx)(Kre,{});case`sort`:case`sort descending`:case`sort down`:case`sort amount down`:return(0,U.jsx)(Hie,{});case`sort ascending`:case`sort up`:case`sort amount up`:return(0,U.jsx)(Vie,{});case`spinner`:return(0,U.jsx)(fie,{});case`split`:return(0,U.jsx)(pre,{});case`star`:return(0,U.jsx)(Uie,{});case`step backward`:return(0,U.jsx)(wie,{});case`step forward`:return(0,U.jsx)(Tie,{});case`stop`:return(0,U.jsx)(Eie,{});case`success`:return(0,U.jsx)(Are,{});case`sun`:return(0,U.jsx)(Wie,{});case`table`:return(0,U.jsx)(Gie,{});case`target`:return(0,U.jsx)(Kie,{});case`undo`:case`rotate left`:return(0,U.jsx)(Nie,{});case`unfilter`:return(0,U.jsx)(Jre,{});case`unlink`:return(0,U.jsx)(cie,{});case`unlock`:return(0,U.jsx)(pie,{});case`upload`:case`import`:return(0,U.jsx)(Jie,{});case`user`:return(0,U.jsx)(Yie,{});case`users`:case`group`:return(0,U.jsx)(Xie,{});case`video`:return(0,U.jsx)(yie,{});case`warning`:case`alert`:return(0,U.jsx)(ire,{});case`water`:case`droplet`:return(0,U.jsx)(Hre,{});case``:return null;default:return(0,U.jsx)(Mre,{})}},ca=({icon:e,onClick:t,clickable:n=!1,color:r,size:i,testId:a})=>{let o=(0,H.useContext)(na),s={color:r,fill:r,fontSize:i||`inherit`,width:i||`auto`,height:i||`auto`};return(0,U.jsx)(`div`,{className:Oi(ra.wrapper,(n||t)&&!o?ra.clickable:``),style:s,onClick:e=>t&&!o?t(e):void 0,"data-testid":a,children:(0,H.isValidElement)(e)?e:typeof e==`string`&&(e.includes(`.svg`)||e.includes(`image/svg`))?(0,U.jsx)(ta,{className:ra.customSvg,beforeInjection:e=>{i&&(e.setAttribute(`width`,String(i)),e.setAttribute(`height`,String(i)))},src:e}):typeof e==`string`&&(e.includes(`.png`)||e.includes(`image/png`))?(0,U.jsx)(`img`,{alt:`icon`,className:ra.customPng,src:e}):typeof e==`string`?(0,U.jsx)(cae,{icon:e}):null})},la={checkbox:`_checkbox_oo4mp_1`,noLabel:`_noLabel_oo4mp_17`,small:`_small_oo4mp_20`,checkmark:`_checkmark_oo4mp_43`,disabled:`_disabled_oo4mp_82`,noMargin:`_noMargin_oo4mp_96`,isInTable:`_isInTable_oo4mp_99`,helpIconEnabled:`_helpIconEnabled_oo4mp_102`},ua=function(){if(typeof Map<`u`)return Map;function e(e,t){var n=-1;return e.some(function(e,r){return e[0]===t?(n=r,!0):!1}),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,`size`,{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),r=this.__entries__[n];return r&&r[1]},t.prototype.set=function(t,n){var r=e(this.__entries__,t);~r?this.__entries__[r][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,r=e(n,t);~r&&n.splice(r,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){t===void 0&&(t=null);for(var n=0,r=this.__entries__;n<r.length;n++){var i=r[n];e.call(t,i[1],i[0])}},t}()}(),da=typeof window<`u`&&typeof document<`u`&&window.document===document,fa=function(){return typeof global<`u`&&global.Math===Math?global:typeof self<`u`&&self.Math===Math?self:typeof window<`u`&&window.Math===Math?window:Function(`return this`)()}(),lae=function(){return typeof requestAnimationFrame==`function`?requestAnimationFrame.bind(fa):function(e){return setTimeout(function(){return e(Date.now())},1e3/60)}}(),uae=2;function dae(e,t){var n=!1,r=!1,i=0;function a(){n&&(n=!1,e()),r&&s()}function o(){lae(a)}function s(){var e=Date.now();if(n){if(e-i<uae)return;r=!0}else n=!0,r=!1,setTimeout(o,t);i=e}return s}var fae=20,pae=[`top`,`right`,`bottom`,`left`,`width`,`height`,`size`,`weight`],mae=typeof MutationObserver<`u`,hae=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=dae(this.refresh.bind(this),fae)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter(function(e){return e.gatherActive(),e.hasActive()});return e.forEach(function(e){return e.broadcastActive()}),e.length>0},e.prototype.connect_=function(){!da||this.connected_||(document.addEventListener(`transitionend`,this.onTransitionEnd_),window.addEventListener(`resize`,this.refresh),mae?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener(`DOMSubtreeModified`,this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){!da||!this.connected_||(document.removeEventListener(`transitionend`,this.onTransitionEnd_),window.removeEventListener(`resize`,this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener(`DOMSubtreeModified`,this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=t===void 0?``:t;pae.some(function(e){return!!~n.indexOf(e)})&&this.refresh()},e.getInstance=function(){return this.instance_||=new e,this.instance_},e.instance_=null,e}(),pa=function(e,t){for(var n=0,r=Object.keys(t);n<r.length;n++){var i=r[n];Object.defineProperty(e,i,{value:t[i],enumerable:!1,writable:!1,configurable:!0})}return e},ma=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||fa},ha=va(0,0,0,0);function ga(e){return parseFloat(e)||0}function _a(e){return[...arguments].slice(1).reduce(function(t,n){var r=e[`border-`+n+`-width`];return t+ga(r)},0)}function gae(e){for(var t=[`top`,`right`,`bottom`,`left`],n={},r=0,i=t;r<i.length;r++){var a=i[r],o=e[`padding-`+a];n[a]=ga(o)}return n}function _ae(e){var t=e.getBBox();return va(0,0,t.width,t.height)}function vae(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return ha;var r=ma(e).getComputedStyle(e),i=gae(r),a=i.left+i.right,o=i.top+i.bottom,s=ga(r.width),c=ga(r.height);if(r.boxSizing===`border-box`&&(Math.round(s+a)!==t&&(s-=_a(r,`left`,`right`)+a),Math.round(c+o)!==n&&(c-=_a(r,`top`,`bottom`)+o)),!bae(e)){var l=Math.round(s+a)-t,u=Math.round(c+o)-n;Math.abs(l)!==1&&(s-=l),Math.abs(u)!==1&&(c-=u)}return va(i.left,i.top,s,c)}var yae=function(){return typeof SVGGraphicsElement<`u`?function(e){return e instanceof ma(e).SVGGraphicsElement}:function(e){return e instanceof ma(e).SVGElement&&typeof e.getBBox==`function`}}();function bae(e){return e===ma(e).document.documentElement}function xae(e){return da?yae(e)?_ae(e):vae(e):ha}function Sae(e){var t=e.x,n=e.y,r=e.width,i=e.height,a=typeof DOMRectReadOnly<`u`?DOMRectReadOnly:Object,o=Object.create(a.prototype);return pa(o,{x:t,y:n,width:r,height:i,top:n,right:t+r,bottom:i+n,left:t}),o}function va(e,t,n,r){return{x:e,y:t,width:n,height:r}}var Cae=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=va(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=xae(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),wae=function(){function e(e,t){var n=Sae(t);pa(this,{target:e,contentRect:n})}return e}(),Tae=function(){function e(e,t,n){if(this.activeObservations_=[],this.observations_=new ua,typeof e!=`function`)throw TypeError(`The callback provided as parameter 1 is not a function.`);this.callback_=e,this.controller_=t,this.callbackCtx_=n}return e.prototype.observe=function(e){if(!arguments.length)throw TypeError(`1 argument required, but only 0 present.`);if(!(typeof Element>`u`||!(Element instanceof Object))){if(!(e instanceof ma(e).Element))throw TypeError(`parameter 1 is not of type "Element".`);var t=this.observations_;t.has(e)||(t.set(e,new Cae(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw TypeError(`1 argument required, but only 0 present.`);if(!(typeof Element>`u`||!(Element instanceof Object))){if(!(e instanceof ma(e).Element))throw TypeError(`parameter 1 is not of type "Element".`);var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach(function(t){t.isActive()&&e.activeObservations_.push(t)})},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map(function(e){return new wae(e.target,e.broadcastRect())});this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),ya=typeof WeakMap<`u`?new WeakMap:new ua,ba=function(){function e(t){if(!(this instanceof e))throw TypeError(`Cannot call a class as a function.`);if(!arguments.length)throw TypeError(`1 argument required, but only 0 present.`);var n=new Tae(t,hae.getInstance(),this);ya.set(this,n)}return e}();[`observe`,`unobserve`,`disconnect`].forEach(function(e){ba.prototype[e]=function(){var t;return(t=ya.get(this))[e].apply(t,arguments)}});var xa=function(){return fa.ResizeObserver===void 0?ba:fa.ResizeObserver}(),Eae=!0;function Dae(e,t){if(!Eae){if(e)return;var n=`Warning: `+t;typeof console<`u`&&console.warn(n);try{throw Error(n)}catch{}}}function Oae(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Sa(e,t,n){return t&&Oae(e.prototype,t),e}function Ca(){return Ca=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ca.apply(this,arguments)}function kae(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,wa(e,t)}function wa(e,t){return wa=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},wa(e,t)}function Aae(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a<r.length;a++)i=r[a],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function jae(e,t){if(e){if(typeof e==`string`)return Ta(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`)return Array.from(e);if(n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ta(e,t)}}function Ta(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Ea(e,t){var n=typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=jae(e))||t){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw TypeError(`Invalid attempt to iterate non-iterable instance.
3
3
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Da(e){var t=(0,H.useRef)(null);function n(n){!n||n===t.current||(t.current=n,e(n))}return n}function Mae(e){var t=(0,H.useRef)(e);return(0,H.useMemo)(function(){function e(e){typeof e==`function`?t.current=e(t.current):t.current=e}function n(){return t.current}return[n,e]},[])}function Nae(){var e=(0,H.useRef)([]);return(0,H.useMemo)(function(){function t(){return e.current.length>0}function n(){for(var t=Ea(e.current),n;!(n=t()).done;){var r=n.value;r()}e.current=[]}function r(t){e.current.push(t)}return{hasEventSubscriptions:t,removeAllEventSubscriptions:n,addEventSubscription:r}},[])}var Oa=typeof window<`u`?H.useLayoutEffect:H.useEffect;function Pae(e,t){var n=(0,H.useRef)(e);return t?(n.current=e,n):(n.current=null,n)}var ka={top:0,left:0,right:1,bottom:1,width:1,height:1};function Fae(e){var t={},n=t.enabled,r=n===void 0?!0:n,i=t.preventDefault,a=i===void 0?!0:i,o=(0,H.useRef)(null),s=(0,H.useState)(ka),c=s[0],l=s[1];function u(){l(ka)}var d=c!==ka;function f(e){if(r){a&&e.preventDefault();var t=e.clientX,n=e.clientY;l({top:n,left:t,width:1,height:1,right:t+1,bottom:n+1})}}return{hasMousePosition:d,resetMousePosition:u,handleMouseEvent:f,trigger:{getBounds:function(){return c},getParent:o.current?function(){return o.current}:void 0},parentRef:o}}function Aa(e){return parseFloat(e.replace(`px`,``))}function ja(e,t,n){return e<t?t:e>n?n:e}function Ma(e){return e!=null}function Na(){var e=[...arguments];return function(t){for(var n=Ea(e),r;!(r=n()).done;){var i=r.value;i&&(typeof i==`function`?i(t):i.current=t)}}}function Iae(e,t){if(e!==void 0)return t||e.ResizeObserver}function Pa(e,t){var n=[];if(!e||!t||e===document.body)return n;var r=t.getComputedStyle(e);return[r.overflow,r.overflowX,r.overflowY].some(function(e){return[`auto`,`scroll`].includes(e)})&&n.push(e),[].concat(n,Pa(e.parentElement,t))}function Fa(e){return`react-laag: Could not find a valid reference for the `+e+` element. There might be 2 causes:
4
4
  - Make sure that the 'ref' is set correctly on the `+e+` element when isOpen: true. Also make sure your component forwards the ref with "forwardRef()".
@@ -1,4 +1,4 @@
1
- import{_t as e,at as t,dt as n,ft as r}from"./iframe-ssGAGOoN.js";
1
+ import{_t as e,at as t,dt as n,ft as r}from"./iframe-D8t45Jkw.js";
2
2
  /*!
3
3
  * @kurkle/color v0.3.4
4
4
  * https://github.com/kurkle/color#readme
@@ -41,7 +41,7 @@ Copyright (c) 2018 Jed Watson.
41
41
  Licensed under the MIT License (MIT), see
42
42
  http://jedwatson.github.io/classnames
43
43
  */
44
- (function(){var e={}.hasOwnProperty;function n(){for(var e=``,t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=i(e,r(n)))}return e}function r(t){if(typeof t==`string`||typeof t==`number`)return t;if(typeof t!=`object`)return``;if(Array.isArray(t))return n.apply(null,t);if(t.toString!==Object.prototype.toString&&!t.toString.toString().includes(`[native code]`))return t.toString();var r=``;for(var a in t)e.call(t,a)&&t[a]&&(r=i(r,a));return r}function i(e,t){return t?e?e+` `+t:e+t:e}t!==void 0&&t.exports?(n.default=n,t.exports=n):typeof define==`function`&&typeof define.amd==`object`&&define.amd?define(`classnames`,[],function(){return n}):window.classNames=n})()})),Vp=10;const Hp=e=>e?.reduce((t,n,r)=>{if(r===0)return t;let i=Math.abs(n-e?.[r-1]);return Math.max(i,t)},0),Up=(e,t,n)=>{let{axis:r,left:i,top:a,right:o,bottom:s}=n??{},c=r===`x`,l=c?i:a,u=c?o:s,d=e>l,f=e<u,p=t.indexOf(e)!==-1;return d&&f&&!p},Wp=(e,t)=>{let n=e?.sort((e,t)=>e-t),r=Hp(e)/10,i=e[0],a=(e.length+1)*Vp;return[...Array(a)]?.map((e,t)=>{let n=i+(t-Vp+1)*r;return parseFloat(n?.toFixed(1))})?.filter(e=>Up(e,n,t))};var Gp=e=>{let{chart:t,ctx:n}=e??{};if(!n||n?.canvas===null)return;let r=t?.config;if(!r?.options?.scales?.[e?.id]?.grid?.drawOnChartArea||r?.options?.indexAxis===e?.axis)return;let i=e?.axis===`x`,a=e?.ticks?.map((t,n)=>e?.getPixelForTick(n))?.sort((e,t)=>e-t),o=Wp(a,e);n?.save?.(),n.strokeStyle=r?._config?.options?.scales?.[e.id]?.grid?.color||`rgba(0,0,0,0.06)`,n.lineWidth=.5,o?.forEach(e=>{if(n.beginPath(),i){let{top:r,bottom:i}=t?.chartArea??{};n?.moveTo?.(e,r),n?.lineTo?.(e,i)}else{let{left:r,right:i}=t?.chartArea??{};n?.moveTo?.(r,e),n?.lineTo?.(i,e)}n?.stroke?.()}),n?.restore?.()};const Kp={id:`minorGridlines`,beforeDatasetsDraw:e=>{let{scales:t}=e??{};Object.keys(t)?.forEach(e=>Gp(t?.[e]))}},qp={ZERO:0,INITIAL:2,HOVERED:6,POINT_HOVERED:8},Jp=`rgba(0,0,0,0.1)`,Yp=[10,2],Xp=12,Zp=`"Roobert", "Noto Sans", sans-serif`,Qp=`hsl(60, 10.34482759%, 12.5%)`,$p=12,em=8,tm=4,nm=[1,10,100,1e3,1e4],rm=[`#3366cc`,`#dc3912`,`#ff9900`,`#109618`,`#990099`,`#0099c6`,`#dd4477`,`#66aa00`,`#b82e2e`,`#316395`,`#994499`,`#22aa99`,`#aaaa11`,`#6633cc`,`#e67300`,`#8b0707`,`#651067`,`#329262`,`#5574a6`,`#3b3eac`],im=`99`,am=`auto`,om={NO:0,SLOW:400,FAST:1e3},sm=`htmlLegend`,cm=9,lm=1/10**9,um=[{offset:0,color:`rgba(144,238,144,0.8)`},{offset:.6,color:`rgba(255,255,224,0.8)`},{offset:.8,color:`rgba(255,255,224,0.8)`},{offset:.92,color:`rgba(255,182,193,0.5)`},{offset:.99,color:`rgba(255,182,193,0.8)`}];let dm=function(e){return e.X=`x`,e.Y=`y`,e}({}),fm=function(e){return e.Bottom=`bottom`,e.Top=`top`,e.Left=`left`,e.Right=`right`,e.TopRight=`top-right`,e.TopLeft=`top-left`,e.BottomLeft=`bottom-left`,e.BottomRight=`bottom-right`,e}({}),pm=function(e){return e.Line=`line`,e.Bar=`bar`,e}({}),mm=function(e){return e.Pointer=`pointer`,e.Initial=`initial`,e.Grab=`grab`,e.Grabbing=`grabbing`,e.Crosshair=`crosshair`,e.Move=`move`,e}({}),hm=function(e){return e.Category=`category`,e.Linear=`linear`,e.Logarithmic=`logarithmic`,e}({}),gm=function(e){return e.Vertical=`vertical`,e}({}),_m=function(e){return e.Y=`yLabel`,e.X=`xLabel`,e}({}),vm=function(e){return e.End=`end`,e.Start=`start`,e.Center=`center`,e.Right=`right`,e.Left=`left`,e}({}),ym=function(e){return e.Box=`box`,e.Ellipse=`ellipse`,e.Line=`line`,e.Text=`text`,e}({}),bm=function(e){return e.Circle=`circle`,e.Square=`rect`,e.Diamond=`rectRot`,e.Triangle=`triangle`,e}({}),xm=function(e){return e.Nearest=`nearest`,e}({}),Sm=function(e){return e.X=`x`,e.Y=`y`,e.XY=`xy`,e.Z=`z`,e}({}),Cm=function(e){return e.Shift=`Shift`,e}({}),wm=function(e){return e.Mousemove=`mousemove`,e.Mouseout=`mouseout`,e.Click=`click`,e.Touchstart=`touchstart`,e.Touchmove=`touchmove`,e.Dblclick=`dblclick`,e}({});const Tm={id:`chartAreaBorder`,beforeDraw(e,t,n){if(!e?.ctx||!e.chartArea)return;let{ctx:r,chartArea:i}=e??{},{left:a,top:o,width:s,height:c}=i??{};r?.save?.(),r.strokeStyle=n?.borderColor,r.lineWidth=n?.borderWidth,r?.setLineDash?.(n?.borderDash||[]),r.lineDashOffset=n?.borderDashOffset??0,r?.strokeRect?.(a,o,s,c),r?.restore?.()}};var Em=e(Bp(),1),Dm=e(Wd(),1);const Om=(e,t)=>{let n=[];e?.showMinorGridlines&&n.push(Kp);let r=t?.customLegend;return r?.customLegendPlugin&&r?.customLegendContainerID&&n.push({id:sm,...t?.customLegend?.customLegendPlugin}),n.push(Tm),n},km=e=>{let t=`#${Math.floor(Math.random()*16777215).toString(16)}`;return e.includes(t)?km(e):(e.push(t),e)},Am=e=>e.title===``?{}:{display:!0,text:e?.title??``},jm=e=>e===gm.Vertical,Mm=(e,t)=>{let[n,r]=e===dm.Y?[fm.Left,fm.Right]:[fm.Top,fm.Bottom];return t%2==0?n:r},Nm=(e,t)=>{let{width:n,height:r,staticChartHeight:i=!1,squareAspectRatio:a=0}=e,o=a?t?.squareAspectRatio:``,s=``;return s=n||r?``:i?t?.fixedHeight:t?.stretchHeight,(0,Em.default)(t?.chart,s,o)},Pm=(e,t)=>{let{legend:n}=e||{};return{position:n?.position||fm.Top,display:n?.display,align:n?.align,labels:{boxHeight:12,boxWidth:n?.usePointStyle?12:void 0,usePointStyle:n?.usePointStyle},onClick:t}},Fm=e=>{let{error:t=null}=e?.dataset?.data?.[e?.dataIndex]??{};return t?`Error: ${Df(t,4)}`:``},Im=(e,t)=>{let n=e?.dataset?.data?.[e?.dataIndex]?.label,r=Array.isArray(n)?n?.join(` , `):n??``;return t&&r?.length?` (${r})`:``},Lm=e=>e.toLowerCase().replace(/[^\w\s-]/g,``).replace(/\s+/g,`_`).replace(/_+/g,`_`).replace(/^_+|_+$/g,``),Rm=e=>(0,Dm.isEmpty)(e)||(0,Dm.isNil)(e)?`new_chart`:e.map((e,t)=>Lm(e.label??`${t}`)).join(`_`)||`new_chart`,zm=()=>{z.font.size=12,z.font.family=Zp,z.color=Qp,z.borderColor=Jp},Bm=e=>e===``,Vm=`TOGGLE_DATA_VISIBILITY`,Hm=`SET_ANNOTATION`;var Um=e(Wd(),1);const Wm={datasets:[],annotation:[]},Gm=(e,t)=>{switch(t.type){case Hm:return{...e,annotation:t.payload};case`RESET_STATE`:return t.payload;case Vm:{let{chartInstance:n,dsConfig:r,annotationConfig:i}=t.payload,{datasetIndex:a,datasets:o,dataset:s}=r,{annotationIndex:c}=i,l=(0,Um.cloneDeep)(e),u=(0,Um.defaultTo)(n?.isDatasetVisible(a),!0);if(a>=0&&(n?.setDatasetVisibility(a,!u),(0,Um.set)(l,[`datasets`,a,`hidden`],u),s?.displayGroup)){let e=s.displayGroup;o.forEach((t,r)=>{t.displayGroup===e&&(n?.setDatasetVisibility(Number(r),!u),(0,Um.set)(l,[`datasets`,r,`hidden`],u))})}if(c>=0){let e=(0,Um.findIndex)(l.annotation,{annotationIndex:c});if(e>=0){let t=(0,Um.defaultTo)(l.annotation[e]?.display,!1);(0,Um.set)(l,[`annotation`,e,`display`],!t)}}return l}default:return e}};let Km=function(e){return e.DEFAULT=`14px Arial`,e.CUSTOM=`16px Arial`,e}({}),qm=function(e){return e.MOUSEDOWN=`mousedown`,e.MOUSEMOVE=`mousemove`,e.MOUSEUP=`mouseup`,e}({}),Jm=function(e){return e.POINT=`point`,e.BOX=`box`,e.LINE=`line`,e.ELLIPSE=`ellipse`,e}({}),Ym=function(e){return e.X=`x`,e.Y=`y`,e.Both=`both`,e}({});var Xm=(e,t,n)=>{t.canvas.style.cursor=mm.Pointer,e.options.scaleID?.includes(dm.X)&&e.options.label&&(e.options.label.xAdjust=t.chartArea.left),e.options.borderWidth=qp.HOVERED,e.options.label&&(e.label.options.display=!0,e.options.label.enabled=!0),n?.enableDrag&&(t.hoveredAnnotationId=e.options.id||null,t.update(`none`)),t.draw()},Zm=(e,t,n)=>{e.options.borderWidth=qp.INITIAL,t.canvas.style.cursor=mm.Initial,t.hoveredAnnotationId=null,e.options.label&&(e.label.options.display=!1,e.options.label.enabled=!1),n?.enableDrag&&(t.hoveredAnnotationId=null,t.update(`none`)),t.draw()},Qm=(e,t,n)=>{n?.enableDrag&&(t.hoveredAnnotationId=e.options.id||null,t.update(`none`),e.options.borderWidth=qp.HOVERED,t.canvas.style.cursor=mm.Pointer),t.draw()},$m=(e,t,n)=>{n?.enableDrag&&(t.hoveredAnnotationId=null,e.options.borderWidth=qp.INITIAL,t.canvas.style.cursor=mm.Initial,t.update(`none`)),t.draw()},eh=(e,t,n)=>{n?.enableDrag&&(t.hoveredAnnotationId=e.options.id||null,t.update(`none`),e.options.borderWidth=qp.POINT_HOVERED,t.canvas.style.cursor=mm.Pointer),t.draw()},th=(e,t,n)=>{n?.enableDrag&&(t.hoveredAnnotationId=null,e.options.borderWidth=qp.INITIAL,t.canvas.style.cursor=mm.Initial,t.update(`none`)),t.draw()},nh=e=>e?.map((e,t)=>{let n=e?.annotationAxis??void 0,r=e?.color??rm[t],i=e?.type??Jm.LINE,a=e?.adjustScaleRange,o={[Jm.LINE]:r,[Jm.POINT]:r,[Jm.BOX]:r,[Jm.ELLIPSE]:`transparent`}[i]||`transparent`,s={[Jm.LINE]:qp.INITIAL,[Jm.BOX]:qp.ZERO,[Jm.POINT]:qp.ZERO,[Jm.ELLIPSE]:e?.borderWidth??0}[i]??0,c=i===Jm.LINE?Yp:void 0,l={content:e?.label,display:!0,font:{weight:`normal`}},u={[Jm.LINE]:{backgroundColor:r,content:e?.label,display:!1,position:fm.Top},[Jm.POINT]:{backgroundColor:e?.labelConfig?.backgroundColor??`transparent`,content:e?.label,display:e?.labelConfig?.display??!!e?.label,position:e?.labelConfig?.position??fm.Bottom,color:e?.labelConfig?.color??`hsl(60, 10.34482759%, 12.5%)`,font:e?.labelConfig?.font??`12px "Roobert", "Noto Sans", sans-serif`,borderWidth:qp.INITIAL,padding:5,borderRadius:3,borderColor:e?.labelConfig?.borderColor??`transparent`},[Jm.BOX]:l,[Jm.ELLIPSE]:l}[i]||l,d=({element:t},{chart:n})=>{switch(i){case Jm.LINE:Xm(t,n,e);break;case Jm.BOX:Qm(t,n,e);break;case Jm.POINT:eh(t,n,e);break;default:break}},f=({element:t},{chart:n})=>{switch(i){case Jm.LINE:Zm(t,n,e);break;case Jm.BOX:$m(t,n,e);break;case Jm.POINT:th(t,n,e);break;default:break}},p=()=>(t,n)=>e?.onDragStart?e?.onDragStart(t,n):void 0,m=()=>(t,n)=>e?.onDrag?e?.onDrag(t,n):void 0,h=()=>(t,n)=>e?.onDragEnd?e?.onDragEnd(t,n):void 0;return{...e,display:e?.display,annotationIndex:t,id:`${e?.label}-${e?.value}-${t}`,scaleID:n,label:u,backgroundColor:r,borderColor:o,borderWidth:s,borderDash:c,type:i,adjustScaleRange:a,enter:d,leave:f,onDragStart:p,onDrag:m,onDragEnd:h,pointStyle:e?.pointStyle??bm.Circle,resizable:e?.resizable??!0,displayDragCoordinates:e?.displayDragCoordinates??!0}}),rh=({showAnnotations:e,annotationsData:t})=>e&&t&&t?.length?nh(t)??[]:[],ih=e(Ud(),1);const ah=(e,t)=>{if(!e.annotations?.controlAnnotation)return;let n=(0,fl.useRef)(null);(0,fl.useEffect)(()=>{let{showAnnotations:r=!0,annotationsData:i=[]}=e?.annotations??{},a=n.current;(!a||a.showAnnotations!==r||!(0,ih.default)(a.annotationsData,i))&&(t({type:Hm,payload:rh({showAnnotations:r,annotationsData:i})}),n.current={showAnnotations:r,annotationsData:i})},[e,t])};var oh=e(t(),1);const sh=(0,fl.createContext)(void 0),ch=({children:e,options:t,datasets:n})=>{let{showAnnotations:r=!0,annotationsData:i=[]}=t?.annotations??{},a=n?.map((e,t)=>({[t]:{...e,hidden:!1}}))??[],o=rh({showAnnotations:r,annotationsData:i}),[s,c]=(0,fl.useReducer)(Gm,{...Wm,annotation:o,datasets:a}),l=(0,fl.useMemo)(()=>({state:s,dispatch:c}),[s,t,c]);return ah(t,c),(0,oh.jsx)(sh.Provider,{value:l,children:e})};ch.__docgenInfo={description:``,methods:[],displayName:`LegendProvider`,props:{children:{required:!0,tsType:{name:`ReactNode`},description:``},options:{required:!0,tsType:{name:`union`,raw:`| ILineChartOptions
44
+ (function(){var e={}.hasOwnProperty;function n(){for(var e=``,t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=i(e,r(n)))}return e}function r(t){if(typeof t==`string`||typeof t==`number`)return t;if(typeof t!=`object`)return``;if(Array.isArray(t))return n.apply(null,t);if(t.toString!==Object.prototype.toString&&!t.toString.toString().includes(`[native code]`))return t.toString();var r=``;for(var a in t)e.call(t,a)&&t[a]&&(r=i(r,a));return r}function i(e,t){return t?e?e+` `+t:e+t:e}t!==void 0&&t.exports?(n.default=n,t.exports=n):typeof define==`function`&&typeof define.amd==`object`&&define.amd?define(`classnames`,[],function(){return n}):window.classNames=n})()})),Vp=10;const Hp=e=>e?.reduce((t,n,r)=>{if(r===0)return t;let i=Math.abs(n-e?.[r-1]);return Math.max(i,t)},0),Up=(e,t,n)=>{let{axis:r,left:i,top:a,right:o,bottom:s}=n??{},c=r===`x`,l=c?i:a,u=c?o:s,d=e>l,f=e<u,p=t.indexOf(e)!==-1;return d&&f&&!p},Wp=(e,t)=>{let n=e?.sort((e,t)=>e-t),r=Hp(e)/10,i=e[0],a=(e.length+1)*Vp;return[...Array(a)]?.map((e,t)=>{let n=i+(t-Vp+1)*r;return parseFloat(n?.toFixed(1))})?.filter(e=>Up(e,n,t))};var Gp=e=>{let{chart:t,ctx:n}=e??{};if(!n||n?.canvas===null)return;let r=t?.config;if(!r?.options?.scales?.[e?.id]?.grid?.drawOnChartArea||r?.options?.indexAxis===e?.axis)return;let i=e?.axis===`x`,a=e?.ticks?.map((t,n)=>e?.getPixelForTick(n))?.sort((e,t)=>e-t),o=Wp(a,e);n?.save?.(),n.strokeStyle=r?._config?.options?.scales?.[e.id]?.grid?.color||`rgba(0,0,0,0.06)`,n.lineWidth=.5,o?.forEach(e=>{if(n.beginPath(),i){let{top:r,bottom:i}=t?.chartArea??{};n?.moveTo?.(e,r),n?.lineTo?.(e,i)}else{let{left:r,right:i}=t?.chartArea??{};n?.moveTo?.(r,e),n?.lineTo?.(i,e)}n?.stroke?.()}),n?.restore?.()};const Kp={id:`minorGridlines`,beforeDatasetsDraw:e=>{let{scales:t}=e??{};Object.keys(t)?.forEach(e=>Gp(t?.[e]))}},qp={ZERO:0,INITIAL:2,HOVERED:6,POINT_HOVERED:8},Jp=`rgba(0,0,0,0.1)`,Yp=[10,2],Xp=12,Zp=`"Roobert", "Noto Sans", sans-serif`,Qp=`hsl(60, 10.34482759%, 12.5%)`,$p=12,em=8,tm=4,nm=[1,10,100,1e3,1e4],rm=[`#3366cc`,`#dc3912`,`#ff9900`,`#109618`,`#990099`,`#0099c6`,`#dd4477`,`#66aa00`,`#b82e2e`,`#316395`,`#994499`,`#22aa99`,`#aaaa11`,`#6633cc`,`#e67300`,`#8b0707`,`#651067`,`#329262`,`#5574a6`,`#3b3eac`],im=`99`,am=`auto`,om={NO:0,SLOW:400,FAST:1e3},sm=`htmlLegend`,cm=9,lm=1/10**9,um=[{offset:0,color:`rgba(144,238,144,0.8)`},{offset:.6,color:`rgba(255,255,224,0.8)`},{offset:.8,color:`rgba(255,255,224,0.8)`},{offset:.92,color:`rgba(255,182,193,0.5)`},{offset:.99,color:`rgba(255,182,193,0.8)`}];let dm=function(e){return e.X=`x`,e.Y=`y`,e}({}),fm=function(e){return e.Bottom=`bottom`,e.Top=`top`,e.Left=`left`,e.Right=`right`,e.TopRight=`top-right`,e.TopLeft=`top-left`,e.BottomLeft=`bottom-left`,e.BottomRight=`bottom-right`,e}({}),pm=function(e){return e.Line=`line`,e.Bar=`bar`,e}({}),mm=function(e){return e.Pointer=`pointer`,e.Initial=`initial`,e.Grab=`grab`,e.Grabbing=`grabbing`,e.Crosshair=`crosshair`,e.Move=`move`,e}({}),hm=function(e){return e.Category=`category`,e.Linear=`linear`,e.Logarithmic=`logarithmic`,e}({}),gm=function(e){return e.Vertical=`vertical`,e}({}),_m=function(e){return e.Y=`yLabel`,e.X=`xLabel`,e}({}),vm=function(e){return e.End=`end`,e.Start=`start`,e.Center=`center`,e.Right=`right`,e.Left=`left`,e}({}),ym=function(e){return e.Box=`box`,e.Ellipse=`ellipse`,e.Line=`line`,e.Text=`text`,e}({}),bm=function(e){return e.Circle=`circle`,e.Square=`rect`,e.Diamond=`rectRot`,e.Triangle=`triangle`,e}({}),xm=function(e){return e.Nearest=`nearest`,e}({}),Sm=function(e){return e.X=`x`,e.Y=`y`,e.XY=`xy`,e.Z=`z`,e}({}),Cm=function(e){return e.Shift=`Shift`,e}({}),wm=function(e){return e.Mousemove=`mousemove`,e.Mouseout=`mouseout`,e.Click=`click`,e.Touchstart=`touchstart`,e.Touchmove=`touchmove`,e.Dblclick=`dblclick`,e}({});const Tm={id:`chartAreaBorder`,beforeDraw(e,t,n){if(!e?.ctx||!e.chartArea)return;let{ctx:r,chartArea:i}=e??{},{left:a,top:o,width:s,height:c}=i??{};r?.save?.(),r.strokeStyle=n?.borderColor,r.lineWidth=n?.borderWidth,r?.setLineDash?.(n?.borderDash||[]),r.lineDashOffset=n?.borderDashOffset??0,r?.strokeRect?.(a,o,s,c),r?.restore?.()}};var Em=e(Bp(),1),Dm=e(Wd(),1);const Om=(e,t)=>{let n=[];e?.showMinorGridlines&&n.push(Kp);let r=t?.customLegend;return r?.customLegendPlugin&&r?.customLegendContainerID&&n.push({id:sm,...t?.customLegend?.customLegendPlugin}),n.push(Tm),n},km=e=>{let t=`#${Math.floor(Math.random()*16777215).toString(16)}`;return e.includes(t)?km(e):(e.push(t),e)},Am=e=>e.title===``?{}:{display:!0,text:e?.title??``},jm=e=>e===gm.Vertical,Mm=(e,t)=>{let[n,r]=e===dm.Y?[fm.Left,fm.Right]:[fm.Top,fm.Bottom];return t%2==0?n:r},Nm=(e,t)=>{let{width:n,height:r,staticChartHeight:i=!1,squareAspectRatio:a=0}=e,o=a?t?.squareAspectRatio:``,s=``;return s=n||r?``:i?t?.fixedHeight:t?.stretchHeight,(0,Em.default)(t?.chart,s,o)},Pm=(e,t)=>{let{legend:n}=e||{};return{position:n?.position||fm.Top,display:n?.display,align:n?.align,labels:{boxHeight:12,boxWidth:n?.usePointStyle?12:void 0,usePointStyle:n?.usePointStyle},onClick:t}},Fm=e=>{let{error:t=null}=e?.dataset?.data?.[e?.dataIndex]??{};return t?`Error: ${Df(t,4)}`:``},Im=(e,t)=>{let n=e?.dataset?.data?.[e?.dataIndex]?.label,r=Array.isArray(n)?n?.join(` , `):n??``;return t&&r?.length?` (${r})`:``},Lm=e=>e.toLowerCase().replace(/[^\w\s-]/g,``).replace(/\s+/g,`_`).replace(/_+/g,`_`).replace(/^_+|_+$/g,``),Rm=e=>(0,Dm.isEmpty)(e)||(0,Dm.isNil)(e)?`new_chart`:e.map((e,t)=>Lm(e.label??`${t}`)).join(`_`)||`new_chart`,zm=()=>{z.font.size=12,z.font.family=Zp,z.color=Qp,z.borderColor=Jp},Bm=e=>e===``,Vm=`TOGGLE_DATA_VISIBILITY`,Hm=`SET_ANNOTATION`;var Um=e(Wd(),1);const Wm={datasets:[],annotation:[]},Gm=(e,t)=>{switch(t.type){case Hm:return{...e,annotation:t.payload};case`RESET_STATE`:return t.payload;case Vm:{let{chartInstance:n,dsConfig:r,annotationConfig:i}=t.payload,{datasetIndex:a,datasets:o,dataset:s}=r,{annotationIndex:c}=i,l=(0,Um.cloneDeep)(e),u=(0,Um.defaultTo)(n?.isDatasetVisible(a),!0);if(a>=0&&(n?.setDatasetVisibility(a,!u),(0,Um.set)(l,[`datasets`,a,`hidden`],u),s?.displayGroup)){let e=s.displayGroup;o.forEach((t,r)=>{t.displayGroup===e&&(n?.setDatasetVisibility(Number(r),!u),(0,Um.set)(l,[`datasets`,r,`hidden`],u))})}if(c>=0){let e=(0,Um.findIndex)(l.annotation,{annotationIndex:c});if(e>=0){let t=(0,Um.defaultTo)(l.annotation[e]?.display,!1);(0,Um.set)(l,[`annotation`,e,`display`],!t)}}return l}default:return e}};let Km=function(e){return e.DEFAULT=`14px Arial`,e.CUSTOM=`16px Arial`,e}({}),qm=function(e){return e.MOUSEDOWN=`mousedown`,e.MOUSEMOVE=`mousemove`,e.MOUSEUP=`mouseup`,e}({}),Jm=function(e){return e.POINT=`point`,e.BOX=`box`,e.LINE=`line`,e.ELLIPSE=`ellipse`,e}({}),Ym=function(e){return e.X=`x`,e.Y=`y`,e.Both=`both`,e}({});var Xm={grad:.9,turn:360,rad:360/(2*Math.PI)},Zm=function(e){return typeof e==`string`?e.length>0:typeof e==`number`},Qm=function(e,t,n){return t===void 0&&(t=0),n===void 0&&(n=10**t),Math.round(n*e)/n+0},$m=function(e,t,n){return t===void 0&&(t=0),n===void 0&&(n=1),e>n?n:e>t?e:t},eh=function(e){return(e=isFinite(e)?e%360:0)>0?e:e+360},th=function(e){return{r:$m(e.r,0,255),g:$m(e.g,0,255),b:$m(e.b,0,255),a:$m(e.a)}},nh=function(e){return{r:Qm(e.r),g:Qm(e.g),b:Qm(e.b),a:Qm(e.a,3)}},rh=/^#([0-9a-f]{3,8})$/i,ih=function(e){var t=e.toString(16);return t.length<2?`0`+t:t},ah=function(e){var t=e.r,n=e.g,r=e.b,i=e.a,a=Math.max(t,n,r),o=a-Math.min(t,n,r),s=o?a===t?(n-r)/o:a===n?2+(r-t)/o:4+(t-n)/o:0;return{h:60*(s<0?s+6:s),s:a?o/a*100:0,v:a/255*100,a:i}},oh=function(e){var t=e.h,n=e.s,r=e.v,i=e.a;t=t/360*6,n/=100,r/=100;var a=Math.floor(t),o=r*(1-n),s=r*(1-(t-a)*n),c=r*(1-(1-t+a)*n),l=a%6;return{r:255*[r,s,o,o,c,r][l],g:255*[c,r,r,s,o,o][l],b:255*[o,o,c,r,r,s][l],a:i}},sh=function(e){return{h:eh(e.h),s:$m(e.s,0,100),l:$m(e.l,0,100),a:$m(e.a)}},ch=function(e){return{h:Qm(e.h),s:Qm(e.s),l:Qm(e.l),a:Qm(e.a,3)}},lh=function(e){return oh((n=(t=e).s,{h:t.h,s:(n*=((r=t.l)<50?r:100-r)/100)>0?2*n/(r+n)*100:0,v:r+n,a:t.a}));var t,n,r},uh=function(e){return{h:(t=ah(e)).h,s:(i=(200-(n=t.s))*(r=t.v)/100)>0&&i<200?n*r/100/(i<=100?i:200-i)*100:0,l:i/2,a:t.a};var t,n,r,i},dh=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,fh=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,ph=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,mh=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,hh={string:[[function(e){var t=rh.exec(e);return t?(e=t[1]).length<=4?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:e.length===4?Qm(parseInt(e[3]+e[3],16)/255,2):1}:e.length===6||e.length===8?{r:parseInt(e.substr(0,2),16),g:parseInt(e.substr(2,2),16),b:parseInt(e.substr(4,2),16),a:e.length===8?Qm(parseInt(e.substr(6,2),16)/255,2):1}:null:null},`hex`],[function(e){var t=ph.exec(e)||mh.exec(e);return t?t[2]!==t[4]||t[4]!==t[6]?null:th({r:Number(t[1])/(t[2]?100/255:1),g:Number(t[3])/(t[4]?100/255:1),b:Number(t[5])/(t[6]?100/255:1),a:t[7]===void 0?1:Number(t[7])/(t[8]?100:1)}):null},`rgb`],[function(e){var t=dh.exec(e)||fh.exec(e);if(!t)return null;var n,r;return lh(sh({h:(n=t[1],r=t[2],r===void 0&&(r=`deg`),Number(n)*(Xm[r]||1)),s:Number(t[3]),l:Number(t[4]),a:t[5]===void 0?1:Number(t[5])/(t[6]?100:1)}))},`hsl`]],object:[[function(e){var t=e.r,n=e.g,r=e.b,i=e.a,a=i===void 0?1:i;return Zm(t)&&Zm(n)&&Zm(r)?th({r:Number(t),g:Number(n),b:Number(r),a:Number(a)}):null},`rgb`],[function(e){var t=e.h,n=e.s,r=e.l,i=e.a,a=i===void 0?1:i;return!Zm(t)||!Zm(n)||!Zm(r)?null:lh(sh({h:Number(t),s:Number(n),l:Number(r),a:Number(a)}))},`hsl`],[function(e){var t=e.h,n=e.s,r=e.v,i=e.a,a=i===void 0?1:i;return!Zm(t)||!Zm(n)||!Zm(r)?null:oh(function(e){return{h:eh(e.h),s:$m(e.s,0,100),v:$m(e.v,0,100),a:$m(e.a)}}({h:Number(t),s:Number(n),v:Number(r),a:Number(a)}))},`hsv`]]},gh=function(e,t){for(var n=0;n<t.length;n++){var r=t[n][0](e);if(r)return[r,t[n][1]]}return[null,void 0]},_h=function(e){return typeof e==`string`?gh(e.trim(),hh.string):typeof e==`object`&&e?gh(e,hh.object):[null,void 0]},vh=function(e,t){var n=uh(e);return{h:n.h,s:$m(n.s+100*t,0,100),l:n.l,a:n.a}},yh=function(e){return(299*e.r+587*e.g+114*e.b)/1e3/255},bh=function(e,t){var n=uh(e);return{h:n.h,s:n.s,l:$m(n.l+100*t,0,100),a:n.a}},xh=function(){function e(e){this.parsed=_h(e)[0],this.rgba=this.parsed||{r:0,g:0,b:0,a:1}}return e.prototype.isValid=function(){return this.parsed!==null},e.prototype.brightness=function(){return Qm(yh(this.rgba),2)},e.prototype.isDark=function(){return yh(this.rgba)<.5},e.prototype.isLight=function(){return yh(this.rgba)>=.5},e.prototype.toHex=function(){return e=nh(this.rgba),t=e.r,n=e.g,r=e.b,a=(i=e.a)<1?ih(Qm(255*i)):``,`#`+ih(t)+ih(n)+ih(r)+a;var e,t,n,r,i,a},e.prototype.toRgb=function(){return nh(this.rgba)},e.prototype.toRgbString=function(){return e=nh(this.rgba),t=e.r,n=e.g,r=e.b,(i=e.a)<1?`rgba(`+t+`, `+n+`, `+r+`, `+i+`)`:`rgb(`+t+`, `+n+`, `+r+`)`;var e,t,n,r,i},e.prototype.toHsl=function(){return ch(uh(this.rgba))},e.prototype.toHslString=function(){return e=ch(uh(this.rgba)),t=e.h,n=e.s,r=e.l,(i=e.a)<1?`hsla(`+t+`, `+n+`%, `+r+`%, `+i+`)`:`hsl(`+t+`, `+n+`%, `+r+`%)`;var e,t,n,r,i},e.prototype.toHsv=function(){return e=ah(this.rgba),{h:Qm(e.h),s:Qm(e.s),v:Qm(e.v),a:Qm(e.a,3)};var e},e.prototype.invert=function(){return Sh({r:255-(e=this.rgba).r,g:255-e.g,b:255-e.b,a:e.a});var e},e.prototype.saturate=function(e){return e===void 0&&(e=.1),Sh(vh(this.rgba,e))},e.prototype.desaturate=function(e){return e===void 0&&(e=.1),Sh(vh(this.rgba,-e))},e.prototype.grayscale=function(){return Sh(vh(this.rgba,-1))},e.prototype.lighten=function(e){return e===void 0&&(e=.1),Sh(bh(this.rgba,e))},e.prototype.darken=function(e){return e===void 0&&(e=.1),Sh(bh(this.rgba,-e))},e.prototype.rotate=function(e){return e===void 0&&(e=15),this.hue(this.hue()+e)},e.prototype.alpha=function(e){return typeof e==`number`?Sh({r:(t=this.rgba).r,g:t.g,b:t.b,a:e}):Qm(this.rgba.a,3);var t},e.prototype.hue=function(e){var t=uh(this.rgba);return typeof e==`number`?Sh({h:e,s:t.s,l:t.l,a:t.a}):Qm(t.h)},e.prototype.isEqual=function(e){return this.toHex()===Sh(e).toHex()},e}(),Sh=function(e){return e instanceof xh?e:new xh(e)},Ch=[],wh=function(e){e.forEach(function(e){Ch.indexOf(e)<0&&(e(xh,hh),Ch.push(e))})};function Th(e,t){var n={white:`#ffffff`,bisque:`#ffe4c4`,blue:`#0000ff`,cadetblue:`#5f9ea0`,chartreuse:`#7fff00`,chocolate:`#d2691e`,coral:`#ff7f50`,antiquewhite:`#faebd7`,aqua:`#00ffff`,azure:`#f0ffff`,whitesmoke:`#f5f5f5`,papayawhip:`#ffefd5`,plum:`#dda0dd`,blanchedalmond:`#ffebcd`,black:`#000000`,gold:`#ffd700`,goldenrod:`#daa520`,gainsboro:`#dcdcdc`,cornsilk:`#fff8dc`,cornflowerblue:`#6495ed`,burlywood:`#deb887`,aquamarine:`#7fffd4`,beige:`#f5f5dc`,crimson:`#dc143c`,cyan:`#00ffff`,darkblue:`#00008b`,darkcyan:`#008b8b`,darkgoldenrod:`#b8860b`,darkkhaki:`#bdb76b`,darkgray:`#a9a9a9`,darkgreen:`#006400`,darkgrey:`#a9a9a9`,peachpuff:`#ffdab9`,darkmagenta:`#8b008b`,darkred:`#8b0000`,darkorchid:`#9932cc`,darkorange:`#ff8c00`,darkslateblue:`#483d8b`,gray:`#808080`,darkslategray:`#2f4f4f`,darkslategrey:`#2f4f4f`,deeppink:`#ff1493`,deepskyblue:`#00bfff`,wheat:`#f5deb3`,firebrick:`#b22222`,floralwhite:`#fffaf0`,ghostwhite:`#f8f8ff`,darkviolet:`#9400d3`,magenta:`#ff00ff`,green:`#008000`,dodgerblue:`#1e90ff`,grey:`#808080`,honeydew:`#f0fff0`,hotpink:`#ff69b4`,blueviolet:`#8a2be2`,forestgreen:`#228b22`,lawngreen:`#7cfc00`,indianred:`#cd5c5c`,indigo:`#4b0082`,fuchsia:`#ff00ff`,brown:`#a52a2a`,maroon:`#800000`,mediumblue:`#0000cd`,lightcoral:`#f08080`,darkturquoise:`#00ced1`,lightcyan:`#e0ffff`,ivory:`#fffff0`,lightyellow:`#ffffe0`,lightsalmon:`#ffa07a`,lightseagreen:`#20b2aa`,linen:`#faf0e6`,mediumaquamarine:`#66cdaa`,lemonchiffon:`#fffacd`,lime:`#00ff00`,khaki:`#f0e68c`,mediumseagreen:`#3cb371`,limegreen:`#32cd32`,mediumspringgreen:`#00fa9a`,lightskyblue:`#87cefa`,lightblue:`#add8e6`,midnightblue:`#191970`,lightpink:`#ffb6c1`,mistyrose:`#ffe4e1`,moccasin:`#ffe4b5`,mintcream:`#f5fffa`,lightslategray:`#778899`,lightslategrey:`#778899`,navajowhite:`#ffdead`,navy:`#000080`,mediumvioletred:`#c71585`,powderblue:`#b0e0e6`,palegoldenrod:`#eee8aa`,oldlace:`#fdf5e6`,paleturquoise:`#afeeee`,mediumturquoise:`#48d1cc`,mediumorchid:`#ba55d3`,rebeccapurple:`#663399`,lightsteelblue:`#b0c4de`,mediumslateblue:`#7b68ee`,thistle:`#d8bfd8`,tan:`#d2b48c`,orchid:`#da70d6`,mediumpurple:`#9370db`,purple:`#800080`,pink:`#ffc0cb`,skyblue:`#87ceeb`,springgreen:`#00ff7f`,palegreen:`#98fb98`,red:`#ff0000`,yellow:`#ffff00`,slateblue:`#6a5acd`,lavenderblush:`#fff0f5`,peru:`#cd853f`,palevioletred:`#db7093`,violet:`#ee82ee`,teal:`#008080`,slategray:`#708090`,slategrey:`#708090`,aliceblue:`#f0f8ff`,darkseagreen:`#8fbc8f`,darkolivegreen:`#556b2f`,greenyellow:`#adff2f`,seagreen:`#2e8b57`,seashell:`#fff5ee`,tomato:`#ff6347`,silver:`#c0c0c0`,sienna:`#a0522d`,lavender:`#e6e6fa`,lightgreen:`#90ee90`,orange:`#ffa500`,orangered:`#ff4500`,steelblue:`#4682b4`,royalblue:`#4169e1`,turquoise:`#40e0d0`,yellowgreen:`#9acd32`,salmon:`#fa8072`,saddlebrown:`#8b4513`,sandybrown:`#f4a460`,rosybrown:`#bc8f8f`,darksalmon:`#e9967a`,lightgoldenrodyellow:`#fafad2`,snow:`#fffafa`,lightgrey:`#d3d3d3`,lightgray:`#d3d3d3`,dimgray:`#696969`,dimgrey:`#696969`,olivedrab:`#6b8e23`,olive:`#808000`},r={};for(var i in n)r[n[i]]=i;var a={};e.prototype.toName=function(t){if(!(this.rgba.a||this.rgba.r||this.rgba.g||this.rgba.b))return`transparent`;var i,o,s=r[this.toHex()];if(s)return s;if(t?.closest){var c=this.toRgb(),l=1/0,u=`black`;if(!a.length)for(var d in n)a[d]=new e(n[d]).toRgb();for(var f in n){var p=(i=c,o=a[f],(i.r-o.r)**2+(i.g-o.g)**2+(i.b-o.b)**2);p<l&&(l=p,u=f)}return u}},t.string.push([function(t){var r=t.toLowerCase(),i=r===`transparent`?`#0000`:n[r];return i?new e(i).toRgb():null},`name`])}wh([Th]);function Eh(e,t,n=`rgb`){let r=Sh(e);if(r.alpha()<1)return n===`hex`?r.toHex():r.toRgbString();let i=Math.max(0,Math.min(1,t)),a=r.alpha(i);return n===`hex`?a.toHex():a.toRgbString()}var Dh=(e,t,n)=>{t.canvas.style.cursor=mm.Pointer,e.options.scaleID?.includes(dm.X)&&e.options.label&&(e.options.label.xAdjust=t.chartArea.left),e.options.borderWidth=qp.HOVERED,e.options.label&&(e.label.options.display=!0,e.options.label.enabled=!0),n?.enableDrag&&(t.hoveredAnnotationId=e.options.id||null,t.update(`none`)),t.draw()},Oh=(e,t,n)=>{e.options.borderWidth=qp.INITIAL,t.canvas.style.cursor=mm.Initial,t.hoveredAnnotationId=null,e.options.label&&(e.label.options.display=!1,e.options.label.enabled=!1),n?.enableDrag&&(t.hoveredAnnotationId=null,t.update(`none`)),t.draw()},kh=(e,t,n)=>{n?.enableDrag&&(t.hoveredAnnotationId=e.options.id||null,t.update(`none`),e.options.borderWidth=qp.HOVERED,t.canvas.style.cursor=mm.Pointer),t.draw()},Ah=(e,t,n)=>{n?.enableDrag&&(t.hoveredAnnotationId=null,e.options.borderWidth=qp.INITIAL,t.canvas.style.cursor=mm.Initial,t.update(`none`)),t.draw()},jh=(e,t,n)=>{n?.enableDrag&&(t.hoveredAnnotationId=e.options.id||null,t.update(`none`),e.options.borderWidth=qp.POINT_HOVERED,t.canvas.style.cursor=mm.Pointer),t.draw()},Mh=(e,t,n)=>{n?.enableDrag&&(t.hoveredAnnotationId=null,e.options.borderWidth=qp.INITIAL,t.canvas.style.cursor=mm.Initial,t.update(`none`)),t.draw()},Nh=e=>e?.map((e,t)=>{let n=e?.annotationAxis??void 0,r=e?.color??rm[t],i=e?.opacity?Eh(r,e?.opacity):r,a=e?.type??Jm.LINE,o=e?.adjustScaleRange,s={[Jm.LINE]:i,[Jm.POINT]:i,[Jm.BOX]:i,[Jm.ELLIPSE]:`transparent`}[a]||`transparent`,c={[Jm.LINE]:qp.INITIAL,[Jm.BOX]:qp.ZERO,[Jm.POINT]:qp.ZERO,[Jm.ELLIPSE]:e?.borderWidth??0}[a]??0,l=a===Jm.LINE?Yp:void 0,u={content:e?.label,display:!0,font:{weight:`normal`}},d={[Jm.LINE]:{backgroundColor:i,content:e?.label,display:!1,position:fm.Top},[Jm.POINT]:{backgroundColor:e?.labelConfig?.backgroundColor??`transparent`,content:e?.label,display:e?.labelConfig?.display??!!e?.label,position:e?.labelConfig?.position??fm.Bottom,color:e?.labelConfig?.color??`hsl(60, 10.34482759%, 12.5%)`,font:e?.labelConfig?.font??`12px "Roobert", "Noto Sans", sans-serif`,borderWidth:qp.INITIAL,padding:5,borderRadius:3,borderColor:e?.labelConfig?.borderColor??`transparent`},[Jm.BOX]:u,[Jm.ELLIPSE]:u}[a]||u,f=({element:t},{chart:n})=>{switch(a){case Jm.LINE:Dh(t,n,e);break;case Jm.BOX:kh(t,n,e);break;case Jm.POINT:jh(t,n,e);break;default:break}},p=({element:t},{chart:n})=>{switch(a){case Jm.LINE:Oh(t,n,e);break;case Jm.BOX:Ah(t,n,e);break;case Jm.POINT:Mh(t,n,e);break;default:break}},m=()=>(t,n)=>e?.onDragStart?e?.onDragStart(t,n):void 0,h=()=>(t,n)=>e?.onDrag?e?.onDrag(t,n):void 0,g=()=>(t,n)=>e?.onDragEnd?e?.onDragEnd(t,n):void 0;return{...e,display:e?.display,annotationIndex:t,id:`${e?.label}-${e?.value}-${t}`,scaleID:n,label:d,backgroundColor:i,borderColor:s,borderWidth:c,borderDash:l,type:a,adjustScaleRange:o,enter:f,leave:p,onDragStart:m,onDrag:h,onDragEnd:g,pointStyle:e?.pointStyle??bm.Circle,resizable:e?.resizable??!0,displayDragCoordinates:e?.displayDragCoordinates??!0}}),Ph=({showAnnotations:e,annotationsData:t})=>e&&t&&t?.length?Nh(t)??[]:[],Fh=e(Ud(),1);const Ih=(e,t)=>{if(!e.annotations?.controlAnnotation)return;let n=(0,fl.useRef)(null);(0,fl.useEffect)(()=>{let{showAnnotations:r=!0,annotationsData:i=[]}=e?.annotations??{},a=n.current;(!a||a.showAnnotations!==r||!(0,Fh.default)(a.annotationsData,i))&&(t({type:Hm,payload:Ph({showAnnotations:r,annotationsData:i})}),n.current={showAnnotations:r,annotationsData:i})},[e,t])};var Lh=e(t(),1);const Rh=(0,fl.createContext)(void 0),zh=({children:e,options:t,datasets:n})=>{let{showAnnotations:r=!0,annotationsData:i=[]}=t?.annotations??{},a=n?.map((e,t)=>({[t]:{...e,hidden:!1}}))??[],o=Ph({showAnnotations:r,annotationsData:i}),[s,c]=(0,fl.useReducer)(Gm,{...Wm,annotation:o,datasets:a}),l=(0,fl.useMemo)(()=>({state:s,dispatch:c}),[s,t,c]);return Ih(t,c),(0,Lh.jsx)(Rh.Provider,{value:l,children:e})};zh.__docgenInfo={description:``,methods:[],displayName:`LegendProvider`,props:{children:{required:!0,tsType:{name:`ReactNode`},description:``},options:{required:!0,tsType:{name:`union`,raw:`| ILineChartOptions
45
45
  | IBarOptions
46
46
  | IPieOptions
47
- | IScatterOptions`,elements:[{name:`ILineChartOptions`},{name:`IBarOptions`},{name:`IPieOptions`},{name:`IScatterOptions`}]},description:``},datasets:{required:!1,tsType:{name:`Array`,elements:[{name:`ICommonDataset`}],raw:`ICommonDataset[]`},description:``}}};export{rp as $,it as $t,bm as A,rs as At,rm as B,qe as Bt,dm as C,Ec as Ct,wm as D,ts as Dt,mm as E,Ea as Et,om as F,Ge as Ft,Xp as G,Re as Gt,cm as H,N as Ht,Yp as I,F as It,nm as J,k as Jt,um as K,st as Kt,am as L,Ke as Lt,hm as M,Qs as Mt,_m as N,tc as Nt,Cm as O,Ac as Ot,im as P,xc as Pt,Bp as Q,A as Qt,Jp as R,We as Rt,ym as S,ps as St,pm as T,Ti as Tt,Qp as U,an as Ut,sm as V,dn as Vt,Zp as W,z as Wt,tm as X,et as Xt,lm as Y,ze as Yt,em as Z,j as Zt,Im as _,Sl as _t,Ym as a,M as an,Nf as at,zm as b,zr as bt,Vm as c,mf as ct,Mm as d,zp as dt,yn as en,Hf as et,Rm as f,Wd as ft,Am as g,Cl as gt,Om as h,td as ht,Jm as i,B as in,Mf as it,fm as j,Us as jt,Sm as k,Lc as kt,Fm as l,hf as lt,Pm as m,Hd as mt,ch as n,rt as nn,pf as nt,Km as o,Af as ot,Nm as p,Ud as pt,$p as q,ot as qt,rh as r,vn as rn,Df as rt,qm as s,ip as st,sh as t,H as tn,wf as tt,km as u,Fp as ut,Bm as v,wl as vt,xm as w,Po as wt,vm as x,Uo as xt,jm as y,Tl as yt,qp as z,I as zt};
47
+ | IScatterOptions`,elements:[{name:`ILineChartOptions`},{name:`IBarOptions`},{name:`IPieOptions`},{name:`IScatterOptions`}]},description:``},datasets:{required:!1,tsType:{name:`Array`,elements:[{name:`ICommonDataset`}],raw:`ICommonDataset[]`},description:``}}};export{rp as $,it as $t,bm as A,rs as At,rm as B,qe as Bt,dm as C,Ec as Ct,wm as D,ts as Dt,mm as E,Ea as Et,om as F,Ge as Ft,Xp as G,Re as Gt,cm as H,N as Ht,Yp as I,F as It,nm as J,k as Jt,um as K,st as Kt,am as L,Ke as Lt,hm as M,Qs as Mt,_m as N,tc as Nt,Cm as O,Ac as Ot,im as P,xc as Pt,Bp as Q,A as Qt,Jp as R,We as Rt,ym as S,ps as St,pm as T,Ti as Tt,Qp as U,an as Ut,sm as V,dn as Vt,Zp as W,z as Wt,tm as X,et as Xt,lm as Y,ze as Yt,em as Z,j as Zt,Im as _,Sl as _t,Ym as a,M as an,Nf as at,zm as b,zr as bt,Vm as c,mf as ct,Mm as d,zp as dt,yn as en,Hf as et,Rm as f,Wd as ft,Am as g,Cl as gt,Om as h,td as ht,Jm as i,B as in,Mf as it,fm as j,Us as jt,Sm as k,Lc as kt,Fm as l,hf as lt,Pm as m,Hd as mt,zh as n,rt as nn,pf as nt,Km as o,Af as ot,Nm as p,Ud as pt,$p as q,ot as qt,Ph as r,vn as rn,Df as rt,qm as s,ip as st,Rh as t,H as tn,wf as tt,km as u,Fp as ut,Bm as v,wl as vt,xm as w,Po as wt,vm as x,Uo as xt,jm as y,Tl as yt,qp as z,I as zt};