PageSourceSearch

https://firekit.space/static/js/5849.9af5945d.chunk.js

js firekit.space collected 2026-09-30 18:22:15 UTC 66,051 bytes, 2 lines download raw bytes

1(self.webpackChunkproject_x_ui=self.webpackChunkproject_x_ui||[]).push([[5849],{12942:(e,t,i)=>{"use strict";i.d(t,{jM:()=>Pe});var n=i(79772),r=i(18044),o=i(343),a=i(72791),l=i(80086),s=i.n(l),u=i(30298),d=i.n(u),c=i(24242),b=i.n(c),f=i(80184);function h(){return h=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e},h.apply(this,arguments)}var m=4,v=120,g=8,p=function(e){return"circle"===e.type},w=function(e){return"dot"===e.type},y=function(e){return"rect"===e.type},x=function(e){var t,i,n=e.x,o=e.y,a=e.noteX,l=e.noteY,s=e.noteWidth,u=void 0===s?v:s,c=e.noteTextOffset,b=void 0===c?g:c;if(d()(a))t=n+a;else{if(void 0===a.abs)throw new Error("noteX should be either a number or an object containing an 'abs' property");t=a.abs}if(d()(l))i=o+l;else{if(void 0===l.abs)throw new Error("noteY should be either a number or an object containing an 'abs' property");i=l.abs}var f=n,h=o,m=function(e,t,i,n){var o=Math.atan2(n-t,i-e);return(0,r.bt)((0,r.vi)(o))}(n,o,t,i);if(p(e)){var w=(0,r.re)((0,r.Ht)(m),e.size/2);f+=w.x,h+=w.y}if(y(e)){var x=Math.round((m+90)/45)%8;0===x&&(h-=e.height/2),1===x&&(f+=e.width/2,h-=e.height/2),2===x&&(f+=e.width/2),3===x&&(f+=e.width/2,h+=e.height/2),4===x&&(h+=e.height/2),5===x&&(f-=e.width/2,h+=e.height/2),6===x&&(f-=e.width/2),7===x&&(f-=e.width/2,h-=e.height/2)}var k=t,S=t;return(m+90)%360>180?(k-=u,S-=u):S+=u,{points:[[f,h],[t,i],[S,i]],text:[k,i-b],angle:m+90}},k=function(e){var t=e.data,i=e.annotations,n=e.getPosition,r=e.getDimensions;return(0,a.useMemo)((function(){return function(e){var t=e.data,i=e.annotations,n=e.getPosition,r=e.getDimensions;return i.reduce((function(e,i){var o=i.offset||0;return[].concat(e,s()(t,i.match).map((function(e){var t=n(e),a=r(e);return(p(i)||y(i))&&(a.size=a.size+2*o,a.width=a.width+2*o,a.height=a.height+2*o),h({},b()(i,["match","offset"]),t,a,{size:i.size||a.size,datum:e})})))}),[])}({data:t,annotations:i,getPosition:n,getDimensions:r})}),[t,i,n,r])},S=function(e){var t=e.annotations;return(0,a.useMemo)((function(){return t.map((function(e){return h({},e,{computed:x(h({},e))})}))}),[t])},j=function(e){var t=e.datum,i=e.x,n=e.y,l=e.note,s=(0,r.Fg)(),u=(0,r.tf)(),d=u.animate,c=u.config,m=(0,o.q_)({x:i,y:n,config:c,immediate:!d});return"function"==typeof l?(0,a.createElement)(l,{x:i,y:n,datum:t}):(0,f.jsxs)(f.Fragment,{children:[s.annotations.text.outlineWidth>
10&&(0,f.jsx)(o.q.text,{x:m.x,y:m.y,style:h({},s.annotations.text,{strokeLinejoin:"round",strokeWidth:2*s.annotations.text.outlineWidth,stroke:s.annotations.text.outlineColor}),children:l}),(0,f.jsx)(o.q.text,{x:m.x,y:m.y,style:b()(s.annotations.text,["outlineWidth","outlineColor"]),children:l})]})},O=function(e){var t=e.points,i=e.isOutline,n=void 0!==i&&i,l=(0,r.Fg)(),s=(0,a.useMemo)((function(){var e=t[0];return t.slice(1).reduce((function(e,t){return e+" L"+t[0]+","+t[1]}),"M"+e[0]+","+e[1])}),[t]),u=(0,r.NS)(s);if(n&&l.annotations.link.outlineWidth<=0)return null;var d=h({},l.annotations.link);return n&&(d.strokeLinecap="square",d.strokeWidth=l.annotations.link.strokeWidth+2*l.annotations.link.outlineWidth,d.stroke=l.annotations.link.outlineColor,d.opacity=l.annotations.link.outlineOpacity),(0,f.jsx)(o.q.path,{fill:"none",d:u,style:d})},C=function(e){var t=e.x,i=e.y,n=e.size,a=(0,r.Fg)(),l=(0,r.tf)(),s=l.animate,u=l.config,d=(0,o.q_)({x:t,y:i,radius:n/2,config:u,immediate:!s});return(0,f.jsxs)(f.Fragment,{children:[a.annotations.outline.outlineWidth>0&&(0,f.jsx)(o.q.circle,{cx:d.x,cy:d.y,r:d.radius,style:h({},a.annotations.outline,{fill:"none",strokeWidth:a.annotations.outline.strokeWidth+2*a.annotations.outline.outlineWidth,stroke:a.annotations.outline.outlineColor,opacity:a.annotations.outline.outlineOpacity})}),(0,f.jsx)(o.q.circle,{cx:d.x,cy:d.y,r:d.radius,style:a.annotations.outline})]})},W=function(e){var t=e.x,i=e.y,n=e.size,a=void 0===n?m:n,l=(0,r.Fg)(),s=(0,r.tf)(),u=s.animate,d=s.config,c=(0,o.q_)({x:t,y:i,radius:a/2,config:d,immediate:!u});return(0,f.jsxs)(f.Fragment,{children:[l.annotations.outline.outlineWidth>0&&(0,f.jsx)(o.q.circle,{cx:c.x,cy:c.y,r:c.radius,style:h({},l.annotations.outline,{fill:"none",strokeWidth:2*l.annotations.outline.outlineWidth,stroke:l.annotations.outline.outlineColor,opacity:l.annotations.outline.outlineOpacity})}),(0,f.jsx)(o.q.circle,{cx:c.x,cy:c.y,r:c.radius,style:l.annotations.symbol})]})},M=function(e){var t=e.x,i=e.y,n=e.width,a=e.height,l=e.borderRadius,s=void 0===l?6:l,u=(0,r.Fg)(),d=(0,r.tf)(),c=d.animate,b=d.config,m=(0,o.q_)({x:t-n/2,y:i-a/2,width:n,height:a,config:b,immediate:!c});return(0,f.jsxs)(f.Fragment,{children:[u.annotations.outline.outlineWidth>
10&&(0,f.jsx)(o.q.rect,{x:m.x,y:m.y,rx:s,ry:s,width:m.width,height:m.height,style:h({},u.annotations.outline,{fill:"none",strokeWidth:u.annotations.outline.strokeWidth+2*u.annotations.outline.outlineWidth,stroke:u.annotations.outline.outlineColor,opacity:u.annotations.outline.outlineOpacity})}),(0,f.jsx)(o.q.rect,{x:m.x,y:m.y,rx:s,ry:s,width:m.width,height:m.height,style:u.annotations.outline})]})},A=function(e){var t=e.datum,i=e.x,n=e.y,r=e.note,o=function(e){return(0,a.useMemo)((function(){return x(e)}),[e])}(e);if(!function(e){var t=typeof e;return(0,a.isValidElement)(e)||"string"===t||"function"===t||"object"===t}(r))throw new Error("note should be a valid react element");return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(O,{points:o.points,isOutline:!0}),p(e)&&(0,f.jsx)(C,{x:i,y:n,size:e.size}),w(e)&&(0,f.jsx)(W,{x:i,y:n,size:e.size}),y(e)&&(0,f.jsx)(M,{x:i,y:n,width:e.width,height:e.height,borderRadius:e.borderRadius}),(0,f.jsx)(O,{points:o.points}),(0,f.jsx)(j,{datum:t,x:o.text[0],y:o.text[1],note:r})]})},P=function(e,t){t.forEach((function(t,i){var n=t[0],r=t[1];0===i?e.moveTo(n,r):e.lineTo(n,r)}))},V=function(e,t){var i=t.annotations,n=t.theme;0!==i.length&&(e.save(),i.forEach((function(t){if(!function(e){var t=typeof e;return"string"===t||"function"===t}(t.note))throw new Error("note is invalid for canvas implementation");n.annotations.link.outlineWidth>0&&(e.lineCap="square",e.strokeStyle=n.annotations.link.outlineColor,e.lineWidth=n.annotations.link.strokeWidth+2*n.annotations.link.outlineWidth,e.beginPath(),P(e,t.computed.points),e.stroke(),e.lineCap="butt"),p(t)&&n.annotations.outline.outlineWidth>0&&(e.strokeStyle=n.annotations.outline.outlineColor,e.lineWidth=n.annotations.outline.strokeWidth+2*n.annotations.outline.outlineWidth,e.beginPath(),e.arc(t.x,t.y,t.size/2,0,2*Math.PI),e.stroke()),w(t)&&n.annotations.symbol.outlineWidth>0&&(e.strokeStyle=n.annotations.symbol.outlineColor,e.lineWidth=2*n.annotations.symbol.outlineWidth,e.beginPath(),e.arc(t.x,t.y,t.size/2,0,2*Math.PI),e.stroke()),y(t)&&n.annotations.outline.outlineWidth>0&&(e.strokeStyle=n.annotations.outline.outlineColor,e.lineWidth=n.annotations.outline.strokeWidth+2*n.annotations.outline.outlineWidth,e.beginPath(),e.rect(t.x-t.width/2,t.y-t.height/2,t.width,t.height),e.stroke()),e.strokeStyle=n.annotations.link.stroke,e.lineWidth=n.annotations.link.strokeWidth,e.beginPath(),P(e,t.computed.points),e.stroke(),p(t)&&(e.strokeStyle=n.annotations.outline.stroke,e.lineWidth=n.annotations.outline.strokeWidth,e.beginPath(),e.arc(t.x,t.y,t.size/2,0,2*Math.PI),e.stroke()),w(t)&&(e.fillStyle=n.annotations.symbol.fill,e.beginPath(),e.arc(t.x,t.y,t.size/2,0,2*Math.PI),e.fill()),y(t)&&(e.strokeStyle=n.annotations.outline.stroke,e.lineWidth=n.annotations.outline.strokeWidth,e.beginPath(),e.rect(t.x-t.width/2,t.y-t.height/2,t.width,t.height),e.stroke()),"function"==typeof t.note?t.note(e,{datum:t.datum,x:t.computed.text[0],y:t.computed.text[1],theme:n}):(e.font=n.annotations.text.fontSize+"px "+n.annotations.text.fontFamily,e.textAlign="left",e.textBaseline="alphabetic",e.fillStyle=n.annotations.text.fill,e.strokeStyle=n.annotations.text.outlineColor,e.lineWidth=2*n.annotations.text.outlineWidth,n.annotations.text.outlineWidth>0&&(e.lineJoin="round",e.strokeText(t.note,t.computed.text[0],t.computed.text[1]),e.lineJoin="miter"),e.fillText(t.note,t.computed.text[0],t.computed.text[1]))})),e.restore())},L=i(63126),E=i(43111),T=i(51153),I=i(72750),B=i(21988),F=i(487),_=i(73577),z=i(84938);function N(e,t){return e[t]}function R(e){const t=[];return t.key=e,t}var q=i(41458),U=i(62246),D=i.n(U);function H(){return H=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e},H.apply(this,arguments)}function Y(e,t){if(null==e)return{};var i,n,r={},o=Object.keys(e);for(n=0;n<o.length;n++)i=o[n],t.indexOf(i)>=0||(r[i]=e[i]);return r}var X,Z=function(e){var t=e.bars,i=e.annotations,n=k({data:t,annotations:i,getPosition:function(e){return{x:e.x+e.width/2,y:e.y+e.height/2}},getDimensions:function(e){var t=e.height,i=e.width;return{width:i,height:t,size:Math.max(i,t)}}});return(0,f.jsx)(f.Fragment,{children:n.map((function(e,t){return(0,f.jsx)(A,H({},e),t)}))})}
1,G=function(e){var t=e.width,i=e.height,n=e.legends,r=e.toggleSerie;return(0,f.jsx)(f.Fragment,{children:n.map((function(e,n){var o,a=e[0],l=e[1];return(0,f.jsx)(L.$6,H({},a,{containerWidth:t,containerHeight:i,data:null!=(o=a.data)?o:l,toggleSerie:a.toggleSerie&&"keys"===a.dataFrom?r:void 0}),n)}))})},$=["data"],K=["color","label"],J={indexBy:"id",keys:["value"],groupMode:"stacked",layout:"vertical",reverse:!1,minValue:"auto",maxValue:"auto",valueScale:{type:"linear"},indexScale:{type:"band",round:!0},padding:.1,innerPadding:0,axisBottom:{},axisLeft:{},enableGridX:!1,enableGridY:!0,enableLabel:!0,label:"formattedValue",labelPosition:"middle",labelOffset:0,labelSkipWidth:0,labelSkipHeight:0,labelTextColor:{from:"theme",theme:"labels.text.fill"},colorBy:"id",colors:{scheme:"nivo"},borderRadius:0,borderWidth:0,borderColor:{from:"color"},isInteractive:!0,tooltip:function(e){var t=e.color,i=e.label,n=Y(e,K);return(0,f.jsx)(T._5,{id:i,value:n.formattedValue,enableChip:!0,color:t})},tooltipLabel:function(e){return e.id+" - "+e.indexValue},legends:[],initialHiddenIds:[],annotations:[],markers:[],enableTotals:!1,totalsOffset:10},Q=H({},J,{layers:["grid","axes","bars","totals","markers","legends","annotations"],barComponent:function(e){var t,i=e.bar,n=i.data,l=Y(i,$),s=e.style,u=s.borderColor,d=s.color,c=s.height,b=s.labelColor,h=s.labelOpacity,m=s.labelX,v=s.labelY,g=s.transform,p=s.width,w=s.textAnchor,y=e.borderRadius,x=e.borderWidth,k=e.label,S=e.shouldRenderLabel,j=e.isInteractive,O=e.onClick,C=e.onMouseEnter,W=e.onMouseLeave,M=e.tooltip,A=e.isFocusable,P=e.ariaLabel,V=e.ariaLabelledBy,L=e.ariaDescribedBy,E=e.ariaDisabled,I=e.ariaHidden,B=(0,r.Fg)(),F=(0,T.lL)(),_=F.showTooltipFromEvent,z=F.showTooltipAt,N=F.hideTooltip,R=(0,a.useMemo)((function(){return function(){return(0,a.createElement)(M,H({},l,n))}}),[M,l,n]),q=(0,a.useCallback)((function(e){null==O||O(H({color:l.color},n),e)}
1),[l,n,O]),U=(0,a.useCallback)((function(e){return _(R(),e)}),[_,R]),D=(0,a.useCallback)((function(e){null==C||C(n,e),_(R(),e)}),[n,C,_,R]),X=(0,a.useCallback)((function(e){null==W||W(n,e),N()}),[n,N,W]),Z=(0,a.useCallback)((function(){z(R(),[l.absX+l.width/2,l.absY])}),[z,R,l]),G=(0,a.useCallback)((function(){N()}),[N]);return(0,f.jsxs)(o.q.g,{transform:g,children:[(0,f.jsx)(o.q.rect,{width:(0,o.to)(p,(function(e){return Math.max(e,0)})),height:(0,o.to)(c,(function(e){return Math.max(e,0)})),rx:y,ry:y,fill:null!=(t=n.fill)?t:d,strokeWidth:x,stroke:u,focusable:A,tabIndex:A?0:void 0,"aria-label":P?P(n):void 0,"aria-labelledby":V?V(n):void 0,"aria-describedby":L?L(n):void 0,"aria-disabled":E?E(n):void 0,"aria-hidden":I?I(n):void 0,onMouseEnter:j?D:void 0,onMouseMove:j?U:void 0,onMouseLeave:j?X:void 0,onClick:j?q:void 0,onFocus:j&&A?Z:void 0,onBlur:j&&A?G:void 0}),S&&(0,f.jsx)(o.q.text,{x:m,y:v,textAnchor:w,dominantBaseline:"central",fillOpacity:h,style:H({},B.labels.text,{pointerEvents:"none",fill:b}),children:k})]})},defs:[],fill:[],animate:!0,motionConfig:"default",role:"img",isFocusable:!1}),ee=H({},J,{layers:["grid","axes","bars","totals","legends","annotations"],pixelRatio:"undefined"!=typeof window&&null!=(X=window.devicePixelRatio)?X:1}),te=function(e,t,i,n,r,o){return(0,I.ZN)(n,{all:e.map(t),min:0,max:0},r,o).padding(i)},ie=function(e,t){return e.map((function(e){return H({},t.reduce((function(e,t){return e[t]=null,e}),{}),e)}))},ne=function(e){return Object.keys(e).reduce((function(t,i){return e[i]&&(t[i]=e[i]),t}),{})},re=function(e){return[e,Number(e)]};function oe(e,t,i,n){return void 0===e&&(e=J.layout),void 0===t&&(t=J.reverse),void 0===i&&(i=J.labelPosition),void 0===n&&(n=J.labelOffset),function(r,o){var a=n*(t?-1:1);if("horizontal"===e){var l=r/2;return"start"===i?l=t?r:0:"end"===i&&(l=t?0:r),{labelX:l+a,labelY:o/2,textAnchor:"middle"===i?"middle":t?"end":"start"}}var s=o/2;return"start"===i?s=t?0:o:"end"===i&&(s=t?o:0),{labelX:r/2,labelY:s-a,textAnchor:"middle"}}}var ae=["layout","minValue","maxValue","reverse","width","height","padding","innerPadding","valueScale","indexScale","hiddenIds"],le=function(e,t){return e>t},se=function(e,t){return e<t},ue=function(e,t){return Array.from(" ".repeat(t-e),(function(t,i){return e+i}))},de=function(e){return le(e,0)?0:e},ce=function(e,t,i,n){var r=e.data,o=e.formatValue,a=e.getColor,l=e.getIndex,s=e.getTooltipLabel,u=e.innerPadding,d=void 0===u?0:u,c=e.keys,b=e.xScale,f=e.yScale,h=e.margin,m=i?se:le,v=r.map(ne),g=[];return c.forEach((function(e,i){return ue(0,b.domain().length).forEach((function(u){var c,p,w,y=re(r[u][e]),x=y[0],k=y[1],S=l(r[u]),j=(null!=(c=b(S))?c:0)+t*i+d*i,O=m(p=k,0)?null!=(w=f(p))?w:0:n,C=function(e,t){var i;return m(e,0)?n-t:(null!=(i=f(e))?i:0)-n}(k,O),W={id:e,value:null===x?x:k,formattedValue:o(k),hidden:!1,index:u,indexValue:S,data:v[u]};g.push({key:e+"."+W.indexValue,index:g.length,data:W,x:j,y:O,absX:h.left+j,absY:h.top+O,width:t,height:C,color:a(W),label:s(W)})}))})),g},be=function(e,t,i,n){var r=e.data,o=e.formatValue,a=e.getIndex,l=e.getColor,s=e.getTooltipLabel,u=e.keys,d=e.innerPadding,c=void 0===d?0:d,b=e.xScale,f=e.yScale,h=e.margin,m=i?se:le,v=r.map(ne),g=[];return u.forEach((function(e,i){return ue(0,f.domain().length).forEach((function(u){var d,p,w,y=re(r[u][e]),x=y[0],k=y[1],S=a(r[u]),j=m(p=k,0)?n:null!=(w=b(p))?w:0,O=(null!=(d=f(S))?d:0)+t*i+c*i,C=function(e,t){var i;return m(e,0)?(null!=(i=b(e))?i:0)-n:n-t}(k,j),W={id:e,value:null===x?x:k,formattedValue:o(k),hidden:!1,index:u,indexValue:S,data:v[u]};g.push({key:e+"."+W.indexValue,index:g.length,data:W,x:j,y:O,absX:h.left+j,absY:h.top+O,width:C,height:t,color:l(W),label:s(W)})}))})),g},fe=function(e){var t,i,n=e.layout,r=e.minValue,o=e.maxValue,a=e.reverse,l=e.width,s=e.height,u=e.padding,d=void 0===u?0:u,c=e.innerPadding,b=void 0===c?0:c,f=e.valueScale,h=e.indexScale,m=e.hiddenIds,v=void 0===m?[]:m,g=Y(e,ae),p=g.keys.filter((function(e){return!v.includes(e)})),w=ie(g.data,p),y="vertical"===n?["y","x",l]:["x","y",s],x=y[0],k=y[1],S=y[2],j=te(w,g.getIndex,d,h,S,k),O=H({max:o,min:r,reverse:a},f),C="auto"===O.min?de:function(e){return e},W=w.reduce((function(e,t){return[].concat(e,p.map((function(e){return t[e]})))}
1),[]).filter(Boolean),M=C(Math.min.apply(Math,W)),A=(i=Math.max.apply(Math,W),isFinite(i)?i:0),P=(0,I.ZN)(O,{all:W,min:M,max:A},"x"===x?l:s,x),V="vertical"===n?[j,P]:[P,j],L=V[0],E=V[1],T=(j.bandwidth()-b*(p.length-1))/p.length,B=[H({},g,{data:w,keys:p,innerPadding:b,xScale:L,yScale:E}),T,O.reverse,null!=(t=P(0))?t:0];return{xScale:L,yScale:E,bars:T>0?"vertical"===n?ce.apply(void 0,B):be.apply(void 0,B):[]}},he=["data","layout","minValue","maxValue","reverse","width","height","padding","valueScale","indexScale","hiddenIds"],me=function e(t){var i;return t.some(Array.isArray)?e((i=[]).concat.apply(i,t)):t},ve=function(e,t,i){var n=e.formatValue,r=e.getColor,o=e.getIndex,a=e.getTooltipLabel,l=e.innerPadding,s=e.stackedData,u=e.xScale,d=e.yScale,c=e.margin,b=[];return s.forEach((function(e){return u.domain().forEach((function(s,f){var h,m,v=e[f],g=null!=(h=u(o(v.data)))?h:0,p=(null!=(m=function(e){return d(e[i?0:1])}(v))?m:0)+.5*l,w=function(e,t){var n;return(null!=(n=d(e[i?1:0]))?n:0)-t}(v,p)-l,y=re(v.data[e.key]),x=y[0],k=y[1],S={id:e.key,value:null===x?x:k,formattedValue:n(k),hidden:!1,index:f,indexValue:s,data:ne(v.data)};b.push({key:e.key+"."+s,index:b.length,data:S,x:g,y:p,absX:c.left+g,absY:c.top+p,width:t,height:w,color:r(S),label:a(S)})}))})),b},ge=function(e,t,i){var n=e.formatValue,r=e.getColor,o=e.getIndex,a=e.getTooltipLabel,l=e.innerPadding,s=e.stackedData,u=e.xScale,d=e.yScale,c=e.margin,b=[];return s.forEach((function(e){return d.domain().forEach((function(s,f){var h,m,v=e[f],g=null!=(h=d(o(v.data)))?h:0,p=(null!=(m=function(e){return u(e[i?1:0])}(v))?m:0)+.5*l,w=function(e,t){var n;return(null!=(n=u(e[i?0:1]))?n:0)-t}(v,p)-l,y=re(v.data[e.key]),x=y[0],k=y[1],S={id:e.key,value:null===x?x:k,formattedValue:n(k),hidden:!1,index:f,indexValue:s,data:ne(v.data)};b.push({key:e.key+"."+s,index:b.length,data:S,x:p,y:g,absX:c.left+p,absY:c.top+g,width:w,height:t,color:r(S),label:a(S)})}))})),b},pe=function(e){var t,i=e.data,n=e.layout,r=e.minValue,o=e.maxValue,a=e.reverse,l=e.width,s=e.height,u=e.padding,d=void 0===u?0:u,c=e.valueScale,b=e.indexScale,f=e.hiddenIds,h=void 0===f?[]:f,m=Y(e,he),v=m.keys.filter((function(e){return!h.includes(e)})),g=function(){var e=(0,F.Z)([]),t=z.Z,i=_.Z,n=N;function r(r){var o,a,l=Array.from(e.apply(this,arguments),R),s=l.length,u=-1;for(const e of r)for(o=0,++u;o<s;++o)(l[o][u]=[0,+n(e,l[o].key,u,r)]).data=e;for(o=0,a=(0,B.Z)(t(l));o<s;++o)l[a[o]].index=o;return i(l,a),l}return r.keys=function(t){return arguments.length?(e="function"===typeof t?t:(0,F.Z)(Array.from(t)),r):e},r.value=function(e){return arguments.length?(n="function"===typeof e?e:(0,F.Z)(+e),r):n},r.order=function(e){return arguments.length?(t=null==e?z.Z:"function"===typeof e?e:(0,F.Z)(Array.from(e)),r):t},r.offset=function(e){return arguments.length?(i=null==e?_.Z:e,r):i},r}().keys(v).offset(q.Z)(ie(i,v)),p="vertical"===n?["y","x",l]:["x","y",s],w=p[0],y=p[1],x=p[2],k=te(i,m.getIndex,d,b,x,y),S=H({max:o,min:r,reverse:a},c),j=(t=me(g),"log"===c.type?t.filter((function(e){return 0!==e})):t),O=Math.min.apply(Math,j),C=Math.max.apply(Math,j),W=(0,I.ZN)(S,{all:j,min:O,max:C},"x"===w?l:s,w),M="vertical"===n?[k,W]:[W,k],A=M[0],P=M[1],V=m.innerPadding>0?m.innerPadding:0,L=k.bandwidth(),E=[H({},m,{innerPadding:V,stackedData:g,xScale:A,yScale:P}),L,S.reverse];return{xScale:A,yScale:P,bars:L>0?"vertical"===n?ve.apply(void 0,E):ge.apply(void 0,E):[]}},we=function(e){var t=e.bars,i=e.direction,n=e.from,o=e.groupMode,a=e.layout,l=e.legendLabel,s=e.reverse,u=(0,r.Xc)(null!=l?l:"indexes"===n?"indexValue":"id");return"indexes"===n?function(e,t,i){var n=D()(e.map((function(e){var t,n;return{id:null!=(t=e.data.indexValue)?t:"",label:i(e.data),hidden:e.data.hidden,color:null!=(n=e.color)?n:"#000"}})),(function(e){return e.id}));return"horizontal"===t&&n.reverse(),n}(t,a,u):function(e,t,i,n,r,o){var a=D()(e.map((function(e){var t;return{id:e.data.id,label:o(e.data),hidden:e.data.hidden,color:null!=(t=e.color)?t:"#000"}})),(function(e){return e.id}));return("vertical"===t&&"stacked"===n&&"column"===i&&!0!==r||"horizontal"===t&&"stacked"===n&&!0===r)&&a.reverse(),a}(t,a,i,o,s,u)},ye=function(e,t,i){var n=e.get(t)||0;e.set(t,n+i)},xe=function(e){var t=e.indexBy,i=void 0===t?J.indexBy:t,n=e.keys,o=void 0===n?J.keys:n,l=e.label,s=void 0===l?J.label:l,u=e.tooltipLabel,d=void 0===u?J.tooltipLabel:u,c=e.valueFormat,b=e.colors,f=void 0===b?J.colors:b,h=e.colorBy,m=void 0===h?J.colorBy:h,v=e.borderColor,g=void 0===v?J.borderColor:v,p=e.labelTextColor,w=void 0===p?J.labelTextColor:p,y=e.groupMode,x=void 0===y?J.groupMode:y,k=e.layout,S=void 0===k?J.layout:k,j=e.reverse,O=void 0===j?J.reverse:j,C=e.data,W=e.minValue,M=void 0===W?J.minValue:W,A=e.maxValue,P=void 0===A?J.maxValue:A,V=e.margin,L=e.width,T=e.height,I=e.padding,B=void 0===I?J.padding:I,F=e.innerPadding,_=void 0===F?J.innerPadding:F,z=e.valueScale,N=void 0===z?J.valueScale:z,R=e.indexScale,q=void 0===R?J.indexScale:R,U=e.initialHiddenIds,D=void 0===U?J.initialHiddenIds:U,Y=e.enableLabel,X=void 0===Y?J.enableLabel:Y,Z=e.labelSkipWidth,G=void 0===Z?J.labelSkipWidth:Z,$=e.labelSkipHeight,K=void 0===$?J.labelSkipHeight:$,Q=e.legends,ee=void 0===Q?J.legends:Q,te=e.legendLabel,ie=e.totalsOffset,ne=void 0===ie?J.totalsOffset:ie,re=(0,a.useState)(null!=D?D:[]),oe=re[0],ae=re[1],le=(0,a.useCallback)((function(e){ae((function(t){return t.indexOf(e)>-1?t.filter((function(t){return t!==e})):[].concat(t,[e])}))}),[]),se=(0,r.LR)(i),ue=(0,r.LR)(s),de=(0,r.LR)(d),ce=(0,r.O_)(c),be=(0,r.Fg)(),he
1=(0,E.U)(f,m),me=(0,E.Bf)(g,be),ve=(0,E.Bf)(w,be),ge=("grouped"===x?fe:pe)({layout:S,reverse:O,data:C,getIndex:se,keys:o,minValue:M,maxValue:P,width:L,height:T,getColor:he,padding:B,innerPadding:_,valueScale:N,indexScale:q,hiddenIds:oe,formatValue:ce,getTooltipLabel:de,margin:V}),xe=ge.bars,ke=ge.xScale,Se=ge.yScale,je=(0,a.useMemo)((function(){return xe.filter((function(e){return null!==e.data.value})).map((function(e,t){return H({},e,{index:t})}))}),[xe]),Oe=(0,a.useCallback)((function(e){var t=e.width,i=e.height;return!!X&&!(G>0&&t<G)&&!(K>0&&i<K)}),[X,G,K]),Ce=(0,a.useMemo)((function(){return o.map((function(e){var t=xe.find((function(t){return t.data.id===e}));return H({},t,{data:H({id:e},null==t?void 0:t.data,{hidden:oe.includes(e)})})}))}),[oe,o,xe]),We=(0,a.useMemo)((function(){return ee.map((function(e){return[e,we({bars:"keys"===e.dataFrom?Ce:xe,direction:e.direction,from:e.dataFrom,groupMode:x,layout:S,legendLabel:te,reverse:O})]}))}),[ee,Ce,xe,x,S,te,O]),Me=(0,a.useMemo)((function(){return function(e,t,i,n,r,o,a){void 0===n&&(n=J.layout),void 0===r&&(r=J.groupMode);var l=[];if(0===e.length)return l;var s=new Map,u=e[0].width,d=e[0].height;if("stacked"===r){var c=new Map;e.forEach((function(e){var t=e.data,i=t.indexValue,n=t.value;ye(s,i,Number(n)),function(e,t,i){var n=e.get(t)||0;e.set(t,n+(i>0?i:0))}(c,i,Number(n))})),c.forEach((function(e,r){var c,b,f,h=s.get(r)||0;"vertical"===n?(c=t(r),b=i(e),f=i(e/2)):(c=t(e),b=i(r),f=t(e/2)),c+="vertical"===n?u/2:o,b+="vertical"===n?-o:d/2,l.push({key:"total_"+r,x:c,y:b,value:h,formattedValue:a(h),animationOffset:f})}))}else if("grouped"===r){var b=new Map,f=new Map;e.forEach((function(e){var t=e.data,i=t.indexValue,n=t.value;ye(s,i,Number(n)),function(e,t,i){var n=e.get(t)||0;e.set(t,Math.max(n,Number(i)))}(b,i,Number(n)),function(e,t){var i=e.get(t)||0;e.set(t,i+1)}(f,i)})),b.forEach((function(e,r){var c,b,h,m=s.get(r)||0,v=f.get(r);"vertical"===n?(c=t(r),b=i(e),h=i(e/2)):(c=t(e),b=i(r),h=t(e/2)),c+="vertical"===n?v*u/2:o,b+="vertical"===n?-o:v*d/2,l.push({key:"total_"+r,x:c,y:b,value:m,formattedValue:a(m),animationOffset:h})}))}return l}(xe,ke,Se,S,x,ne,ce)}),[xe,ke,Se,S,x,ne,ce]);return{bars:xe,barsWithValue:je,xScale:ke,yScale:Se,getIndex:se,getLabel:ue,getTooltipLabel:de,formatValue:ce,getColor:he,getBorderColor:me,getLabelColor:ve,shouldRenderBarLabel:Oe,hiddenIds:oe,toggleSerie:le,legendsWithData:We,barTotals:Me}},ke=function(e){var t=e.data,i=e.springConfig,n=e.animate,a=e.layout,l=void 0===a?Q.layout:a,s=(0,r.Fg)();return(0,o.Yz)(t,{keys:function(e){return e.key},from:function(e){return{x:"vertical"===l?e.x:e.animationOffset,y:"vertical"===l?e.animationOffset:e.y,labelOpacity:0}},enter:function(e){return{x:e.x,y:e.y,labelOpacity:1}},update:function(e){return{x:e.x,y:e.y,labelOpacity:1}},leave:function(e){return{x:"vertical"===l?e.x:e.animationOffset,y:"vertical"===l?e.animationOffset:e.y,labelOpacity:0}},config:i,immediate:!n,initial:n?void 0:null})((function(e,t){return(0,f.jsx)(o.q.text,{x:e.x,y:e.y,fillOpacity:e.labelOpacity,style:H({},s.labels.text,{pointerEvents:"none",fill:s.text.fill}),fontWeight:"bold",fontSize:s.labels.text.fontSize,fontFamily:s.labels.text.fontFamily,textAnchor:"vertical"===l?"middle":"start",alignmentBaseline:"vertical"===l?"alphabetic":"middle",children:t.formattedValue},t.key)}))},Se=["isInteractive","animate","motionConfig","theme","renderWrapper"],je=function(e){var t=e.data,i=e.indexBy,l=e.keys,s=e.margin,u=e.width,d=e.height,c=e.groupMode,b=e.layout,h=e.reverse,m=e.minValue,v=e.maxValue,g=e.valueScale,p=e.indexScale,w=e.padding,y=e.innerPadding,x=e.axisTop,k=e.axisRight,S=e.axisBottom,j=void 0===S?Q.axisBottom:S,O=e.axisLeft,C=void 0===O?Q.axisLeft:O,W=e.enableGridX,M=void 0===W?Q.enableGridX:W,A=e.enableGridY,P=void 0===A?Q.enableGridY:A,V=e.gridXValues,L=e.gridYValues,E=e.layers,T=void 0===E?Q.layers:E,I=e.barComponent,B=void 0===I?Q.barComponent:I,F=e.enableLabel,_=void 0===F?Q.enableLabel:F,z=e.label,N=e.labelSkipWidth,R=void 0===N?Q.labelSkipWidth:N,q=e.labelSkipHeight,U=void 0===q?Q.labelSkipHeight:q,D=e.labelTextColor,Y=e.labelPosition,X=void 0===Y?Q.labelPosition:Y,$=e.labelOffset,K=void 0===$?Q.labelOffset:$,J=e.markers,ee=void 0===J?Q.markers:J,te=e.colorBy,ie=e.colors,ne=e.defs,re=void 0===ne?Q.defs:ne,ae=e.fill,le=void 0===ae?Q.fill:ae,se=e.borderRadius,ue=void 0===se?Q.borderRadius:se,de=e.borderWidth,ce=void 0===de?Q.borderWidth:de,be=e.borderColor,fe=e.annotations,he=void 0===fe?Q.annotations:fe,me=e.legendLabel,ve=e.tooltipLabel,ge=e.valueFormat,pe=e.isInteractive,we=void 0===pe?Q.isInteractive:pe,ye=e.tooltip,Se=void 0===ye?Q.tooltip:ye,je=e.onClick,Oe=e.onMouseEnter,Ce=e.onMouseLeave,We=e.legends,Me=e.role,Ae=void 0===Me?Q.role:Me,Pe=e.ariaLabel,Ve=e.ariaLabelledBy,Le=e.ariaDescribedBy,Ee=e.isFocusable,Te=void 0===Ee?Q.isFocusable:Ee,Ie=e.barAriaLabel,Be=e.barAriaLabelledBy,Fe=e.barAriaDescribedBy,_e=e.barAriaHidden,ze=e.barAriaDisabled,Ne=e.initialHiddenIds,Re=e.enableTotals,qe=void 0===Re?Q.enableTotals:Re,Ue=e.totalsOffset,De
1=void 0===Ue?Q.totalsOffset:Ue,He=(0,r.tf)(),Ye=He.animate,Xe=He.config,Ze=(0,r.Bs)(u,d,s),Ge=Ze.outerWidth,$e=Ze.outerHeight,Ke=Ze.margin,Je=Ze.innerWidth,Qe=Ze.innerHeight,et=xe({indexBy:i,label:z,tooltipLabel:ve,valueFormat:ge,colors:ie,colorBy:te,borderColor:be,labelTextColor:D,groupMode:c,layout:b,reverse:h,data:t,keys:l,minValue:m,maxValue:v,margin:Ke,width:Je,height:Qe,padding:w,innerPadding:y,valueScale:g,indexScale:p,enableLabel:_,labelSkipWidth:R,labelSkipHeight:U,legends:We,legendLabel:me,initialHiddenIds:Ne,totalsOffset:De}),tt=et.bars,it=et.barsWithValue,nt=et.xScale,rt=et.yScale,ot=et.getLabel,at=et.getTooltipLabel,lt=et.getBorderColor,st=et.getLabelColor,ut=et.shouldRenderBarLabel,dt=et.toggleSerie,ct=et.legendsWithData,bt=et.barTotals,ft=et.getColor,ht=oe(b,h,X,K),mt=(0,o.Yz)(it,{keys:function(e){return e.key},from:function(e){return H({borderColor:lt(e),color:e.color,height:0,labelColor:st(e),labelOpacity:0},ht(e.width,e.height),{transform:"translate("+e.x+", "+(e.y+e.height)+")",width:e.width},"vertical"===b?{}:{height:e.height,transform:"translate("+e.x+", "+e.y+")",width:0})},enter:function(e){return H({borderColor:lt(e),color:e.color,height:e.height,labelColor:st(e),labelOpacity:1},ht(e.width,e.height),{transform:"translate("+e.x+", "+e.y+")",width:e.width})},update:function(e){return H({borderColor:lt(e),color:e.color,height:e.height,labelColor:st(e),labelOpacity:1},ht(e.width,e.height),{transform:"translate("+e.x+", "+e.y+")",width:e.width})},leave:function(e){return H({borderColor:lt(e),color:e.color,height:0,labelColor:st(e),labelOpacity:0},ht(e.width,e.height),{labelY:0,transform:"translate("+e.x+", "+(e.y+e.height)+")",width:e.width},"vertical"===b?{}:H({},ht(e.width,e.height),{labelX:0,height:e.height,transform:"translate("+e.x+", "+e.y+")",width:0}))},config:Xe,immediate:!Ye,initial:Ye?void 0:null}),vt=(0,a.useMemo)((function(){return{borderRadius:ue,borderWidth:ce,enableLabel:_,isInteractive:we,labelSkipWidth:R,labelSkipHeight:U,onClick:je,onMouseEnter:Oe,onMouseLeave:Ce,getTooltipLabel:at,tooltip:Se,isFocusable:Te,ariaLabel:Ie,ariaLabelledBy:Be,ariaDescribedBy:Fe,ariaHidden:_e,ariaDisabled:ze}}),[ue,ce,_,at,we,U,R,je,Oe,Ce,Se,Te,Ie,Be,Fe,_e,ze]),gt=(0,r.yU)(re,tt,le,{dataKey:"data",targetKey:"data.fill"}),pt={annotations:null,axes:null,bars:null,grid:null,legends:null,markers:null,totals:null};T.includes("annotations")&&(pt.annotations=(0,f.jsx)(Z,{bars:tt,annotations:he},"annotations")),T.includes("axes")&&(pt.axes=(0,f.jsx)(n.dk,{xScale:nt,yScale:rt,width:Je,height:Qe,top:x,right:k,bottom:j,left:C},"axes")),T.includes("bars")&&(pt.bars=(0,f.jsx)(a.Fragment,{children:mt((function(e,t){return(0,a.createElement)(B,H({},vt,{bar:t,style:e,shouldRenderLabel:ut(t),label:ot(t.data)}))}))},"bars")),T.includes("grid")&&(pt.grid=(0,f.jsx)(n.rj,{width:Je,height:Qe,xScale:M?nt:null,yScale:P?rt:null,xValues:V,yValues:L},"grid")),T.includes("legends")&&(pt.legends=(0,f.jsx)(G,{width:Je,height:Qe,legends:ct,toggleSerie:dt},"legends")),T.includes("markers")&&(pt.markers=(0,f.jsx)(r.TL,{markers:ee,width:Je,height:Qe,xScale:nt,yScale:rt},"markers")),T.includes("totals")&&qe&&(pt.totals=(0,f.jsx)(ke,{data:bt,springConfig:Xe,animate:Ye,layout:b},"totals"));var wt=(0,a.useMemo)((function(){return H({},vt,{margin:Ke,width:u,height:d,innerWidth:Je,innerHeight:Qe,bars:tt,legendData:ct,enableLabel:_,xScale:nt,yScale:rt,tooltip:Se,getTooltipLabel:at,onClick:je,onMouseEnter:Oe,onMouseLeave:Ce,getColor:ft})}),[vt,Ke,u,d,Je,Qe,tt,ct,_,nt,rt,Se,at,je,Oe,Ce,ft]);return(0,f.jsx)(r.tM,{width:Ge,height:$e,margin:Ke,defs:gt,role:Ae,ariaLabel:Pe,ariaLabelledBy:Ve,ariaDescribedBy:Le,isFocusable:Te,children:T.map((function(e,t){var i;return"function"==typeof e?(0,f.jsx)(a.Fragment,{children:(0,a.createElement)(e,wt)},t):null!=(i=null==pt?void 0:pt[e])?i:null}))})},Oe=function(e){var t=e.isInteractive,i=void 0===t?Q.isInteractive:t,n=e.animate,o=void 0===n?Q.animate:n,a=e.motionConfig,l=void 0===a?Q.motionConfig:a,s=e.theme,u=e.renderWrapper,d=Y(e,Se);return(0,f.jsx)(r.W2,{animate:o,isInteractive:i,motionConfig:l,renderWrapper:u,theme:s,children:(0,f.jsx)(je,H({isInteractive:i},d))})},Ce=["isInteractive","renderWrapper","theme"],We=function(e,t,i,n){return e.find((function(e){return(0,r.zn)(e.x+t.left,e.y+t.top,e.width,e.height,i,n)}))},Me=function(e){var t=e.data,i=e.indexBy,o=e.keys,l=e.margin,s=e.width,u=e.height,d=e.groupMode,c=e.layout,b=e.reverse,h=e.minValue,m=e.maxValue,v=e.valueScale,g=e.indexScale,p=e.padding,w=e.innerPadding,y=e.axisTo
1p,x=e.axisRight,j=e.axisBottom,O=void 0===j?ee.axisBottom:j,C=e.axisLeft,W=void 0===C?ee.axisLeft:C,M=e.enableGridX,A=void 0===M?ee.enableGridX:M,P=e.enableGridY,E=void 0===P?ee.enableGridY:P,I=e.gridXValues,B=e.gridYValues,F=e.labelPosition,_=void 0===F?ee.labelPosition:F,z=e.labelOffset,N=void 0===z?ee.labelOffset:z,R=e.layers,q=void 0===R?ee.layers:R,U=e.renderBar,D=void 0===U?function(e,t){var i=t.bar,n=i.color,r=i.height,o=i.width,a=i.x,l=i.y,s=t.borderColor,u=t.borderRadius,d=t.borderWidth,c=t.label,b=t.labelColor,f=t.shouldRenderLabel,h=t.labelX,m=t.labelY,v=t.textAnchor;if(e.fillStyle=n,d>0&&(e.strokeStyle=s,e.lineWidth=d),e.beginPath(),u>0){var g=Math.min(u,r);e.moveTo(a+g,l),e.lineTo(a+o-g,l),e.quadraticCurveTo(a+o,l,a+o,l+g),e.lineTo(a+o,l+r-g),e.quadraticCurveTo(a+o,l+r,a+o-g,l+r),e.lineTo(a+g,l+r),e.quadraticCurveTo(a,l+r,a,l+r-g),e.lineTo(a,l+g),e.quadraticCurveTo(a,l,a+g,l),e.closePath()}else e.rect(a,l,o,r);e.fill(),d>0&&e.stroke(),f&&(e.textBaseline="middle",e.textAlign="middle"===v?"center":v,e.fillStyle=b,e.fillText(c,a+h,l+m))}:U,Y=e.enableLabel,X=void 0===Y?ee.enableLabel:Y,Z=e.label,G=e.labelSkipWidth,$=void 0===G?ee.labelSkipWidth:G,K=e.labelSkipHeight,J=void 0===K?ee.labelSkipHeight:K,Q=e.labelTextColor,te=e.colorBy,ie=e.colors,ne=e.borderRadius,re=void 0===ne?ee.borderRadius:ne,ae=e.borderWidth,le=void 0===ae?ee.borderWidth:ae,se=e.borderColor,ue=e.annotations,de=void 0===ue?ee.annotations:ue,ce=e.legendLabel,be=e.tooltipLabel,fe=e.valueFormat,he=e.isInteractive,me=void 0===he?ee.isInteractive:he,ve=e.tooltip,ge=void 0===ve?ee.tooltip:ve,pe=e.onClick,we=e.onMouseEnter,ye=e.onMouseLeave,ke=e.legends,Se=e.pixelRatio,je=void 0===Se?ee.pixelRatio:Se,Oe=e.canvasRef,Ce=e.enableTotals,Me=void 0===Ce?ee.enableTotals:Ce,Ae=e.totalsOffset,Pe=void 0===Ae?ee.totalsOffset:Ae,Ve=(0,a.useRef)(null),Le=(0,r.Fg)(),Ee=(0,r.Bs)(s,u,l),Te=Ee.margin,Ie=Ee.innerWidth,Be=Ee.innerHeight,Fe=Ee.outerWidth,_e=Ee.outerHeight,ze=xe({indexBy:i,label:Z,tooltipLabel:be,valueFormat:fe,colors:ie,colorBy:te,borderColor:se,labelTextColor:Q,groupMode:d,layout:c,reverse:b,data:t,keys:o,minValue:h,maxValue:m,margin:Te,width:Ie,height:Be,padding:p,innerPadding:w,valueScale:v,indexScale:g,enableLabel:X,labelSkipWidth:$,labelSkipHeight:J,legends:ke,legendLabel:ce,totalsOffset:Pe}),Ne=ze.bars,Re=ze.barsWithValue,qe=ze.xScale,Ue=ze.yScale,De=ze.getLabel,He=ze.getTooltipLabel,Ye=ze.getBorderColor,Xe=ze.getLabelColor,Ze=ze.shouldRenderBarLabel,Ge=ze.legendsWithData,$e=ze.barTotals,Ke=ze.getColor,Je=(0,T.lL)(),Qe=Je.showTooltipFromEvent,et=Je.hideTooltip,tt=S({annotations:k({data:Ne,annotations:de,getPosition:function(e){return{x:e.x,y:e.y}},getDimensions:function(e){var t=e.width,i=e.height;return{width:t,height:i,size:Math.max(t,i)}}})}),it=(0,a.useMemo)((function(){return{borderRadius:re,borderWidth:le,isInteractive:me,isFocusable:!1,labelSkipWidth:$,labelSkipHeight:J,margin:Te,width:s,height:u,innerWidth:Ie,innerHeight:Be,bars:Ne,legendData:Ge,enableLabel:X,xScale:qe,yScale:Ue,tooltip:ge,getTooltipLabel:He,onClick:pe,onMouseEnter:we,onMouseLeave:ye,getColor:Ke}}),[re,le,me,$,J,Te,s,u,Ie,Be,Ne,Ge,X,qe,Ue,ge,He,pe,we,ye,Ke]),nt=(0,r.O_)(fe),rt=oe(c,b,_,N);(0,a.useEffect)((function(){var e,t=null==(e=Ve.current)?void 0:e.getContext("2d");Ve.current&&t&&(Ve.current.width=Fe*je,Ve.current.height=_e*je,t.scale(je,je),t.fillStyle=Le.background,t.fillRect(0,0,Fe,_e),t.translate(Te.left,Te.top),q.forEach((function(e){"grid"===e?"number"==typeof Le.grid.line.strokeWidth&&Le.grid.line.strokeWidth>0&&(t.lineWidth=Le.grid.line.strokeWidth,t.strokeStyle=Le.grid.line.stroke,A&&(0,n.FA)(t,{width:Ie,height:Be,scale:qe,axis:"x",values:I}),E&&(0,n.FA)(t,{width:Ie,height:Be,scale:Ue,axis:"y",values:B})):"axes"===e?(0,n.DZ)(t,{xScale:qe,yScale:Ue,width:Ie,height:Be,top:y,right:x,bottom:O,left:W,theme:Le}):"bars"===e?Re.forEach((function(e){D(t,H({bar:e,borderColor:Ye(e),borderRadius:re,borderWidth:le,label:De(e.data),labelColor:Xe(e),shouldRenderLabel:Ze(e)},rt(e.width,e.height)))})):"legends"===e?Ge.forEach((function(e){var i=e[0],n=e[1];(0,L.as)(t,H({},i,{data:n,containerWidth:Ie,containerHeight:Be,theme:Le}))})):"annotations"===e?V(t,{annotations:tt,theme:Le}):"totals"===e&&Me?function(e,t,i,n){void 0===n&&(n=ee.layout),e.fillStyle=i.text.fill,e.font="bold "+i.labels.text.fontSize+"px "+i.labels.text.fontFamily,e.textBaseline="vertical"===n?"alphabetic":"middle",e.textAlign="vertical"===n?"center":"start",t.forEach((function(t){e.fillText(t.formattedValue,t.x,t.y)}
1))}(t,$e,Le,c):"function"==typeof e&&e(t,it)})),t.save())}),[O,W,x,y,Re,re,le,tt,A,E,Ye,De,Xe,I,B,d,u,Be,Ie,it,q,c,Ge,Te.left,Te.top,_e,Fe,je,D,qe,Ue,b,Ze,Le,s,$e,Me,nt,rt]);var ot=(0,a.useCallback)((function(e){if(Ne&&Ve.current){var t=(0,r.P6)(Ve.current,e),i=t[0],n=t[1],o=We(Ne,Te,i,n);void 0!==o?(Qe((0,a.createElement)(ge,H({},o.data,{color:o.color,label:o.label,value:Number(o.data.value)})),e),"mouseenter"===e.type&&(null==we||we(o.data,e))):et()}}),[et,Te,we,Ne,Qe,ge]),at=(0,a.useCallback)((function(e){if(Ne&&Ve.current){et();var t=(0,r.P6)(Ve.current,e),i=t[0],n=t[1],o=We(Ne,Te,i,n);o&&(null==ye||ye(o.data,e))}}),[et,Te,ye,Ne]),lt=(0,a.useCallback)((function(e){if(Ne&&Ve.current){var t=(0,r.P6)(Ve.current,e),i=t[0],n=t[1],o=We(Ne,Te,i,n);void 0!==o&&(null==pe||pe(H({},o.data,{color:o.color}),e))}}),[Te,pe,Ne]);return(0,f.jsx)("canvas",{ref:function(e){Ve.current=e,Oe&&"current"in Oe&&(Oe.current=e)},width:Fe*je,height:_e*je,style:{width:Fe,height:_e,cursor:me?"auto":"normal"},onMouseEnter:me?ot:void 0,onMouseMove:me?ot:void 0,onMouseLeave:me?at:void 0,onClick:me?lt:void 0})},Ae=(0,a.forwardRef)((function(e,t){var i=e.isInteractive,n=e.renderWrapper,o=e.theme,a=Y(e,Ce);return(0,f.jsx)(r.W2,{isInteractive:i,renderWrapper:n,theme:o,animate:!1,children:(0,f.jsx)(Me,H({},a,{canvasRef:t}))})})),Pe=function(e){return(0,f.jsx)(r.d,{children:function(t){var i=t.width,n=t.height;return(0,f.jsx)(Oe,H({width:i,height:n},e))}})};(0,a.forwardRef)((function(e,t){return(0,f.jsx)(r.d,{children:function(i){var n=i.width,r=i.height;return(0,f.jsx)(Ae,H({width:n,height:r},e,{ref:t}))}})}))},4550:e=>{e.exports=function(e,t){for(var i=-1,n=null==e?0:e.length;++i<n&&!1!==t(e[i],i,e););return e}},11855:(e,t,i)=>{var n=i(64503),r=i(12742);e.exports=function(e,t){return e&&n(t,r(t),e)}},95076:(e,t,i)=>{var n=i(64503),r=i(73961);e.exports=function(e,t){return e&&n(t,r(t),e)}},31905:(e,t,i)=>{var n=i(22854),r=i(4550),o=i(18463),a=i(11855),l=i(95076),s=i(94523),u=i(10291),d=i(52455),c=i(57636),b=i(38248),f=i(55341),h=i(88383),m=i(39243),v=i(39759),g=i(40548),p=i(93629),w=i(5174),y=i(60103),x=i(8092),k=i(36995),S=i(12742),j=i(73961),O=1,C=2,W=4,M="[object Arguments]",A="[object Function]",P="[object GeneratorFunction]",V="[object Object]",L={};L[M]=L["[object Array]"]=L["[object ArrayBuffer]"]=L["[object DataView]"]=L["[object Boolean]"]=L["[object Date]"]=L["[object Float32Array]"]=L["[object Float64Array]"]=L["[object Int8Array]"]=L["[object Int16Array]"]=L["[object Int32Array]"]=L["[object Map]"]=L["[object Number]"]=L[V]=L["[object RegExp]"]=L["[object Set]"]=L["[object String]"]=L["[object Symbol]"]=L["[object Uint8Array]"]=L["[object Uint8ClampedArray]"]=L["[object Uint16Array]"]=L["[object Uint32Array]"]=!0,L["[object Error]"]=L[A]=L["[object WeakMap]"]=!1,e.exports=function e(t,i,E,T,I,B){var F,_=i&O,z=i&C,N=i&W;if(E&&(F=I?E(t,T,I,B):E(t)),void 0!==F)return F;if(!x(t))return t;var R=p(t);if(R){if(F=m(t),!_)return u(t,F)}else{var q=h(t),U=q==A||q==P;if(w(t))return s(t,_);if(q==V||q==M||U&&!I){if(F=z||U?{}:g(t),!_)return z?c(t,l(F,t)):d(t,a(F,t))}else{if(!L[q])return I?t:{};F=v(t,q,_)}}B||(B=new n);var D=B.get(t);if(D)return D;B.set(t,F),k(t)?t.forEach((function(n){F.add(e(n,i,E,n,t,B))})):y(t)&&t.forEach((function(n,r){F.set(r,e(n,i,E,r,t,B))}));var H=R?void 0:(N?z?f:b:z?j:S)(t);return r(H||t,(function(n,r){H&&(n=t[r=n]),o(F,r,e(n,i,E,r,t,B))})),F}},57523:(e,t,i)=>{var n=i(87927);e.exports=function(e,t){var i=[];return n(e,(function(e,n,r){t(e,n,r)&&i.push(e)})),i}},53085:(e,t,i)=>{var n=i(88383),r=i(43141),o="[object Map]";e.exports=function(e){return r(e)&&n(e)==o}},48680:(e,t,i)=>{var n=i(88383),r=i(43141),o="[object Set]";e.exports=function(e){return r(e)&&n(e)==o}},2646:e=>{e.exports=function(e,t,i){var n=-1,r=e.length;t<0&&(t=-t>r?0:r+t),(i=i>r?r:i)<0&&(i+=r),r=t>i?0:i-t>>>0,t>>>=0;for(var o=Array(r);++n<r;)o[n]=e[n+t];return o}},86555:(e,t,i)=>{var n=i(43082),r=i(15727),o=i(68978),a=i(69793);e.exports=function(e,t){return t=n(t,e),null==(e=o(e,t))||delete e[a(r(t))]}},61022:(e,t,i)=>{var n=i(7010);e.exports=function(e,t){var i=t?n(e.buffer):e.buffer;return new e.constructor(i,e.byteOffset,e.byteLength)}},18503:e=>{var t=/\w*$/;e.exports=function(e){var i=new e.constructor(e.source,t.exec(e));return i.lastIndex=e.lastIndex,i}},64720:(e,t,i)=>{var n=i(87197),r=n?n.prototype:void 0,o=r?r.valueOf:void 0;e.exports=function(e){return o?Object(o.call(e)):{}}}
1,52455:(e,t,i)=>{var n=i(64503),r=i(65918);e.exports=function(e,t){return n(e,r(e),t)}},57636:(e,t,i)=>{var n=i(64503),r=i(38487);e.exports=function(e,t){return n(e,r(e),t)}},26013:(e,t,i)=>{var n=i(93977);e.exports=function(e){return n(e)?void 0:e}},55341:(e,t,i)=>{var n=i(61986),r=i(38487),o=i(73961);e.exports=function(e){return n(e,o,r)}},38487:(e,t,i)=>{var n=i(41705),r=i(31137),o=i(65918),a=i(68174),l=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)n(t,o(e)),e=r(e);return t}:a;e.exports=l},39243:e=>{var t=Object.prototype.hasOwnProperty;e.exports=function(e){var i=e.length,n=new e.constructor(i);return i&&"string"==typeof e[0]&&t.call(e,"index")&&(n.index=e.index,n.input=e.input),n}},39759:(e,t,i)=>{var n=i(7010),r=i(61022),o=i(18503),a=i(64720),l=i(40613),s="[object Boolean]",u="[object Date]",d="[object Map]",c="[object Number]",b="[object RegExp]",f="[object Set]",h="[object String]",m="[object Symbol]",v="[object ArrayBuffer]",g="[object DataView]",p="[object Float32Array]",w="[object Float64Array]",y="[object Int8Array]",x="[object Int16Array]",k="[object Int32Array]",S="[object Uint8Array]",j="[object Uint8ClampedArray]",O="[object Uint16Array]",C="[object Uint32Array]";e.exports=function(e,t,i){var W=e.constructor;switch(t){case v:return n(e);case s:case u:return new W(+e);case g:return r(e,i);case p:case w:case y:case x:case k:case S:case j:case O:case C:return l(e,i);case d:return new W;case c:case h:return new W(e);case b:return o(e);case f:return new W;case m:return a(e)}}},68978:(e,t,i)=>{var n=i(98667),r=i(2646);e.exports=function(e,t){return t.length<2?e:n(e,r(t,0,-1))}},80086:(e,t,i)=>{var n=i(84903),r=i(57523),o=i(56025),a=i(93629);e.exports=function(e,t){return(a(e)?n:r)(e,o(t,3))}},60103:(e,t,i)=>{var n=i(53085),r=i(16194),o=i(49494),a=o&&o.isMap,l=a?r(a):n;e.exports=l},30298:(e,t,i)=>{var n=i(39066),r=i(43141),o="[object Number]";e.exports=function(e){return"number"==typeof e||r(e)&&n(e)==o}},36995:(e,t,i)=>{var n=i(48680),r=i(16194),o=i(49494),a=o&&o.isSet,l=a?r(a):n;e.exports=l},24242:(e,t,i)=>{var n=i(68950),r=i(31905),o=i(86555),a=i(43082),l=i(64503),s=i(26013),u=i(27038),d=i(55341),c=u((function(e,t){var i={};if(null==e)return i;var u=!1;t=n(t,(function(t){return t=a(t,e),u||(u=t.length>1),t})),l(e,d(e),i),u&&(i=r(i,7,s));for(var c=t.length;c--;)o(i,t[c]);return i}));e.exports=c},60173:(e,t,i)=>{"use strict";var n,r=i(72791),o=(n=r)&&"object"===typeof n&&"default"in n?n.default:n,a=i(1338),l=new a,s=l.getBrowser(),u=l.getCPU(),d=l.getDevice(),c=l.getEngine(),b=l.getOS(),f=l.getUA(),h=function(e){return l.setUA(e)},m=function(e){if(e){var t=new a(e);return{UA:t,browser:t.getBrowser(),cpu:t.getCPU(),device:t.getDevice(),engine:t.getEngine(),os:t.getOS(),ua:t.getUA(),setUserAgent:function(e){return t.setUA(e)}}}console.error("No userAgent string was provided")},v=Object.freeze({ClientUAInstance:l,browser:s,cpu:u,device:d,engine:c,os:b,ua:f,setUa:h,parseUserAgent:m});function g(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,n)}return i}function p(e){return p="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},p(e)}function w(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function y(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function x(){return x=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e},x.apply(this,arguments)}function k(e){return k=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},k(e)}function S(e,t){return S=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},S(e,t)}function j(e,t){if(null==e)return{};var i,n,r=function(e,t){if(null==e)return{};var i,n,r={},o=Object.keys(e);for(n=0;n<o.length;n++)i=o[n],t.indexOf(i)>=0||(r[i]=e[i]);return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)i=o[n],t.indexOf(i)>=0||Object.prototype.propertyIsEnumerable.call(e,i)&&(r[i]=e[i])}return r}function O(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function C(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var i=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==i)return;var n,r,o=[],a=!0,l=!1;try{for(i=i.call(e);!(a=(n=i.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(s){l=!0,r=s}finally{try{a||null==i.return||i.return()}finally{if(l)throw r}}return o}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return W(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);"Object"===i&&e.constructor&&(i=e.constructor.name);if("Map"===i||"Set"===i)return Array.from(e);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return W(e,t)}
1(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function W(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=new Array(t);i<t;i++)n[i]=e[i];return n}var M="mobile",A="tablet",P="smarttv",V="console",L="wearable",E="embedded",T=void 0,I={Chrome:"Chrome",Firefox:"Firefox",Opera:"Opera",Yandex:"Yandex",Safari:"Safari",InternetExplorer:"Internet Explorer",Edge:"Edge",Chromium:"Chromium",Ie:"IE",MobileSafari:"Mobile Safari",EdgeChromium:"Edge Chromium",MIUI:"MIUI Browser",SamsungBrowser:"Samsung Browser"},B={IOS:"iOS",Android:"Android",WindowsPhone:"Windows Phone",Windows:"Windows",MAC_OS:"Mac OS"},F={isMobile:!1,isTablet:!1,isBrowser:!1,isSmartTV:!1,isConsole:!1,isWearable:!1},_=function(e){switch(e){case M:return{isMobile:!0};case A:return{isTablet:!0};case P:return{isSmartTV:!0};case V:return{isConsole:!0};case L:return{isWearable:!0};case T:return{isBrowser:!0};case E:return{isEmbedded:!0};default:return F}},z=function(e){return e||(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"none")},N=function(){return!("undefined"===typeof window||!window.navigator&&!navigator)&&(window.navigator||navigator)},R=function(e){var t=N();return t&&t.platform&&(-1!==t.platform.indexOf(e)||"MacIntel"===t.platform&&t.maxTouchPoints>1&&!window.MSStream)},q=function(e,t,i,n,r){return{isBrowser:e,browserMajorVersion:z(t.major),browserFullVersion:z(t.version),browserName:z(t.name),engineName:z(i.name),engineVersion:z(i.version),osName:z(n.name),osVersion:z(n.version),userAgent:z(r)}},U=function(e,t,i,n){return function(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?g(Object(i),!0).forEach((function(t){y(e,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):g(Object(i)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))}))}return e}({},e,{vendor:z(t.vendor),model:z(t.model),os:z(i.name),osVersion:z(i.version),ua:z(n)})},D=function(e,t,i,n){return{isSmartTV:e,engineName:z(t.name),engineVersion:z(t.version),osName:z(i.name),osVersion:z(i.version),userAgent:z(n)}},H=function(e,t,i,n){return{isConsole:e,engineName:z(t.name),engineVersion:z(t.version),osName:z(i.name),osVersion:z(i.version),userAgent:z(n)}},Y=function(e,t,i,n){return{isWearable:e,engineName:z(t.name),engineVersion:z(t.version),osName:z(i.name),osVersion:z(i.version),userAgent:z(n)}},X=function(e,t,i,n,r){return{isEmbedded:e,vendor:z(t.vendor),model:z(t.model),engineName:z(i.name),engineVersion:z(i.version),osName:z(n.name),osVersion:z(n.version),userAgent:z(r)}};var Z=function(e){return e.type===M},G=function(e){return e.type===A},$=function(e){var t=e.type;return t===M||t===A},K=function(e){return e.type===P},J=function(e){return e.type===T},Q=function(e){return e.type===L},ee=function(e){return e.type===V},te=function(e){return e.type===E},ie=function(e){var t=e.vendor;return z(t)},ne=function(e){var t=e.model;return z(t)},re=function(e){var t=e.type;return z(t,"browser")},oe=function(e){return e.name===B.Android},ae=function(e){return e.name===B.Windows},le=function(e){return e.name===B.MAC_OS},se=function(e){return e.name===B.WindowsPhone},ue=function(e){return e.name===B.IOS},de=function(e){var t=e.version;return z(t)},ce=function(e){var t=e.name;return z(t)},be=function(e){return e.name===I.Chrome},fe=function(e){return e.name===I.Firefox},he=function(e){return e.name===I.Chromium},me=function(e){return e.name===I.Edge},ve=function(e){return e.name===I.Yandex},ge=function(e){var t=e.name;return t===I.Safari||t===I.MobileSafari},pe=function(e){return e.name===I.MobileSafari},we=function(e){return e.name===I.Opera},ye=function(e){var t=e.name;return t===I.InternetExplorer||t===I.Ie},xe=function(e){return e.name===I.MIUI},ke=function(e){return e.name===I.SamsungBrowser},Se=function(e){var t=e.version;return z(t)},je=function(e){var t=e.major;return z(t)},Oe=function(e){var t=e.name;return z(t)},Ce=function(e){var t=e.name;return z(t)},We=function(e){var t=e.version;return z(t)},Me=function(){var e=N(),t=e&&e.userAgent&&e.userAgent.toLowerCase();return"string"===typeof t&&/electron/.test(t)},Ae=function(e){return"string"===typeof e&&-1!==e.indexOf("Edg/")},Pe=function(){var e=N();return e&&(/iPad|iPhone|iPod/.test(e.platform)||"MacIntel"===e.platform&&e.maxTouchPoints>1)&&!window.MSStream},Ve=function(){return R("iPad")},Le=function(){return R("iPhone")},Ee=function(){return R("iPod")},Te=function(e){return z(e)};function Ie(e){var t=e||v,i=t.device,n=t.browser,r=t.os,o=t.engine,a=t.ua;return{isSmartTV:K(i),isConsole:ee(i),isWearable:Q(i),isEmbedded:te(i),isMobileSafari:pe(n)||Ve(),isChromium:he(n),isMobile:$(i)||Ve(),isMobileOnly:Z(i),isTablet:G(i)||Ve(),isBrowser:J(i),isDesktop:J(i),isA
vendor: 4,151 bytes, line 1
1ndroid:oe(r),isWinPhone:se(r),isIOS:ue(r)||Ve(),isChrome:be(n),isFirefox:fe(n),isSafari:ge(n),isOpera:we(n),isIE:ye(n),osVersion:de(r),osName:ce(r),fullBrowserVersion:Se(n),browserVersion:je(n),browserName:Oe(n),mobileVendor:ie(i),mobileModel:ne(i),engineName:Ce(o),engineVersion:We(o),getUA:Te(a),isEdge:me(n)||Ae(a),isYandex:ve(n),deviceType:re(i),isIOS13:Pe(),isIPad13:Ve(),isIPhone13:Le(),isIPod13:Ee(),isElectron:Me(),isEdgeChromium:Ae(a),isLegacyEdge:me(n)&&!Ae(a),isWindows:ae(r),isMacOs:le(r),isMIUI:xe(n),isSamsungBrowser:ke(n)}}var Be=K(d),Fe=ee(d),_e=Q(d),ze=te(d),Ne=pe(s)||Ve(),Re=he(s),qe=$(d)||Ve(),Ue=Z(d),De=G(d)||Ve(),He=J(d),Ye=J(d),Xe=oe(b),Ze=se(b),Ge=ue(b)||Ve(),$e=be(s),Ke=fe(s),Je=ge(s),Qe=we(s),et=ye(s),tt=de(b),it=ce(b),nt=Se(s),rt=je(s),ot=Oe(s),at=ie(d),lt=ne(d),st=Ce(c),ut=We(c),dt=Te(f),ct=me(s)||Ae(f),bt=ve(s),ft=re(d),ht=Pe(),mt=Ve(),vt=Le(),gt=Ee(),pt=Me(),wt=Ae(f),yt=me(s)&&!Ae(f),xt=ae(b),kt=le(b),St=xe(s),jt=ke(s);function Ot(e){var t=e||window.navigator.userAgent;return m(t)}t.UA=Ue,t.Em=De},1338:function(e,t,i){var n;!function(r,o){"use strict";var a="function",l="undefined",s="object",u="string",d="model",c="name",b="type",f="vendor",h="version",m="architecture",v="console",g="mobile",p="tablet",w="smarttv",y="wearable",x="embedded",k="Amazon",S="Apple",j="ASUS",O="BlackBerry",C="Browser",W="Chrome",M="Firefox",A="Google",P="Huawei",V="LG",L="Microsoft",E="Motorola",T="Opera",I="Samsung",B="Sharp",F="Sony",_="Xiaomi",z="Zebra",N="Facebook",R=function(e){for(var t={},i=0;i<e.length;i++)t[e[i].toUpperCase()]=e[i];return t},q=function(e,t){return typeof e===u&&-1!==U(t).indexOf(U(e))},U=function(e){return e.toLowerCase()},D=function(e,t){if(typeof e===u)return e=e.replace(/^\s\s*/,""),typeof t===l?e:e.substring(0,350)},H=function(e,t){for(var i,n,r,l,u,d,c=0;c<t.length&&!u;){var b=t[c],f=t[c+1];for(i=n=0;i<b.length&&!u;)if(u=b[i++].exec(e))for(r=0;r<f.length;r++)d=u[++n],typeof(l=f[r])===s&&l.length>0?2===l.length?typeof l[1]==a?this[l[0]]=l[1].call(this,d):this[l[0]]=l[1]:3===l.length?typeof l[1]!==a||l[1].exec&&l[1].test?this[l[0]]=d?d.replace(l[1],l[2]):o:this[l[0]]=d?l[1].call(this,d,l[2]):o:4===l.length&&(this[l[0]]=d?l[3].call(this,d.replace(l[1],l[2])):o):this[l]=d||o;c+=2}},Y=function(e,t){for(var i in t)if(typeof t[i]===s&&t[i].length>0){for(var n=0;n<t[i].length;n++)if(q(t[i][n],e))return"?"===i?o:i}else if(q(t[i],e))return"?"===i?o:i;return e},X={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},Z={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[h,[c,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[h,[c,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[c,h],[/opios[\/ ]+([\w\.]+)/i],[h,[c,T+" Mini"]],[/\bopr\/([\w\.]+)/i],[h,[c,T]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant |iemobile|slim)(?:browser)?[\/ ]?([\w\.]*)/i,/(ba?idubrowser)[\/ ]?([\w\.]+)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i,/(weibo)__([\d\.]+)/i],[c,h],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[h,[c,"UC"+C]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i],[h,[c,"WeChat(Win) Desktop"]],[/micromessenger\/([\w\.]+)/i],[h,[c,"WeChat"]],[/konqueror\/([\w\.]+)/i],[h,[c,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[h,[c,"IE"]],[/yabrowser\/([\w\.]+)/i],[h,[c,"Yandex"]],[/(avast|avg)\/([\w\.]+)/i],[[c,/(.+)/,"$1 Secure "+C],h],[/\bfocus\/([\w\.]+)/i],[h,[c,M+" Focus"]],[/\bopt\/([\w\.]+)/i],[h,[c,T+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[h,[c,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[h,[c,"Dolphin"]],[/coast\/([\w\.]+)/i],[h,[c,T+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[h,[c,"MIUI "+C]],[/fxios\/([-\w\.]+)/i],[h,[c,M]],[/\bqihu|(qi?ho?o?|360)browser/i],[[c,"360 "+C]],[/(oculus|samsung|sailfish|huawei)browser\/([\w\.]+)/i],[[c,/(.+)
vendor: 5,486 bytes, line 1
1/,"$1 "+C],h],[/(comodo_dragon)\/([\w\.]+)/i],[[c,/_/g," "],h],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i],[c,h],[/(metasr)[\/ ]?([\w\.]+)/i,/(lbbrowser)/i,/\[(linkedin)app\]/i],[c],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[c,N],h],[/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(chromium|instagram)[\/ ]([-\w\.]+)/i],[c,h],[/\bgsa\/([\w\.]+) .*safari\//i],[h,[c,"GSA"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[h,[c,W+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[c,W+" WebView"],h],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[h,[c,"Android "+C]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[c,h],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[h,[c,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[h,c],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[c,[h,Y,{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(webkit|khtml)\/([\w\.]+)/i],[c,h],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[c,"Netscape"],h],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[h,[c,M+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i],[c,h],[/(cobalt)\/([\w\.]+)/i],[c,[h,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[m,"amd64"]],[/(ia32(?=;))/i],[[m,U]],[/((?:i[346]|x)86)[;\)]/i],[[m,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[m,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[m,"armhf"]],[/windows (ce|mobile); ppc;/i],[[m,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[m,/ower/,"",U]],[/(sun4\w)[;\)]/i],[[m,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[m,U]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[d,[f,I],[b,p]],[/\b((?:s[cgp]h|gt|sm)-\w+|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[d,[f,I],[b,g]],[/\((ip(?:hone|od)[\w ]*);/i],[d,[f,S],[b,g]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[d,[f,S],[b,p]],[/(macintosh);/i],[d,[f,S]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[d,[f,P],[b,p]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[d,[f,P],[b,g]],[/\b(poco[\w ]+)(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[d,/_/g," "],[f,_],[b,g]],[/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[d,/_/g," "],[f,_],[b,p]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[d,[f,"OPPO"],[b,g]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[d,[f,"Vivo"],[b,g]],[/\b(rmx[12]\d{3})(?: bui|;|\))/i],[d,[f,"Realme"],[b,g]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[d,[f,E],[b,g]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[d,[f,E],[b,p]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[d,[f,V],[b,p]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[d,[f,V],[b,g]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[d,[f,"Lenovo"],[b,p]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[d,/_/g," "],[f,"Nokia"],[b,g]],[/(pixel c)\b/i],[d,[f,A],[b,p]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[d,[f,A],[b,g]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[d,[f,F],[b,g]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[d,"Xperia Tablet"],[f,F],[b,p]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[d,[f,"OnePlus"],[b,g]],[/(alexa)webm/i,/(kf[a-z]{2}wi)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[d,[f,k],[b,p]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[d,/(.+)/g,"Fire Phone $1"],[f,k],[b,g]],[/(playbook);[-\w\),; ]+(rim)/i],[d,f,[b,p]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[d,[f,O],[b,g]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[d,[f,j],[b,p]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[d,[f,j],[b,g]],[/(nexus 9)/i],[d,[f,"HTC"],[b,p]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic|sony(?!-bra))[-_ ]?([-\w]*)/i],[f,[d,/_/g," "],[b,g]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[d,[f,"Acer"],[b,p]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[d,[f,"Meizu"],[b,g]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[d,[f,B],[b,g]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asu
vendor: 7,022 bytes, lines 1-2
1s)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[f,d,[b,g]],[/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[f,d,[b,p]],[/(surface duo)/i],[d,[f,L],[b,p]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[d,[f,"Fairphone"],[b,g]],[/(u304aa)/i],[d,[f,"AT&T"],[b,g]],[/\bsie-(\w*)/i],[d,[f,"Siemens"],[b,g]],[/\b(rct\w+) b/i],[d,[f,"RCA"],[b,p]],[/\b(venue[\d ]{2,7}) b/i],[d,[f,"Dell"],[b,p]],[/\b(q(?:mv|ta)\w+) b/i],[d,[f,"Verizon"],[b,p]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[d,[f,"Barnes & Noble"],[b,p]],[/\b(tm\d{3}\w+) b/i],[d,[f,"NuVision"],[b,p]],[/\b(k88) b/i],[d,[f,"ZTE"],[b,p]],[/\b(nx\d{3}j) b/i],[d,[f,"ZTE"],[b,g]],[/\b(gen\d{3}) b.+49h/i],[d,[f,"Swiss"],[b,g]],[/\b(zur\d{3}) b/i],[d,[f,"Swiss"],[b,p]],[/\b((zeki)?tb.*\b) b/i],[d,[f,"Zeki"],[b,p]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[f,"Dragon Touch"],d,[b,p]],[/\b(ns-?\w{0,9}) b/i],[d,[f,"Insignia"],[b,p]],[/\b((nxa|next)-?\w{0,9}) b/i],[d,[f,"NextBook"],[b,p]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[f,"Voice"],d,[b,g]],[/\b(lvtel\-)?(v1[12]) b/i],[[f,"LvTel"],d,[b,g]],[/\b(ph-1) /i],[d,[f,"Essential"],[b,g]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[d,[f,"Envizen"],[b,p]],[/\b(trio[-\w\. ]+) b/i],[d,[f,"MachSpeed"],[b,p]],[/\btu_(1491) b/i],[d,[f,"Rotor"],[b,p]],[/(shield[\w ]+) b/i],[d,[f,"Nvidia"],[b,p]],[/(sprint) (\w+)/i],[f,d,[b,g]],[/(kin\.[onetw]{3})/i],[[d,/\./g," "],[f,L],[b,g]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[d,[f,z],[b,p]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[d,[f,z],[b,g]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[f,d,[b,v]],[/droid.+; (shield) bui/i],[d,[f,"Nvidia"],[b,v]],[/(playstation [345portablevi]+)/i],[d,[f,F],[b,v]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[d,[f,L],[b,v]],[/smart-tv.+(samsung)/i],[f,[b,w]],[/hbbtv.+maple;(\d+)/i],[[d,/^/,"SmartTV"],[f,I],[b,w]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[f,V],[b,w]],[/(apple) ?tv/i],[f,[d,S+" TV"],[b,w]],[/crkey/i],[[d,W+"cast"],[f,A],[b,w]],[/droid.+aft(\w)( bui|\))/i],[d,[f,k],[b,w]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[d,[f,B],[b,w]],[/(bravia[\w ]+)( bui|\))/i],[d,[f,F],[b,w]],[/(mitv-\w{5}) bui/i],[d,[f,_],[b,w]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w ]*; *(\w[^;]*);([^;]*)/i],[[f,D],[d,D],[b,w]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[b,w]],[/((pebble))app/i],[f,d,[b,y]],[/droid.+; (glass) \d/i],[d,[f,A],[b,y]],[/droid.+; (wt63?0{2,3})\)/i],[d,[f,z],[b,y]],[/(quest( 2)?)/i],[d,[f,N],[b,y]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[f,[b,x]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+? mobile safari/i],[d,[b,g]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[d,[b,p]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[b,p]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[b,g]],[/(android[-\w\. ]{0,9});.+buil/i],[d,[f,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[h,[c,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[h,[c,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i],[c,h],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[h,c]],os:[[/microsoft (windows) (vista|xp)/i],[c,h],[/(windows) nt 6\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i,/(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i],[c,[h,Y,X]],[/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[c,"Windows"],[h,Y,X]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/cfnetwork\/.+darwin/i],[[h,/_/g,"."],[c,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[c,"Mac OS"],[h,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[h,c],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[c,h],[/\(bb(10);/i],[h,[c,O]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[h,[c,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[h,[c,M+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[h,[c,"webOS"]],[/crkey\/([\d\.]+)/i],[h,[c,W+"cast"]],[/(cros) [\w]+ ([\w\.]+\w)/i],[[c,"Chromium OS"],h],[/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[c,h],[/(sunos) ?([\w\.\d]*)/i],[[c,"Solaris"],h],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux)/i,/(unix) ?([\w\.]*)/i],[c,h]]},G=function(e,t){if(typeof e===s&&(t=e,e=o),!(this instanceof G))return new G(e,t).getResult();var i=e||(typeof r!==l&&r.navigator&&r.navigator.userAgent?r.navigator.userAgent:""),n=t?function(e,t){var i={};for(var n in e)t[n]&&t[n].length%2===0?i[n]=t[n].concat(e[n]):i[n]=e[n];return i}(Z,t):Z;return this.getBrowser=function(){var e,t={};return t[c]=o,t[h]=o,H.call(t,i,n.browser),t.major=typeof(e=t.version)===u?e.replace(/[^\d\.]/g,"").split(".")[0]:o,t},this.getCPU=function(){var e={};return e[m]=o,H.call(e,i,n.cpu),e},this.getDevice=function(){var e={};return e[f]=o,e[d]=o,e[b]=o,H.call(e,i,n.device),e},this.getEngine=function(){var e={};return e[c]=o,e[h]=o,H.call(e,i,n.engine),e},this.getOS=function(){var e={};return e[c]=o,e[h]=o,H.call(e,i,n.os),e},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return i},this.setUA=function(e){return i=typeof e===u&&e.length>350?D(e,350):e,this},this.setUA(i),this};G.VERSION="0.7.33",G.BROWSER=R([c,h,"major"]),G.CPU=R([m]),G.DEVICE=R([d,f,b,v,g,w,p,y,x]),G.ENGINE=G.OS=R([c,h]),typeof t!==l?(e.exports&&(t=e.exports=G),t.UAParser=G):i.amdO?(n=function(){return G}.call(t,i,t,e))===o||(e.exports=n):typeof r!==l&&(r.UAParser=G);var $=typeof r!==l&&(r.jQuery||r.Zepto);if($&&!$.ua){var K=new G;$.ua=K.getResult(),$.ua.get=function(){return K.getUA()},$.ua.set=function(e){K.setUA(e);var t=K.getResult();for(var i in t)$.ua[i]=t[i]}}}("object"===typeof window?window:this)}}]);
2//# sourceMappingURL=5849.9af5945d.chunk.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.