@turquoisehealth/pit-viper 2.55.3-dev.0 → 2.55.4-dev.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.
- package/package.json +1 -1
- package/pv-components/dist/vue/charts/pv-components-charts.js +2 -2
- package/pv-components/dist/vue/charts/pv-components-charts.mjs +3 -2
- package/pv-components/dist/vue/charts/pv-components-charts.umd.js +2 -2
- package/pv-components/dist/vue/tables/pv-components-tables.js +1 -1
- package/pv-components/dist/vue/tables/pv-components-tables.mjs +3 -2
- package/pv-components/dist/vue/tables/pv-components-tables.umd.js +1 -1
|
@@ -18,7 +18,7 @@ ${n.join(`
|
|
|
18
18
|
`);let n;if(e===Qn.Y)n=yp(i,i.fontSize)*(s?.length??1);else{const r=i.getFont();n=(s??t.map(l=>Dm(this,this.labelDatum(i,l))??"")).reduce((l,c)=>{const{width:d}=Yde.measureText(c,{font:r});return Math.max(l,d)},0)}return o*(i.spacing+n)}get hasData(){return!0}nodeFactory(){const e=new qde;return e.crisp=!0,e}markerFactory(){return new Jde}processData(){this.nodeDataRefresh=!0,this.animationState.transition("updateData")}formatLabel(e){const{axes:t,horizontal:i}=this,o=i?t[Qn.X]:t[Qn.Y];return dV(e,o)}createLinearGradient(e,t){const{properties:i,originX:o,originY:s,horizontal:n,axes:r}=this,{thickness:a,defaultColorRange:l}=i,c=n?r[Qn.X]:r[Qn.Y],{domain:d,range:u}=c.scale,h=u[1]-u[0],p=tue(e,l,d,t);return new Qde("oklch",p,n?90:0,new $g(o,s,n?h:a,n?a:h))}getTargets(){const{properties:e}=this,t=e.defaultTarget;return Array.from(e.targets).map(i=>{const{text:o=t.text,value:s=t.value??0,shape:n=t.shape??"triangle",rotation:r=t.rotation??0,strokeWidth:a=t.strokeWidth??0,placement:l=t.placement??"middle",spacing:c=t.spacing??0,size:d=t.size??0,fill:u=t.fill??"black",fillOpacity:h=t.fillOpacity??1,stroke:p=t.stroke??"black",strokeOpacity:g=t.strokeOpacity??1,lineDash:f=t.lineDash??[0],lineDashOffset:v=t.lineDashOffset??0}=i,{enabled:y=t.label.enabled,color:C=t.label.color??"black",fontStyle:S=t.label.fontStyle??"normal",fontWeight:x=t.label.fontWeight??"normal",fontSize:D=t.label.fontSize,fontFamily:A=t.label.fontFamily,spacing:k=t.label.spacing??0}=i.label;return{text:o,value:s,shape:n,placement:l,spacing:c,size:d,rotation:r,fill:u,fillOpacity:h,stroke:p,strokeWidth:a,strokeOpacity:g,lineDash:f,lineDashOffset:v,label:{enabled:y,color:C,fontStyle:S,fontWeight:x,fontSize:D,fontFamily:A,spacing:k}}})}getTargetPoint(e){const t=this.axes[Qn.X],i=this.axes[Qn.Y];if(t==null||i==null)return{x:0,y:0};const{properties:o,originX:s,originY:n,horizontal:r}=this,{thickness:a}=o,{value:l,placement:c,spacing:d,size:u}=e,h=r?t:i,p=h.scale.convert(l)-h.scale.range[0];let g;switch(c){case"before":g=-(d+u/2);break;case"after":g=a+d+u/2;break;default:g=a/2;break}return{x:s+t.range[0]+(r?p:g),y:n+i.range[0]+(r?g:p)}}getTargetLabel(e){const{size:t,placement:i,label:o}=e,{spacing:s,color:n,fontStyle:r,fontWeight:a,fontSize:l,fontFamily:c}=o,d=void 0,u=t/2+s;let h,p,g=0,f=0;return this.horizontal?(h="center",i==="after"?(p="top",f=u):(p="bottom",f=-u)):(p="middle",i==="before"?(h="right",g=-u):(h="left",g=u)),{offsetX:g,offsetY:f,fill:n,textAlign:h,textBaseline:p,fontStyle:r,fontWeight:a,fontSize:l,fontFamily:c,lineHeight:d}}labelDatum(e,t){const{placement:i,avoidCollisions:o,spacing:s,text:n,color:r,fontSize:a,minimumFontSize:l,fontStyle:c,fontWeight:d,fontFamily:u,lineHeight:h,wrapping:p,overflowStrategy:g,formatter:f=v=>this.formatLabel(v.value)}=e;return{placement:i,avoidCollisions:o,spacing:s,text:n,value:t,fill:r,fontSize:a,minimumFontSize:l,fontStyle:c,fontWeight:d,fontFamily:u,lineHeight:h,wrapping:p,overflowStrategy:g,formatter:f}}createNodeData(){const{id:e,properties:t,originX:i,originY:o,horizontal:s}=this;if(!t.isValid())return;const{value:n,segmentation:r,thickness:a,cornerRadius:l,cornerMode:c,bar:d,scale:u,label:h}=t,p=this.getTargets(),g=this.axes[Qn.X],f=this.axes[Qn.Y];if(g==null||f==null)return;const v=s?g:f,y=g.scale,C=f.scale,S=v.scale;let{domain:x}=v.scale;v.isReversed()&&(x=x.slice().reverse());const D=[],A=[],k=[],w=[],[M,R]=S.range,L=Math.abs(R-M);let[P,N]=g.range;g.isReversed()&&([N,P]=[P,N]);let[O,F]=f.range;f.isReversed()&&([F,O]=[O,F]);const z=s?y.convert(n):N,_=s?F:C.convert(n),V=r.enabled?r.spacing/2:0,G=s?V:0,H=s?0:V,B=Math.min(d.thickness??Math.round(d.thicknessRatio*a),a),W=-(a-B)/2,j=s?0:W,U=s?W:0,ee=c==="item",q=Math.ceil(L);let te=r.enabled?r.interval.getSegments(S,q):void 0;const se=d.fill??this.createLinearGradient(d.fills,d.fillMode),Z=u.fill??(d.enabled&&u.fills.length===0?u.defaultFill:void 0)??this.createLinearGradient(u.fills,u.fillMode);if(te==null&&ee){const X=Math.min(...x),ne=Math.max(...x),re={value:n,segmentStart:X,segmentEnd:ne};if(d.enabled){const Y=Math.min(l,B/2,L/2)*(v.isReversed()?-1:1),$=s?Y:0,Q=s?0:Y;D.push({series:this,itemId:"value",datum:re,datumIndex:{type:0},type:0,x0:i+P-$-j,y0:o+O-Q-U,x1:i+z+$+j,y1:o+_+Q+U,clipX0:void 0,clipY0:void 0,clipX1:void 0,clipY1:void 0,topLeftCornerRadius:l,topRightCornerRadius:l,bottomRightCornerRadius:l,bottomLeftCornerRadius:l,fill:se,horizontalInset:G,verticalInset:H})}const le=Math.min(l,a/2,L/2)*(v.isReversed()?-1:1),me=s?le:0,Me=s?0:le;w.push({series:this,itemId:"scale",datum:re,datumIndex:{type:0},type:0,x0:i+P-me,y0:o+O-Me,x1:i+N+me,y1:o+F+Me,clipX0:void 0,clipY0:void 0,clipX1:void 0,clipY1:void 0,topLeftCornerRadius:l,topRightCornerRadius:l,bottomRightCornerRadius:l,bottomLeftCornerRadius:l,fill:Z,horizontalInset:G,verticalInset:H})}else{te??(te=x);const X=i+P-j,ne=o+O-U,re=i+z+j,ue=o+_+U;for(let le=0;le<te.length-1;le+=1){const me=te[le+0],Me=te[le+1],pe={value:n,segmentStart:me,segmentEnd:Me},Y=le===0,$=le===te.length-2,Q=S.convert(me),ae=S.convert(Me),ye=ee||Y?l:0,we=ee||$?l:0,De=s?ye:we,K=we,ce=s?we:ye,Ie=ye;d.enabled&&D.push({series:this,itemId:`value-${le}`,datum:pe,datumIndex:{type:0},type:0,x0:i+(s?Q:P),y0:o+(s?O:Q),x1:i+(s?ae:N),y1:o+(s?F:ae),clipX0:X,clipY0:ne,clipX1:re,clipY1:ue,topLeftCornerRadius:De,topRightCornerRadius:K,bottomRightCornerRadius:ce,bottomLeftCornerRadius:Ie,fill:se,horizontalInset:G,verticalInset:H}),w.push({series:this,itemId:`scale-${le}`,datum:pe,datumIndex:{type:0},type:0,x0:i+(s?Q:P),y0:o+(s?O:Q),x1:i+(s?ae:N),y1:o+(s?F:ae),clipX0:void 0,clipY0:void 0,clipX1:void 0,clipY1:void 0,topLeftCornerRadius:De,topRightCornerRadius:K,bottomRightCornerRadius:ce,bottomLeftCornerRadius:Ie,fill:Z,horizontalInset:G,verticalInset:H})}}h.enabled&&k.push(this.labelDatum(h,n));const ie=s?iue:oue;for(let X=0;X<p.length;X+=1){const ne=p[X],{value:re,text:ue,shape:le,size:me,fill:Me,fillOpacity:pe,stroke:Y,strokeWidth:$,strokeOpacity:Q,lineDash:ae,lineDashOffset:ye}=ne,we=this.getTargetPoint(ne),De=Xde(ne.rotation+ie[ne.placement]);A.push({series:this,itemId:`target-${X}`,midPoint:we,datum:{value:re},datumIndex:{type:1,index:X},type:1,value:re,text:ue,x:we.x,y:we.y,shape:le,size:me,rotation:De,fill:Me,fillOpacity:pe,stroke:Y,strokeOpacity:Q,strokeWidth:$,lineDash:ae,lineDashOffset:ye,label:this.getTargetLabel(ne)})}return{itemId:e,nodeData:D,targetData:A,labelData:k,scaleData:w}}updateSelections(e){(this.nodeDataRefresh||e)&&(this.contextNodeData=this.createNodeData(),this.nodeDataRefresh=!1)}highlightDatum(e){if(e!=null&&e.series===this&&e.type===1)return e}update({seriesRect:e}){const{datumSelection:t,labelSelection:i,targetSelection:o,targetLabelSelection:s,scaleSelection:n,highlightTargetSelection:r}=this,a=this.checkResize(e);this.updateSelections(a),this.contentGroup.visible=this.visible,this.contentGroup.opacity=this.getOpacity();const l=this.contextNodeData?.nodeData??[],c=this.contextNodeData?.labelData??[],d=this.contextNodeData?.targetData??[],u=this.contextNodeData?.scaleData??[],h=this.highlightDatum(this.ctx.highlightManager.getActiveHighlight());this.scaleSelection=this.updateScaleSelection({scaleData:u,scaleSelection:n}),this.updateScaleNodes({scaleSelection:n}),this.targetSelection=this.updateTargetSelection({targetData:d,targetSelection:o}),this.updateTargetNodes({targetSelection:o,isHighlight:!1}),this.targetLabelSelection=this.updateTargetLabelSelection({targetData:d,targetLabelSelection:s}),this.updateTargetLabelNodes({targetLabelSelection:s}),this.datumSelection=this.updateDatumSelection({nodeData:l,datumSelection:t}),this.updateDatumNodes({datumSelection:t}),this.labelSelection=this.updateLabelSelection({labelData:c,labelSelection:i}),this.updateLabelNodes({labelSelection:i}),this.highlightTargetSelection=this.updateTargetSelection({targetData:h!=null?[h]:[],targetSelection:r}),this.updateTargetNodes({targetSelection:r,isHighlight:!0}),a&&this.animationState.transition("resize"),this.animationState.transition("update")}updateDatumSelection(e){return e.datumSelection.update(e.nodeData,void 0,t=>VN(e.nodeData.length,t.itemId))}updateDatumNodes(e){const{datumSelection:t}=e,{ctx:i,properties:o}=this,{bar:s}=o,{fillOpacity:n,stroke:r,strokeOpacity:a,lineDash:l,lineDashOffset:c}=s,d=this.getStrokeWidth(s.strokeWidth),u=i.animationManager.isSkipped();t.each((h,p)=>{const{topLeftCornerRadius:g,topRightCornerRadius:f,bottomRightCornerRadius:v,bottomLeftCornerRadius:y,fill:C}=p;h.fill=C,h.fillOpacity=n,h.stroke=r,h.strokeOpacity=a,h.strokeWidth=d,h.lineDash=l,h.lineDashOffset=c,h.topLeftCornerRadius=g,h.topRightCornerRadius=f,h.bottomRightCornerRadius=v,h.bottomLeftCornerRadius=y,h.pointerEvents=this.properties.bar.enabled?E.PointerEvents.All:E.PointerEvents.None,(u||h.previousDatum==null)&&h.setProperties($b(h,p))}),this.datumUnion.update(t,this.itemGroup,E.Rect,(h,p,g)=>{h.pointerEvents=E.PointerEvents.None,h.clipBBox??(h.clipBBox=new $g(NaN,NaN,NaN,NaN)),h.x=p.x,h.y=p.y,h.clipBBox.x=p.clipBBox?.x??p.x,h.clipBBox.y=p.clipBBox?.y??p.y,this.properties.direction==="horizontal"?(h.height=h.clipBBox.height=g.height,h.width=g===p?g.width:g.x+g.width,h.clipBBox.width=h.width-(g.width-(g.clipBBox?.width??g.width)),h.topLeftCornerRadius=p.topLeftCornerRadius,h.bottomLeftCornerRadius=p.bottomLeftCornerRadius,h.topRightCornerRadius=g.topRightCornerRadius,h.bottomRightCornerRadius=g.bottomRightCornerRadius):(h.width=h.clipBBox.width=g.width,h.height=g===p?g.height:g.x+g.height,h.clipBBox.height=h.height-(g.height-(g.clipBBox?.height??g.height)),h.topLeftCornerRadius=p.topLeftCornerRadius,h.topRightCornerRadius=p.topRightCornerRadius,h.bottomLeftCornerRadius=g.bottomLeftCornerRadius,h.bottomRightCornerRadius=g.bottomRightCornerRadius)})}updateScaleSelection(e){return e.scaleSelection.update(e.scaleData,void 0,t=>VN(e.scaleData.length,t.itemId))}updateScaleNodes(e){const{scaleSelection:t}=e,{scale:i}=this.properties,{fillOpacity:o,stroke:s,strokeOpacity:n,strokeWidth:r,lineDash:a,lineDashOffset:l}=i;t.each((c,d)=>{const{topLeftCornerRadius:u,topRightCornerRadius:h,bottomRightCornerRadius:p,bottomLeftCornerRadius:g,fill:f}=d;c.fill=f,c.fillOpacity=o,c.stroke=s,c.strokeOpacity=n,c.strokeWidth=r,c.lineDash=a,c.lineDashOffset=l,c.topLeftCornerRadius=u,c.topRightCornerRadius=h,c.bottomRightCornerRadius=p,c.bottomLeftCornerRadius=g,c.setProperties($b(c,d))})}updateTargetSelection(e){return e.targetSelection.update(e.targetData,void 0,t=>t.itemId)}updateTargetNodes(e){const{targetSelection:t,isHighlight:i}=e,o=i?this.properties.highlightStyle.item:void 0;t.each((s,n)=>{const{x:r,y:a,shape:l,size:c,rotation:d,fill:u,fillOpacity:h,stroke:p,strokeOpacity:g,strokeWidth:f,lineDash:v,lineDashOffset:y}=n;s.size=c,s.shape=l==="line"?uV:l,s.fill=o?.fill??u,s.fillOpacity=o?.fillOpacity??h,s.stroke=o?.stroke??p,s.strokeOpacity=o?.strokeOpacity??g,s.strokeWidth=o?.strokeWidth??f,s.lineDash=o?.lineDash??v,s.lineDashOffset=o?.lineDashOffset??y,s.translationX=r,s.translationY=a,s.rotation=d})}updateTargetLabelSelection(e){return e.targetLabelSelection.update(e.targetData)}updateTargetLabelNodes(e){const{targetLabelSelection:t}=e;t.each((i,o)=>{const{x:s,y:n,text:r}=o,{offsetX:a,offsetY:l,fill:c,fontStyle:d,fontWeight:u,fontSize:h,fontFamily:p,textAlign:g,textBaseline:f}=o.label;i.visible=!0,i.x=s+a,i.y=n+l,i.text=r,i.fill=c,i.fontStyle=d,i.fontWeight=u,i.fontSize=h,i.fontFamily=p,i.textAlign=g,i.textBaseline=f})}updateLabelSelection(e){return e.labelSelection.update(e.labelData,void 0,t=>"primary")}updateLabelNodes(e){const{labelSelection:t}=e,i=this.ctx.animationManager.isSkipped();t.each((o,s)=>{o.fill=s.fill,o.fontStyle=s.fontStyle,o.fontWeight=s.fontWeight,o.fontFamily=s.fontFamily}),(i||this.labelsHaveExplicitText())&&this.formatLabelText()}labelsHaveExplicitText(){for(const{datum:e}of this.labelSelection)if(e.text==null)return!1;return!0}formatLabelText(e){const{labelSelection:t,horizontal:i,axes:o}=this,s=o[Qn.X],n=o[Qn.Y];if(s==null||n==null)return;const[r,a]=s.range,[l,c]=n.range,d=this.originX+Math.min(r,a),u=this.originY+Math.min(l,c),h=Math.abs(a-r),p=Math.abs(c-l),g=e?.label??this.properties.value;let f;if(i){const C=s.scale.convert(g);f=new $g(d,u,C-d,p)}else{const C=n.scale.convert(g);f=new $g(d,C,h,p-C)}const v={scale:new $g(d,u,h,p),bar:f},{margin:y}=this.properties;$de(this,t,{padding:y,horizontal:i},v,e)}resetAllAnimation(){this.ctx.animationManager.stopByAnimationGroupId(this.id),Ude([this.datumSelection],$b),this.formatLabelText()}resetAnimation(e){e==="initial"?this.animationState.transition("reset"):e==="ready"&&this.animationState.transition("skip")}animateLabelText(e={}){const{animationManager:t}=this.ctx;let i=0,o=0;if(this.labelSelection.each((s,n)=>{s.opacity=1,i=s.previousDatum?.value??e.from??n.value,o=n.value}),!this.labelsHaveExplicitText())if(i===o)this.formatLabelText({label:o});else{const s=`${this.id}_labels`;t.animate({id:s,groupId:"label",from:{label:i},to:{label:o},phase:e.phase??"update",ease:eue.easeOut,onUpdate:n=>this.formatLabelText(n)})}}animateEmptyUpdateReady(){const{animationManager:e}=this.ctx,{node:t}=zN(!0,this.horizontal);gM(this.id,"node",e,[this.datumSelection],t,(i,o)=>o.itemId),gM(this.id,"label",e,[this.labelSelection],cV,()=>"primary"),this.animateLabelText({from:0,phase:"initial"})}animateWaitingUpdateReady(){const{animationManager:e}=this.ctx,{node:t}=zN(!1,this.horizontal);gM(this.id,"node",e,[this.datumSelection],t,(i,o)=>o.itemId),this.animateLabelText()}animateReadyResize(){this.resetAllAnimation()}getSeriesDomain(){return[0,1]}getSeriesRange(e,t){return[NaN,NaN]}getLegendData(){return[]}getTooltipContent(e){const{id:t,properties:i}=this,{tooltip:o}=i;if(!i.isValid())return;const{value:s=i.value,text:n=i.label.text}=mV(e);return o.formatTooltip({data:[{label:n,fallbackLabel:"Value",value:this.formatLabel(s)}]},{seriesId:t,title:void 0,datum:void 0,value:s})}pickNodeClosestDatum(e){return hV(this,e)}pickFocus(e){return pV(this,e)}getCaptionText(){return this.formatLabel(this.properties.value)}};sT.className="LinearGaugeSeries";sT.type="linear-gauge";var{ThemeSymbols:{DEFAULT_HIERARCHY_FILLS:sue,DEFAULT_GAUGE_SERIES_COLOR_RANGE:nue},ThemeConstants:{CARTESIAN_AXIS_TYPE:fM}}=E,rue={type:"series",optionsKey:"series[]",packageType:"enterprise",chartTypes:["gauge"],identifier:"linear-gauge",moduleFactory:e=>new sT(e),tooltipDefaults:{range:10},defaultAxes:[{type:fM.NUMBER,line:{enabled:!1}},{type:fM.NUMBER,line:{enabled:!1}}],themeTemplate:{minWidth:200,minHeight:200,tooltip:{enabled:!1},series:{thickness:50,bar:{strokeWidth:0},segmentation:{enabled:!1,interval:{},spacing:1},defaultTarget:{fill:{$ref:"foregroundColor"},stroke:{$ref:"foregroundColor"},size:10,shape:"triangle",placement:"after",spacing:5,label:{enabled:!0,fontWeight:{$ref:"fontWeight"},fontSize:{$ref:"fontSize"},fontFamily:{$ref:"fontFamily"},color:{$ref:"textColor"},spacing:5}},label:{enabled:!1,placement:"inside-start",fontFamily:{$ref:"fontFamily"},fontWeight:{$ref:"fontWeight"},fontSize:{$rem:[2]},minimumFontSize:12,spacing:18,color:{$ref:"backgroundColor"}},margin:4},axes:{[fM.NUMBER]:{line:{enabled:!1},gridLine:{enabled:!1}}}},paletteFactory(e){const{takeColors:t,colorsCount:i,userPalette:o,themeTemplateParameters:s}=e,{fills:n}=t(i),r=s.get(nue),a=s.get(sue),l=o==="inbuilt"?r:[n[0],n[1]];return{scale:{defaultFill:a?.[1],stroke:a?.[2]},defaultColorRange:aV(l)}}},$y={zoom:{axes:"xy",anchorPointX:"pointer",anchorPointY:"pointer",buttons:{anchorPointX:"middle",anchorPointY:"middle"}},legend:{enabled:!1},gradientLegend:{enabled:!1},tooltip:{range:"exact"}},aue=1e-9;function SV(e,t,i,o){const[s,n]=e,[r,a]=t,l=r-s,c=a-n,d=l*l+c*c;let u,h;if(Math.abs(d)<aue)u=s,h=n;else{let f=((i-s)*l+(o-n)*c)/d;f=Math.max(0,Math.min(1,f)),u=s+f*(r-s),h=n+f*(a-n)}const p=i-u,g=o-h;return p*p+g*g}function WN(e,t,i){let o=1/0,s=e[e.length-1];for(const n of e)o=Math.min(o,SV(s,n,t,i)),s=n;return Math.sqrt(o)}function CD(e){let[t,i]=e[0],o=0;for(let s=1;s<e.length;s+=1){const[n,r]=e[s],a=Math.hypot(n-t,r-i);o+=a,t=n,i=r}return o}function YC(e){if(e.length===0)return;const t=CD(e)/2;let[i,o]=e[0],s=0;for(let n=1;n<e.length;n+=1){const[r,a]=e[n],l=Math.hypot(r-i,a-o),c=s+l;if(c>t){const d=(t-s)/l,u=[i+(r-i)*d,o+(a-o)*d],h=Math.atan2(a-o,r-i);return{point:u,angle:h}}s=c,i=r,o=a}}var{LonLatBBox:lue}=E;function Rf(e,t,i,o,s){return e==null?e=new lue(t,i,o,s):(e.lon0=Math.min(e.lon0,t),e.lat0=Math.min(e.lat0,i),e.lon1=Math.max(e.lon1,o),e.lat1=Math.max(e.lat1,s)),e}function eu(e,t){return e.forEach(i=>{const[o,s]=i;t=Rf(t,o,s,o,s)}),t}function cue(e){if(e.length===0)return;let t=0,i=0,o=0,[s,n]=e[e.length-1];for(const[r,a]of e){const l=s*a-r*n;o+=l,t+=(s+r)*l,i+=(n+a)*l,s=r,n=a}return o*=3,[t/o,i/o]}function XC(e,t,i){let o=!1,s=1/0;for(const n of e){let r=n[n.length-1],[a,l]=r;for(const c of n){const[d,u]=c;u>i!=l>i&&t<(a-d)*(i-u)/(l-u)+d&&(o=!o),s=Math.min(s,SV(r,c,t,i)),r=c,a=d,l=u}}return(o?-1:1)*Math.sqrt(s)}var{Path:due,ExtendedPath2D:uue,BBox:hue,ScenePathChangeDetection:xV}=E,mg=class extends due{constructor(){super(...arguments),this.projectedGeometry=void 0,this.renderMode=3,this.strokePath=new uue}computeBBox(){return(this.dirtyPath||this.isDirtyPath())&&(this.updatePath(),this.dirtyPath=!1),this.bbox?.clone()}updatePath(){const{projectedGeometry:e}=this;this.strokePath.clear(),this.path.clear(),this.bbox=e!=null?this.drawGeometry(e,void 0):void 0}drawPath(e){super.drawPath(e),this.renderStroke(e,this.strokePath.getPath2D())}containsPoint(e,t){const{projectedGeometry:i}=this;return i==null||!this.getBBox().containsPoint(e,t)?!1:this.geometryDistance(i,e,t)<=0}distanceSquared(e,t){const{projectedGeometry:i}=this;if(i==null)return 1/0;const o=this.geometryDistance(i,e,t);return o>0?o*o:0}geometryDistance(e,t,i){const{renderMode:o,strokeWidth:s}=this,n=(o&1)!==0,r=(o&2)!==0,a=Math.max(s/2,1)+1;switch(e.type){case"GeometryCollection":return e.geometries.reduce((l,c)=>Math.min(l,this.geometryDistance(c,t,i)),1/0);case"MultiPolygon":return n?e.coordinates.reduce((l,c)=>Math.min(l,Math.max(XC(c,t,i),0)),1/0):1/0;case"Polygon":return n?Math.max(XC(e.coordinates,t,i),0):1/0;case"MultiLineString":return r?e.coordinates.reduce((l,c)=>Math.min(l,Math.max(WN(c,t,i)-a,0)),1/0):1/0;case"LineString":return r?Math.max(WN(e.coordinates,t,i)-a,0):1/0;case"MultiPoint":case"Point":default:return 1/0}}drawGeometry(e,t){const{renderMode:i,path:o,strokePath:s}=this,n=(i&1)!==0,r=(i&2)!==0;switch(e.type){case"GeometryCollection":e.geometries.forEach(a=>{t=this.drawGeometry(a,t)});break;case"MultiPolygon":n&&e.coordinates.forEach(a=>{t=this.drawPolygon(o,a,t)});break;case"Polygon":n&&(t=this.drawPolygon(o,e.coordinates,t));break;case"LineString":r&&(t=this.drawLineString(s,e.coordinates,t,!1));break;case"MultiLineString":r&&e.coordinates.forEach(a=>{t=this.drawLineString(s,a,t,!1)});break}return t}drawPolygon(e,t,i){if(t.length<1)return i;i=this.drawLineString(e,t[0],i,!0);for(let o=1;o<t.length;o+=1){const s=t[o];this.drawLineString(e,s,void 0,!0)}return i}drawLineString(e,t,i,o){if(t.length<2)return i;const s=o?t.length-1:t.length;for(let n=0;n<s;n+=1){const[r,a]=t[n];if(n===0?e.moveTo(r,a):e.lineTo(r,a),i==null)i=new hue(r,a,0,0);else{const{x:l,y:c}=i,d=l+i.width,u=c+i.height;i.x=Math.min(l,r),i.y=Math.min(c,a),i.width=Math.max(d,r)-i.x,i.height=Math.max(u,a)-i.y}}return o&&e.closePath(),i}};b([xV()],mg.prototype,"projectedGeometry");b([xV()],mg.prototype,"renderMode");function yg(e,t){if(e.bbox!=null){const[i,o,s,n]=e.bbox;return t=Rf(t,i,o,s,n),t}switch(e.type){case"GeometryCollection":e.geometries.forEach(i=>{t=yg(i,t)});break;case"MultiPolygon":e.coordinates.forEach(i=>{i.length>0&&(t=eu(i[0],t))});break;case"Polygon":e.coordinates.length>0&&(t=eu(e.coordinates[0],t));break;case"MultiLineString":e.coordinates.forEach(i=>{t=eu(i,t)});break;case"LineString":t=eu(e.coordinates,t);break;case"MultiPoint":e.coordinates.forEach(i=>{const[o,s]=i;t=Rf(t,o,s,o,s)});break;case"Point":{const[i,o]=e.coordinates;t=Rf(t,i,o,i,o);break}}return t}function ZC(e){switch(e.type){case"GeometryCollection":{let t,i;return e.geometries.forEach(o=>{const s=ZC(o);if(s==null)return;const n=eu(s[0],void 0);if(n==null)return;const r=Math.abs(n.lat1-n.lat0)*Math.abs(n.lon1-n.lon0);(t==null||r>t)&&(t=r,i=s)}),i}case"MultiPolygon":{let t,i;return e.coordinates.forEach(o=>{const s=eu(o[0],void 0);if(s==null)return;const n=Math.abs(s.lat1-s.lat0)*Math.abs(s.lon1-s.lon0);(t==null||n>t)&&(t=n,i=o)}),i}case"Polygon":return e.coordinates;case"MultiLineString":case"LineString":case"MultiPoint":case"Point":return}}function qC(e){switch(e.type){case"GeometryCollection":{let t,i;return e.geometries.forEach(o=>{const s=qC(o);if(s==null)return;const n=CD(s);n!=null&&(t==null||n>t)&&(t=n,i=s)}),i}case"MultiLineString":{let t=0,i;return e.coordinates.forEach(o=>{const s=CD(o);s>t&&(t=s,i=o)}),i}case"LineString":return e.coordinates;case"MultiPolygon":case"Polygon":case"MultiPoint":case"Point":return}}function nT(e,t){if(e==null)return!1;switch(e.type){case"GeometryCollection":return e.geometries.some(i=>nT(i,t));case"MultiPolygon":case"Polygon":return(t&1)!==0;case"MultiLineString":case"LineString":return(t&2)!==0;case"MultiPoint":case"Point":return(t&4)!==0}}function _c(e,t){switch(e.type){case"GeometryCollection":return{type:"GeometryCollection",geometries:e.geometries.map(i=>_c(i,t))};case"Polygon":return{type:"Polygon",coordinates:SD(e.coordinates,t)};case"MultiPolygon":return{type:"MultiPolygon",coordinates:pue(e.coordinates,t)};case"MultiLineString":return{type:"MultiLineString",coordinates:SD(e.coordinates,t)};case"LineString":return{type:"LineString",coordinates:xD(e.coordinates,t)};case"MultiPoint":return{type:"MultiPoint",coordinates:xD(e.coordinates,t)};case"Point":return{type:"Point",coordinates:t.convert(e.coordinates)}}}function pue(e,t){return e.map(i=>SD(i,t))}function SD(e,t){return e.map(i=>xD(i,t))}function xD(e,t){return e.map(i=>t.convert(i))}(class extends E.SeriesProperties{});var Uy=class extends E.DataModelSeries{addChartEventListeners(){this.destroyFns.push(this.ctx.chartEventManager.addListener("legend-item-click",e=>{this.onLegendItemClick(e)}),this.ctx.chartEventManager.addListener("legend-item-double-click",e=>{this.onLegendItemDoubleClick(e)}))}getSeriesDomain(){return[NaN,NaN]}getSeriesRange(e,t){return[NaN,NaN]}};function wV(e){return Array.isArray(e)&&e.length>=2&&e.every(Mc)}function Ub(e){return Array.isArray(e)&&e.length>=2&&e.every(wV)}var jN=.001;function gue(e){return Math.abs(e[0][0]-e[e.length-1][0])<jN&&Math.abs(e[0][1]-e[e.length-1][1])<jN}function $N(e){return Array.isArray(e)&&e.every(Ub)&&e.every(gue)}function MV(e){if(e===null)return!0;if(typeof e!="object"||e.type==null)return!1;const{type:t,coordinates:i}=e;switch(t){case"GeometryCollection":return Array.isArray(e.geometries)&&e.geometries.every(MV);case"MultiPolygon":return Array.isArray(i)&&i.every($N);case"Polygon":return $N(i);case"MultiLineString":return Array.isArray(i)&&i.every(Ub);case"LineString":return Ub(i);case"MultiPoint":return Ub(i);case"Point":return wV(i)}}function fue(e){return e!==null&&typeof e=="object"&&e.type==="Feature"&&MV(e.geometry)}function mue(e){return e!==null&&typeof e=="object"&&e.type==="FeatureCollection"&&Array.isArray(e.features)&&e.features.every(fue)}var Ra=E.predicateWithMessage(mue,"a GeoJSON object"),{COLOR_STRING:yue,LINE_DASH:vue,OBJECT:bue,POSITIVE_NUMBER:DV,RATIO:Cue,Validate:Ju,SeriesProperties:Sue,SeriesTooltip:xue}=E,ud=class extends Sue{constructor(){super(...arguments),this.topology=void 0,this.stroke="black",this.strokeOpacity=1,this.strokeWidth=0,this.lineDash=[0],this.lineDashOffset=0,this.tooltip=new xue}};b([Ju(Ra,{optional:!0})],ud.prototype,"topology");b([Ju(yue)],ud.prototype,"stroke");b([Ju(Cue)],ud.prototype,"strokeOpacity");b([Ju(DV)],ud.prototype,"strokeWidth");b([Ju(vue)],ud.prototype,"lineDash");b([Ju(DV)],ud.prototype,"lineDashOffset");b([Ju(bue)],ud.prototype,"tooltip");var{createDatumId:wue,SeriesNodePickMode:Mue,Validate:Due,Group:kue,Selection:Iue,PointerEvents:Aue}=E,Sx=class extends Uy{constructor(e){super({moduleCtx:e,useLabelLayer:!0,pickModes:[Mue.EXACT_SHAPE_MATCH]}),this.properties=new ud,this._chartTopology=void 0,this.itemGroup=this.contentGroup.appendChild(new kue({name:"itemGroup"})),this.datumSelection=Iue.select(this.itemGroup,()=>this.nodeFactory())}getNodeData(){return this.contextNodeData?.nodeData}get topology(){return this.properties.topology??this._chartTopology}get focusable(){return!1}setOptionsData(){}setChartData(){}get hasData(){return!1}renderToOffscreenCanvas(){return!0}setChartTopology(e){this._chartTopology=e,this.topology===e&&(this.nodeDataRefresh=!0)}setSeriesIndex(e){return super.setSeriesIndex(e)?(this.contentGroup.zIndex=[0,e,0],this.highlightGroup.zIndex=[0,e,1],!0):!1}nodeFactory(){const e=new mg;return e.renderMode=2,e.lineJoin="round",e.lineCap="round",e.pointerEvents=Aue.None,e}processData(){const{topology:e}=this;this.topologyBounds=e?.features.reduce((t,i)=>{const o=i.geometry;return o==null?t:yg(o,t)},void 0),e==null&&at.warnOnce("no topology was provided for [MapShapeBackgroundSeries]; nothing will be rendered.")}createNodeData(){const{id:e,topology:t,scale:i}=this;if(t==null)return;const o=[],s=[];return t.features.forEach((n,r)=>{const{geometry:a}=n,l=a!=null&&i!=null?_c(a,i):void 0;l!=null&&o.push({series:this,itemId:r,datum:n,datumIndex:0,index:r,projectedGeometry:l})}),{itemId:e,nodeData:o,labelData:s}}updateSelections(){this.nodeDataRefresh&&(this.contextNodeData=this.createNodeData(),this.nodeDataRefresh=!1)}update(){const{datumSelection:e}=this;this.updateSelections(),this.contentGroup.visible=this.visible;const{nodeData:t=[]}=this.contextNodeData??{};this.datumSelection=this.updateDatumSelection({nodeData:t,datumSelection:e}),this.updateDatumNodes({datumSelection:e})}updateDatumSelection(e){return e.datumSelection.update(e.nodeData,void 0,t=>wue(t.index))}updateDatumNodes(e){const{properties:t}=this,{datumSelection:i}=e,{stroke:o,strokeOpacity:s,lineDash:n,lineDashOffset:r}=t,a=this.getStrokeWidth(t.strokeWidth);i.each((l,c)=>{const{projectedGeometry:d}=c;if(d==null){l.visible=!1,l.projectedGeometry=void 0;return}l.visible=!0,l.projectedGeometry=d,l.stroke=o,l.strokeWidth=a,l.strokeOpacity=s,l.lineDash=n,l.lineDashOffset=r})}resetAnimation(){}getLegendData(){return[]}getTooltipContent(e){}computeFocusBounds(e){}};Sx.className="MapLineBackgroundSeries";Sx.type="map-line-background";b([Due(Ra,{optional:!0,property:"topology"})],Sx.prototype,"_chartTopology");var{DEFAULT_HIERARCHY_STROKES:Rue}=E.ThemeSymbols,Tue={type:"series",optionsKey:"series[]",packageType:"enterprise",chartTypes:["topology"],identifier:"map-line-background",moduleFactory:e=>new Sx(e),tooltipDefaults:{range:"exact"},themeTemplate:{...$y,series:{strokeWidth:1,lineDash:[0],lineDashOffset:0}},paletteFactory:({themeTemplateParameters:e})=>({stroke:e.get(Rue)?.[1]})};function Lue(){return{fromFn:(i,o,s)=>s==="removed"?{scalingX:1,scalingY:1}:i.previousDatum==null?{scalingX:0,scalingY:0}:{scalingX:i.scalingX,scalingY:i.scalingY},toFn:(i,o,s)=>s==="removed"?{scalingX:0,scalingY:0}:{scalingX:1,scalingY:1}}}function kV(e,t){const i=e.contextNodeData?.nodeData[t.datumIndex];if(i!==void 0){for(const o of e.datumSelection.nodes())if(o.datum===i)return o}}var{AND:Eue,ARRAY:Pue,COLOR_STRING:Nue,COLOR_STRING_ARRAY:Oue,FUNCTION:Fue,LINE_DASH:Bue,NUMBER_ARRAY:Gue,OBJECT:IV,POSITIVE_NUMBER:rT,RATIO:zue,STRING:Lr,Validate:Jt,SeriesProperties:_ue,SeriesTooltip:Vue,Label:Hue}=E,Vt=class extends _ue{constructor(){super(...arguments),this.topology=void 0,this.idKey="",this.topologyIdKey="name",this.idName=void 0,this.labelKey=void 0,this.labelName=void 0,this.colorRange=void 0,this.maxStrokeWidth=void 0,this.stroke="black",this.strokeOpacity=1,this.strokeWidth=0,this.lineDash=[0],this.lineDashOffset=0,this.label=new Hue,this.tooltip=new Vue}};b([Jt(Ra,{optional:!0})],Vt.prototype,"topology");b([Jt(Lr,{optional:!0})],Vt.prototype,"title");b([Jt(Lr,{optional:!0})],Vt.prototype,"legendItemName");b([Jt(Lr)],Vt.prototype,"idKey");b([Jt(Lr)],Vt.prototype,"topologyIdKey");b([Jt(Lr,{optional:!0})],Vt.prototype,"idName");b([Jt(Lr,{optional:!0})],Vt.prototype,"labelKey");b([Jt(Lr,{optional:!0})],Vt.prototype,"labelName");b([Jt(Lr,{optional:!0})],Vt.prototype,"sizeKey");b([Jt(Lr,{optional:!0})],Vt.prototype,"sizeName");b([Jt(Lr,{optional:!0})],Vt.prototype,"colorKey");b([Jt(Lr,{optional:!0})],Vt.prototype,"colorName");b([Jt(Gue,{optional:!0})],Vt.prototype,"sizeDomain");b([Jt(Eue(Oue,Pue.restrict({minLength:1})),{optional:!0})],Vt.prototype,"colorRange");b([Jt(rT,{optional:!0})],Vt.prototype,"maxStrokeWidth");b([Jt(Nue)],Vt.prototype,"stroke");b([Jt(zue)],Vt.prototype,"strokeOpacity");b([Jt(rT)],Vt.prototype,"strokeWidth");b([Jt(Bue)],Vt.prototype,"lineDash");b([Jt(rT)],Vt.prototype,"lineDashOffset");b([Jt(Fue,{optional:!0})],Vt.prototype,"itemStyler");b([Jt(IV)],Vt.prototype,"label");b([Jt(IV)],Vt.prototype,"tooltip");var{getMissCount:Wue,createDatumId:UN,SeriesNodePickMode:KN,valueProperty:Ug,CachedTextMeasurerPool:jue,Validate:$ue,ColorScale:Uue,LinearScale:Kue,Selection:mM,Text:Yue,Transformable:Xue}=E,xx=class extends Uy{constructor(e){super({moduleCtx:e,useLabelLayer:!0,pickModes:[KN.EXACT_SHAPE_MATCH,KN.NEAREST_NODE],usesPlacedLabels:!0}),this.properties=new Vt,this._chartTopology=void 0,this.colorScale=new Uue,this.sizeScale=new Kue,this.datumSelection=mM.select(this.contentGroup,()=>this.nodeFactory()),this.labelSelection=mM.select(this.labelGroup,Yue),this.highlightDatumSelection=mM.select(this.highlightNode,()=>this.nodeFactory()),this._previousDatumMidPoint=void 0}getNodeData(){return this.contextNodeData?.nodeData}get topology(){return this.properties.topology??this._chartTopology}get hasData(){return super.hasData&&this.topology!=null}renderToOffscreenCanvas(){return!0}setSeriesIndex(e){return super.setSeriesIndex(e)?(this.contentGroup.zIndex=[1,e],this.highlightGroup.zIndex=[2,e],!0):!1}setChartTopology(e){this._chartTopology=e,this.topology===e&&(this.nodeDataRefresh=!0)}isLabelEnabled(){return this.properties.labelKey!=null&&this.properties.label.enabled}nodeFactory(){const e=new mg;return e.renderMode=2,e.lineJoin="round",e.lineCap="round",e}async processData(e){if(this.data==null||!this.properties.isValid())return;const{data:t,topology:i,sizeScale:o,colorScale:s}=this,{topologyIdKey:n,idKey:r,sizeKey:a,colorKey:l,labelKey:c,sizeDomain:d,colorRange:u}=this.properties,h=new Map;i?.features.forEach(S=>{const x=S.properties?.[n];x==null||!nT(S.geometry,2)||h.set(x,S)});const p=this.sizeScale.type,g=this.colorScale.type,f=this.scale?.type,{dataModel:v,processedData:y}=await this.requestDataModel(e,t,{props:[Ug(r,f,{id:"idValue",includeProperty:!1}),Ug(r,f,{id:"featureValue",includeProperty:!1,processor:()=>S=>h.get(S)}),...c!=null?[Ug(c,"band",{id:"labelValue"})]:[],...a!=null?[Ug(a,p,{id:"sizeValue"})]:[],...l!=null?[Ug(l,g,{id:"colorValue"})]:[]]}),C=v.resolveColumnById(this,"featureValue",y);if(this.topologyBounds=C.reduce((S,x)=>{const D=x?.geometry;return D==null?S:yg(D,S)},void 0),a!=null){const S=v.resolveProcessedDataIndexById(this,"sizeValue"),x=y.domain.values[S]??[];o.domain=d??x}if(u!=null&&this.isColorScaleValid()){const S=v.resolveProcessedDataIndexById(this,"colorValue");s.domain=y.domain.values[S],s.range=u,s.update()}i==null&&at.warnOnce("no topology was provided for [MapLineSeries]; nothing will be rendered.")}isColorScaleValid(){const{colorKey:e}=this.properties;if(!e)return!1;const{dataModel:t,processedData:i}=this;if(!t||!i)return!1;const o=t.resolveProcessedDataIndexById(this,"colorValue"),s=i.input.count,n=Wue(this,i.defs.values[o].missing);return!(s===0||s===n)}getLabelDatum(e,t,i,o){if(t==null||i==null)return;const s=qC(i);if(s==null)return;const{idKey:n,idName:r,sizeKey:a,sizeName:l,colorKey:c,colorName:d,labelKey:u,labelName:h,label:p}=this.properties,g=this.getLabelText(p,{value:t,datum:e,idKey:n,idName:r,sizeKey:a,sizeName:l,colorKey:c,colorName:d,labelKey:u,labelName:h});if(g==null)return;const f=jue.measureText(String(g),{font:o}),v=YC(s);if(v==null)return;const[y,C]=v.point,{width:S,height:x}=f;return{point:{x:y,y:C,size:0},label:{width:S,height:x,text:g},anchor:void 0,placement:void 0}}createNodeData(){const{id:e,dataModel:t,processedData:i,sizeScale:o,properties:s,scale:n}=this,{idKey:r,sizeKey:a,colorKey:l,labelKey:c,label:d}=s;if(t==null||i==null)return;const u=t.resolveColumnById(this,"idValue",i),h=t.resolveColumnById(this,"featureValue",i),p=c!=null?t.resolveColumnById(this,"labelValue",i):void 0,g=a!=null?t.resolveColumnById(this,"sizeValue",i):void 0,f=l!=null?t.resolveColumnById(this,"colorValue",i):void 0,v=s.maxStrokeWidth??s.strokeWidth;o.range=[Math.min(s.strokeWidth,v),v];const y=d.getFont(),C=new Map;i.dataSources.get(this.id)?.forEach((w,M)=>{const R=u[M],L=h[M]?.geometry??void 0,P=L!=null&&n!=null?_c(L,n):void 0;R!=null&&P!=null&&C.set(R,P)});const S=[],x=[],D=[];(i.dataSources.get(this.id)??[]).forEach((w,M)=>{const R=u[M],L=f?.[M],P=g?.[M],N=p?.[M],O=C.get(R);O==null&&D.push(R);const F=this.getLabelDatum(w,N,O,y);F!=null&&x.push(F),S.push({series:this,itemId:r,datum:w,datumIndex:M,idValue:R,labelValue:N,colorValue:L,sizeValue:P,projectedGeometry:O})});const k=10;if(D.length>k){const w=D.length-k;D.length=k,D.push(`(+${w} more)`)}return D.length>0&&at.warnOnce("some data items do not have matches in the provided topology",D),{itemId:e,nodeData:S,labelData:x}}updateSelections(){this.nodeDataRefresh&&(this.contextNodeData=this.createNodeData(),this.nodeDataRefresh=!1)}update(){const{datumSelection:e,highlightDatumSelection:t}=this;this.updateSelections(),this.contentGroup.visible=this.visible,this.contentGroup.opacity=this.getOpacity();let i=this.ctx.highlightManager?.getActiveHighlight();i!=null&&(i.series!==this||i.datum==null)&&(i=void 0);const o=this.contextNodeData?.nodeData??[];this.datumSelection=this.updateDatumSelection({nodeData:o,datumSelection:e}),this.updateDatumNodes({datumSelection:e,isHighlight:!1}),this.highlightDatumSelection=this.updateDatumSelection({nodeData:i!=null?[i]:[],datumSelection:t}),this.updateDatumNodes({datumSelection:t,isHighlight:!0})}updateDatumSelection(e){return e.datumSelection.update(e.nodeData,void 0,t=>UN(t.idValue))}getItemBaseStyle(e){const{properties:t}=this,i=e?t.highlightStyle.item:void 0;return{stroke:i?.stroke??t.stroke,strokeWidth:i?.strokeWidth??this.getStrokeWidth(t.strokeWidth),strokeOpacity:i?.strokeOpacity??t.strokeOpacity,lineDash:i?.lineDash??t.lineDash,lineDashOffset:i?.lineDashOffset??t.lineDashOffset}}getItemStyleOverrides(e,t,i,o,s,n){const{id:r,properties:a,colorScale:l,sizeScale:c}=this,{colorRange:d,itemStyler:u}=a;let h;if(!n&&i!=null&&(h??(h={}),h.stroke=this.isColorScaleValid()?l.convert(i):d?.[0]??a.stroke),o!=null&&(h??(h={}),h.strokeWidth=c.convert(o,!0)),u!=null){const p=this.cachedDatumCallback(UN(e,n?"highlight":"node"),()=>u({seriesId:r,datum:t,highlighted:n,...s,...h}));h??(h={}),Object.assign(h,p)}return h}updateDatumNodes(e){const{datumSelection:t,isHighlight:i}=e,o=this.getItemBaseStyle(i);t.each((s,n)=>{const{datum:r,datumIndex:a,colorValue:l,sizeValue:c,projectedGeometry:d}=n;if(d==null){s.visible=!1,s.projectedGeometry=void 0;return}const u=this.getItemStyleOverrides(String(a),r,l,c,o,i);s.visible=!0,s.projectedGeometry=d,s.stroke=u?.stroke??o.stroke,s.strokeWidth=u?.strokeWidth??o.strokeWidth,s.strokeOpacity=u?.strokeOpacity??o.strokeOpacity,s.lineDash=u?.lineDash??o.lineDash,s.lineDashOffset=u?.lineDashOffset??o.lineDashOffset})}updatePlacedLabelData(e){this.labelSelection=this.labelSelection.update(e,t=>{t.pointerEvents=E.PointerEvents.None}),this.updateLabelNodes({labelSelection:this.labelSelection})}updateLabelNodes(e){const{labelSelection:t}=e,{color:i,fontStyle:o,fontWeight:s,fontSize:n,fontFamily:r}=this.properties.label;t.each((a,{x:l,y:c,width:d,height:u,text:h})=>{a.visible=!0,a.x=l+d/2,a.y=c+u/2,a.text=h,a.fill=i,a.fontStyle=o,a.fontWeight=s,a.fontSize=n,a.fontFamily=r,a.textAlign="center",a.textBaseline="middle"})}resetAnimation(){}getLabelData(){return this.isLabelEnabled()?this.contextNodeData?.labelData??[]:[]}pickNodeClosestDatum({x:e,y:t}){let i=1/0,o;return this.datumSelection.each((s,n)=>{const r=s.distanceSquared(e,t);r<i&&(i=r,o=n)}),o!=null?{datum:o,distance:Math.sqrt(i)}:void 0}datumMidPoint(e){const{_previousDatumMidPoint:t}=this;if(t?.datum===e)return t.point;const i=e.projectedGeometry,o=i!=null?qC(i):void 0,s=o!=null?YC(o)?.point:void 0,n=s!=null?{x:s[0],y:s[1]}:void 0;return this._previousDatumMidPoint={datum:e,point:n},n}legendItemSymbol(e){const{dataModel:t,processedData:i,properties:o}=this,{strokeWidth:s,strokeOpacity:n,lineDash:r}=o;let{stroke:a}=o;if(e!=null&&this.isColorScaleValid()){const c=t.resolveColumnById(this,"colorValue",i)[e];a=this.colorScale.convert(c)}return{marker:{fill:void 0,fillOpacity:0,stroke:void 0,strokeWidth:0,strokeOpacity:0,lineDash:[0],lineDashOffset:0,enabled:!1},line:{stroke:a,strokeWidth:s,strokeOpacity:n,lineDash:r}}}getLegendData(e){const{processedData:t,dataModel:i}=this;if(t==null||i==null)return[];const{id:o,visible:s}=this,{title:n,legendItemName:r,idKey:a,idName:l,colorKey:c,colorName:d,colorRange:u,showInLegend:h}=this.properties;if(e==="gradient"&&c!=null&&u!=null){const p=t.domain.values[i.resolveProcessedDataIndexById(this,"colorValue")];return[{legendType:"gradient",enabled:s,seriesId:o,colorName:d,colorRange:u,colorDomain:p}]}else return e==="category"?[{legendType:"category",id:o,itemId:o,seriesId:o,enabled:s,label:{text:r??n??l??a},symbol:this.legendItemSymbol(),legendItemName:r,hideInLegend:!h}]:[]}getTooltipContent(e){const{id:t,dataModel:i,processedData:o,properties:s}=this,{idKey:n,idName:r,colorKey:a,colorName:l,sizeKey:c,sizeName:d,labelKey:u,labelName:h,title:p,legendItemName:g,tooltip:f}=s;if(!i||!o)return;const{datumIndex:v}=e,y=o.dataSources.get(this.id)?.[v],C=i.resolveColumnById(this,"idValue",o),S=[],x=c!=null?i.resolveColumnById(this,"sizeValue",o)[v]:void 0,D=a!=null?i.resolveColumnById(this,"colorValue",o)[v]:void 0;if(c!=null&&S.push({label:d,fallbackLabel:c,value:String(x)}),a!=null&&S.push({label:l,fallbackLabel:a,value:String(D)}),u!=null&&u!==n){const k=i.resolveColumnById(this,"labelValue",o)[v];S.push({label:h,fallbackLabel:u,value:k})}const A=this.getItemBaseStyle(!1);return Object.assign(A,this.getItemStyleOverrides(String(v),v,D,x,A,!1)),f.formatTooltip({heading:C[v],title:p??g,symbol:this.legendItemSymbol(v),data:S},{seriesId:t,datum:y,title:p,idKey:n,idName:r,colorKey:a,colorName:l,sizeKey:c,sizeName:d,labelKey:u,labelName:h,...A})}computeFocusBounds(e){const t=kV(this,e);return t?Xue.toCanvas(this.contentGroup,t.getBBox()):void 0}};xx.className="MapLineSeries";xx.type="map-line";b([$ue(Ra,{optional:!0,property:"topology"})],xx.prototype,"_chartTopology");var{DEFAULT_DIVERGING_SERIES_COLOR_RANGE:Zue}=E.ThemeSymbols,que={type:"series",optionsKey:"series[]",packageType:"enterprise",chartTypes:["topology"],identifier:"map-line",moduleFactory:e=>new xx(e),tooltipDefaults:{range:"exact"},themeTemplate:{...$y,series:{strokeWidth:1,maxStrokeWidth:3,lineDash:[0],lineDashOffset:0,label:{enabled:!0,fontSize:{$ref:"fontSize"},fontFamily:{$ref:"fontFamily"},fontWeight:{$ref:"fontWeight"},color:{$ref:"textColor"}}}},paletteFactory:e=>{const{takeColors:t,colorsCount:i,userPalette:o,themeTemplateParameters:s}=e,{fill:n}=E.singleSeriesPaletteFactory(e),r=s.get(Zue),{fills:a}=t(i);return{colorRange:o==="inbuilt"?r:[a[0],a[1]],stroke:n}}},Que=(e,t,i)=>{let o=e,s=o;for(const n of t)if(o==null||i(o.value,n)>0)o={value:n,next:o},s=o;else{for(s=s;s.next!=null&&i(s.next.value,n)<=0;)s=s.next;s.next={value:n,next:s.next}}return o};function AV(e,t,i){const o=eu(e[0],void 0);if(o==null)return;const s=(o.lon0+o.lon1)/2,n=(o.lat0+o.lat1)/2,r=Math.abs(o.lon1-o.lon0),a=Math.abs(o.lat1-o.lat0),l=cue(e[0]),[c,d]=l,u=-XC(e,c,d);let h;const p=(D,A)=>{const w=Math.max(A-u,0);return D-.5*w},g=(D,A,k)=>{const{distance:w,maxDistance:M}=i(e,D,A,k),R=Math.hypot(c-D,d-A),L=Math.min(Math.max(c,D-k/2),D+k/2),P=Math.min(Math.max(d,A-k/2),A+k/2),N=Math.hypot(c-L,d-P),O=p(w,R),F=p(M,N);return{distance:w,maxDistance:M,value:O,maxValue:F,x:D,y:A,stride:k}},f=(D,A,k,w)=>{const M=g(A,k,w);M.maxDistance>=0&&D.push(M)},v=Math.min(r,a)/2;let y={value:g(s,n,v),next:null};for(;y!=null;){const D=y.value,{distance:A,value:k,maxValue:w,x:M,y:R,stride:L}=D;if(y=y.next,A>0&&(h==null||k>h.value)&&(h=D),h!=null&&w-h.value<=t)continue;const P=L/2,N=[];f(N,M-P,R-P,P),f(N,M+P,R-P,P),f(N,M-P,R+P,P),f(N,M+P,R+P,P),N.sort(YN),y=Que(y,N,YN)}if(h==null)return;const{distance:C,x:S,y:x}=h;return{x:S,y:x,distance:C}}var YN=(e,t)=>t.maxValue-e.maxValue;function wD(e,t){const i=AV(e,t,(n,r,a,l)=>{const c=-XC(n,r,a),d=c+l*Math.SQRT2;return{distance:c,maxDistance:d}});if(i==null)return;const{x:o,y:s}=i;return[o,s]}function RV(e,t){let i;switch(e.type){case"GeometryCollection":return e.geometries.flatMap(o=>RV(o,t));case"MultiPoint":return e.coordinates;case"Point":return[e.coordinates];case"MultiPolygon":{const o=ZC(e);i=o!=null?wD(o,t):void 0;break}case"Polygon":{const o=e.coordinates;i=o!=null?wD(o,t):void 0;break}case"MultiLineString":{const o=qC(e);i=o!=null?YC(o)?.point:void 0;break}case"LineString":{const o=e.coordinates;i=YC(o)?.point;break}}return i!=null?[i]:[]}var{AND:Jue,ARRAY:ehe,COLOR_STRING:TV,COLOR_STRING_ARRAY:the,FUNCTION:ihe,NUMBER_ARRAY:ohe,OBJECT:LV,POSITIVE_NUMBER:wx,RATIO:EV,STRING:Vo,MARKER_SHAPE:she,LINE_DASH:nhe,Validate:gt,SeriesProperties:rhe,SeriesTooltip:ahe,Label:lhe}=E,PV=class extends lhe{constructor(){super(...arguments),this.placement="bottom"}};b([gt(Vo)],PV.prototype,"placement");var ft=class extends rhe{constructor(){super(...arguments),this.topology=void 0,this.idKey=void 0,this.topologyIdKey="name",this.idName=void 0,this.latitudeKey=void 0,this.latitudeName=void 0,this.longitudeKey=void 0,this.longitudeName=void 0,this.labelKey=void 0,this.labelName=void 0,this.colorRange=void 0,this.shape="circle",this.size=6,this.fill="black",this.fillOpacity=1,this.stroke="black",this.strokeWidth=1,this.strokeOpacity=1,this.lineDash=[0],this.lineDashOffset=0,this.label=new PV,this.tooltip=new ahe}isValid(){const e=super.isValid(),t=this.idKey!=null,i=this.latitudeKey!=null&&this.longitudeKey!=null;return!t&&!i?(at.warnOnce("Either both [topology] and [idKey] or both [latitudeKey] and [longitudeKey] must be set to render a map marker series."),!1):e}};b([gt(Ra,{optional:!0})],ft.prototype,"topology");b([gt(Vo,{optional:!0})],ft.prototype,"title");b([gt(Vo,{optional:!0})],ft.prototype,"legendItemName");b([gt(Vo,{optional:!0})],ft.prototype,"idKey");b([gt(Vo)],ft.prototype,"topologyIdKey");b([gt(Vo,{optional:!0})],ft.prototype,"idName");b([gt(Vo,{optional:!0})],ft.prototype,"latitudeKey");b([gt(Vo,{optional:!0})],ft.prototype,"latitudeName");b([gt(Vo,{optional:!0})],ft.prototype,"longitudeKey");b([gt(Vo,{optional:!0})],ft.prototype,"longitudeName");b([gt(Vo,{optional:!0})],ft.prototype,"labelKey");b([gt(Vo,{optional:!0})],ft.prototype,"labelName");b([gt(Vo,{optional:!0})],ft.prototype,"sizeKey");b([gt(Vo,{optional:!0})],ft.prototype,"sizeName");b([gt(Vo,{optional:!0})],ft.prototype,"colorKey");b([gt(Vo,{optional:!0})],ft.prototype,"colorName");b([gt(Jue(the,ehe.restrict({minLength:1})),{optional:!0})],ft.prototype,"colorRange");b([gt(she)],ft.prototype,"shape");b([gt(wx)],ft.prototype,"size");b([gt(wx,{optional:!0})],ft.prototype,"maxSize");b([gt(ohe,{optional:!0})],ft.prototype,"sizeDomain");b([gt(TV)],ft.prototype,"fill");b([gt(EV)],ft.prototype,"fillOpacity");b([gt(TV)],ft.prototype,"stroke");b([gt(wx)],ft.prototype,"strokeWidth");b([gt(EV)],ft.prototype,"strokeOpacity");b([gt(nhe)],ft.prototype,"lineDash");b([gt(wx)],ft.prototype,"lineDashOffset");b([gt(ihe,{optional:!0})],ft.prototype,"itemStyler");b([gt(LV)],ft.prototype,"label");b([gt(LV)],ft.prototype,"tooltip");var{CachedTextMeasurerPool:che,Validate:dhe,fromToMotion:uhe,StateMachine:hhe,getMissCount:phe,createDatumId:XN,SeriesNodePickMode:ZN,valueProperty:Nd,computeMarkerFocusBounds:ghe,ColorScale:fhe,LinearScale:mhe,Group:yhe,Selection:yM,Text:vhe,Marker:vM,applyShapeStyle:bhe}=E,Mx=class extends Uy{constructor(e){super({moduleCtx:e,useLabelLayer:!0,pickModes:[ZN.EXACT_SHAPE_MATCH,ZN.NEAREST_NODE],usesPlacedLabels:!0}),this.properties=new ft,this._chartTopology=void 0,this.colorScale=new fhe,this.sizeScale=new mhe,this.markerGroup=this.contentGroup.appendChild(new yhe({name:"markerGroup"})),this.labelSelection=yM.select(this.labelGroup,vhe,!1),this.markerSelection=yM.select(this.markerGroup,vM,!1),this.highlightMarkerSelection=yM.select(this.highlightNode,vM),this.animationState=new hhe("empty",{empty:{update:{target:"ready",action:()=>this.animateMarkers()},reset:"empty",skip:"ready"},ready:{updateData:"waiting",clear:"clearing",resize:()=>this.resetAllAnimation(),reset:"empty",skip:"ready"},waiting:{update:{target:"ready",action:()=>this.animateMarkers()},resize:{target:"ready",action:()=>this.resetAllAnimation()},reset:"empty",skip:"ready"},clearing:{update:{target:"empty",action:()=>this.resetAllAnimation()},reset:"empty",skip:"ready"}},()=>this.checkProcessedDataAnimatable())}getNodeData(){return this.contextNodeData?.nodeData}get topology(){return this.properties.topology??this._chartTopology}get hasData(){const e=this.properties.latitudeKey!=null&&this.properties.longitudeKey!=null;return super.hasData&&(this.topology!=null||e)}renderToOffscreenCanvas(){return!0}setChartTopology(e){this._chartTopology=e,this.topology===e&&(this.nodeDataRefresh=!0)}setSeriesIndex(e){return super.setSeriesIndex(e)?(this.contentGroup.zIndex=[3,e],this.highlightGroup.zIndex=[4,e],!0):!1}isLabelEnabled(){return this.properties.labelKey!=null&&this.properties.label.enabled}async processData(e){if(this.data==null||!this.properties.isValid())return;const{data:t,topology:i,sizeScale:o,colorScale:s}=this,{topologyIdKey:n,idKey:r,latitudeKey:a,longitudeKey:l,sizeKey:c,colorKey:d,labelKey:u,sizeDomain:h,colorRange:p}=this.properties,g=new Map;i?.features.forEach(w=>{const M=w.properties?.[n];M!=null&&g.set(M,w)});const f=this.sizeScale.type,v=this.colorScale.type,y=this.scale?.type,C=a!=null&&l!=null,{dataModel:S,processedData:x}=await this.requestDataModel(e,t,{props:[...r!=null?[Nd(r,y,{id:"idValue",includeProperty:!1}),Nd(r,y,{id:"featureValue",includeProperty:!1,processor:()=>w=>g.get(w)})]:[],...C?[Nd(a,y,{id:"latValue"}),Nd(l,y,{id:"lonValue"})]:[],...u?[Nd(u,"band",{id:"labelValue"})]:[],...c?[Nd(c,f,{id:"sizeValue"})]:[],...d?[Nd(d,v,{id:"colorValue"})]:[]]}),D=r!=null?S.resolveColumnById(this,"featureValue",x):void 0,A=C?S.resolveColumnById(this,"latValue",x):void 0,k=C?S.resolveColumnById(this,"lonValue",x):void 0;if(this.topologyBounds=x.dataSources.get(this.id)?.reduce((w,M,R)=>{const P=D?.[R]?.geometry;if(P!=null&&(w=yg(P,w)),A!=null&&k!=null){const N=k[R],O=A[R];w=Rf(w,N,O,N,O)}return w},void 0),c!=null){const w=S.resolveProcessedDataIndexById(this,"sizeValue"),M=x.domain.values[w]??[];o.domain=h??M}if(p!=null&&this.isColorScaleValid()){const w=S.resolveProcessedDataIndexById(this,"colorValue");s.domain=x.domain.values[w],s.range=p,s.update()}this.animationState.transition("updateData")}isColorScaleValid(){const{colorKey:e}=this.properties;if(!e)return!1;const{dataModel:t,processedData:i}=this;if(!t||!i)return!1;const o=t.resolveProcessedDataIndexById(this,"colorValue"),s=i.input.count,n=phe(this,i.defs.values[o].missing);return!(s===0||s===n)}getLabelDatum(e,t,i,o,s,n){if(t==null)return;const{idKey:r,idName:a,latitudeKey:l,latitudeName:c,longitudeKey:d,longitudeName:u,sizeKey:h,sizeName:p,colorKey:g,colorName:f,labelKey:v,labelName:y,label:C,shape:S}=this.properties,{placement:x}=C,D=this.getLabelText(C,{value:t,datum:e,idKey:r,idName:a,latitudeKey:l,latitudeName:c,longitudeKey:d,longitudeName:u,sizeKey:h,sizeName:p,colorKey:g,colorName:f,labelKey:v,labelName:y});if(D==null)return;const{width:A,height:k}=che.measureText(String(D),{font:n}),w=vM.anchor(S);return{point:{x:i,y:o,size:s},label:{width:A,height:k,text:D},anchor:w,placement:x}}createNodeData(){const{id:e,dataModel:t,processedData:i,sizeScale:o,properties:s,scale:n}=this,{idKey:r,latitudeKey:a,longitudeKey:l,sizeKey:c,colorKey:d,labelKey:u,label:h}=s;if(t==null||i==null||n==null)return;const p=a!=null&&l!=null,g=r!=null?t.resolveColumnById(this,"idValue",i):void 0,f=r!=null?t.resolveColumnById(this,"featureValue",i):void 0,v=p?t.resolveColumnById(this,"latValue",i):void 0,y=p?t.resolveColumnById(this,"lonValue",i):void 0,C=u!=null?t.resolveColumnById(this,"labelValue",i):void 0,S=c!=null?t.resolveColumnById(this,"sizeValue",i):void 0,x=d!=null?t.resolveColumnById(this,"colorValue",i):void 0,D=s.maxSize??s.size;o.range=[Math.min(s.size,D),D];const A=h.getFont();let k;g!=null&&f!=null&&(k=new Map,i.dataSources.get(this.id)?.forEach((N,O)=>{const F=g[O],z=f[O]?.geometry??void 0,_=z!=null&&n!=null?_c(z,n):void 0;F!=null&&_!=null&&k.set(F,_)}));const w=[],M=[],R=[];(i.dataSources.get(this.id)??[]).forEach((N,O)=>{const F=g?.[O],z=y?.[O],_=v?.[O],V=x?.[O],G=S?.[O],H=C?.[O],B=G!=null?o.convert(G,!0):s.size,W=F!=null?k?.get(F):void 0;if(F!=null&&_c==null&&R.push(F),z!=null&&_!=null){const[j,U]=n.convert([z,_]),ee=this.getLabelDatum(N,H,j,U,B,A);ee&&M.push(ee),w.push({series:this,itemId:a,datum:N,datumIndex:O,index:-1,idValue:F,lonValue:z,latValue:_,labelValue:H,sizeValue:G,colorValue:V,point:{x:j,y:U,size:B},midPoint:{x:j,y:U}})}else W!=null&&RV(W,1).forEach(([j,U],ee)=>{const q=this.getLabelDatum(N,H,j,U,B,A);q&&M.push(q),w.push({series:this,itemId:a,datum:N,datumIndex:O,index:ee,idValue:F,lonValue:z,latValue:_,labelValue:H,sizeValue:G,colorValue:V,point:{x:j,y:U,size:B},midPoint:{x:j,y:U}})})});const P=10;if(R.length>P){const N=R.length-P;R.length=P,R.push(`(+${N} more)`)}return R.length>0&&at.warnOnce("some data items do not have matches in the provided topology",R),{itemId:e,nodeData:w,labelData:M}}updateSelections(){this.nodeDataRefresh&&(this.contextNodeData=this.createNodeData(),this.nodeDataRefresh=!1)}checkScaleChange(){return this.previousScale===this.scale?!1:(this.previousScale=this.scale,!0)}update({seriesRect:e}){const t=this.checkResize(e),i=this.checkScaleChange(),{markerSelection:o,highlightMarkerSelection:s}=this;this.updateSelections(),this.contentGroup.visible=this.visible,this.contentGroup.opacity=this.getOpacity();let n=this.ctx.highlightManager?.getActiveHighlight();n!=null&&(n.series!==this||n.datum==null)&&(n=void 0);const r=this.contextNodeData?.nodeData??[];this.markerSelection=this.updateMarkerSelection({markerData:r,markerSelection:o}),this.updateMarkerNodes({markerSelection:o,isHighlight:!1,highlightedDatum:n}),this.highlightMarkerSelection=this.updateMarkerSelection({markerData:n!=null?[n]:[],markerSelection:s}),this.updateMarkerNodes({markerSelection:s,isHighlight:!0,highlightedDatum:n}),(i||t)&&this.animationState.transition("resize"),this.animationState.transition("update")}updatePlacedLabelData(e){this.labelSelection=this.labelSelection.update(e,t=>{t.pointerEvents=E.PointerEvents.None}),this.updateLabelNodes({labelSelection:this.labelSelection})}updateLabelNodes(e){const{labelSelection:t}=e,{color:i,fontStyle:o,fontWeight:s,fontSize:n,fontFamily:r}=this.properties.label;t.each((a,{x:l,y:c,width:d,height:u,text:h})=>{a.visible=!0,a.x=l+d/2,a.y=c+u/2,a.text=h,a.fill=i,a.fontStyle=o,a.fontWeight=s,a.fontSize=n,a.fontFamily=r,a.textAlign="center",a.textBaseline="middle"})}updateMarkerSelection(e){const{markerData:t,markerSelection:i}=e;return i.update(t,void 0,o=>XN([o.index,o.idValue,o.lonValue,o.latValue]))}getMarkerItemBaseStyle(e){const{properties:t}=this,i=e?t.highlightStyle.item:void 0;return{shape:t.shape,size:t.size,fill:i?.fill??t.fill,fillOpacity:i?.fillOpacity??t.fillOpacity,stroke:i?.stroke??t.stroke,strokeWidth:i?.strokeWidth??this.getStrokeWidth(t.strokeWidth),strokeOpacity:i?.strokeOpacity??t.strokeOpacity,lineDash:i?.lineDash??t.lineDash,lineDashOffset:i?.lineDashOffset??t.lineDashOffset}}getMarkerItemStyleOverrides(e,t,i,o,s,n){const{id:r,properties:a,colorScale:l,sizeScale:c}=this,{colorRange:d,itemStyler:u}=a;let h;if(!n&&i!=null&&(h??(h={}),h.fill=this.isColorScaleValid()?l.convert(i):d?.[0]??a.fill),o!=null&&(h??(h={}),h.size=c.convert(o,!0)),u!=null){const p=this.cachedDatumCallback(XN(e,n?"highlight":"node"),()=>u({seriesId:r,datum:t,highlighted:n,...s,...h}));h??(h={}),Object.assign(h,p)}return h}updateMarkerNodes(e){const{markerSelection:t,isHighlight:i,highlightedDatum:o}=e,s=this.getMarkerItemBaseStyle(i);t.each((n,r)=>{const{datumIndex:a,datum:l,point:c,colorValue:d,sizeValue:u}=r,h=this.getMarkerItemStyleOverrides(String(a),l,d,u,s,i);n.shape=h?.shape??s.shape,n.size=h?.size??s.size,bhe(n,s,h),n.translationX=c.x,n.translationY=c.y,n.zIndex=!i&&o!=null&&l===o.datum?1:0})}isProcessedDataAnimatable(){return!0}resetAnimation(e){e==="initial"?this.animationState.transition("reset"):e==="ready"&&this.animationState.transition("skip")}resetAllAnimation(){this.ctx.animationManager.stopByAnimationGroupId(this.id),this.ctx.animationManager.skipCurrentBatch(),this.labelSelection.cleanup(),this.markerSelection.cleanup(),this.highlightMarkerSelection.cleanup()}animateMarkers(){const{animationManager:e}=this.ctx,t=Lue();uhe(this.id,"markers",e,[this.markerSelection,this.highlightMarkerSelection],t)}getLabelData(){return this.isLabelEnabled()?this.contextNodeData?.labelData??[]:[]}pickNodeClosestDatum(e){const{x:t,y:i}=e;let o=1/0,s;return this.contextNodeData?.nodeData.forEach(n=>{const{x:r,y:a,size:l}=n.point,c=Math.max(Math.abs(r-t)-l,0),d=Math.max(Math.abs(a-i)-l,0),u=c*c+d*d;u<o&&(o=u,s=n)}),s!=null?{datum:s,distance:Math.sqrt(o)}:void 0}legendItemSymbol(e){const{dataModel:t,processedData:i,properties:o}=this,{shape:s,fillOpacity:n,stroke:r,strokeWidth:a,strokeOpacity:l,lineDash:c,lineDashOffset:d}=o;let{fill:u}=o;if(e!=null&&this.isColorScaleValid()){const p=t.resolveColumnById(this,"colorValue",i)[e];u=this.colorScale.convert(p)}return{marker:{shape:s,fill:u,fillOpacity:n,stroke:r,strokeWidth:a,strokeOpacity:l,lineDash:c,lineDashOffset:d}}}getLegendData(e){const{processedData:t,dataModel:i}=this;if(t==null||i==null)return[];const{id:o,visible:s}=this,{title:n,legendItemName:r,idName:a,idKey:l,colorKey:c,colorName:d,colorRange:u,showInLegend:h}=this.properties;if(e==="gradient"&&c!=null&&u!=null){const p=t.domain.values[i.resolveProcessedDataIndexById(this,"colorValue")];return[{legendType:"gradient",enabled:s,seriesId:o,colorName:d,colorRange:u,colorDomain:p}]}else return e==="category"?[{legendType:"category",id:o,itemId:o,seriesId:o,enabled:s,label:{text:r??n??a??l??o},symbol:this.legendItemSymbol(),legendItemName:r,hideInLegend:!h}]:[]}getTooltipContent(e){const{id:t,dataModel:i,processedData:o,properties:s}=this,{idKey:n,idName:r,latitudeKey:a,latitudeName:l,longitudeKey:c,longitudeName:d,colorKey:u,colorName:h,sizeKey:p,sizeName:g,labelKey:f,labelName:v,title:y,legendItemName:C,tooltip:S}=s;if(!i||!o)return;const{datumIndex:x}=e,D=o.dataSources.get(this.id)?.[x],A=p!=null?i.resolveColumnById(this,"sizeValue",o)[x]:void 0,k=u!=null?i.resolveColumnById(this,"colorValue",o)[x]:void 0,w=[];if(A!=null&&w.push({label:g,fallbackLabel:p,value:String(A)}),k!=null&&w.push({label:h,fallbackLabel:u,value:String(k)}),f!=null&&f!==n){const L=i.resolveColumnById(this,"labelValue",o)[x];w.push({label:v,fallbackLabel:f,value:L})}let M;if(n!=null)M=i.resolveColumnById(this,"idValue",o)[x];else if(a!=null&&c!=null){const L=i.resolveColumnById(this,"latValue",o)[x],P=i.resolveColumnById(this,"lonValue",o)[x];M=`${Math.abs(L).toFixed(4)}° ${L>=0?"N":"S"}, ${Math.abs(P).toFixed(4)}° ${P>=0?"W":"E"}`}const R=this.getMarkerItemBaseStyle(!1);return Object.assign(R,this.getMarkerItemStyleOverrides(String(x),x,k,A,R,!1)),S.formatTooltip({heading:M,title:y??C,symbol:this.legendItemSymbol(x),data:w},{seriesId:t,datum:D,title:y,idKey:n,idName:r,latitudeKey:a,latitudeName:l,longitudeKey:c,longitudeName:d,colorKey:u,colorName:h,sizeKey:p,sizeName:g,labelKey:f,labelName:v,...R})}getFormattedMarkerStyle(e){const{datumIndex:t,colorValue:i,sizeValue:o}=e,s=this.getMarkerItemBaseStyle(!1);return Object.assign(s,this.getMarkerItemStyleOverrides(String(t),t,i,o,s,!1)),{size:s.size}}computeFocusBounds(e){return ghe(this,e)}};Mx.className="MapMarkerSeries";Mx.type="map-marker";b([dhe(Ra,{optional:!0,property:"topology"})],Mx.prototype,"_chartTopology");var{DEFAULT_DIVERGING_SERIES_COLOR_RANGE:Che}=E.ThemeSymbols,She={type:"series",optionsKey:"series[]",packageType:"enterprise",chartTypes:["topology"],identifier:"map-marker",moduleFactory:e=>new Mx(e),tooltipDefaults:{range:"exact"},themeTemplate:{...$y,series:{shape:"circle",maxSize:30,fillOpacity:.5,label:{color:{$ref:"textColor"}}}},paletteFactory:e=>{const{takeColors:t,colorsCount:i,userPalette:o,themeTemplateParameters:s}=e,{fill:n,stroke:r}=E.singleSeriesPaletteFactory(e),a=s.get(Che),{fills:l}=t(i);return{fill:n,stroke:r,colorRange:o==="inbuilt"?a:[l[0],l[1]]}}},{COLOR_STRING:NV,LINE_DASH:xhe,OBJECT:whe,POSITIVE_NUMBER:OV,RATIO:FV,Validate:Hl,SeriesProperties:Mhe,SeriesTooltip:Dhe}=E,Ta=class extends Mhe{constructor(){super(...arguments),this.topology=void 0,this.fill="black",this.fillOpacity=1,this.stroke="black",this.strokeOpacity=1,this.strokeWidth=0,this.lineDash=[0],this.lineDashOffset=0,this.tooltip=new Dhe}};b([Hl(Ra,{optional:!0})],Ta.prototype,"topology");b([Hl(NV)],Ta.prototype,"fill");b([Hl(FV)],Ta.prototype,"fillOpacity");b([Hl(NV)],Ta.prototype,"stroke");b([Hl(FV)],Ta.prototype,"strokeOpacity");b([Hl(OV)],Ta.prototype,"strokeWidth");b([Hl(xhe)],Ta.prototype,"lineDash");b([Hl(OV)],Ta.prototype,"lineDashOffset");b([Hl(whe)],Ta.prototype,"tooltip");var{createDatumId:khe,SeriesNodePickMode:Ihe,Validate:Ahe,Selection:Rhe,Group:The,PointerEvents:Lhe}=E,Dx=class extends Uy{constructor(e){super({moduleCtx:e,useLabelLayer:!0,pickModes:[Ihe.EXACT_SHAPE_MATCH]}),this.properties=new Ta,this._chartTopology=void 0,this.itemGroup=this.contentGroup.appendChild(new The({name:"itemGroup"})),this.datumSelection=Rhe.select(this.itemGroup,()=>this.nodeFactory())}get topology(){return this.properties.topology??this._chartTopology}get focusable(){return!1}setOptionsData(){}setChartData(){}getNodeData(){}get hasData(){return!1}renderToOffscreenCanvas(){return!0}setChartTopology(e){this._chartTopology=e,this.topology===e&&(this.nodeDataRefresh=!0)}setSeriesIndex(e){return super.setSeriesIndex(e)?(this.contentGroup.zIndex=[0,e,0],this.highlightGroup.zIndex=[0,e,1],!0):!1}nodeFactory(){const e=new mg;return e.renderMode=1,e.lineJoin="round",e.pointerEvents=Lhe.None,e}processData(){const{topology:e}=this;this.topologyBounds=e?.features.reduce((t,i)=>{const o=i.geometry;return o==null?t:yg(o,t)},void 0),e==null&&at.warnOnce("no topology was provided for [MapShapeBackgroundSeries]; nothing will be rendered.")}createNodeData(){const{id:e,topology:t,scale:i}=this;if(t==null)return;const o=[],s=[];return t.features.forEach((n,r)=>{const{geometry:a}=n,l=a!=null&&i!=null?_c(a,i):void 0;l!=null&&o.push({series:this,itemId:r,datum:n,datumIndex:0,index:r,projectedGeometry:l})}),{itemId:e,nodeData:o,labelData:s}}updateSelections(){this.nodeDataRefresh&&(this.contextNodeData=this.createNodeData(),this.nodeDataRefresh=!1)}update(){const{datumSelection:e}=this;this.updateSelections(),this.contentGroup.visible=this.visible;const{nodeData:t=[]}=this.contextNodeData??{};this.datumSelection=this.updateDatumSelection({nodeData:t,datumSelection:e}),this.updateDatumNodes({datumSelection:e})}updateDatumSelection(e){return e.datumSelection.update(e.nodeData,void 0,t=>khe(t.index))}updateDatumNodes(e){const{properties:t}=this,{datumSelection:i}=e,{fill:o,fillOpacity:s,stroke:n,strokeOpacity:r,lineDash:a,lineDashOffset:l}=t,c=this.getStrokeWidth(t.strokeWidth);i.each((d,u)=>{const{projectedGeometry:h}=u;if(h==null){d.visible=!1,d.projectedGeometry=void 0;return}d.visible=!0,d.projectedGeometry=h,d.fill=o,d.fillOpacity=s,d.stroke=n,d.strokeWidth=c,d.strokeOpacity=r,d.lineDash=a,d.lineDashOffset=l})}resetAnimation(){}getLegendData(){return[]}getTooltipContent(e){}pickFocus(){}computeFocusBounds(e){}};Dx.className="MapShapeBackgroundSeries";Dx.type="map-shape-background";b([Ahe(Ra,{optional:!0,property:"topology"})],Dx.prototype,"_chartTopology");var{DEFAULT_HIERARCHY_FILLS:Ehe}=E.ThemeSymbols,Phe={type:"series",optionsKey:"series[]",packageType:"enterprise",chartTypes:["topology"],identifier:"map-shape-background",moduleFactory:e=>new Dx(e),tooltipDefaults:{range:"exact"},themeTemplate:{...$y,series:{stroke:{$ref:"backgroundColor"},strokeWidth:1}},paletteFactory:({themeTemplateParameters:e})=>({fill:e.get(Ehe)?.[1]})};function Nhe(e,{aspectRatio:t,precision:i}){const o=AV(e,i,(l,c,d,u)=>{const h=Fhe(l,c,d,t),p=h+2*u*t,g=h*Math.SQRT2,f=p*Math.SQRT2;return{distance:g,maxDistance:f}});if(o==null)return;const{x:s,y:n,distance:r}=o,a=r/Math.SQRT2;return{x:s,y:n,maxWidth:a}}function Ohe(e,t,i,o,s){const[n,r]=e,[a,l]=t,c=1/s,d=a-n,u=l-r,[h,p]=r<=l?e:t,[g,f]=n<=a?e:t,[v,y]=r<=l?t:e,[C,S]=n<=a?t:e;let x=1/0;if(d!==0){const R=u/d;for(let L=0;L<=1;L+=1){const P=L===0?c:-c,N=(R*n-r-P*i+o)/(R-P);if(N>=g&&N<=C){const O=Math.abs(i-N)*2;x=Math.min(x,O)}}}else for(let R=0;R<=1;R+=1){const P=(R===0?c:-c)*(n-i)+o;if(P>=p&&P<=y){const O=Math.abs(o-P)*2*s;x=Math.min(x,O)}}const D=s,A=Math.abs((h-i)/(p-o)),k=Math.abs((v-i)/(y-o));if(y<o&&k<D){const L=Math.abs(o-y)*2*s;x=Math.min(x,L)}else if(p>o&&A<D){const L=Math.abs(o-p)*2*s;x=Math.min(x,L)}const w=Math.abs((f-o)/(g-i)),M=Math.abs((S-o)/(C-i));if(C<i&&M<c){const R=Math.abs(i-C)*2;x=Math.min(x,R)}else if(g>i&&w<c){const R=Math.abs(i-g)*2;x=Math.min(x,R)}return x}function Fhe(e,t,i,o){let s=!1,n=1/0;for(const r of e){let a=r[r.length-1],[l,c]=a;for(const d of r){const[u,h]=d;h>i!=c>i&&t<(l-u)*(i-h)/(c-h)+u&&(s=!s);const p=Ohe(a,d,t,i,o);n=Math.min(n,p),a=d,l=u,c=h}}return(s?1:-1)*n}function ib(e,t,i){i>=t&&(e.maxX=Math.min(e.maxX,i-t)),i<=t&&(e.minX=Math.max(e.minX,i-t))}function Bhe(e,t,i,o,s,n){const r=s-n/2,a=s+n/2,[l,c]=t,[d,u]=i,h=d-l,p=u-c,[g,f]=l<=d?t:i,[v,y]=l<=d?i:t;if(h!==0){const C=p/h;for(let S=0;S<=1;S+=1){const D=((S===0?r:a)-c)/C+l;D>=g&&D<=v&&ib(e,o,D)}}else Math.max(r,Math.min(c,u))<=Math.min(a,Math.max(c,u))&&ib(e,o,l);return v<o&&y>=r&&y<=a?ib(e,o,v):g>o&&f>=r&&f<=a&&ib(e,o,g),e}function Ghe(e,t,i,o){const s={minX:-1/0,maxX:1/0};for(const a of e){let l=a[a.length-1];for(const c of a)Bhe(s,l,c,t,i,o),l=c}const{minX:n,maxX:r}=s;return Number.isFinite(n)&&Number.isFinite(r)?{x:t+(n+r)/2,width:r-n}:{x:t,width:0}}var{AND:zhe,ARRAY:_he,COLOR_STRING:BV,COLOR_STRING_ARRAY:Vhe,FUNCTION:Hhe,LINE_DASH:Whe,OBJECT:GV,POSITIVE_NUMBER:aT,RATIO:zV,STRING:Wl,Validate:si,SeriesProperties:jhe,SeriesTooltip:$he}=E,ei=class extends jhe{constructor(){super(...arguments),this.topology=void 0,this.idKey="",this.idName=void 0,this.topologyIdKey="name",this.labelKey=void 0,this.labelName=void 0,this.colorRange=void 0,this.fill="black",this.fillOpacity=1,this.stroke="black",this.strokeOpacity=1,this.strokeWidth=0,this.lineDash=[0],this.lineDashOffset=0,this.padding=0,this.label=new Wy,this.tooltip=new $he}};b([si(Ra,{optional:!0})],ei.prototype,"topology");b([si(Wl,{optional:!0})],ei.prototype,"title");b([si(Wl,{optional:!0})],ei.prototype,"legendItemName");b([si(Wl)],ei.prototype,"idKey");b([si(Wl,{optional:!0})],ei.prototype,"idName");b([si(Wl)],ei.prototype,"topologyIdKey");b([si(Wl,{optional:!0})],ei.prototype,"labelKey");b([si(Wl,{optional:!0})],ei.prototype,"labelName");b([si(Wl,{optional:!0})],ei.prototype,"colorKey");b([si(Wl,{optional:!0})],ei.prototype,"colorName");b([si(zhe(Vhe,_he.restrict({minLength:1})),{optional:!0})],ei.prototype,"colorRange");b([si(BV)],ei.prototype,"fill");b([si(zV)],ei.prototype,"fillOpacity");b([si(BV)],ei.prototype,"stroke");b([si(zV)],ei.prototype,"strokeOpacity");b([si(aT)],ei.prototype,"strokeWidth");b([si(Whe)],ei.prototype,"lineDash");b([si(aT)],ei.prototype,"lineDashOffset");b([si(aT)],ei.prototype,"padding");b([si(Hhe,{optional:!0})],ei.prototype,"itemStyler");b([si(GV)],ei.prototype,"label");b([si(GV)],ei.prototype,"tooltip");var{getMissCount:Uhe,createDatumId:qN,SeriesNodePickMode:QN,valueProperty:ob,Validate:Khe,CachedTextMeasurerPool:Yhe,TextUtils:JN,ColorScale:Xhe,Group:eO,Selection:bM,Text:Zhe,PointerEvents:qhe,applyShapeStyle:Qhe}=E,tO=E.MercatorScale.fixedScale(),kx=class extends Uy{constructor(e){super({moduleCtx:e,useLabelLayer:!0,pickModes:[QN.EXACT_SHAPE_MATCH,QN.NEAREST_NODE]}),this.properties=new ei,this._chartTopology=void 0,this.colorScale=new Xhe,this.itemGroup=this.contentGroup.appendChild(new eO({name:"itemGroup"})),this.itemLabelGroup=this.contentGroup.appendChild(new eO({name:"itemLabelGroup"})),this.datumSelection=bM.select(this.itemGroup,()=>this.nodeFactory()),this.labelSelection=bM.select(this.itemLabelGroup,Zhe),this.highlightDatumSelection=bM.select(this.highlightNode,()=>this.nodeFactory()),this.previousLabelLayouts=void 0,this._previousDatumMidPoint=void 0,this.itemLabelGroup.pointerEvents=qhe.None}getNodeData(){return this.contextNodeData?.nodeData}get topology(){return this.properties.topology??this._chartTopology}get hasData(){return super.hasData&&this.topology!=null}renderToOffscreenCanvas(){return!0}setChartTopology(e){this._chartTopology=e,this.topology===e&&(this.nodeDataRefresh=!0)}setSeriesIndex(e){return super.setSeriesIndex(e)?(this.contentGroup.zIndex=[1,e],this.highlightGroup.zIndex=[2,e],!0):!1}isLabelEnabled(){return this.properties.labelKey!=null&&this.properties.label.enabled}nodeFactory(){const e=new mg;return e.renderMode=1,e.lineJoin="round",e}async processData(e){if(this.data==null||!this.properties.isValid())return;const{data:t,topology:i,colorScale:o}=this,{topologyIdKey:s,idKey:n,colorKey:r,labelKey:a,colorRange:l}=this.properties,c=new Map;i?.features.forEach(f=>{const v=f.properties?.[s];v==null||!nT(f.geometry,1)||c.set(v,f)});const d=this.colorScale.type,u=this.scale?.type,{dataModel:h,processedData:p}=await this.requestDataModel(e,t,{props:[ob(n,u,{id:"idValue",includeProperty:!1}),ob(n,u,{id:"featureValue",includeProperty:!1,processor:()=>f=>c.get(f)}),...a?[ob(a,"band",{id:"labelValue"})]:[],...r?[ob(r,d,{id:"colorValue"})]:[]]}),g=h.resolveColumnById(this,"featureValue",p);if(this.topologyBounds=g.reduce((f,v)=>{const y=v?.geometry;return y==null?f:yg(y,f)},void 0),l!=null&&this.isColorScaleValid()){const f=h.resolveProcessedDataIndexById(this,"colorValue");o.domain=p.domain.values[f],o.range=l,o.update()}i==null&&at.warnOnce("no topology was provided for [MapShapeSeries]; nothing will be rendered.")}isColorScaleValid(){const{colorKey:e}=this.properties;if(!e)return!1;const{dataModel:t,processedData:i}=this;if(!t||!i)return!1;const o=t.resolveProcessedDataIndexById(this,"colorValue"),s=i.input.count,n=Uhe(this,i.defs.values[o].missing);return!(s===0||s===n)}getLabelLayout(e,t,i,o,s){if(t==null||o==null)return;const{idKey:n,idName:r,colorKey:a,colorName:l,labelKey:c,labelName:d,padding:u,label:h}=this.properties,p=this.getLabelText(h,{value:t,datum:e,idKey:n,idName:r,colorKey:a,colorName:l,labelKey:c,labelName:d});if(p==null)return;const g=Yhe.measureText(String(p),{font:i}),f=p.split(`
|
|
19
19
|
`).length,v=(g.width+2*u)/(f*JN.getLineHeight(h.fontSize)+2*u);if(s?.geometry===o&&s?.labelText===p&&s?.aspectRatio===v)return s;const y=_c(o,tO),C=ZC(y);if(C==null)return;const S=Nhe(C,{aspectRatio:v,precision:.001});if(S==null)return;const{x,y:D,maxWidth:A}=S;return{geometry:o,labelText:p,aspectRatio:v,x,y:D,maxWidth:A,fixedPolygon:C}}getLabelDatum(e,t){const{scale:i}=this;if(i==null)return;const{padding:o,label:s}=this.properties,{labelText:n,aspectRatio:r,x:a,y:l,maxWidth:c,fixedPolygon:d}=e,u={width:Math.ceil(c*t),height:Math.ceil(c*t/r),meta:a},h=Mm(n,s,{padding:o},(x,D)=>{if(!D)return u;const A=Ghe(d,a,l,x/t);return{width:A.width*t,height:x,meta:A.x}});if(h==null)return;const[{text:p,fontSize:g,lineHeight:f,width:v},y]=h;if(p===JN.EllipsisChar)return;const C=v<u.width?a:y,S=this.scale.convert(tO.invert([C,l]));return{x:S[0],y:S[1],text:p,fontSize:g,lineHeight:f}}createNodeData(){const{id:e,dataModel:t,processedData:i,properties:o,scale:s,previousLabelLayouts:n}=this,{idKey:r,colorKey:a,labelKey:l,label:c}=o;if(t==null||i==null)return;const d=s!=null?(s.range[1][0]-s.range[0][0])/s.bounds.width:NaN,u=t.resolveColumnById(this,"idValue",i),h=t.resolveColumnById(this,"featureValue",i),p=l!=null?t.resolveColumnById(this,"labelValue",i):void 0,g=a!=null?t.resolveColumnById(this,"colorValue",i):void 0,f=c.getFont(),v=new Map;this.previousLabelLayouts=v;const y=[],C=[],S=[];(i.dataSources.get(this.id)??[]).forEach((A,k)=>{const w=u[k],M=g?.[k],R=p?.[k],L=h[k]?.geometry??void 0;L==null&&S.push(w);const P=this.getLabelLayout(A,R,f,L,n?.get(w));P!=null&&v.set(w,P);const N=P!=null&&s!=null?this.getLabelDatum(P,d):void 0;N!=null&&C.push(N);const O=L!=null&&s!=null?_c(L,s):void 0;y.push({series:this,itemId:r,datum:A,datumIndex:k,idValue:w,colorValue:M,labelValue:R,projectedGeometry:O})});const D=10;if(S.length>D){const A=S.length-D;S.length=D,S.push(`(+${A} more)`)}return S.length>0&&at.warnOnce("some data items do not have matches in the provided topology",S),{itemId:e,nodeData:y,labelData:C}}updateSelections(){this.nodeDataRefresh&&(this.contextNodeData=this.createNodeData(),this.nodeDataRefresh=!1)}update(){const{datumSelection:e,labelSelection:t,highlightDatumSelection:i}=this;this.updateSelections(),this.contentGroup.visible=this.visible,this.contentGroup.opacity=this.getOpacity();let o=this.ctx.highlightManager?.getActiveHighlight();o!=null&&(o.series!==this||o.datum==null)&&(o=void 0);const s=this.contextNodeData?.nodeData??[],n=this.contextNodeData?.labelData??[];this.datumSelection=this.updateDatumSelection({nodeData:s,datumSelection:e}),this.updateDatumNodes({datumSelection:e,isHighlight:!1}),this.labelSelection=this.updateLabelSelection({labelData:n,labelSelection:t}),this.updateLabelNodes({labelSelection:t}),this.highlightDatumSelection=this.updateDatumSelection({nodeData:o!=null?[o]:[],datumSelection:i}),this.updateDatumNodes({datumSelection:i,isHighlight:!0})}updateDatumSelection(e){return e.datumSelection.update(e.nodeData,void 0,t=>qN(t.idValue))}getItemBaseStyle(e){const{properties:t}=this,i=e?t.highlightStyle.item:void 0;return{fill:i?.fill??t.fill,fillOpacity:i?.fillOpacity??t.fillOpacity,stroke:i?.stroke??t.stroke,strokeWidth:i?.strokeWidth??this.getStrokeWidth(t.strokeWidth),strokeOpacity:i?.strokeOpacity??t.strokeOpacity,lineDash:i?.lineDash??t.lineDash,lineDashOffset:i?.lineDashOffset??t.lineDashOffset}}getItemStyleOverrides(e,t,i,o,s){const{id:n,properties:r,colorScale:a}=this,{colorRange:l,itemStyler:c}=r;let d;if(!s&&i!=null&&(d??(d={}),d.fill=this.isColorScaleValid()?a.convert(i):l?.[0]??r.fill),c!=null){const u=this.cachedDatumCallback(qN(e,s?"highlight":"node"),()=>c({seriesId:n,datum:t,highlighted:s,...o,...d}));d??(d={}),Object.assign(d,u)}return d}updateDatumNodes(e){const{datumSelection:t,isHighlight:i}=e,o=this.getItemBaseStyle(i);t.each((s,n)=>{const{datum:r,datumIndex:a,colorValue:l,projectedGeometry:c}=n;if(c==null){s.visible=!1,s.projectedGeometry=void 0;return}const d=this.getItemStyleOverrides(String(a),r,l,o,i);s.visible=!0,s.projectedGeometry=c,Qhe(s,o,d)})}updateLabelSelection(e){const t=this.isLabelEnabled()?e.labelData:[];return e.labelSelection.update(t)}updateLabelNodes(e){const{labelSelection:t}=e,{color:i,fontStyle:o,fontWeight:s,fontFamily:n}=this.properties.label;t.each((r,{x:a,y:l,text:c,fontSize:d,lineHeight:u})=>{r.visible=!0,r.x=a,r.y=l,r.text=c,r.fill=i,r.fontStyle=o,r.fontWeight=s,r.fontSize=d,r.lineHeight=u,r.fontFamily=n,r.textAlign="center",r.textBaseline="middle"})}resetAnimation(){}pickNodeClosestDatum({x:e,y:t}){let i=1/0,o;return this.datumSelection.each((s,n)=>{const r=s.distanceSquared(e,t);r<i&&(i=r,o=n)}),o!=null?{datum:o,distance:Math.sqrt(i)}:void 0}datumMidPoint(e){const{_previousDatumMidPoint:t}=this;if(t?.datum===e)return t.point;const i=e.projectedGeometry,o=i!=null?ZC(i):void 0,s=o!=null?wD(o,2):void 0,n=s!=null?{x:s[0],y:s[1]}:void 0;return this._previousDatumMidPoint={datum:e,point:n},n}legendItemSymbol(e){const{dataModel:t,processedData:i,properties:o}=this,{fillOpacity:s,stroke:n,strokeWidth:r,strokeOpacity:a,lineDash:l,lineDashOffset:c}=o;let{fill:d}=o;if(e!=null&&this.isColorScaleValid()){const h=t.resolveColumnById(this,"colorValue",i)[e];d=this.colorScale.convert(h)}return{marker:{fill:d,fillOpacity:s,stroke:n,strokeWidth:r,strokeOpacity:a,lineDash:l,lineDashOffset:c}}}getLegendData(e){const{processedData:t,dataModel:i}=this;if(t==null||i==null)return[];const{id:o,visible:s}=this,{title:n,legendItemName:r,idKey:a,idName:l,colorKey:c,colorName:d,colorRange:u,showInLegend:h}=this.properties;if(e==="gradient"&&c!=null&&u!=null){const p=t.domain.values[i.resolveProcessedDataIndexById(this,"colorValue")];return[{legendType:"gradient",enabled:s,seriesId:o,colorName:d,colorRange:u,colorDomain:p}]}else return e==="category"?[{legendType:"category",id:o,itemId:o,seriesId:o,enabled:s,label:{text:r??n??l??a},symbol:this.legendItemSymbol(),legendItemName:r,hideInLegend:!h}]:[]}getTooltipContent(e){const{id:t,dataModel:i,processedData:o,properties:s}=this,{idKey:n,idName:r,colorKey:a,colorName:l,labelKey:c,labelName:d,legendItemName:u,title:h,tooltip:p}=s;if(!i||!o)return;const{datumIndex:g}=e,f=o.dataSources.get(this.id)?.[g],v=i.resolveColumnById(this,"idValue",o)[g],y=a!=null?i.resolveColumnById(this,"colorValue",o)[g]:void 0,C=[];if(y!=null&&C.push({label:l,fallbackLabel:a,value:String(y)}),c!=null&&c!==n){const x=i.resolveColumnById(this,"labelValue",o)[g];C.push({label:d,fallbackLabel:c,value:x})}const S=this.getItemBaseStyle(!1);return Object.assign(S,this.getItemStyleOverrides(String(g),g,y,S,!1)),p.formatTooltip({heading:v,title:h??u,symbol:this.legendItemSymbol(g),data:C},{seriesId:t,datum:f,title:h,idKey:n,idName:r,colorKey:a,colorName:l,labelKey:c,labelName:d,...S})}computeFocusBounds(e){return kV(this,e)}};kx.className="MapShapeSeries";kx.type="map-shape";b([Khe(Ra,{optional:!0,property:"topology"})],kx.prototype,"_chartTopology");var{DEFAULT_DIVERGING_SERIES_COLOR_RANGE:Jhe,DEFAULT_BACKGROUND_COLOUR:epe}=E.ThemeSymbols,tpe={type:"series",optionsKey:"series[]",packageType:"enterprise",chartTypes:["topology"],identifier:"map-shape",moduleFactory:e=>new kx(e),tooltipDefaults:{range:"exact"},themeTemplate:{...$y,series:{fillOpacity:1,strokeWidth:1,lineDash:[0],lineDashOffset:0,padding:2,label:{color:{$ref:"backgroundColor"},fontFamily:{$ref:"fontFamily"},fontSize:{$ref:"fontSize"},fontWeight:"bold",overflowStrategy:"hide"}}},paletteFactory:e=>{const{takeColors:t,colorsCount:i,userPalette:o,themeTemplateParameters:s}=e,{fill:n}=E.singleSeriesPaletteFactory(e),r=s.get(Jhe),{fills:a}=t(i);return{fill:n,stroke:s.get(epe),colorRange:o==="inbuilt"?r:[a[0],a[1]]}}},{ChartAxisDirection:Ga,PolarAxis:ipe,diff:ope,fixNumericExtent:spe,groupAccumulativeValueProperty:iO,keyProperty:npe,normaliseGroupTo:rpe,resetLabelFn:ape,seriesLabelFadeInAnimation:lpe,seriesLabelFadeOutAnimation:cpe,valueProperty:dpe,animationValidation:upe,createDatumId:oO,SeriesNodePickMode:sO,normalizeAngle360:nO,CategoryScale:hpe,motion:rO,applyShapeStyle:ppe}=E,gpe=class extends E.SeriesNodeEvent{constructor(e,t,i,o){super(e,t,i,o),this.angleKey=o.properties.angleKey,this.radiusKey=o.properties.radiusKey}},_V=class extends E.PolarSeries{constructor(e,{animationResetFns:t}){super({moduleCtx:e,useLabelLayer:!0,canHaveAxes:!0,pickModes:[sO.NEAREST_NODE,sO.EXACT_SHAPE_MATCH],animationResetFns:{...t,label:ape}}),this.NodeEvent=gpe,this.groupScale=new hpe,this.circleCache={r:0,cx:0,cy:0}}getSeriesDomain(e){const{dataModel:t,processedData:i}=this;if(!i||!t)return[];if(e===Ga.X)return t.getDomain(this,"angleValue","key",i);{const o=t.getDomain(this,"radiusValue-end","value",i),s=Number.isFinite(o[1]-o[0])?[o[0]>0?0:o[0],o[1]<0?0:o[1]]:[];return spe(s)}}async processData(e){const{visible:t}=this,{angleKey:i,radiusKey:o,normalizedTo:s}=this.properties,n=!this.ctx.animationManager.isSkipped();if(!this.properties.isValid())return;const r=this.getStackId(),a=`${r}-trailing`,l=[];ho(s)&&l.push(rpe([r,a],Math.abs(s))),n&&this.processedData&&l.push(ope(this.id,this.processedData)),n&&l.push(upe());const c=t||!n?{}:{forceValue:0},d=this.axes[Ga.Y]?.scale.type,u=this.axes[Ga.X]?.scale.type;await this.requestDataModel(e,this.data,{props:[npe(i,u,{id:"angleValue"}),dpe(o,d,{id:"radiusValue-raw",invalidValue:null,...c}),...iO(o,"normal","current",{id:"radiusValue-end",rangeId:"radiusValue-range",invalidValue:null,groupId:r,separateNegative:!0,...c},d),...iO(o,"trailing","current",{id:"radiusValue-start",invalidValue:null,groupId:a,separateNegative:!0,...c},d),...l],groupByKeys:!0,groupByData:!1}),this.animationState.transition("updateData")}didCircleChange(){const e=this.radius,t=this.centerX,i=this.centerY,o=this.circleCache;return e!==o.r||t!==o.cx||i!==o.cy?(this.circleCache={r:e,cx:t,cy:i},!0):!1}isRadiusAxisReversed(){return this.axes[Ga.Y]?.isReversed()}maybeRefreshNodeData(){if(!this.didCircleChange()&&!this.nodeDataRefresh)return;const{nodeData:t=[]}=this.createNodeData()??{};this.nodeData=t,this.nodeDataRefresh=!1}getAxisInnerRadius(){const e=this.axes[Ga.Y];return e instanceof ipe?this.radius*e.innerRadiusRatio:0}createNodeData(){const{processedData:e,dataModel:t,groupScale:i}=this;if(!t||!e||e.type!=="grouped"||!this.properties.isValid())return;const o=this.axes[Ga.X],s=this.axes[Ga.Y],n=o?.scale,r=s?.scale;if(!n||!r)return;const a=t.resolveKeysById(this,"angleValue",e),l=t.resolveColumnById(this,"radiusValue-start",e),c=t.resolveColumnById(this,"radiusValue-end",e),d=t.resolveColumnById(this,"radiusValue-raw",e),u=t.resolveProcessedDataIndexById(this,"radiusValue-range");let h=0,p=0;o instanceof Bu&&(h=o.groupPaddingInner,p=o.paddingInner);const f=(n.bandwidth??0)*(1-p),{index:v,visibleGroupCount:y}=this.ctx.seriesStateManager.getVisiblePeerGroupIndex(this);i.domain=Array.from({length:y}).map((z,_)=>String(_)),i.range=[-f/2,f/2],i.paddingInner=y>1?h:0;const C=this.isRadiusAxisReversed(),S=C?this.radius:this.getAxisInnerRadius(),x=C?this.getAxisInnerRadius():this.radius,D=x+S,{angleKey:A,radiusKey:k,angleName:w,radiusName:M,label:R}=this.properties,L=(z,_,V,G)=>{const H=this.getLabelText(R,{value:_,datum:z,angleKey:A,radiusKey:k,angleName:w,radiusName:M});if(H)return{x:V,y:G,text:H,textAlign:"center",textBaseline:"middle"}},P=[],N={itemId:k,nodeData:P,labelData:P};if(!this.visible)return N;const{dataSources:O}=e,F=O.get(this.id)??[];for(const{datumIndex:z,group:_}of t.forEachGroupDatum(this,e)){const V=F[z],G=a[z];if(G==null)return;const H=d[z],B=H>=0&&!Object.is(H,-0),W=l[z],j=c[z],U=_.aggregation[u][B?1:0]??0,ee=B===C;if(W===void 0||j===void 0)return;let q,te;if(F.length===1)q=-.5*Math.PI,te=1.5*Math.PI;else{const pe=n.convert(G);q=nO(pe+i.convert(String(v))),te=nO(q+i.bandwidth)}const se=q+i.bandwidth/2,Z=D-r.convert(W),ie=D-r.convert(j),X=(Z+ie)/2,ne=D-r.convert(0),re=D-r.convert(U),ue=Math.cos(se)*X,le=Math.sin(se)*X,me=this.properties.label.enabled?L(V,H,ue,le):void 0,Me=this.getColumnWidth(q,te);P.push({series:this,datum:V,datumIndex:z,point:{x:ue,y:le,size:0},midPoint:{x:ue,y:le},label:me,angleValue:G,radiusValue:H,negative:ee,innerRadius:Z,outerRadius:ie,stackInnerRadius:ne,stackOuterRadius:re,startAngle:q,endAngle:te,axisInnerRadius:S,axisOuterRadius:x,columnWidth:Me,index:z})}return{itemId:k,nodeData:P,labelData:P}}getColumnWidth(e,t){return NaN}update({seriesRect:e}){const t=this.checkResize(e);this.maybeRefreshNodeData(),this.contentGroup.translationX=this.centerX,this.contentGroup.translationY=this.centerY,this.highlightGroup.translationX=this.centerX,this.highlightGroup.translationY=this.centerY,this.labelGroup&&(this.labelGroup.translationX=this.centerX,this.labelGroup.translationY=this.centerY),this.updateSectorSelection(this.itemSelection,!1),this.updateSectorSelection(this.highlightSelection,!0),this.updateLabels(),t&&this.animationState.transition("resize"),this.animationState.transition("update")}getItemBaseStyle(e){const{properties:t}=this,i=e?t.highlightStyle.item:void 0;return{fill:i?.fill??t.fill,fillOpacity:i?.fillOpacity??t.fillOpacity,stroke:i?.stroke??t.stroke,strokeWidth:i?.strokeWidth??this.getStrokeWidth(t.strokeWidth),strokeOpacity:i?.strokeOpacity??t.strokeOpacity,lineDash:i?.lineDash??t.lineDash,lineDashOffset:i?.lineDashOffset??t.lineDashOffset,cornerRadius:t.cornerRadius}}getItemStyleOverrides(e,t,i,o){const{id:s,properties:n}=this,{angleKey:r,radiusKey:a,itemStyler:l}=n;if(l!=null)return this.cachedDatumCallback(oO(e,o?"highlight":"node"),()=>l({seriesId:s,datum:t,highlighted:o,angleKey:r,radiusKey:a,...i}))}updateSectorSelection(e,t){let i=[];if(t){const s=this.ctx.highlightManager?.getActiveHighlight();s?.datum&&s.series===this&&i.push(s)}else i=this.nodeData;const o=this.getItemBaseStyle(t);e.update(i,void 0,s=>this.getDatumId(s)).each((s,n)=>{const{datum:r,datumIndex:a}=n,l=this.getItemStyleOverrides(String(a),r,o,t);this.updateItemPath(s,n,t),ppe(s,o,l),s.cornerRadius=l?.cornerRadius??o.cornerRadius,s.lineJoin="round"})}updateLabels(){const{label:e}=this.properties;this.labelSelection.update(this.nodeData).each((t,i)=>{e.enabled&&i.label?(t.x=i.label.x,t.y=i.label.y,t.fill=e.color,t.fontFamily=e.fontFamily,t.fontSize=e.fontSize,t.fontStyle=e.fontStyle,t.fontWeight=e.fontWeight,t.text=i.label.text,t.textAlign=i.label.textAlign,t.textBaseline=i.label.textBaseline,t.visible=!0):t.visible=!1})}animateEmptyUpdateReady(){const{labelSelection:e}=this,t=this.getColumnTransitionFunctions();rO.fromToMotion(this.id,"datums",this.ctx.animationManager,[this.itemSelection],t),lpe(this,"labels",this.ctx.animationManager,e)}animateClearingUpdateEmpty(){const{itemSelection:e}=this,{animationManager:t}=this.ctx,i=this.getColumnTransitionFunctions();rO.fromToMotion(this.id,"datums",t,[e],i),cpe(this,"labels",t,this.labelSelection)}getTooltipContent(e){const{id:t,dataModel:i,processedData:o,axes:s,properties:n}=this,{angleKey:r,angleName:a,radiusKey:l,radiusName:c,tooltip:d}=n,u=s[Ga.X],h=s[Ga.Y];if(!i||!o||!u||!h)return;const{datumIndex:p}=e,g=o.dataSources.get(this.id)?.[p],f=i.resolveKeysById(this,"angleValue",o)[p],v=i.resolveColumnById(this,"radiusValue-raw",o)[p];if(f==null)return;const y=this.getItemBaseStyle(!1);return Object.assign(y,this.getItemStyleOverrides(String(p),p,y,!1)),d.formatTooltip({heading:u.formatDatum(f),symbol:this.legendItemSymbol(),data:[{label:c,fallbackLabel:l,value:h.formatDatum(v)}]},{seriesId:t,datum:g,title:a,angleKey:r,angleName:a,radiusKey:l,radiusName:c,...y})}pickNodeClosestDatum(e){return this.pickNodeNearestDistantObject(e,this.itemSelection.nodes())}legendItemSymbol(){const{fill:e,stroke:t,fillOpacity:i,strokeOpacity:o,strokeWidth:s,lineDash:n,lineDashOffset:r}=this.properties;return{marker:{fill:e??"rgba(0, 0, 0, 0)",stroke:t??"rgba(0, 0, 0, 0)",fillOpacity:i,strokeOpacity:o,strokeWidth:s,lineDash:n,lineDashOffset:r}}}getLegendData(e){if(!this.properties.isValid()||e!=="category")return[];const{id:t,visible:i}=this,{radiusKey:o,radiusName:s,showInLegend:n}=this.properties;return[{legendType:"category",id:t,itemId:o,seriesId:t,enabled:i,label:{text:s??o},symbol:this.legendItemSymbol(),hideInLegend:!n}]}getDatumId(e){return oO(e.angleValue)}computeLabelsBBox(){return null}},{SeriesProperties:fpe,SeriesTooltip:mpe,Validate:no,COLOR_STRING:VV,NUMBER:HV,FUNCTION:ype,LINE_DASH:vpe,OBJECT:WV,POSITIVE_NUMBER:lT,RATIO:jV,STRING:Ky,Label:bpe}=E,Oi=class extends fpe{constructor(){super(...arguments),this.fill="black",this.fillOpacity=1,this.stroke="black",this.strokeWidth=1,this.strokeOpacity=1,this.lineDash=[0],this.lineDashOffset=0,this.cornerRadius=0,this.rotation=0,this.label=new bpe,this.tooltip=new mpe}};b([no(Ky)],Oi.prototype,"angleKey");b([no(Ky,{optional:!0})],Oi.prototype,"angleName");b([no(Ky)],Oi.prototype,"radiusKey");b([no(Ky,{optional:!0})],Oi.prototype,"radiusName");b([no(VV)],Oi.prototype,"fill");b([no(jV)],Oi.prototype,"fillOpacity");b([no(VV)],Oi.prototype,"stroke");b([no(lT)],Oi.prototype,"strokeWidth");b([no(jV)],Oi.prototype,"strokeOpacity");b([no(vpe)],Oi.prototype,"lineDash");b([no(lT)],Oi.prototype,"lineDashOffset");b([no(lT)],Oi.prototype,"cornerRadius");b([no(ype,{optional:!0})],Oi.prototype,"itemStyler");b([no(HV)],Oi.prototype,"rotation");b([no(Ky,{optional:!0})],Oi.prototype,"stackGroup");b([no(HV,{optional:!0})],Oi.prototype,"normalizedTo");b([no(WV)],Oi.prototype,"label");b([no(WV)],Oi.prototype,"tooltip");var{motion:Cpe}=E;function $V(){const e={startAngle:new Map,endAngle:new Map},t=["startAngle","endAngle"],i=(r,a,l)=>{t.forEach(c=>{const d=e[c];let u=(l==="removed"||l==="updated"?r:a)[c],h=(l==="removed"?r:a)[c];isNaN(h)&&(h=r.previousDatum?.[c]??NaN);const p=u-h;Math.abs(p)>Math.PI&&(u-=Math.sign(p)*2*Math.PI),d.set(a,{from:u,to:h})})},o=(r,a)=>({startAngle:e.startAngle.get(r)[a],endAngle:e.endAngle.get(r)[a]});return{calculate:i,from:r=>o(r,"from"),to:r=>o(r,"to")}}function UV(e,t,i){if(i==="updated"){if(e.previousDatum==null||isNaN(e.previousDatum.startAngle)||isNaN(e.previousDatum.endAngle))return"added";if(isNaN(t.startAngle)||isNaN(t.endAngle))return"removed"}return i==="added"&&e.previousDatum!=null?"updated":i}function Spe(e){const t=$V();return{toFn:(s,n,r)=>{const{startAngle:a,endAngle:l}=t.to(n);let c,d,u,h,p;return r==="removed"?(c=s.innerRadius,d=s.innerRadius,u=s.columnWidth,h=s.axisInnerRadius,p=s.axisOuterRadius):(c=isNaN(n.innerRadius)?e:n.innerRadius,d=isNaN(n.outerRadius)?e:n.outerRadius,u=isNaN(n.columnWidth)?s.columnWidth:n.columnWidth,h=n.axisInnerRadius,p=n.axisOuterRadius),{innerRadius:c,outerRadius:d,columnWidth:u,axisInnerRadius:h,axisOuterRadius:p,startAngle:a,endAngle:l}},fromFn:(s,n,r)=>{r=UV(s,n,r),t.calculate(s,n,r);const{startAngle:a,endAngle:l}=t.from(n);let c,d,u,h,p;r==="removed"||r==="updated"?(c=s.innerRadius,d=s.outerRadius,u=s.columnWidth,h=s.axisInnerRadius,p=s.axisOuterRadius):(c=e,d=e,u=n.columnWidth,h=n.axisInnerRadius,p=n.axisOuterRadius);const g=Cpe.NODE_UPDATE_STATE_TO_PHASE_MAPPING[r];return{innerRadius:c,outerRadius:d,columnWidth:u,axisInnerRadius:h,axisOuterRadius:p,startAngle:a,endAngle:l,phase:g}}}}function xpe(e,{innerRadius:t,outerRadius:i,columnWidth:o,axisInnerRadius:s,axisOuterRadius:n,startAngle:r,endAngle:a}){return{innerRadius:t,outerRadius:i,columnWidth:o,axisInnerRadius:s,axisOuterRadius:n,startAngle:r,endAngle:a}}var{SectorBox:Kb,motion:wpe}=E;function cT(e){const{negative:t,innerRadius:i,outerRadius:o,stackInnerRadius:s,stackOuterRadius:n}=e;return{innerRadius:t?n:s,outerRadius:t?s:n,clipInnerRadius:t?o:i,clipOuterRadius:t?i:o}}function Mpe(e){const t=$V();return{toFn:(s,n,r)=>{const{startAngle:a,endAngle:l}=t.to(n);let c,d,u;if(r==="removed")c=e,d=e,u=new Kb(a,l,c,d);else{let h,p;({innerRadius:c,outerRadius:d,clipInnerRadius:h,clipOuterRadius:p}=cT(n)),isNaN(c)&&(c=e),isNaN(d)&&(d=e),isNaN(h)&&(h=e),isNaN(p)&&(p=e),u=new Kb(a,l,h,p)}return{innerRadius:c,outerRadius:d,startAngle:a,endAngle:l,clipSector:u}},fromFn:(s,n,r)=>{r=UV(s,n,r),t.calculate(s,n,r);const{startAngle:a,endAngle:l}=t.from(n);let c,d,u;r==="removed"||r==="updated"?(c=s.innerRadius,d=s.outerRadius,u=s.clipSector):(c=e,d=e),u??(u=new Kb(a,l,c,d));const h=wpe.NODE_UPDATE_STATE_TO_PHASE_MAPPING[r];return{innerRadius:c,outerRadius:d,startAngle:a,endAngle:l,clipSector:u,phase:h}}}}function Dpe(e,t){const{startAngle:i,endAngle:o}=t,{innerRadius:s,outerRadius:n,clipInnerRadius:r,clipOuterRadius:a}=cT(t),l=new Kb(i,o,r,a);return{innerRadius:s,outerRadius:n,startAngle:i,endAngle:o,clipSector:l}}var{Sector:kpe,SectorBox:Ipe,PolarZIndexMap:CM}=E,dT=class extends _V{constructor(e){super(e,{animationResetFns:{item:Dpe}}),this.properties=new Oi}setSeriesIndex(e){return super.setSeriesIndex(e)?(this.contentGroup.zIndex=[0,CM.FOREGROUND,e],this.highlightGroup.zIndex=[0,CM.HIGHLIGHT,e],this.labelGroup.zIndex=[0,CM.LABEL,e],!0):!1}getStackId(){return`nightingale-stack-${this.seriesGrouping?.groupIndex??this.id}-yValues`}nodeFactory(){return new kpe}updateItemPath(e,t,i){const{negative:o}=t;if(e.centerX=0,e.centerY=0,e.startOuterCornerRadius=o?0:this.properties.cornerRadius,e.endOuterCornerRadius=o?0:this.properties.cornerRadius,e.startInnerCornerRadius=o?this.properties.cornerRadius:0,e.endInnerCornerRadius=o?this.properties.cornerRadius:0,i){const{startAngle:s,endAngle:n}=t,{innerRadius:r,outerRadius:a,clipInnerRadius:l,clipOuterRadius:c}=cT(t);e.innerRadius=r,e.outerRadius=a,e.startAngle=s,e.endAngle=n,e.clipSector=new Ipe(s,n,l,c)}}getColumnTransitionFunctions(){const e=this.isRadiusAxisReversed()?this.radius:this.getAxisInnerRadius();return Mpe(e)}};dT.className="NightingaleSeries";dT.type="nightingale";var{ThemeConstants:{POLAR_AXIS_TYPE:aO,POLAR_AXIS_SHAPE:lO}}=E,Ape={series:{strokeWidth:1,label:{enabled:!1,fontSize:{$ref:"fontSize"},fontFamily:{$ref:"fontFamily"},fontWeight:{$ref:"fontWeight"},color:{$ref:"textColor"}}},axes:{[aO.ANGLE_CATEGORY]:{shape:lO.CIRCLE,groupPaddingInner:0,paddingInner:0,label:{spacing:10}},[aO.RADIUS_NUMBER]:{shape:lO.CIRCLE}}},{ThemeSymbols:{DEFAULT_POLAR_SERIES_STROKE:Rpe},ThemeConstants:{POLAR_AXIS_TYPE:cO}}=E,Tpe={type:"series",optionsKey:"series[]",packageType:"enterprise",chartTypes:["polar"],identifier:"nightingale",moduleFactory:e=>new dT(e),tooltipDefaults:{range:"exact"},defaultAxes:[{type:cO.ANGLE_CATEGORY},{type:cO.RADIUS_NUMBER}],themeTemplate:Ape,paletteFactory({takeColors:e,userPalette:t}){const{fills:[i],strokes:[o]}=e(1);return{fill:i,stroke:t!=="inbuilt"?o:Rpe}},stackable:!0,groupable:!0,stackedByDefault:!0},{createDatumId:Lpe}=E,uT=class extends N8{constructor(){super(...arguments),this.properties=new px}nodeFactory(){return new lle}updateDatumNodes({datumSelection:e,isHighlight:t}){const{id:i,properties:o}=this,{xKey:s,highKey:n,lowKey:r,openKey:a,closeKey:l,item:c,itemStyler:d}=o,{up:u,down:h}=c,{stroke:p,strokeWidth:g,strokeOpacity:f,lineDash:v,lineDashOffset:y}=u,{stroke:C,strokeWidth:S,strokeOpacity:x,lineDash:D,lineDashOffset:A}=h,k=t?o.highlightStyle.item:void 0;e.each((w,M)=>{const{isRising:R,centerX:L,width:P,y:N,height:O,yOpen:F,yClose:z,crisp:_}=M;let V;if(d!=null){const{stroke:G,strokeWidth:H,strokeOpacity:B,lineDash:W,lineDashOffset:j}=R?u:h;V=this.cachedDatumCallback(Lpe(this.getDatumId(M),t?"highlight":"node"),()=>d({seriesId:i,itemId:M.itemId,xKey:s,highKey:n,lowKey:r,openKey:a,closeKey:l,datum:M.datum,strokeOpacity:B,stroke:G,strokeWidth:H,lineDash:W,lineDashOffset:j,highlighted:t}))}w.centerX=L,w.width=P,w.y=N,w.height=O,w.yOpen=F,w.yClose=z,w.crisp=_,w.stroke=k?.stroke??V?.stroke??(R?p:C),w.strokeWidth=k?.strokeWidth??V?.strokeWidth??(R?g:S),w.strokeOpacity=k?.strokeOpacity??V?.strokeOpacity??(R?f:x),w.lineDash=k?.lineDash??V?.lineDash??(R?v:D),w.lineDashOffset=k?.lineDashOffset??V?.lineDashOffset??(R?y:A),w.strokeAlignment=(V?.strokeWidth??(R?g:S))/2})}getLegendData(e){const{id:t,data:i,ctx:{legendManager:o},visible:s}=this,{xKey:n,yName:r,item:{up:a,down:l},showInLegend:c,legendItemName:d}=this.properties;if(!i?.length||!n||e!=="category")return[];const u=new E.LinearGradient("rgb",[{color:a.stroke,offset:0},{color:a.stroke,offset:.5},{color:l.stroke,offset:.5}],90);return[{legendType:"category",id:t,itemId:t,seriesId:t,enabled:s&&o.getItemEnabled({seriesId:t,itemId:t}),label:{text:d??r??t},symbol:{marker:{fill:u,fillOpacity:a.strokeOpacity,stroke:void 0,strokeWidth:0,strokeOpacity:1,lineDash:[0],lineDashOffset:0}},legendItemName:d,hideInLegend:!c}]}};uT.className="ohlc";uT.type="ohlc";var{CARTESIAN_AXIS_TYPE:sb,CARTESIAN_POSITION:dO}=E.ThemeConstants,Epe={type:"series",optionsKey:"series[]",packageType:"enterprise",chartTypes:["cartesian"],identifier:"ohlc",moduleFactory:e=>new uT(e),tooltipDefaults:{range:"nearest"},defaultAxes:[{type:sb.NUMBER,position:dO.LEFT},{type:sb.ORDINAL_TIME,position:dO.BOTTOM}],themeTemplate:{animation:{enabled:!1},axes:{[sb.NUMBER]:{crosshair:{snap:!1}},[sb.ORDINAL_TIME]:{groupPaddingInner:0,crosshair:{enabled:!0}}}},groupable:!1,paletteFactory:({takeColors:e,colorsCount:t,userPalette:i,palette:o})=>{if(i==="user-indexed"){const[s]=e(t).strokes;return{item:{up:{stroke:s},down:{stroke:s}}}}return{item:{up:{stroke:o.up.stroke},down:{stroke:o.down.stroke}}}}},{SeriesProperties:Ppe,SeriesTooltip:Npe,Validate:Fi,UNION:Ope,COLOR_STRING_ARRAY:KV,FUNCTION:Fpe,DIRECTION:Bpe,BOOLEAN:Gpe,LINE_DASH:zpe,OBJECT:Ix,NUMBER:_pe,POSITIVE_NUMBER:Ax,RATIO:YV,STRING:XV,Label:ZV,DropShadow:Vpe}=E,Hpe=class extends ZV{},hT=class extends ZV{constructor(){super(...arguments),this.spacing=0}};b([Fi(_pe)],hT.prototype,"spacing");b([Fi(Ope(["before","after"],"a placement"))],hT.prototype,"placement");var Ki=class extends Ppe{constructor(){super(...arguments),this.fills=[],this.fillOpacity=1,this.strokes=[],this.strokeWidth=1,this.strokeOpacity=1,this.lineDash=[0],this.lineDashOffset=0,this.direction="vertical",this.reverse=void 0,this.spacing=0,this.aspectRatio=void 0,this.shadow=new Vpe().set({enabled:!1}),this.label=new Hpe,this.stageLabel=new hT,this.tooltip=new Npe}};b([Fi(XV)],Ki.prototype,"stageKey");b([Fi(XV)],Ki.prototype,"valueKey");b([Fi(KV)],Ki.prototype,"fills");b([Fi(YV)],Ki.prototype,"fillOpacity");b([Fi(KV)],Ki.prototype,"strokes");b([Fi(Ax)],Ki.prototype,"strokeWidth");b([Fi(YV)],Ki.prototype,"strokeOpacity");b([Fi(zpe)],Ki.prototype,"lineDash");b([Fi(Ax)],Ki.prototype,"lineDashOffset");b([Fi(Bpe)],Ki.prototype,"direction");b([Fi(Gpe,{optional:!0})],Ki.prototype,"reverse");b([Fi(Ax)],Ki.prototype,"spacing");b([Fi(Ax,{optional:!0})],Ki.prototype,"aspectRatio");b([Fi(Fpe,{optional:!0})],Ki.prototype,"itemStyler");b([Fi(Ix)],Ki.prototype,"shadow");b([Fi(Ix)],Ki.prototype,"label");b([Fi(Ix)],Ki.prototype,"stageLabel");b([Fi(Ix)],Ki.prototype,"tooltip");var{valueProperty:uO,SeriesNodePickMode:hO,CachedTextMeasurerPool:Wpe,TextUtils:jpe,createDatumId:$pe,BBox:SM,Group:xM,Selection:nb,Text:pO,PointerEvents:gO,applyShapeStyle:Upe}=E,pT=class extends E.DataModelSeries{constructor(e){super({moduleCtx:e,pickModes:[hO.EXACT_SHAPE_MATCH,hO.NEAREST_NODE]}),this.properties=new Ki,this.itemGroup=this.contentGroup.appendChild(new xM({name:"itemGroup"})),this.itemLabelGroup=this.contentGroup.appendChild(new xM({name:"itemLabelGroup"})),this.stageLabelGroup=this.contentGroup.appendChild(new xM({name:"stageLabelGroup"})),this.datumSelection=nb.select(this.itemGroup,()=>this.nodeFactory()),this.labelSelection=nb.select(this.itemLabelGroup,pO),this.stageLabelSelection=nb.select(this.stageLabelGroup,pO),this.highlightDatumSelection=nb.select(this.highlightNode,()=>this.nodeFactory()),this.itemLabelGroup.pointerEvents=gO.None,this.stageLabelGroup.pointerEvents=gO.None}addChartEventListeners(){this.destroyFns.push(this.ctx.chartEventManager?.addListener("legend-item-click",e=>this.onLegendItemClick(e)))}nodeFactory(){return new Ia}getNodeData(){return this.contextNodeData?.nodeData}async processData(e){if(this.data==null||!this.properties.isValid())return;const{id:t,visible:i,ctx:{legendManager:o}}=this,{stageKey:s,valueKey:n}=this.properties,r="band",a="number",l=(d,u,h)=>i&&o.getItemEnabled({seriesId:t,itemId:h}),c=this.visible?{}:{forceValue:0};await this.requestDataModel(e,this.data,{props:[uO(s,r,{id:"xValue"}),uO(n,a,{id:"yValue",...c,validation:l,invalidValue:0})]})}createNodeData(){const{id:e,dataModel:t,processedData:i,properties:o,visible:s,ctx:{legendManager:n}}=this,{stageKey:r,valueKey:a,direction:l,reverse:c=l==="horizontal",spacing:d,aspectRatio:u,label:h,stageLabel:p}=o;if(t==null||i==null)return;const g=l==="horizontal",f=t.resolveColumnById(this,"xValue",i),v=t.resolveColumnById(this,"yValue",i),y=Wpe.getMeasurer({font:p.getFont()});let C,S;g?(C="center",S=p.placement==="before"?"bottom":"top"):(C=p.placement==="after"?"left":"right",S="middle");const x=p.enabled?[]:void 0;let D=0,A=0,k=0;const w=i.dataSources.get(this.id)??[];w.forEach((H,B)=>{const W=f[B],j=v[B],U=s&&n.getItemEnabled({seriesId:e,itemId:B});if(k+=j,x==null)return;const ee=this.getLabelText(this.properties.stageLabel,{datum:H,value:W,stageKey:r,valueKey:a}),{width:q}=y.measureText(ee),te=ee.split(`
|
|
20
20
|
`).length*jpe.getLineHeight(h.fontSize);D=Math.max(D,q),A=Math.max(A,te),x.push({x:NaN,y:NaN,text:ee,textAlign:C,textBaseline:S,visible:U})});const M=this._nodeDataDependencies?.seriesRectWidth??0,R=this._nodeDataDependencies?.seriesRectHeight??0,L=d*(i.input.count-1);let P;if(g){const H=A+p.spacing;P=new SM(0,p.placement==="before"?H:0,M,R-H)}else{const H=D+p.spacing;P=new SM(p.placement==="after"?0:H,0,M-H,R)}if(u!=null&&u!==0){const H=l==="horizontal"?1/u:u,B=Math.min(P.width,P.height*H),W=B/H;P=new SM(P.x+(P.width-B)/2,P.y+(P.height-W)/2,B,W)}let N,O;g?O=p.placement==="before"?P.y-p.spacing:P.y+P.height+p.spacing:N=p.placement==="after"?P.x+P.width+p.spacing:P.x-p.spacing;const F=P.width-(g?L:0),z=P.height-(g?0:L);if(F<0||z<0)return;const _=[],V=[];let G=0;return w.forEach((H,B)=>{const W=f[B],j=v[B],U=s&&n.getItemEnabled({seriesId:e,itemId:B}),ee=G+j,q=(G+ee)/(2*k),te=(ee-G)/k,se=g?F*q+d*B:F*.5,Z=g?z*.5:z*q+d*B,ie=P.x+se,X=P.y+Z;if(x!=null){const pe=x[B];pe.x=N??ie,pe.y=O??X}let ne,re,ue,le;if(g){const pe=F*te;ne=pe,ue=pe;const Y=(se+pe/2)*(z/P.width),$=(se-pe/2)*(z/P.width);re=c?P.height-Y:Y,le=c?P.height-$:$}else{const pe=z*te;re=pe,le=pe;const Y=(Z-pe/2)*(F/P.height),$=(Z+pe/2)*(F/P.height);ne=c?P.width-Y:Y,ue=c?P.width-$:$}const me=this.getLabelText(h,{datum:H,value:j,stageKey:r,valueKey:a}),Me={x:ie,y:X,text:me,textAlign:"center",textBaseline:"middle",visible:U};V.push(Me),_.push({series:this,itemId:a,datum:H,datumIndex:B,index:B,xValue:W,yValue:j,x:ie,y:X,top:ne,right:re,bottom:ue,left:le,label:Me,enabled:U,midPoint:{x:ie,y:X}}),G=ee}),{itemId:e,nodeData:_,labelData:V,stageLabelData:x}}updateSelections(){this.nodeDataRefresh&&(this.contextNodeData=this.createNodeData(),this.nodeDataRefresh=!1)}update({seriesRect:e}){this.checkResize(e);const{datumSelection:t,labelSelection:i,stageLabelSelection:o,highlightDatumSelection:s}=this;this.updateSelections(),this.contentGroup.visible=this.visible,this.contentGroup.opacity=this.getOpacity();let n=this.ctx.highlightManager?.getActiveHighlight();n!=null&&(n.series!==this||n.datum==null)&&(n=void 0);const r=this.contextNodeData?.nodeData??[],a=this.contextNodeData?.labelData??[],l=this.contextNodeData?.stageLabelData??[];this.datumSelection=this.updateDatumSelection({nodeData:r,datumSelection:t}),this.updateDatumNodes({datumSelection:t,isHighlight:!1}),this.labelSelection=this.updateLabelSelection({labelData:a,labelSelection:i}),this.updateLabelNodes({labelSelection:i,labelProperties:this.properties.label}),this.stageLabelSelection=this.updateStageLabelSelection({stageLabelData:l,stageLabelSelection:o}),this.updateLabelNodes({labelSelection:o,labelProperties:this.properties.stageLabel}),this.highlightDatumSelection=this.updateDatumSelection({nodeData:n!=null?[n]:[],datumSelection:s}),this.updateDatumNodes({datumSelection:s,isHighlight:!0})}updateDatumSelection(e){return e.datumSelection.update(e.nodeData)}getItemBaseStyle(e){const{properties:t}=this,i=e?t.highlightStyle.item:void 0;return{fill:i?.fill,fillOpacity:i?.fillOpacity??t.fillOpacity,stroke:i?.stroke,strokeWidth:i?.strokeWidth??this.getStrokeWidth(t.strokeWidth),strokeOpacity:i?.strokeOpacity??t.strokeOpacity,lineDash:i?.lineDash??t.lineDash,lineDashOffset:i?.lineDashOffset??t.lineDashOffset}}getItemStyleOverrides(e,t,i,o,s){const{id:n,properties:r}=this,{fills:a,strokes:l,stageKey:c,valueKey:d,itemStyler:u}=r,h=o.fill??a[i%a.length],p=o.stroke??l[i%l.length],g={};if(s||(g.fill=h,g.stroke=p),u!=null){const f=this.cachedDatumCallback($pe(e,s?"highlight":"node"),()=>u({seriesId:n,datum:t,stageKey:c,valueKey:d,highlighted:s,fill:h,stroke:p,...o}));Object.assign(g,f)}return g}updateDatumNodes(e){const{datumSelection:t,isHighlight:i}=e,{properties:o}=this,{shadow:s}=o,n=this.getItemBaseStyle(i);t.each((r,a)=>{const{datumIndex:l,datum:c,x:d,y:u,top:h,right:p,bottom:g,left:f}=a,v=this.getItemStyleOverrides(String(l),c,l,n,i);r.x0=d-h/2,r.x1=d+h/2,r.x2=d+g/2,r.x3=d-g/2,r.y0=u-f/2,r.y1=u-p/2,r.y2=u+p/2,r.y3=u+f/2,Upe(r,n,v),r.fillShadow=s})}updateLabelSelection(e){return e.labelSelection.update(this.properties.label.enabled?e.labelData:[])}updateStageLabelSelection(e){return e.stageLabelSelection.update(e.stageLabelData)}updateLabelNodes(e){const{labelSelection:t,labelProperties:i}=e,{color:o,fontSize:s,fontStyle:n,fontWeight:r,fontFamily:a}=i;t.each((l,{visible:c,x:d,y:u,text:h,textAlign:p,textBaseline:g})=>{l.visible=c,l.x=d,l.y=u,l.text=h,l.fill=o,l.fontStyle=n,l.fontWeight=r,l.fontSize=s,l.fontFamily=a,l.textAlign=p,l.textBaseline=g})}resetAnimation(e){}computeFocusBounds(e){const t=this.getNodeData()?.[e.datumIndex];if(t!==void 0){for(const i of this.datumSelection)if(i.datum===t)return i.node}}getTooltipContent(e){const{id:t,dataModel:i,processedData:o,properties:s}=this,{stageKey:n,valueKey:r,tooltip:a}=s;if(!i||!o)return;const{datumIndex:l}=e,c=o.dataSources.get(this.id)?.[l],d=i.resolveColumnById(this,"xValue",o)[l],u=i.resolveColumnById(this,"yValue",o)[l];if(d==null)return;const h=this.getLabelText(this.properties.stageLabel,{datum:o.dataSources.get(this.id)?.[l],value:u,stageKey:n,valueKey:r}),p=this.getItemBaseStyle(!1);return Object.assign(p,this.getItemStyleOverrides(String(l),l,l,p,!1)),a.formatTooltip({symbol:this.legendItemSymbol(l),data:[{label:String(d),value:h}]},{seriesId:t,datum:c,title:void 0,stageKey:n,valueKey:r,...p})}getSeriesDomain(){return[NaN,NaN]}getSeriesRange(e,t){return[NaN,NaN]}pickNodeClosestDatum({x:e,y:t}){let i=1/0,o;return this.datumSelection.each((s,n)=>{const r=s.distanceSquared(e,t);r<i&&(i=r,o=n)}),o!=null?{datum:o,distance:Math.sqrt(i)}:void 0}legendItemSymbol(e){const{fills:t,strokes:i,strokeWidth:o,fillOpacity:s,strokeOpacity:n,lineDash:r,lineDashOffset:a}=this.properties,l=t[e%t.length]??"black",c=i[e%i.length]??"black";return{marker:{fill:l,fillOpacity:s,stroke:c,strokeWidth:o,strokeOpacity:n,lineDash:r,lineDashOffset:a}}}getLegendData(e){const{processedData:t,dataModel:i,id:o,ctx:{legendManager:s},visible:n}=this;if(!i||!t||e!=="category"||!this.properties.isValid())return[];const{showInLegend:r}=this.properties,a=[],l=i.resolveColumnById(this,"xValue",t);return(t.dataSources.get(this.id)??[]).forEach((d,u)=>{const h=l[u];a.push({legendType:"category",id:o,itemId:u,seriesId:o,enabled:n&&s.getItemEnabled({seriesId:o,itemId:u}),label:{text:h},symbol:this.legendItemSymbol(u),hideInLegend:!r})}),a}};pT.className="PyramidSeries";pT.type="pyramid";var{ThemeSymbols:{DEFAULT_SHADOW_COLOUR:Kpe}}=E,Ype={series:{direction:"vertical",strokeWidth:0,spacing:2,label:{enabled:!0,fontSize:{$ref:"fontSize"},fontFamily:{$ref:"fontFamily"},fontWeight:{$ref:"fontWeight"},color:{$ref:"backgroundColor"}},stageLabel:{enabled:!0,fontSize:{$ref:"fontSize"},fontFamily:{$ref:"fontFamily"},fontWeight:{$ref:"fontWeight"},color:{$ref:"textColor"},spacing:12},shadow:{enabled:!1,color:Kpe,xOffset:3,yOffset:3,blur:5}}},Xpe={type:"series",optionsKey:"series[]",packageType:"enterprise",chartTypes:["standalone"],identifier:"pyramid",moduleFactory:e=>new pT(e),solo:!0,tooltipDefaults:{range:"exact"},themeTemplate:Ype,paletteFactory:({takeColors:e,colorsCount:t})=>{const{fills:i,strokes:o}=e(t);return{fills:i,strokes:o}}},{ThemeConstants:{POLAR_AXIS_TYPE:Zpe}}=E,qV={series:{label:{enabled:!1,fontSize:{$ref:"fontSize"},fontFamily:{$ref:"fontFamily"},fontWeight:{$ref:"fontWeight"},color:{$ref:"textColor"}},marker:{enabled:!0,fillOpacity:1,shape:"circle",size:6,strokeOpacity:1,strokeWidth:0}},axes:{[Zpe.ANGLE_CATEGORY]:{label:{spacing:10}}}},qpe=E.mergeDefaults({series:{strokeWidth:2}},qV),Qpe=E.mergeDefaults({series:{fillOpacity:.8,strokeWidth:2,marker:{enabled:!1}}},qV),{Label:Jpe,SeriesMarker:ege,SeriesProperties:tge,SeriesTooltip:ige,Validate:Fs,BOOLEAN:oge,COLOR_STRING:sge,NUMBER:nge,LINE_DASH:rge,OBJECT:gT,POSITIVE_NUMBER:QV,RATIO:age,STRING:Rx}=E,Ho=class extends tge{constructor(){super(...arguments),this.stroke="black",this.strokeWidth=1,this.strokeOpacity=1,this.lineDash=[0],this.lineDashOffset=0,this.rotation=0,this.marker=new ege,this.label=new Jpe,this.tooltip=new ige,this.connectMissingData=!1}};b([Fs(Rx)],Ho.prototype,"angleKey");b([Fs(Rx)],Ho.prototype,"radiusKey");b([Fs(Rx,{optional:!0})],Ho.prototype,"angleName");b([Fs(Rx,{optional:!0})],Ho.prototype,"radiusName");b([Fs(sge)],Ho.prototype,"stroke");b([Fs(QV)],Ho.prototype,"strokeWidth");b([Fs(age)],Ho.prototype,"strokeOpacity");b([Fs(rge)],Ho.prototype,"lineDash");b([Fs(QV)],Ho.prototype,"lineDashOffset");b([Fs(nge)],Ho.prototype,"rotation");b([Fs(gT)],Ho.prototype,"marker");b([Fs(gT)],Ho.prototype,"label");b([Fs(gT)],Ho.prototype,"tooltip");b([Fs(oge)],Ho.prototype,"connectMissingData");var{ChartAxisDirection:Jn,PolarAxis:lge,SeriesNodePickMode:fO,valueProperty:mO,fixNumericExtent:cge,seriesLabelFadeInAnimation:dge,markerFadeInAnimation:uge,resetMarkerFn:hge,animationValidation:pge,computeMarkerFocusBounds:gge,extent:fge,isNumberEqual:yO,createDatumId:mge,BBox:yge,Group:vge,Path:bge,PointerEvents:Cge,Selection:vO,Text:Sge,Marker:xge,applyShapeStyle:wge}=E,Mge=class extends E.SeriesNodeEvent{constructor(e,t,i,o){super(e,t,i,o),this.angleKey=o.properties.angleKey,this.radiusKey=o.properties.radiusKey}},fT=class extends E.PolarSeries{constructor(e){super({moduleCtx:e,useLabelLayer:!0,pickModes:[fO.NEAREST_NODE,fO.EXACT_SHAPE_MATCH],canHaveAxes:!0,animationResetFns:{item:hge}}),this.clipFocusBox=!1,this.properties=new Ho,this.NodeEvent=Mge,this.lineGroup=this.contentGroup.appendChild(new vge({name:"radar-line",zIndex:E.SeriesZIndexMap.ANY_CONTENT})),this.lineSelection=vO.select(this.lineGroup,bge),this.resetInvalidToZero=!1,this.circleCache={r:0,cx:0,cy:0}}nodeFactory(){return new xge}setSeriesIndex(e){return super.setSeriesIndex(e)?(this.lineGroup.zIndex=[E.SeriesZIndexMap.ANY_CONTENT,e,E.SeriesContentZIndexMap.FOREGROUND,1],!0):!1}getSeriesDomain(e){const{dataModel:t,processedData:i}=this;if(!i||!t)return[];if(e===Jn.X)return t.getDomain(this,"angleValue","value",i);{const o=t.getDomain(this,"radiusValue","value",i),s=fge(o.length===0?o:[0].concat(o));return cge(s)}}async processData(e){if(!this.properties.isValid())return;const{angleKey:t,radiusKey:i}=this.properties,o=[];this.ctx.animationManager.isSkipped()||o.push(pge());const s=this.axes[Jn.Y]?.scale.type,n=this.axes[Jn.X]?.scale.type;await this.requestDataModel(e,this.data,{props:[mO(t,n,{id:"angleValue"}),mO(i,s,{id:"radiusValue",invalidValue:void 0}),...o]}),this.animationState.transition("updateData")}didCircleChange(){const e=this.radius,t=this.centerX,i=this.centerY,o=this.circleCache;return e===o.r&&t===o.cx&&i===o.cy?!1:(this.circleCache={r:e,cx:t,cy:i},!0)}getAxisInnerRadius(){const e=this.axes[Jn.Y];return e instanceof lge?this.radius*e.innerRadiusRatio:0}maybeRefreshNodeData(){if(!this.didCircleChange()&&!this.nodeDataRefresh)return;const{nodeData:t=[]}=this.createNodeData()??{};this.nodeData=t,this.nodeDataRefresh=!1}createNodeData(){const{processedData:e,dataModel:t}=this;if(!e||!t||!this.properties.isValid())return;const{angleKey:i,radiusKey:o,angleName:s,radiusName:n,marker:r,label:a}=this.properties,l=this.axes[Jn.X]?.scale,c=this.axes[Jn.Y]?.scale;if(!l||!c)return;const d=t.resolveColumnById(this,"angleValue",e),u=t.resolveColumnById(this,"radiusValue",e),h=this.getAxisInnerRadius(),g=(e.dataSources.get(this.id)??[]).map((f,v)=>{const y=d[v],C=u[v],S=l.convert(y),x=this.radius+h-c.convert(C),D=Math.cos(S),A=Math.sin(S),k=D*x,w=A*x;let M;if(a.enabled){const R=this.getLabelText(a,{value:C,datum:f,angleKey:i,radiusKey:o,angleName:s,radiusName:n});if(R){let L="right";yO(D,0)?L="center":D>0&&(L="left");let P="bottom";yO(A,0)?P="middle":A>0&&(P="top"),M={x:k+D*r.size,y:w+A*r.size,text:R,textAlign:L,textBaseline:P}}}return{series:this,datum:f,datumIndex:v,index:v,point:{x:k,y:w,size:r.size},midPoint:{x:k,y:w},label:M,angleValue:y,radiusValue:C,missing:!Mc(S)||!Mc(x)}});return{itemId:o,nodeData:g,labelData:g}}update({seriesRect:e}){const t=this.checkResize(e),i=!this.ctx.animationManager.isSkipped(),{series:o}=this.ctx.highlightManager?.getActiveHighlight()??{};this.highlightGroup.visible=(i||this.visible)&&o===this,this.maybeRefreshNodeData(),this.contentGroup.translationX=this.centerX,this.contentGroup.translationY=this.centerY,this.highlightGroup.translationX=this.centerX,this.highlightGroup.translationY=this.centerY,this.labelGroup&&(this.labelGroup.translationX=this.centerX,this.labelGroup.translationY=this.centerY),this.updatePathSelections(),this.updateMarkerSelection(),this.updateMarkers(this.itemSelection,!1),this.updateMarkers(this.highlightSelection,!0),this.updateLabels(),t&&this.animationState.transition("resize"),this.animationState.transition("update")}updatePathSelections(){const e=this.visible?[!0]:[];this.lineSelection.update(e)}updateMarkerSelection(){this.properties.marker.isDirty()&&(this.itemSelection.clear(),this.itemSelection.cleanup(),this.itemSelection=vO.select(this.itemGroup,()=>this.nodeFactory(),!1)),this.itemSelection.update(this.properties.marker.enabled?this.nodeData:[])}getMarkerFill(e){return e?.fill??this.properties.marker.fill}getMarkerItemBaseStyle(e){const{properties:t}=this,{marker:i}=t,o=e?t.highlightStyle.item:void 0;return{shape:i.shape,size:i.size,fill:o?.fill??i.fill,fillOpacity:o?.fillOpacity??i.fillOpacity,stroke:o?.stroke??i.stroke,strokeWidth:o?.strokeWidth??this.getStrokeWidth(i.strokeWidth),strokeOpacity:o?.strokeOpacity??i.strokeOpacity,lineDash:o?.lineDash??i.lineDash,lineDashOffset:o?.lineDashOffset??i.lineDashOffset}}getMarkerItemStyleOverrides(e,t,i,o){const{id:s,properties:n}=this,{angleKey:r,radiusKey:a,marker:l}=n,{itemStyler:c}=l;if(c!=null)return this.cachedDatumCallback(mge(e,o?"highlight":"node"),()=>c({seriesId:s,datum:t,angleKey:r,radiusKey:a,highlighted:o,...i}))}updateMarkers(e,t){const{visible:i}=this,{marker:o}=this.properties;let s=[];if(i&&o.shape&&o.enabled)if(t){const r=this.ctx.highlightManager?.getActiveHighlight();r?.datum&&(s=[r])}else s=this.nodeData;const n=this.getMarkerItemBaseStyle(t);e.update(s).each((r,a)=>{const{datum:l,datumIndex:c,point:d}=a,u=this.getMarkerItemStyleOverrides(String(c),l,n,t);wge(r,n,u),r.shape=u?.shape??n.shape,r.size=u?.size??n.size;const{x:h,y:p}=d;r.x=h,r.y=p,r.visible=i&&r.size>0&&!isNaN(h)&&!isNaN(p)})}updateLabels(){const{label:e}=this.properties;this.labelSelection.update(this.nodeData).each((t,i)=>{e.enabled&&i.label?(t.x=i.label.x,t.y=i.label.y,t.fill=e.color,t.fontFamily=e.fontFamily,t.fontSize=e.fontSize,t.fontStyle=e.fontStyle,t.fontWeight=e.fontWeight,t.text=i.label.text,t.textAlign=i.label.textAlign,t.textBaseline=i.label.textBaseline,t.visible=!0):t.visible=!1})}getTooltipContent(e){const{id:t,dataModel:i,processedData:o,axes:s,properties:n}=this,{angleKey:r,angleName:a,radiusKey:l,radiusName:c,tooltip:d}=n,u=s[Jn.X],h=s[Jn.Y];if(!i||!o||!u||!h)return;const{datumIndex:p}=e,g=o.dataSources.get(this.id)?.[p],f=i.resolveColumnById(this,"angleValue",o)[p],v=i.resolveColumnById(this,"radiusValue",o)[p];if(f==null)return;const y=this.getMarkerItemBaseStyle(!1);return Object.assign(y,this.getMarkerItemStyleOverrides(String(p),p,y,!1)),d.formatTooltip({heading:u.formatDatum(f),symbol:this.legendItemSymbol(),data:[{label:c,fallbackLabel:l,value:h.formatDatum(v)}]},{seriesId:t,datum:g,title:a,angleKey:r,radiusKey:l,angleName:a,radiusName:c,...y})}legendItemSymbol(){const{stroke:e,strokeWidth:t,strokeOpacity:i,lineDash:o,marker:s}=this.properties;return{marker:{shape:s.shape,fill:this.getMarkerFill()??s.stroke??e??"rgba(0, 0, 0, 0)",stroke:s.stroke??e??"rgba(0, 0, 0, 0)",fillOpacity:s.fillOpacity,strokeOpacity:s.strokeOpacity,strokeWidth:s.strokeWidth,lineDash:s.lineDash,lineDashOffset:s.lineDashOffset,enabled:s.enabled||t<=0},line:{stroke:e,strokeOpacity:i,strokeWidth:t,lineDash:o}}}getLegendData(e){if(!this.properties.isValid()||e!=="category")return[];const{id:t,ctx:{legendManager:i},visible:o}=this,{radiusKey:s,radiusName:n,showInLegend:r}=this.properties;return[{legendType:"category",id:t,itemId:s,seriesId:t,enabled:o&&i.getItemEnabled({seriesId:t,itemId:s}),label:{text:n??s},symbol:this.legendItemSymbol(),hideInLegend:!r}]}pickNodeClosestDatum(e){const{nodeData:t,centerX:i,centerY:o}=this,{x:s,y:n}=e,r=this.radius;if(Math.sqrt((s-i)**2+(n-o)**2)>r+this.properties.marker.size)return;let l=1/0,c;for(const d of t){const{point:{x:u=NaN,y:h=NaN}={}}=d;if(isNaN(u)||isNaN(h))continue;const p=Math.sqrt((e.x-u-i)**2+(e.y-h-o)**2);p<l&&(l=p,c=d)}if(c){const d=Math.max(l-(c.point?.size??0),0);return{datum:c,distance:d}}}computeLabelsBBox(){const{label:e}=this.properties;this.maybeRefreshNodeData();const t=[],i=new Sge;return this.nodeData.forEach(o=>{if(!e.enabled||!o.label)return;i.text=o.label.text,i.x=o.label.x,i.y=o.label.y,i.setFont(e),i.setAlign(o.label);const s=i.getBBox();t.push(s)}),t.length===0?null:yge.merge(t)}getLineNode(){return this.lineSelection?.at(0)}beforePathAnimation(){const e=this.getLineNode();e&&(e.fill=void 0,e.lineJoin="round",e.lineCap="round",e.pointerEvents=Cge.None,e.stroke=this.properties.stroke,e.strokeWidth=this.getStrokeWidth(this.properties.strokeWidth),e.strokeOpacity=this.properties.strokeOpacity,e.lineDash=this.properties.lineDash,e.lineDashOffset=this.properties.lineDashOffset)}getLinePoints(){const{nodeData:e,resetInvalidToZero:t}=this,{connectMissingData:i}=this.properties;if(e.length===0)return[];const o=this.axes[Jn.Y],n=this.axes[Jn.X]?.isReversed(),a=o?.isReversed()&&!n?[...e].reverse():e,l=[];let c=!1,d;return a.forEach((u,h)=>{let{x:p,y:g}=u.point;const f=isNaN(p)||isNaN(g);f||(d??(d=u)),f&&!i&&(p=0,g=0);const v=h===0||!t&&!i&&(f||c);l.push({x:p,y:g,moveTo:v}),c=f}),d!==void 0&&l.push({x:d.point.x,y:d.point.y,moveTo:!1}),l}animateSinglePath(e,t,i){const{path:o}=e;o.clear(!0);const s=this.getAxisInnerRadius(),n=this.axes[Jn.Y],a=n?.isReversed()?this.radius+s-n?.scale.convert(0):s;t.forEach(l=>{const{x:c,y:d,arc:u,radius:h=0,startAngle:p=0,endAngle:g=0,moveTo:f}=l,v=Math.atan2(d,c),y=a*Math.cos(v),C=a*Math.sin(v),S=i,x=y*(1-S)+c*S,D=C*(1-S)+d*S;u?o.arc(c,d,h,p,g):f?o.moveTo(x,D):o.lineTo(x,D)}),e.checkPathDirty()}animatePaths(e){const t=this.getLinePoints(),i=this.getLineNode();i&&this.animateSinglePath(i,t,e)}animateEmptyUpdateReady(){const{itemSelection:e,labelSelection:t}=this,{animationManager:i}=this.ctx;this.beforePathAnimation(),i.animate({id:`${this.id}_'path`,groupId:this.id,from:0,to:1,phase:"initial",collapsable:!1,onUpdate:o=>this.animatePaths(o),onStop:()=>this.animatePaths(1)}),uge(this,i,"added",e),dge(this,"labels",i,t)}animateWaitingUpdateReady(e){super.animateWaitingUpdateReady(e),this.resetPaths()}animateReadyResize(e){super.animateReadyResize(e),this.resetPaths()}resetPaths(){const e=this.getLineNode();if(e){const{path:t}=e,i=this.getLinePoints();e.fill=void 0,e.stroke=this.properties.stroke,e.strokeWidth=this.getStrokeWidth(this.properties.strokeWidth),e.strokeOpacity=this.properties.strokeOpacity,e.lineDash=this.properties.lineDash,e.lineDashOffset=this.properties.lineDashOffset,t.clear(!0);for(const{x:o,y:s,moveTo:n}of i)n?t.moveTo(o,s):t.lineTo(o,s);e.checkPathDirty()}}getFormattedMarkerStyle(e){const{angleKey:t,radiusKey:i}=this.properties;return this.getMarkerStyle(this.properties.marker,{datum:e,angleKey:t,radiusKey:i,highlighted:!0})}computeFocusBounds(e){return gge(this,e)}};fT.className="RadarSeries";var{RATIO:Dge,COLOR_STRING:kge,Validate:JV}=E,mT=class extends Ho{constructor(){super(...arguments),this.fill="black",this.fillOpacity=1}};b([JV(kge)],mT.prototype,"fill");b([JV(Dge)],mT.prototype,"fillOpacity");var{Group:Ige,Path:Age,PointerEvents:Rge,Selection:Tge,ChartAxisDirection:bO}=E,yT=class extends fT{constructor(e){super(e),this.properties=new mT,this.resetInvalidToZero=!0;const t=new Ige;this.contentGroup.append(t),this.areaSelection=Tge.select(t,Age)}updatePathSelections(){const e=this.visible?[!0]:[];this.areaSelection.update(e),super.updatePathSelections()}getAreaNode(){return this.areaSelection.at(0)}getMarkerFill(e){return e?.fill??this.properties.marker.fill??this.properties.fill}beforePathAnimation(){super.beforePathAnimation();const e=this.getAreaNode();e.fill=this.properties.fill,e.fillOpacity=this.properties.fillOpacity,e.pointerEvents=Rge.None,e.stroke=void 0}animatePaths(e){super.animatePaths(e),this.animateSinglePath(this.getAreaNode(),this.getAreaPoints(),e)}getAreaPoints(){const e=this.getLinePoints(),t=r=>{const a=this.axes[r];return a instanceof E.PolarAxis?a:void 0},i=t(bO.Y),o=t(bO.X);if(!i?.isReversed())return e;const n=o?.getAxisLinePoints()?.points??[];return e.concat(...n)}resetPaths(){super.resetPaths();const e=this.getAreaNode();if(e){const{path:t}=e,i=this.getAreaPoints();e.fill=this.properties.fill,e.fillOpacity=this.properties.fillOpacity,e.stroke=void 0,e.lineDash=this.properties.lineDash,e.lineDashOffset=this.properties.lineDashOffset,e.lineJoin=e.lineCap="round",t.clear(!0),i.forEach(({x:o,y:s,moveTo:n,arc:r,radius:a=0,startAngle:l=0,endAngle:c=0})=>{r?t.arc(o,s,a,l,c):n?t.moveTo(o,s):t.lineTo(o,s)}),t.closePath(),e.checkPathDirty()}}};yT.className="RadarAreaSeries";yT.type="radar-area";var{markerPaletteFactory:Lge,ThemeConstants:{POLAR_AXIS_TYPE:CO}}=E,Ege={type:"series",optionsKey:"series[]",packageType:"enterprise",chartTypes:["polar"],identifier:"radar-area",moduleFactory:e=>new yT(e),tooltipDefaults:{range:"nearest"},defaultAxes:[{type:CO.ANGLE_CATEGORY},{type:CO.RADIUS_NUMBER}],themeTemplate:Qpe,paletteFactory:e=>{const{marker:t}=Lge(e);return{stroke:t.stroke,fill:t.fill,marker:t}}},vT=class extends fT{updatePathSelections(){this.lineSelection.update(this.visible?[!0]:[])}};vT.className="RadarLineSeries";vT.type="radar-line";var{POLAR_AXIS_TYPE:SO}=E.ThemeConstants,Pge={type:"series",optionsKey:"series[]",packageType:"enterprise",chartTypes:["polar"],identifier:"radar-line",moduleFactory:e=>new vT(e),tooltipDefaults:{range:"nearest"},defaultAxes:[{type:SO.ANGLE_CATEGORY},{type:SO.RADIUS_NUMBER}],themeTemplate:qpe,paletteFactory:({takeColors:e})=>{const{fills:[t],strokes:[i]}=e(1);return{stroke:t,marker:{fill:t,stroke:i}}}},{SeriesProperties:Nge,SeriesTooltip:Oge,Validate:ro,COLOR_STRING:e9,NUMBER:t9,FUNCTION:Fge,LINE_DASH:Bge,OBJECT:i9,POSITIVE_NUMBER:bT,RATIO:o9,STRING:Yy,Label:Gge}=E,Yi=class extends Nge{constructor(){super(...arguments),this.fill="black",this.fillOpacity=1,this.stroke="black",this.strokeWidth=1,this.strokeOpacity=1,this.lineDash=[0],this.lineDashOffset=0,this.cornerRadius=0,this.rotation=0,this.label=new Gge,this.tooltip=new Oge}};b([ro(Yy)],Yi.prototype,"angleKey");b([ro(Yy)],Yi.prototype,"radiusKey");b([ro(Yy,{optional:!0})],Yi.prototype,"angleName");b([ro(Yy,{optional:!0})],Yi.prototype,"radiusName");b([ro(e9)],Yi.prototype,"fill");b([ro(o9)],Yi.prototype,"fillOpacity");b([ro(e9)],Yi.prototype,"stroke");b([ro(bT)],Yi.prototype,"strokeWidth");b([ro(o9)],Yi.prototype,"strokeOpacity");b([ro(Bge)],Yi.prototype,"lineDash");b([ro(bT)],Yi.prototype,"lineDashOffset");b([ro(bT)],Yi.prototype,"cornerRadius");b([ro(Fge,{optional:!0})],Yi.prototype,"itemStyler");b([ro(t9)],Yi.prototype,"rotation");b([ro(Yy,{optional:!0})],Yi.prototype,"stackGroup");b([ro(t9,{optional:!0})],Yi.prototype,"normalizedTo");b([ro(i9)],Yi.prototype,"label");b([ro(i9)],Yi.prototype,"tooltip");var{SectorBox:xO,motion:zge}=E;function _ge(e,t,i){if(i==="updated"){if(e.previousDatum==null||isNaN(e.previousDatum.innerRadius)||isNaN(e.previousDatum.outerRadius))return"added";if(isNaN(t.innerRadius)||isNaN(t.outerRadius))return"removed"}return i==="added"&&e.previousDatum!=null?"updated":i}function wO(e){return{toFn:(o,s,n)=>{let r,a,l,c,d;return n==="removed"?(r=e,a=e,l=s.innerRadius,c=s.outerRadius,d=new xO(r,a,l,c)):(r=s.startAngle,a=s.endAngle,l=isNaN(s.innerRadius)?o.innerRadius:s.innerRadius,c=isNaN(s.outerRadius)?o.outerRadius:s.outerRadius,d=s.clipSector),{startAngle:r,endAngle:a,innerRadius:l,outerRadius:c,clipSector:d}},fromFn:(o,s,n)=>{n=_ge(o,s,n);let r,a,l,c,d;n==="removed"||n==="updated"?(r=o.startAngle,a=o.endAngle,l=o.innerRadius,c=o.outerRadius,d=o.clipSector):(r=e,a=e,l=s.innerRadius,c=s.outerRadius),d??(d=new xO(r,a,l,c));const u=zge.NODE_UPDATE_STATE_TO_PHASE_MAPPING[n];return{startAngle:r,endAngle:a,innerRadius:l,outerRadius:c,clipSector:d,phase:u}}}}function Vge(e,t){return{centerX:0,centerY:0,innerRadius:t.innerRadius,outerRadius:t.outerRadius,startAngle:t.startAngle,endAngle:t.endAngle,clipSector:t.clipSector}}var{ChartAxisDirection:za,PolarAxis:Hge,diff:Wge,groupAccumulativeValueProperty:MO,keyProperty:jge,normaliseGroupTo:$ge,valueProperty:Uge,fixNumericExtent:Kge,resetLabelFn:Yge,seriesLabelFadeInAnimation:Xge,seriesLabelFadeOutAnimation:Zge,animationValidation:qge,angleBetween:Qge,createDatumId:DO,CategoryScale:Jge,Sector:efe,SectorBox:tfe,motion:kO,applyShapeStyle:ife}=E,ofe=class extends E.SeriesNodeEvent{constructor(e,t,i,o){super(e,t,i,o),this.angleKey=o.properties.angleKey,this.radiusKey=o.properties.radiusKey}},CT=class extends E.PolarSeries{constructor(e){super({moduleCtx:e,useLabelLayer:!0,canHaveAxes:!0,animationResetFns:{item:Vge,label:Yge}}),this.properties=new Yi,this.NodeEvent=ofe,this.groupScale=new Jge,this.circleCache={r:0,cx:0,cy:0}}nodeFactory(){return new efe}getSeriesDomain(e){const{dataModel:t,processedData:i}=this;if(!i||!t)return[];if(e===za.X){const o=t.getDomain(this,"angleValue-end","value",i),s=[o[0]>0?0:o[0],o[1]<0?0:o[1]];return Kge(s)}else return t.getDomain(this,"radiusValue","key",i)}async processData(e){const{visible:t}=this,{angleKey:i,radiusKey:o,normalizedTo:s}=this.properties,n=!this.ctx.animationManager.isSkipped();if(!this.properties.isValid())return;const r=this.getStackId(),a=`${r}-trailing`,l=[];ho(s)&&l.push($ge([r,a],Math.abs(s))),n&&(this.processedData&&l.push(Wge(this.id,this.processedData)),l.push(qge()));const c=t||!n?{}:{forceValue:0},d=this.axes[za.Y]?.scale.type,u=this.axes[za.X]?.scale.type;await this.requestDataModel(e,this.data,{props:[jge(o,d,{id:"radiusValue"}),Uge(i,u,{id:"angleValue-raw",invalidValue:null,...c}),...MO(i,"normal","current",{id:"angleValue-end",rangeId:"angleValue-range",invalidValue:null,groupId:r,separateNegative:!0,...c},u),...MO(i,"trailing","current",{id:"angleValue-start",invalidValue:null,groupId:a,separateNegative:!0,...c},u),...l],groupByKeys:!0,groupByData:!1}),this.animationState.transition("updateData")}didCircleChange(){const e=this.radius,t=this.centerX,i=this.centerY,o=this.circleCache;return e===o.r&&t===o.cx&&i===o.cy?!1:(this.circleCache={r:e,cx:t,cy:i},!0)}maybeRefreshNodeData(){if(!this.didCircleChange()&&!this.nodeDataRefresh)return;const{nodeData:t=[]}=this.createNodeData()??{};this.nodeData=t,this.nodeDataRefresh=!1}getAxisInnerRadius(){const e=this.axes[za.Y];return e instanceof Hge?this.radius*e.innerRadiusRatio:0}createNodeData(){const{processedData:e,dataModel:t}=this;if(!t||!e||e.type!=="grouped"||!this.properties.isValid())return;const i=this.axes[za.X],o=this.axes[za.Y],s=i?.scale,n=o?.scale;if(!s||!n)return;const r=t.resolveKeysById(this,"radiusValue",e),a=t.resolveColumnById(this,"angleValue-start",e),l=t.resolveColumnById(this,"angleValue-end",e),c=t.resolveColumnById(this,"angleValue-raw",e),d=t.resolveProcessedDataIndexById(this,"angleValue-range");let u=0;o instanceof Gu&&(u=o.groupPaddingInner);const{groupScale:h}=this,{index:p,visibleGroupCount:g}=this.ctx.seriesStateManager.getVisiblePeerGroupIndex(this);h.domain=Array.from({length:g}).map((F,z)=>String(z)),h.range=[0,Math.abs(n.bandwidth??0)],h.paddingInner=g>1?u:0;const f=h.bandwidth>=1?h.bandwidth:h.rawBandwidth,v=i.isReversed(),y=o.isReversed(),C=y?this.radius:this.getAxisInnerRadius(),x=(y?this.getAxisInnerRadius():this.radius)+C,{angleKey:D,radiusKey:A,angleName:k,radiusName:w,label:M}=this.properties,R=(F,z,_,V)=>{const G=this.getLabelText(M,{value:z,datum:F,angleKey:D,radiusKey:A,angleName:k,radiusName:w});if(G)return{x:_,y:V,text:G,textAlign:"center",textBaseline:"middle"}},L=[],P={itemId:A,nodeData:L,labelData:L};if(!this.visible)return P;const{dataSources:N}=e,O=N.get(this.id)??[];for(const{datumIndex:F,group:z}of t.forEachGroupDatum(this,e)){const _=O[F],V=r[F];if(V==null)return;const G=c[F],H=a[F],B=l[F],W=G>=0&&!Object.is(G,-0),j=z.aggregation[d][W?1:0],U=W===v;let ee=s.convert(H,!0),q=s.convert(B,!0),te=s.convert(0,!0),se=s.convert(j,!0);U&&([te,se]=[se,te],[ee,q]=[q,ee]);const ie=x-n.convert(V)+h.convert(String(p)),X=ie+f,ne=(ie+X)/2,re=ee+Qge(ee,q)/2,ue=Math.cos(re)*ne,le=Math.sin(re)*ne,me=this.properties.label.enabled?R(_,G,ue,le):void 0,Me=new tfe(ee,q,ie,X);L.push({series:this,datum:_,datumIndex:F,point:{x:ue,y:le,size:0},midPoint:{x:ue,y:le},label:me,angleValue:G,radiusValue:V,innerRadius:ie,outerRadius:X,startAngle:te,endAngle:se,clipSector:Me,reversed:U,index:F})}return P}update({seriesRect:e}){const t=this.checkResize(e);this.maybeRefreshNodeData(),this.contentGroup.translationX=this.centerX,this.contentGroup.translationY=this.centerY,this.highlightGroup.translationX=this.centerX,this.highlightGroup.translationY=this.centerY,this.labelGroup&&(this.labelGroup.translationX=this.centerX,this.labelGroup.translationY=this.centerY),this.updateSectorSelection(this.itemSelection,!1),this.updateSectorSelection(this.highlightSelection,!0),this.updateLabels(),t&&this.animationState.transition("resize"),this.animationState.transition("update")}getItemBaseStyle(e){const{properties:t}=this,i=e?t.highlightStyle.item:void 0;return{fill:i?.fill??t.fill,fillOpacity:i?.fillOpacity??t.fillOpacity,stroke:i?.stroke??t.stroke,strokeWidth:i?.strokeWidth??this.getStrokeWidth(t.strokeWidth),strokeOpacity:i?.strokeOpacity??t.strokeOpacity,lineDash:i?.lineDash??t.lineDash,lineDashOffset:i?.lineDashOffset??t.lineDashOffset,cornerRadius:t.cornerRadius}}getItemStyleOverrides(e,t,i,o){const{id:s,properties:n}=this,{angleKey:r,radiusKey:a,itemStyler:l}=n;if(l!=null)return this.cachedDatumCallback(DO(e,o?"highlight":"node"),()=>l({seriesId:s,datum:t,highlighted:o,angleKey:r,radiusKey:a,...i}))}updateSectorSelection(e,t){let i=[];if(t){const s=this.ctx.highlightManager?.getActiveHighlight();s?.datum&&s.series===this&&i.push(s)}else i=this.nodeData;const o=this.getItemBaseStyle(t);e.update(i,void 0,s=>this.getDatumId(s)).each((s,n)=>{const{datum:r,datumIndex:a}=n,l=this.getItemStyleOverrides(String(a),r,o,t),c=l?.cornerRadius??o.cornerRadius;ife(s,o,l),s.lineJoin="round",s.inset=s.stroke!=null?s.strokeWidth/2:0,s.startInnerCornerRadius=r.reversed?c:0,s.startOuterCornerRadius=r.reversed?c:0,s.endInnerCornerRadius=r.reversed?0:c,s.endOuterCornerRadius=r.reversed?0:c,t&&(s.startAngle=n.startAngle,s.endAngle=n.endAngle,s.clipSector=n.clipSector,s.innerRadius=n.innerRadius,s.outerRadius=n.outerRadius)})}updateLabels(){const{label:e}=this.properties;this.labelSelection.update(this.nodeData).each((t,i)=>{e.enabled&&i.label?(t.x=i.label.x,t.y=i.label.y,t.fill=e.color,t.fontFamily=e.fontFamily,t.fontSize=e.fontSize,t.fontStyle=e.fontStyle,t.fontWeight=e.fontWeight,t.text=i.label.text,t.textAlign=i.label.textAlign,t.textBaseline=i.label.textBaseline,t.visible=!0):t.visible=!1})}getBarTransitionFunctions(){const e=this.axes[za.X]?.scale;let t=0;if(!e)return wO(t);const i=Math.min(e.domain[0],e.domain[1]),o=Math.max(e.domain[0],e.domain[1]);return i<=0&&o>=0&&(t=e.convert(0)),wO(t)}animateEmptyUpdateReady(){const{labelSelection:e}=this,t=this.getBarTransitionFunctions();kO.fromToMotion(this.id,"datums",this.ctx.animationManager,[this.itemSelection],t),Xge(this,"labels",this.ctx.animationManager,e)}animateClearingUpdateEmpty(){const{itemSelection:e}=this,{animationManager:t}=this.ctx,i=this.getBarTransitionFunctions();kO.fromToMotion(this.id,"datums",t,[e],i),Zge(this,"labels",t,this.labelSelection)}getTooltipContent(e){const{id:t,dataModel:i,processedData:o,axes:s,properties:n}=this,{angleKey:r,angleName:a,radiusKey:l,radiusName:c,tooltip:d}=n,u=s[za.X],h=s[za.Y];if(!i||!o||!u||!h)return;const{datumIndex:p}=e,g=o.dataSources.get(this.id)?.[p],f=i.resolveKeysById(this,"radiusValue",o)[p],v=i.resolveColumnById(this,"angleValue-raw",o)[p];if(f==null)return;const y=this.getItemBaseStyle(!1);return Object.assign(y,this.getItemStyleOverrides(String(p),p,y,!1)),d.formatTooltip({heading:h.formatDatum(f),symbol:this.legendItemSymbol(),data:[{label:a,fallbackLabel:r,value:u.formatDatum(v)}]},{seriesId:t,datum:g,title:a,angleKey:r,angleName:a,radiusKey:l,radiusName:c,...y})}pickNodeClosestDatum(e){return this.pickNodeNearestDistantObject(e,this.itemSelection.nodes())}legendItemSymbol(){const{fill:e,stroke:t,fillOpacity:i,strokeOpacity:o,strokeWidth:s,lineDash:n,lineDashOffset:r}=this.properties;return{marker:{fill:e??"rgba(0, 0, 0, 0)",stroke:t??"rgba(0, 0, 0, 0)",fillOpacity:i,strokeOpacity:o,strokeWidth:s,lineDash:n,lineDashOffset:r}}}getLegendData(e){if(!this.properties.isValid()||e!=="category")return[];const{id:t,visible:i}=this,{angleKey:o,angleName:s,showInLegend:n}=this.properties;return[{legendType:"category",id:t,itemId:o,seriesId:t,enabled:i,label:{text:s??o},symbol:this.legendItemSymbol(),hideInLegend:!n}]}getDatumId(e){return DO(e.radiusValue)}computeLabelsBBox(){return null}getStackId(){return`radialBar-stack-${this.seriesGrouping?.groupIndex??this.id}-xValues`}};CT.className="RadialBarSeries";CT.type="radial-bar";var{ThemeConstants:{POLAR_AXIS_TYPE:sfe}}=E,nfe={series:{strokeWidth:0,label:{enabled:!1,fontSize:{$ref:"fontSize"},fontFamily:{$ref:"fontFamily"},fontWeight:{$ref:"fontWeight"},color:{$ref:"backgroundColor"}}},axes:{[sfe.RADIUS_CATEGORY]:{innerRadiusRatio:.2,groupPaddingInner:.2,paddingInner:.2,paddingOuter:.1}}},{POLAR_AXIS_TYPE:IO}=E.ThemeConstants,rfe={type:"series",optionsKey:"series[]",packageType:"enterprise",chartTypes:["polar"],identifier:"radial-bar",moduleFactory:e=>new CT(e),tooltipDefaults:{range:"exact"},defaultAxes:[{type:IO.ANGLE_NUMBER},{type:IO.RADIUS_CATEGORY}],themeTemplate:nfe,paletteFactory:({takeColors:e})=>{const{fills:[t],strokes:[i]}=e(1);return{fill:t,stroke:i}},stackable:!0,groupable:!0},{Validate:s9,RATIO:n9}=E,ST=class extends Oi{};b([s9(n9,{optional:!0})],ST.prototype,"columnWidthRatio");b([s9(n9,{optional:!0})],ST.prototype,"maxColumnWidthRatio");var{ChartAxisDirection:afe,PolarAxis:lfe,RadialColumnShape:cfe,getRadialColumnWidth:dfe}=E,xT=class extends _V{constructor(e){super(e,{animationResetFns:{item:xpe}}),this.properties=new ST}getStackId(){return`radarColumn-stack-${this.seriesGrouping?.groupIndex??this.id}-yValues`}nodeFactory(){return new cfe}getColumnTransitionFunctions(){const e=this.isRadiusAxisReversed()?this.radius:this.getAxisInnerRadius();return Spe(e)}isRadiusAxisCircle(){const e=this.axes[afe.Y];return e instanceof lfe?e.shape==="circle":!1}updateItemPath(e,t,i){e.isBeveled=this.isRadiusAxisCircle(),e.isRadiusAxisReversed=this.isRadiusAxisReversed(),i&&(e.innerRadius=t.innerRadius,e.outerRadius=t.outerRadius,e.startAngle=t.startAngle,e.endAngle=t.endAngle,e.columnWidth=t.columnWidth,e.axisInnerRadius=t.axisInnerRadius,e.axisOuterRadius=t.axisOuterRadius)}getColumnWidth(e,t){const{columnWidthRatio:i=.5,maxColumnWidthRatio:o=.5}=this.properties;return dfe(e,t,this.radius,i,o)}};xT.className="RadialColumnSeries";xT.type="radial-column";var{ThemeConstants:{POLAR_AXIS_TYPE:AO,POLAR_AXIS_SHAPE:RO}}=E,ufe={series:{columnWidthRatio:.5,maxColumnWidthRatio:.5,strokeWidth:0,label:{enabled:!1,fontSize:{$ref:"fontSize"},fontFamily:{$ref:"fontFamily"},fontWeight:{$ref:"fontWeight"},color:{$ref:"textColor"}}},axes:{[AO.ANGLE_CATEGORY]:{shape:RO.CIRCLE,groupPaddingInner:0,paddingInner:0,label:{spacing:10}},[AO.RADIUS_NUMBER]:{shape:RO.CIRCLE,innerRadiusRatio:.5}}},{POLAR_AXIS_TYPE:TO}=E.ThemeConstants,hfe={type:"series",optionsKey:"series[]",packageType:"enterprise",chartTypes:["polar"],identifier:"radial-column",moduleFactory:e=>new xT(e),tooltipDefaults:{range:"exact"},defaultAxes:[{type:TO.ANGLE_CATEGORY},{type:TO.RADIUS_NUMBER}],themeTemplate:ufe,paletteFactory:({takeColors:e})=>{const{fills:[t],strokes:[i]}=e(1);return{fill:t,stroke:i}},stackable:!0,groupable:!0},{SvgPath:pfe,Rotatable:gfe,Translatable:ffe,Scalable:mfe}=E,MD=class extends gfe(mfe(ffe(pfe))){constructor(){super(...arguments),this.scalingCenterX=.5,this.scalingCenterY=.5,this.rotationCenterX=.5,this.rotationCenterY=.5}};MD.defaultPathData="M0.50245 0.53745C0.481767 0.53745 0.465 0.520683 0.465 0.5C0.465 0.479317 0.481767 0.46255 0.50245 0.46255L1 0.500012L0.50245 0.53745Z";var{BaseProperties:Tx,SeriesTooltip:yfe,SeriesProperties:vfe,PropertiesArray:wT,Validate:Ae,BOOLEAN:r9,COLOR_STRING:jl,COLOR_STRING_ARRAY:bfe,FUNCTION:Cfe,LINE_DASH:Lx,NUMBER:eh,OBJECT_ARRAY:MT,OBJECT:$l,POSITIVE_NUMBER:Vn,RATIO:Er,STRING:DT,UNION:Sfe,Label:xfe}=E,wfe=Sfe(["inside","outside","middle"],"a placement"),a9=class extends xfe{};b([Ae(eh,{optional:!0})],a9.prototype,"spacing");var yo=class extends Tx{constructor(){super(...arguments),this.label=new a9}};b([Ae(DT,{optional:!0})],yo.prototype,"text");b([Ae(eh,{optional:!0})],yo.prototype,"value");b([Ae(gV,{optional:!0})],yo.prototype,"shape");b([Ae(wfe,{optional:!0})],yo.prototype,"placement");b([Ae(eh,{optional:!0})],yo.prototype,"spacing");b([Ae(Vn,{optional:!0})],yo.prototype,"size");b([Ae(eh,{optional:!0})],yo.prototype,"rotation");b([Ae(jl,{optional:!0})],yo.prototype,"fill");b([Ae(Er,{optional:!0})],yo.prototype,"fillOpacity");b([Ae(jl,{optional:!0})],yo.prototype,"stroke");b([Ae(Vn,{optional:!0})],yo.prototype,"strokeWidth");b([Ae(Er,{optional:!0})],yo.prototype,"strokeOpacity");b([Ae(Lx,{optional:!0})],yo.prototype,"lineDash");b([Ae(Vn,{optional:!0})],yo.prototype,"lineDashOffset");b([Ae($l)],yo.prototype,"label");var Pr=class extends Tx{constructor(){super(...arguments),this.enabled=!0,this.fills=new wT(E.StopProperties),this.fillMode="continuous",this.fillOpacity=1,this.stroke="black",this.strokeWidth=0,this.strokeOpacity=1,this.lineDash=[0],this.lineDashOffset=0}};b([Ae(r9)],Pr.prototype,"enabled");b([Ae(MT)],Pr.prototype,"fills");b([Ae(vx)],Pr.prototype,"fillMode");b([Ae(jl,{optional:!0})],Pr.prototype,"fill");b([Ae(Er)],Pr.prototype,"fillOpacity");b([Ae(jl,{optional:!0})],Pr.prototype,"stroke");b([Ae(Vn,{optional:!0})],Pr.prototype,"strokeWidth");b([Ae(Er)],Pr.prototype,"strokeOpacity");b([Ae(Lx)],Pr.prototype,"lineDash");b([Ae(Vn)],Pr.prototype,"lineDashOffset");var Nr=class extends Tx{constructor(){super(...arguments),this.fills=new wT(E.StopProperties),this.fillMode="continuous",this.fillOpacity=1,this.stroke="black",this.strokeWidth=0,this.strokeOpacity=1,this.lineDash=[0],this.lineDashOffset=0,this.defaultFill="black"}};b([Ae(MT)],Nr.prototype,"fills");b([Ae(vx)],Nr.prototype,"fillMode");b([Ae(jl,{optional:!0})],Nr.prototype,"fill");b([Ae(Er)],Nr.prototype,"fillOpacity");b([Ae(jl)],Nr.prototype,"stroke");b([Ae(Vn)],Nr.prototype,"strokeWidth");b([Ae(Er)],Nr.prototype,"strokeOpacity");b([Ae(Lx)],Nr.prototype,"lineDash");b([Ae(Vn)],Nr.prototype,"lineDashOffset");b([Ae(jl)],Nr.prototype,"defaultFill");var Or=class extends Tx{constructor(){super(...arguments),this.enabled=!0,this.spacing=0,this.fill="black",this.fillOpacity=1,this.stroke="black",this.strokeWidth=0,this.strokeOpacity=1,this.lineDash=[0],this.lineDashOffset=0}};b([Ae(r9)],Or.prototype,"enabled");b([Ae(Er,{optional:!0})],Or.prototype,"radiusRatio");b([Ae(eh)],Or.prototype,"spacing");b([Ae(jl)],Or.prototype,"fill");b([Ae(Er)],Or.prototype,"fillOpacity");b([Ae(jl)],Or.prototype,"stroke");b([Ae(Vn)],Or.prototype,"strokeWidth");b([Ae(Er)],Or.prototype,"strokeOpacity");b([Ae(Lx)],Or.prototype,"lineDash");b([Ae(Vn)],Or.prototype,"lineDashOffset");var l9=class extends da{};b([Ae(DT,{optional:!0})],l9.prototype,"text");var c9=class extends Wy{};b([Ae(DT,{optional:!0})],c9.prototype,"text");var Bi=class extends vfe{constructor(){super(...arguments),this.segmentation=new jy,this.defaultColorRange=[],this.targets=new wT(yo),this.defaultTarget=new yo,this.outerRadiusRatio=1,this.innerRadiusRatio=1,this.cornerRadius=0,this.cornerMode="container",this.spacing=0,this.scale=new Nr,this.bar=new Pr,this.needle=new Or,this.label=new l9,this.secondaryLabel=new c9,this.tooltip=new yfe}isValid(e){if(!super.isValid(e))return!1;const{outerRadius:t,innerRadius:i}=this;return t==null!=(i==null)?(at.warnOnce("Either [innerRadius] and [outerRadius] must both be set, or neither can be set."),!1):!0}};b([Ae(eh)],Bi.prototype,"value");b([Ae($l)],Bi.prototype,"segmentation");b([Ae(bfe)],Bi.prototype,"defaultColorRange");b([Ae(MT)],Bi.prototype,"targets");b([Ae($l)],Bi.prototype,"defaultTarget");b([Ae(Er)],Bi.prototype,"outerRadiusRatio");b([Ae(Er)],Bi.prototype,"innerRadiusRatio");b([Ae(Vn,{optional:!0})],Bi.prototype,"outerRadius");b([Ae(Vn,{optional:!0})],Bi.prototype,"innerRadius");b([Ae(Vn)],Bi.prototype,"cornerRadius");b([Ae(fV)],Bi.prototype,"cornerMode");b([Ae(eh)],Bi.prototype,"spacing");b([Ae($l)],Bi.prototype,"scale");b([Ae($l)],Bi.prototype,"bar");b([Ae($l)],Bi.prototype,"needle");b([Ae(Cfe,{optional:!0})],Bi.prototype,"itemStyler");b([Ae($l)],Bi.prototype,"label");b([Ae($l)],Bi.prototype,"secondaryLabel");b([Ae($l)],Bi.prototype,"tooltip");var{SectorBox:kT}=E;function Mfe(e){const{startAngle:t,endAngle:i,clipStartAngle:o,clipEndAngle:s,innerRadius:n,outerRadius:r}=e;if(!(o==null||s==null))return new kT(Math.max(o,t),Math.min(s,i),n,r)}function d9(e,t,i){return Math.max(e,i.startAngle)<=Math.min(t,i.endAngle)}function wM(e){return e.clipStartAngle!=null&&e.clipEndAngle!=null}function MM(e,t){const{clipStartAngle:i,clipEndAngle:o,innerRadius:s,outerRadius:n}=e;return new kT(i,t?i:o,s,n)}function LO(e,t){const i=e?"initial":"update";return{node:{fromFn(n,r){const a=n.previousDatum;let{startAngle:l,endAngle:c}=a??r;const d=a!=null&&wM(a)?MM(a,e):void 0,u=wM(r)?MM(r,e):void 0;let h;return d!=null&&u!=null?h=d:d==null&&u!=null?(h=u,l=r.startAngle,c=r.endAngle):d!=null&&u==null?(h=void 0,l=r.startAngle,c=r.endAngle):e&&(c=l),{startAngle:l,endAngle:c,clipSector:h,phase:i}},toFn(n,r){const{startAngle:a,endAngle:l}=r;let c;return wM(r)&&(c=MM(r,!1)),{startAngle:a,endAngle:l,clipSector:c}},applyFn(n,r){const{startAngle:a,endAngle:l}=r;let{clipSector:c}=r;c!=null&&(c=new kT(Math.max(a,c.startAngle),Math.min(l,c.endAngle),c.innerRadius,c.outerRadius));const d=c==null||d9(a,l,c);n.startAngle=a,n.endAngle=l,n.clipSector=c,n.visible=d}},needle:{fromFn(n){let{angle:r}=n.previousDatum??n.datum;return e&&(r=t),{rotation:r,phase:i}},toFn(n,r){const{angle:a}=r;return{rotation:a}}}}}function DM(e,t){const{startAngle:i,endAngle:o}=t,s=Mfe(t),n=s==null||d9(i,o,s);return{startAngle:i,endAngle:o,clipSector:s,visible:n}}function EO(e,t){const{angle:i}=t;return{rotation:i}}var Dfe={top:0,middle:.5,bottom:1};function kfe(e,t,i,o,s){const{padding:n,textAlign:r,verticalAlign:a}=i;let l,c;if(t.each((x,D)=>{D.label==="primary"?l=D:D.label==="secondary"&&(c=D)}),l==null)return;const d=Dm(e,l,s?.label);if(d==null)return;const u=c!=null?Dm(e,c,s?.secondaryLabel):void 0,h={padding:n},p=r==="center"?2:1,g=a==="middle"?2:1,f=x=>({width:Math.sqrt(Math.max(o**2-(x/g)**2,0))*p,height:Math.min(x,g*o),meta:null});let v,y,C;if(c!=null&&u!=null){const x=oV(d,l,u,c,h,f);v=x?.label,y=x?.secondaryLabel,C=x?.height??0}else{const x=Mm(d,l,h,f);v=x?.[0],y=void 0,C=x?.[0].height??0}const S=C*Dfe[a];t.each((x,D)=>{let A;if(D.label==="primary"?A=v:D.label==="secondary"&&(A=y),A==null){x.visible=!1;return}x.visible=!0,x.text=A.text,x.fontSize=A.fontSize,x.lineHeight=A.lineHeight,x.textAlign=r,x.textBaseline="middle";const k=D.label==="primary"?A.height/2:C-A.height/2;x.y=D.centerY+k-S,x.x=D.centerX})}var{fromToMotion:Kg,resetMotion:PO,SeriesNodePickMode:NO,StateMachine:Ife,createDatumId:kM,ChartAxisDirection:ic,normalizeAngle360:OO,normalizeAngle360Inclusive:FO,toDegrees:Afe,toRadians:Rfe,BBox:Tfe,Group:Od,PointerEvents:Lfe,Selection:Fd,Sector:Efe,SectorBox:Pfe,Text:BO,ConicGradient:Nfe,Marker:Ofe,getColorStops:Ffe}=E,Bfe={inside:90,middle:0,outside:-90},Gfe=[{textAlign:"left",textBaseline:"top"},{textAlign:"right",textBaseline:"top"},{textAlign:"right",textBaseline:"bottom"},{textAlign:"left",textBaseline:"bottom"}],zfe=[{textAlign:"right",textBaseline:"bottom"},{textAlign:"left",textBaseline:"bottom"},{textAlign:"left",textBaseline:"top"},{textAlign:"right",textBaseline:"top"}],IT=class extends E.Series{constructor(e){super({moduleCtx:e,useLabelLayer:!0,pickModes:[NO.EXACT_SHAPE_MATCH,NO.NEAREST_NODE]}),this.canHaveAxes=!0,this.properties=new Bi,this.centerX=0,this.centerY=0,this.radius=0,this.textAlign="center",this.verticalAlign="middle",this.scaleGroup=this.contentGroup.appendChild(new Od({name:"scaleGroup"})),this.itemGroup=this.contentGroup.appendChild(new Od({name:"itemGroup"})),this.itemNeedleGroup=this.contentGroup.appendChild(new Od({name:"itemNeedleGroup"})),this.itemTargetGroup=this.contentGroup.appendChild(new Od({name:"itemTargetGroup"})),this.itemTargetLabelGroup=this.contentGroup.appendChild(new Od({name:"itemTargetLabelGroup"})),this.itemLabelGroup=this.contentGroup.appendChild(new Od({name:"itemLabelGroup"})),this.highlightTargetGroup=this.highlightGroup.appendChild(new Od({name:"itemTargetLabelGroup"})),this.scaleSelection=Fd.select(this.scaleGroup,()=>this.nodeFactory()),this.datumSelection=Fd.select(this.itemGroup,()=>this.nodeFactory()),this.needleSelection=Fd.select(this.itemNeedleGroup,MD),this.targetSelection=Fd.select(this.itemTargetGroup,()=>this.markerFactory()),this.targetLabelSelection=Fd.select(this.itemTargetLabelGroup,BO),this.labelSelection=Fd.select(this.itemLabelGroup,BO),this.highlightTargetSelection=Fd.select(this.highlightTargetGroup,()=>this.markerFactory()),this.datumUnion=new lV,this.animationState=new Ife("empty",{empty:{update:{target:"ready",action:()=>this.animateEmptyUpdateReady()},reset:"empty",skip:"ready"},ready:{updateData:"waiting",clear:"clearing",resize:()=>this.animateReadyResize(),reset:"empty",skip:"ready"},waiting:{update:{target:"ready",action:()=>this.animateWaitingUpdateReady()},reset:"empty",skip:"ready"},clearing:{update:{target:"empty"},reset:"empty",skip:"ready"}}),this.scaleGroup.pointerEvents=Lfe.None}get maximumRadius(){return this.properties.outerRadius}get minimumRadius(){return this.properties.outerRadius}get hasData(){return this.properties.value!=null}nodeFactory(){return new Efe}markerFactory(){const e=new Ofe;return e.size=1,e}processData(){this.nodeDataRefresh=!0,this.animationState.transition("updateData")}formatLabel(e){return dV(e,this.axes[ic.X])}createConicGradient(e,t){const{centerX:i,centerY:o,radius:s}=this,{domain:n,range:r}=this.axes[ic.X].scale,[a,l]=r,{defaultColorRange:c}=this.properties,d=OO((a+l)/2+Math.PI),u=FO(l-a),h=Ffe(e,c,n,t).map(({color:p,offset:g})=>(g=Math.min(Math.max(g,0),1),g=(a+u*g-d)/(2*Math.PI),g=(g%1+1)%1,{offset:g,color:p}));return new Nfe("oklch",h,Afe(d)-90,new Tfe(i-s,o-s,2*s,2*s))}getTargets(){const{properties:e}=this,t=e.defaultTarget;return Array.from(e.targets).map(i=>{const{text:o=t.text,value:s=t.value??0,shape:n=t.shape??"triangle",rotation:r=t.rotation??0,strokeWidth:a=t.strokeWidth??0,placement:l=t.placement??"middle",spacing:c=t.spacing??0,size:d=t.size??0,fill:u=t.fill??"black",fillOpacity:h=t.fillOpacity??1,stroke:p=t.stroke??"black",strokeOpacity:g=t.strokeOpacity??1,lineDash:f=t.lineDash??[0],lineDashOffset:v=t.lineDashOffset??0}=i,{enabled:y=t.label.enabled,color:C=t.label.color??"black",fontStyle:S=t.label.fontStyle??"normal",fontWeight:x=t.label.fontWeight??"normal",fontSize:D=t.label.fontSize,fontFamily:A=t.label.fontFamily,spacing:k=t.label.spacing??0}=i.label;return{text:o,value:s,shape:n,placement:l,spacing:c,size:d,rotation:r,fill:u,fillOpacity:h,stroke:p,strokeWidth:a,strokeOpacity:g,lineDash:f,lineDashOffset:v,label:{enabled:y,color:C,fontStyle:S,fontWeight:x,fontSize:D,fontFamily:A,spacing:k}}})}getTargetRadius(e){const{radius:t,properties:i}=this,{innerRadiusRatio:o,outerRadiusRatio:s}=i,{placement:n,spacing:r,size:a}=e,l=t*s,c=t*o;switch(n){case"inside":return Math.max(c-r-a/2,0);case"outside":return l+r+a/2;default:return(c+l)/2}}getTargetLabel(e){const i=this.axes[ic.X].scale,{value:o,size:s,placement:n,label:r}=e,{spacing:a,color:l,fontStyle:c,fontWeight:d,fontSize:u,fontFamily:h}=r,p=void 0,g=i.convert(o),f=OO(g)/(Math.PI/2)|0,v=s/2+a;let y,C,S,x;switch(n){case"outside":({textAlign:y,textBaseline:C}=Gfe[f]),S=v*Math.cos(g),x=v*Math.sin(g);break;case"inside":({textAlign:y,textBaseline:C}=zfe[f]),S=-v*Math.cos(g),x=-v*Math.sin(g);break;default:y="center",C="bottom",S=0,x=-v;break}return{offsetX:S,offsetY:x,fill:l,textAlign:y,textBaseline:C,fontStyle:c,fontWeight:d,fontSize:u,fontFamily:h,lineHeight:p}}createNodeData(){const{id:e,properties:t,radius:i,centerX:o,centerY:s}=this;if(!t.isValid())return;const n=this.axes[ic.X];if(n==null)return;const{value:r,innerRadiusRatio:a,outerRadiusRatio:l,segmentation:c,cornerRadius:d,cornerMode:u,needle:h,bar:p,scale:g,label:f,secondaryLabel:v}=t,{outerRadius:y=i*l,innerRadius:C=i*a}=t,S=this.getTargets(),{domain:x}=n.scale,D=[],A=[],k=[],w=[],M=[],[R,L]=n.range,P=n.scale,N=u==="item",O=P.convert(x[0]),F=P.convert(r),z=Math.ceil(FO(F-O)*i);let _=c.enabled?c.interval.getSegments(n.scale,z):void 0;const V=p.enabled?p.fill??this.createConicGradient(p.fills,p.fillMode):"rgba(0,0,0,0)",G=g.fill??(p.enabled&&g.fills.length===0?g.defaultFill:void 0)??this.createConicGradient(g.fills,g.fillMode);if(_==null&&N){const[H,B]=x,W={value:r,segmentStart:H,segmentEnd:B},U=Math.min(d,(y-C)/2)/((C+y)/2);D.push({series:this,itemId:"value",datum:W,datumIndex:{type:0},type:0,centerX:o,centerY:s,outerRadius:y,innerRadius:C,startAngle:O-U,endAngle:F+U,clipStartAngle:void 0,clipEndAngle:void 0,startCornerRadius:d,endCornerRadius:d,fill:V}),M.push({series:this,itemId:"scale",datum:W,datumIndex:{type:0},type:0,centerX:o,centerY:s,outerRadius:y,innerRadius:C,startAngle:R-U,endAngle:L+U,clipStartAngle:void 0,clipEndAngle:void 0,startCornerRadius:d,endCornerRadius:d,fill:G})}else{_??(_=x);for(let H=0;H<_.length-1;H++){const B=_[H],W=_[H+1],j={value:r,segmentStart:B,segmentEnd:W},U=H===0,ee=H===_.length-2,q=P.convert(B),te=P.convert(W);D.push({series:this,itemId:`value-${H}`,datum:j,datumIndex:{type:0},type:0,centerX:o,centerY:s,outerRadius:y,innerRadius:C,startAngle:q,endAngle:te,clipStartAngle:O,clipEndAngle:F,startCornerRadius:N||U?d:0,endCornerRadius:N||ee?d:0,fill:V}),M.push({series:this,itemId:`scale-${H}`,datum:j,datumIndex:{type:0},type:0,centerX:o,centerY:s,outerRadius:y,innerRadius:C,startAngle:q,endAngle:te,clipStartAngle:void 0,clipEndAngle:void 0,startCornerRadius:N||U?d:0,endCornerRadius:N||ee?d:0,fill:G})}}if(!h.enabled&&f.enabled){const{text:H,color:B,fontSize:W,minimumFontSize:j,fontStyle:U,fontWeight:ee,fontFamily:q,lineHeight:te,formatter:se=Z=>this.formatLabel(Z.value)}=f;w.push({label:"primary",centerX:o,centerY:s,text:H,value:r,fill:B,fontSize:W,minimumFontSize:j,fontStyle:U,fontWeight:ee,fontFamily:q,lineHeight:te,formatter:se})}if(!h.enabled&&v.enabled){const{text:H,color:B,fontSize:W,minimumFontSize:j,fontStyle:U,fontWeight:ee,fontFamily:q,lineHeight:te,formatter:se}=v;w.push({label:"secondary",centerX:o,centerY:s,text:H,value:r,fill:B,fontSize:W,minimumFontSize:j,fontStyle:U,fontWeight:ee,fontFamily:q,lineHeight:te,formatter:se})}if(h.enabled){let H=h.radiusRatio!=null?i*h.radiusRatio:C;H=Math.max(H-h.spacing,0);const B=P.convert(r);k.push({centerX:o,centerY:s,radius:H,angle:B,series:this})}for(let H=0;H<S.length;H+=1){const B=S[H],{value:W,text:j,size:U,shape:ee,fill:q,fillOpacity:te,stroke:se,strokeWidth:Z,strokeOpacity:ie,lineDash:X,lineDashOffset:ne}=B;if(W<Math.min(...x)||W>Math.max(...x))continue;const re=this.getTargetRadius(B),ue=P.convert(W),le=Rfe(B.rotation+Bfe[B.placement]);A.push({series:this,itemId:`target-${H}`,midPoint:{x:re*Math.cos(ue)+o,y:re*Math.sin(ue)+s},datum:{value:W},datumIndex:{type:1,index:H},type:1,value:W,text:j,centerX:o,centerY:s,shape:ee,radius:re,angle:ue,rotation:le,size:U,fill:q,fillOpacity:te,stroke:se,strokeOpacity:ie,strokeWidth:Z,lineDash:X,lineDashOffset:ne,label:this.getTargetLabel(B)})}return{itemId:e,nodeData:D,needleData:k,targetData:A,labelData:w,scaleData:M}}updateSelections(e){(this.nodeDataRefresh||e)&&(this.contextNodeData=this.createNodeData(),this.nodeDataRefresh=!1)}highlightDatum(e){if(e!=null&&e.series===this&&e.type===1)return e}update({seriesRect:e}){const{datumSelection:t,labelSelection:i,needleSelection:o,targetSelection:s,targetLabelSelection:n,scaleSelection:r,highlightTargetSelection:a}=this,l=this.checkResize(e);this.updateSelections(l),this.contentGroup.visible=this.visible,this.contentGroup.opacity=this.getOpacity();const c=this.contextNodeData?.nodeData??[],d=this.contextNodeData?.labelData??[],u=this.contextNodeData?.needleData??[],h=this.contextNodeData?.targetData??[],p=this.contextNodeData?.scaleData??[],g=this.highlightDatum(this.ctx.highlightManager.getActiveHighlight());this.scaleSelection=this.updateScaleSelection({scaleData:p,scaleSelection:r}),this.updateScaleNodes({scaleSelection:r}),this.needleSelection=this.updateNeedleSelection({needleData:u,needleSelection:o}),this.updateNeedleNodes({needleSelection:o}),this.targetSelection=this.updateTargetSelection({targetData:h,targetSelection:s}),this.updateTargetNodes({targetSelection:s,isHighlight:!1}),this.targetLabelSelection=this.updateTargetLabelSelection({targetData:h,targetLabelSelection:n}),this.updateTargetLabelNodes({targetLabelSelection:n}),this.datumSelection=this.updateDatumSelection({nodeData:c,datumSelection:t}),this.updateDatumNodes({datumSelection:t}),this.labelSelection=this.updateLabelSelection({labelData:d,labelSelection:i}),this.updateLabelNodes({labelSelection:i}),this.highlightTargetSelection=this.updateTargetSelection({targetData:g!=null?[g]:[],targetSelection:a}),this.updateTargetNodes({targetSelection:a,isHighlight:!0}),l&&this.animationState.transition("resize"),this.animationState.transition("update")}updateDatumSelection(e){return e.datumSelection.update(e.nodeData,void 0,t=>kM(e.nodeData.length,t.itemId))}updateDatumNodes(e){const{datumSelection:t}=e,{ctx:i,properties:o}=this,{bar:s,segmentation:n}=o,r=n.spacing??0,{fillOpacity:a,stroke:l,strokeOpacity:c,lineDash:d,lineDashOffset:u}=s,h=this.getStrokeWidth(s.strokeWidth),p=i.animationManager.isSkipped();t.each((g,f)=>{const{centerX:v,centerY:y,innerRadius:C,outerRadius:S,startCornerRadius:x,endCornerRadius:D,fill:A}=f;g.centerX=v,g.centerY=y,g.innerRadius=C,g.outerRadius=S,g.pointerEvents=this.properties.bar.enabled?E.PointerEvents.All:E.PointerEvents.None,g.fill=A,g.fillOpacity=a,g.stroke=l,g.strokeOpacity=c,g.strokeWidth=h,g.lineDash=d,g.lineDashOffset=u,g.startOuterCornerRadius=x,g.startInnerCornerRadius=x,g.endOuterCornerRadius=D,g.endInnerCornerRadius=D,g.radialEdgeInset=(r+g.strokeWidth)/2,g.concentricEdgeInset=g.strokeWidth/2,(p||g.previousDatum==null)&&g.setProperties(DM(g,f))}),this.datumUnion.update(t,this.itemGroup,E.Sector,(g,f,v)=>{g.clipSector??(g.clipSector=new Pfe(NaN,NaN,NaN,NaN)),g.centerX=f.centerX,g.centerY=f.centerY,g.outerRadius=g.clipSector.outerRadius=f.outerRadius,g.innerRadius=g.clipSector.innerRadius=f.innerRadius,g.startAngle=g.clipSector.startAngle=f.startAngle,g.startInnerCornerRadius=f.startInnerCornerRadius,g.startOuterCornerRadius=f.startOuterCornerRadius,g.endAngle=v.endAngle,g.clipSector.endAngle=v.clipSector?.endAngle??v.endAngle,g.endInnerCornerRadius=v.endInnerCornerRadius,g.endOuterCornerRadius=v.endOuterCornerRadius,g.pointerEvents=E.PointerEvents.None})}updateScaleSelection(e){return e.scaleSelection.update(e.scaleData,void 0,t=>kM(e.scaleData.length,t.itemId))}updateScaleNodes(e){const{scaleSelection:t}=e,{scale:i,segmentation:o}=this.properties,s=o.spacing??0,{fillOpacity:n,stroke:r,strokeOpacity:a,strokeWidth:l,lineDash:c,lineDashOffset:d}=i;t.each((u,h)=>{const{centerX:p,centerY:g,innerRadius:f,outerRadius:v,startCornerRadius:y,endCornerRadius:C,fill:S}=h;u.centerX=p,u.centerY=g,u.innerRadius=f,u.outerRadius=v,u.fill=S,u.fillOpacity=n,u.stroke=r,u.strokeOpacity=a,u.strokeWidth=l,u.lineDash=c,u.lineDashOffset=d,u.startOuterCornerRadius=y,u.startInnerCornerRadius=y,u.endOuterCornerRadius=C,u.endInnerCornerRadius=C,u.radialEdgeInset=(s+u.strokeWidth)/2,u.concentricEdgeInset=u.strokeWidth/2,u.setProperties(DM(u,h))})}updateNeedleSelection(e){return e.needleSelection.update(e.needleData,void 0,()=>kM([]))}updateNeedleNodes(e){const{needleSelection:t}=e,{fill:i,fillOpacity:o,stroke:s,strokeOpacity:n,strokeWidth:r,lineDash:a,lineDashOffset:l}=this.properties.needle,c=this.ctx.animationManager.isSkipped();t.each((d,u)=>{const{centerX:h,centerY:p,radius:g}=u,f=g*2;d.d=MD.defaultPathData,d.fill=i,d.fillOpacity=o,d.stroke=s,d.strokeOpacity=n,d.strokeWidth=r/f,d.lineDash=a.map(v=>v/f),d.lineDashOffset=l/f,d.translationX=h,d.translationY=p,d.scalingX=f,d.scalingY=f,c&&d.setProperties(EO(d,u))})}updateTargetSelection(e){return e.targetSelection.update(e.targetData,void 0,t=>t.itemId)}updateTargetNodes(e){const{targetSelection:t,isHighlight:i}=e,o=i?this.properties.highlightStyle.item:void 0;t.each((s,n)=>{const{centerX:r,centerY:a,angle:l,radius:c,shape:d,size:u,rotation:h,fill:p,fillOpacity:g,stroke:f,strokeOpacity:v,strokeWidth:y,lineDash:C,lineDashOffset:S}=n;s.shape=d==="line"?uV:d,s.size=u,s.fill=o?.fill??p,s.fillOpacity=o?.fillOpacity??g,s.stroke=o?.stroke??f,s.strokeOpacity=o?.strokeOpacity??v,s.strokeWidth=o?.strokeWidth??y,s.lineDash=o?.lineDash??C,s.lineDashOffset=o?.lineDashOffset??S,s.translationX=r+c*Math.cos(l),s.translationY=a+c*Math.sin(l),s.rotation=l+h})}updateTargetLabelSelection(e){return e.targetLabelSelection.update(e.targetData,void 0,t=>t.itemId)}updateTargetLabelNodes(e){const{targetLabelSelection:t}=e;t.each((i,o)=>{const{centerX:s,centerY:n,radius:r,angle:a,text:l}=o,{offsetX:c,offsetY:d,fill:u,fontStyle:h,fontWeight:p,fontSize:g,fontFamily:f,textAlign:v,textBaseline:y}=o.label;if(l==null){i.visible=!1;return}i.visible=!0,i.x=s+r*Math.cos(a)+c,i.y=n+r*Math.sin(a)+d,i.text=l,i.fill=u,i.fontStyle=h,i.fontWeight=p,i.fontSize=g,i.fontFamily=f,i.textAlign=v,i.textBaseline=y})}updateLabelSelection(e){return e.labelSelection.update(e.labelData,void 0,t=>t.label)}updateLabelNodes(e){const{labelSelection:t}=e,i=this.ctx.animationManager.isSkipped();t.each((o,s)=>{o.fill=s.fill,o.fontStyle=s.fontStyle,o.fontWeight=s.fontWeight,o.fontFamily=s.fontFamily}),(i||this.labelsHaveExplicitText())&&this.formatLabelText()}labelsHaveExplicitText(){for(const{datum:e}of this.labelSelection)if(e.text==null)return!1;return!0}formatLabelText(e){if(this.axes[ic.X]==null)return;const{labelSelection:i,radius:o,textAlign:s,verticalAlign:n}=this,{spacing:r,innerRadiusRatio:a}=this.properties;kfe(this,i,{padding:r,textAlign:s,verticalAlign:n},o*a,e)}resetAllAnimation(){this.ctx.animationManager.stopByAnimationGroupId(this.id),PO([this.datumSelection],DM),PO([this.needleSelection],EO),this.formatLabelText()}resetAnimation(e){e==="initial"?this.animationState.transition("reset"):e==="ready"&&this.animationState.transition("skip")}animateLabelText(e={}){const{animationManager:t}=this.ctx;let i,o,s,n;if(this.labelSelection.each((r,a)=>{r.opacity=1,a.label==="primary"?(i=r.previousDatum?.value??e.from??a.value,o=a.value):a.label==="secondary"&&(s=r.previousDatum?.value??e.from??a.value,n=a.value)}),!this.labelsHaveExplicitText())if(o==null||n==null)this.formatLabelText();else if(i===o&&s===n)this.formatLabelText({label:o,secondaryLabel:n});else{const r=`${this.id}_labels`;t.animate({id:r,groupId:"label",from:{label:i,secondaryLabel:s},to:{label:o,secondaryLabel:n},phase:e.phase??"update",onUpdate:a=>this.formatLabelText(a)})}}animateEmptyUpdateReady(){const{animationManager:e}=this.ctx,{node:t,needle:i}=LO(!0,this.axes[ic.X]?.range[0]??0);Kg(this.id,"node",e,[this.datumSelection],t,(o,s)=>s.itemId),Kg(this.id,"needle",e,[this.needleSelection],i,()=>"needle"),Kg(this.id,"label",e,[this.labelSelection],cV,(o,s)=>s.label),this.animateLabelText({from:this.axes[ic.X]?.scale.domain[0]??0,phase:"initial"})}animateWaitingUpdateReady(){const{animationManager:e}=this.ctx,{node:t,needle:i}=LO(!1,this.axes[ic.X]?.range[0]??0);Kg(this.id,"node",e,[this.datumSelection],t,(o,s)=>s.itemId),Kg(this.id,"needle",e,[this.needleSelection],i,()=>"needle"),this.animateLabelText()}animateReadyResize(){this.resetAllAnimation()}getSeriesDomain(){return[NaN,NaN]}getSeriesRange(e,t){return[NaN,NaN]}getLegendData(){return[]}getTooltipContent(e){const{id:t,properties:i}=this,{tooltip:o}=i;if(!i.isValid())return;const{value:s=i.value,text:n=i.label.text}=mV(e);return o.formatTooltip({data:[{label:n,fallbackLabel:"Value",value:this.formatLabel(s)}]},{seriesId:t,title:void 0,datum:void 0,value:s})}pickNodeClosestDatum(e){return hV(this,e)}pickFocus(e){return pV(this,e)}getCaptionText(){const{value:e}=this.properties,t=[];return t.push(this.formatLabel(e)),this.labelSelection.each((i,o)=>{const s=Dm(this,o);s!=null&&t.push(s)}),t.join(". ")}};IT.className="RadialGaugeSeries";IT.type="radial-gauge";var{FONT_SIZE_RATIO:_fe,ThemeSymbols:{DEFAULT_HIERARCHY_FILLS:Vfe,DEFAULT_GAUGE_SERIES_COLOR_RANGE:Hfe},ThemeConstants:{POLAR_AXIS_TYPE:IM}}=E,Wfe={type:"series",optionsKey:"series[]",packageType:"enterprise",chartTypes:["gauge"],identifier:"radial-gauge",moduleFactory:e=>new IT(e),tooltipDefaults:{range:10},defaultAxes:[{type:IM.ANGLE_NUMBER,line:{enabled:!1}},{type:IM.RADIUS_NUMBER,line:{enabled:!1}}],themeTemplate:{minWidth:200,minHeight:200,tooltip:{enabled:!1},series:{outerRadiusRatio:1,innerRadiusRatio:.8,bar:{strokeWidth:0},segmentation:{enabled:!1,interval:{},spacing:2},defaultTarget:{fill:{$ref:"foregroundColor"},stroke:{$ref:"foregroundColor"},size:10,shape:"triangle",placement:"outside",spacing:5,label:{enabled:!0,fontWeight:{$ref:"fontWeight"},fontSize:{$ref:"fontSize"},fontFamily:{$ref:"fontFamily"},color:{$ref:"textColor"},spacing:5}},needle:{enabled:!1,fill:{$ref:"foregroundColor"},spacing:10},label:{enabled:!0,fontWeight:{$ref:"fontWeight"},fontSize:56,minimumFontSize:18/56,fontFamily:{$ref:"fontFamily"},color:{$ref:"textColor"}},secondaryLabel:{enabled:!0,fontWeight:{$ref:"fontWeight"},fontSize:{$rem:[_fe.LARGE]},minimumFontSize:{$ref:"fontSize"},fontFamily:{$ref:"fontFamily"},color:{$ref:"subtleTextColor"}}},axes:{[IM.ANGLE_NUMBER]:{startAngle:270,endAngle:450,nice:!1,line:{enabled:!1}}}},paletteFactory(e){const{takeColors:t,colorsCount:i,userPalette:o,themeTemplateParameters:s}=e,{fills:n}=t(i),r=s.get(Hfe),a=s.get(Vfe),l=o==="inbuilt"?r:[n[0],n[1]];return{scale:{defaultFill:a?.[1],stroke:a?.[2]},defaultColorRange:aV(l)}}},jfe=1e3;function GO(e,t,i,o,s,n){const r=e[n];if(r==null)return!1;const a=lx(r,t,i),l=cx(a,s);return n===o[l+Cs]}function zO(e,t,i,o,s,n){const r=e[n];if(r==null)return!1;const a=lx(r,t,i),l=cx(a,s);return n===o[l+bs]}function $fe(e,t,i,o){if(e.length<jfe)return;const[s,n]=Ey(o);let r=Ly(e);const{indexData:a,valueData:l}=Py(e,t,i,s,n,r);let c=[],d=[];for(let h=0;h<e.length;h+=1)GO(e,s,n,a,r,h)&&c.push(h),zO(e,s,n,a,r,h)&&d.push(h);const u=[{maxRange:r,topIndices:c,bottomIndices:d}];for(;r>64;)({maxRange:r}=Ny(a,l,r,{inPlace:!0})),c=c.filter(GO.bind(null,e,s,n,a,r)),d=d.filter(zO.bind(null,e,s,n,a,r)),u.push({maxRange:r,topIndices:c,bottomIndices:d});return u.reverse(),u}var{CartesianSeriesProperties:Ufe,InterpolationProperties:Kfe,SeriesMarker:Yfe,SeriesTooltip:Xfe,Validate:ni,BOOLEAN:Zfe,COLOR_STRING:u9,LINE_DASH:qfe,OBJECT:Xy,PLACEMENT:Qfe,POSITIVE_NUMBER:AT,RATIO:h9,STRING:th,DropShadow:Jfe,Label:eme}=E,RT=class extends eme{constructor(){super(...arguments),this.placement="outside",this.padding=6}};b([ni(Qfe)],RT.prototype,"placement");b([ni(AT)],RT.prototype,"padding");var Si=class extends Ufe{constructor(){super(...arguments),this.fill="#99CCFF",this.fillOpacity=1,this.stroke="#99CCFF",this.strokeWidth=1,this.strokeOpacity=1,this.lineDash=[0],this.lineDashOffset=0,this.interpolation=new Kfe,this.shadow=new Jfe().set({enabled:!1}),this.marker=new Yfe,this.label=new RT,this.tooltip=new Xfe,this.connectMissingData=!1}};b([ni(th)],Si.prototype,"xKey");b([ni(th)],Si.prototype,"yLowKey");b([ni(th)],Si.prototype,"yHighKey");b([ni(th,{optional:!0})],Si.prototype,"xName");b([ni(th,{optional:!0})],Si.prototype,"yName");b([ni(th,{optional:!0})],Si.prototype,"yLowName");b([ni(th,{optional:!0})],Si.prototype,"yHighName");b([ni(u9)],Si.prototype,"fill");b([ni(h9)],Si.prototype,"fillOpacity");b([ni(u9)],Si.prototype,"stroke");b([ni(AT)],Si.prototype,"strokeWidth");b([ni(h9)],Si.prototype,"strokeOpacity");b([ni(qfe)],Si.prototype,"lineDash");b([ni(AT)],Si.prototype,"lineDashOffset");b([ni(Xy)],Si.prototype,"interpolation");b([ni(Xy)],Si.prototype,"shadow");b([ni(Xy)],Si.prototype,"marker");b([ni(Xy)],Si.prototype,"label");b([ni(Xy)],Si.prototype,"tooltip");b([ni(Zfe)],Si.prototype,"connectMissingData");var{CollapseMode:rb,isScaleValid:_O,pairUpSpans:ab,prepareAreaFillAnimationFns:tme,plotInterpolatedLinePathStroke:Mh,prepareLinePathPropertyAnimation:ime,areScalingEqual:VO}=E;function ome(e,t,i,o){const s=(l,c)=>{Mh(l,c,t.removed),Mh(l,c,i.removed)},n=(l,c)=>{Mh(l,c,t.moved),Mh(l,c,i.moved)},r=(l,c)=>{Mh(l,c,t.added),Mh(l,c,i.added)},a=ime(e,o);return{status:e,path:{addPhaseFn:r,updatePhaseFn:n,removePhaseFn:s},pathProperties:a}}function sme(e,t,i){const o=e.scales.x?.type==="category",s=t.scales.x?.type==="category";if(o!==s||!_O(e.scales.x)||!_O(t.scales.x))return;let n="updated";t.visible&&!e.visible?n="removed":!t.visible&&e.visible&&(n="added");const r=ab({scales:e.scales,data:e.fillData.spans},{scales:t.scales,data:t.fillData.spans},rb.Split);if(r==null)return;const a=ab({scales:e.scales,data:e.fillData.phantomSpans},{scales:t.scales,data:t.fillData.phantomSpans},rb.Split);if(a==null)return;const l=ab({scales:e.scales,data:e.highStrokeData.spans},{scales:t.scales,data:t.highStrokeData.spans},rb.Split);if(l==null)return;const c=ab({scales:e.scales,data:e.lowStrokeData.spans},{scales:t.scales,data:t.lowStrokeData.spans},rb.Split);if(c==null)return;const d="fade",u=tme(n,r,a,d),h=ome(n,l,c,d),p=(i?.changed??!0)||!VO(e.scales.x,t.scales.x)||!VO(e.scales.y,t.scales.y)||n!=="updated";return{status:n,fill:u,stroke:h,hasMotion:p}}var{valueProperty:HO,keyProperty:nme,ChartAxisDirection:xo,mergeDefaults:rme,updateLabelNode:ame,fixNumericExtent:WO,buildResetPathFn:lme,resetLabelFn:cme,resetMarkerFn:dme,resetMarkerPositionFn:jO,pathSwipeInAnimation:ume,resetMotion:hme,markerSwipeScaleInAnimation:pme,seriesLabelFadeInAnimation:AM,animationValidation:gme,diff:fme,updateClipPath:$O,computeMarkerFocusBounds:UO,plotAreaPathFill:mme,plotLinePathStroke:KO,interpolatePoints:YO,pathFadeInAnimation:XO,markerFadeInAnimation:ZO,fromToMotion:qO,pathMotion:QO,extent:yme,createDatumId:vme,PointerEvents:RM,Group:bme,BBox:Cme,ContinuousScale:Sme,OrdinalTimeScale:xme,findMinMax:wme}=E,Mme=class extends E.SeriesNodeEvent{constructor(e,t,i,o){super(e,t,i,o),this.xKey=o.properties.xKey,this.yLowKey=o.properties.yLowKey,this.yHighKey=o.properties.yHighKey}},TT=class extends E.CartesianSeries{constructor(e){super({moduleCtx:e,hasMarkers:!0,pathsPerSeries:["fill","stroke"],pickModes:[E.SeriesNodePickMode.AXIS_ALIGNED],directionKeys:{[xo.X]:["xKey"],[xo.Y]:["yLowKey","yHighKey"]},directionNames:{[xo.X]:["xName"],[xo.Y]:["yLowName","yHighName","yName"]},animationResetFns:{path:lme({getVisible:()=>this.visible,getOpacity:()=>this.getOpacity()}),label:cme,marker:(t,i)=>({...dme(t),...jO(t,i)})}}),this.properties=new Si,this.NodeEvent=Mme,this.dataAggregationFilters=void 0}async processData(e){if(!this.properties.isValid())return;const{xKey:t,yLowKey:i,yHighKey:o}=this.properties,s=this.axes[xo.X]?.scale,n=this.axes[xo.Y]?.scale,{xScaleType:r,yScaleType:a}=this.getScaleInformation({xScale:s,yScale:n}),l=[],c=!this.ctx.animationManager.isSkipped();!this.ctx.animationManager.isSkipped()&&this.processedData&&l.push(fme(this.id,this.processedData)),c&&l.push(gme());const{dataModel:d,processedData:u}=await this.requestDataModel(e,this.data,{props:[nme(t,r,{id:"xValue"}),HO(i,a,{id:"yLowValue"}),HO(o,a,{id:"yHighValue"}),...l]});this.dataAggregationFilters=this.aggregateData(d,u),this.animationState.transition("updateData")}aggregateData(e,t){const i=this.axes[xo.X];if(i==null||!(Sme.is(i.scale)||xme.is(i.scale)))return;const o=e.resolveKeysById(this,"xValue",t),s=e.resolveColumnById(this,"yHighValue",t),n=e.resolveColumnById(this,"yLowValue",t),{index:r}=e.resolveProcessedDataDefById(this,"xValue"),a=t.domain.keys[r];return $fe(o,s,n,a)}xCoordinateRange(e){const t=this.axes[xo.X].scale.convert(e);return[t,t]}yCoordinateRange(e){const t=this.axes[xo.Y].scale.convert(e[0]);return[t,t]}getSeriesDomain(e){const{processedData:t,dataModel:i}=this;if(!(t&&i))return[];const{domain:{keys:[o]}}=t;if(e===xo.X){const s=i.resolveProcessedDataDefById(this,"xValue");return s?.def.type==="key"&&s.def.valueType==="category"?o:WO(yme(o))}else{const s=this.domainForClippedRange(xo.Y,["yHighValue","yLowValue"],"xValue",!0),n=wme(s);return WO(n)}}getSeriesRange(e,t){return this.domainForVisibleRange(xo.Y,["yHighValue","yLowValue"],"xValue",t,!0)}createNodeData(){const{data:e,dataModel:t,processedData:i,axes:o}=this,s=o[xo.X],n=o[xo.Y];if(!(e&&s&&n&&t&&i))return;const r=s.scale,a=n.scale,{xKey:l,yLowKey:c,yHighKey:d,connectMissingData:u,marker:h,interpolation:p}=this.properties,g=i.dataSources.get(this.id)??[],f=(r.bandwidth??0)/2,v=t.resolveKeysById(this,"xValue",i),y=t.resolveColumnById(this,"yHighValue",i),C=t.resolveColumnById(this,"yLowValue",i),S=H=>r.convert(v[H])+f,x=[],D=[],A=[],k=(H,B,W)=>{const j=g[H],U=v[H];if(U==null)return;const ee=A[A.length-1];if(Number.isFinite(B)&&Number.isFinite(W)){const q=(re,ue,le)=>{D.push({index:H,series:this,itemId:re,datum:j,datumIndex:H,midPoint:{x:se,y:le},yHighValue:B,yLowValue:W,xValue:U,xKey:l,yLowKey:c,yHighKey:d,point:{x:se,y:le,size:X},enabled:!0});const me=this.createLabelData({datumIndex:H,point:{x:se,y:le},value:ue,yLowValue:W,yHighValue:B,itemId:re,inverted:te,datum:j,series:this});x.push(me)},te=W>B,se=S(H),Z=a.convert(B),ie=a.convert(W),{size:X}=h;q("high",B,Z),q("low",W,ie);const ne={high:{point:{x:se,y:Z},xDatum:U,yDatum:B},low:{point:{x:se,y:ie},xDatum:U,yDatum:W}};Array.isArray(ee)?ee.push(ne):ee!=null?(ee.skip+=1,A.push([ne])):A.push([ne])}else u||(Array.isArray(ee)||ee==null?A.push({skip:0}):ee.skip+=1)},{dataAggregationFilters:w}=this,[M,R]=r.range,L=R-M,P=w?.find(H=>H.maxRange>L),N=P?.topIndices,O=P?.bottomIndices;let[F,z]=this.visibleRange("xValue",s.range,N);F=Math.max(F-1,0),z=Math.min(z+1,N?.length??v.length),i.input.count<1e3&&(F=0,z=i.input.count);for(let H=F;H<z;H+=1){const B=N?.[H]??H,W=O?.[H]??H;k(B,y[B],C[W])}const _=A.flatMap(H=>{if(!Array.isArray(H))return[];const B=H.map(W=>W.high);return YO(B,p)}),V=A.flatMap(H=>{if(!Array.isArray(H))return[];const B=H.map(W=>W.low);return YO(B,p)});return{itemId:`${c}-${d}`,labelData:x,nodeData:D,fillData:{itemId:"high",spans:_,phantomSpans:V},highStrokeData:{itemId:"high",spans:_},lowStrokeData:{itemId:"low",spans:V},scales:this.calculateScaling(),visible:this.visible}}createLabelData({datumIndex:e,point:t,value:i,itemId:o,inverted:s,datum:n,series:r}){const{xKey:a,yLowKey:l,yHighKey:c,xName:d,yName:u,yLowName:h,yHighName:p,label:g}=this.properties,{placement:f,padding:v=10}=g;let y=o;s&&(y=o==="low"?"high":"low");const C=f==="outside"&&y==="high"||f==="inside"&&y==="low"?-1:1;return{x:t.x,y:t.y+v*C,series:r,itemId:o,datum:n,datumIndex:e,text:this.getLabelText(g,{value:i,datum:n,itemId:o,xKey:a,yLowKey:l,yHighKey:c,xName:d,yLowName:h,yHighName:p,yName:u}),textAlign:"center",textBaseline:C===-1?"bottom":"top"}}isPathOrSelectionDirty(){return this.properties.marker.isDirty()}updatePathNodes(e){const{opacity:t,visible:i,animationEnabled:o}=e,[s,n]=e.paths,r=this.getStrokeWidth(this.properties.strokeWidth);n.setProperties({fill:void 0,lineCap:"round",lineJoin:"round",pointerEvents:RM.None,stroke:this.properties.stroke,strokeWidth:r,strokeOpacity:this.properties.strokeOpacity,lineDash:this.properties.lineDash,lineDashOffset:this.properties.lineDashOffset,opacity:t,visible:i||o}),s.setProperties({stroke:void 0,lineJoin:"round",pointerEvents:RM.None,fill:this.properties.fill,fillOpacity:this.properties.fillOpacity,lineDash:this.properties.lineDash,lineDashOffset:this.properties.lineDashOffset,strokeOpacity:this.properties.strokeOpacity,fillShadow:this.properties.shadow,strokeWidth:r,opacity:t,visible:i||o}),$O(this,n),$O(this,s)}updatePaths(e){this.updateAreaPaths(e.paths,e.contextData)}updateAreaPaths(e,t){for(const i of e)i.visible=t.visible;if(t.visible)this.updateFillPath(e,t),this.updateStrokePath(e,t);else for(const i of e)i.path.clear(),i.markDirty()}updateFillPath(e,t){const[i]=e;i.path.clear(),mme(i,t.fillData),i.markDirty()}updateStrokePath(e,t){const[,i]=e;i.path.clear(),KO(i,t.highStrokeData.spans),KO(i,t.lowStrokeData.spans),i.markDirty()}updateMarkerSelection(e){const{nodeData:t,markerSelection:i}=e;return this.properties.marker.isDirty()&&(i.clear(),i.cleanup()),i.update(this.properties.marker.enabled?t:[])}getMarkerItemBaseStyle(e){const{properties:t}=this,{marker:i}=t,o=e?t.highlightStyle.item:void 0;return{shape:i.shape,size:i.size,fill:o?.fill??i.fill,fillOpacity:o?.fillOpacity??i.fillOpacity,stroke:o?.stroke??i.stroke,strokeWidth:o?.strokeWidth??this.getStrokeWidth(i.strokeWidth),strokeOpacity:o?.strokeOpacity??i.strokeOpacity,lineDash:o?.lineDash??i.lineDash,lineDashOffset:o?.lineDashOffset??i.lineDashOffset}}getMarkerItemStyleOverrides(e,t,i,o){const{id:s,properties:n}=this,{xKey:r,yHighKey:a,yLowKey:l,marker:c}=n,{itemStyler:d}=c;if(d!=null)return this.cachedDatumCallback(vme(e,o?"highlight":"node"),()=>d({seriesId:s,datum:t,xKey:r,yHighKey:a,yLowKey:l,highlighted:o,...i}))}updateMarkerNodes(e){const{markerSelection:t,isHighlight:i}=e,{xKey:o,yLowKey:s,yHighKey:n,marker:r,fill:a,stroke:l,strokeWidth:c,fillOpacity:d,strokeOpacity:u}=this.properties,h=rme(i&&this.properties.highlightStyle.item,r.getStyle(),{fill:a,fillOpacity:d,stroke:l,strokeWidth:c,strokeOpacity:u});t.each((p,g)=>{this.updateMarkerStyle(p,r,{datum:g,highlighted:i,xKey:o,yHighKey:n,yLowKey:s},h)}),i||this.properties.marker.markClean()}updateLabelSelection(e){const{labelData:t,labelSelection:i}=e;return i.update(t,o=>{o.pointerEvents=RM.None})}updateLabelNodes(e){e.labelSelection.each((t,i)=>{ame(t,this.properties.label,i)})}getHighlightLabelData(e,t){const i=e.filter(o=>o.datum===t.datum);return i.length>0?i:void 0}getHighlightData(e,t){const i=e.filter(o=>o.datum===t.datum);return i.length>0?i:void 0}getTooltipContent(e){const{id:t,dataModel:i,processedData:o,axes:s,properties:n}=this,{xName:r,yName:a,yLowKey:l,yLowName:c,xKey:d,yHighKey:u,yHighName:h,tooltip:p}=n,g=s[xo.X],f=s[xo.Y];if(!i||!o||!g||!f)return;const{datumIndex:v}=e,y=o.dataSources.get(this.id)?.[v],C=i.resolveKeysById(this,"xValue",o)[v],S=i.resolveColumnById(this,"yHighValue",o)[v],x=i.resolveColumnById(this,"yLowValue",o)[v];if(C==null)return;const D=this.getMarkerItemBaseStyle(!1);Object.assign(D,this.getMarkerItemStyleOverrides(String(v),v,D,!1));const A=`${f.formatDatum(x)} - ${f.formatDatum(S)}`;return p.formatTooltip({heading:g.formatDatum(C),symbol:this.legendItemSymbol(),data:[{label:a,fallbackLabel:`${c??l} - ${h??u}`,value:A}]},{seriesId:t,datum:y,title:a,itemId:e.itemId,xName:r,yName:a,yLowKey:l,yLowName:c,xKey:d,yHighKey:u,yHighName:h,...D})}legendItemSymbol(){const{fill:e,stroke:t,strokeWidth:i,strokeOpacity:o,lineDash:s,marker:n}=this.properties;return{marker:{shape:n.shape,fill:n.fill??e,stroke:n.stroke??t,fillOpacity:n.fillOpacity,strokeOpacity:n.strokeOpacity,strokeWidth:n.strokeWidth,lineDash:n.lineDash,lineDashOffset:n.lineDashOffset},line:{stroke:t,strokeOpacity:o,strokeWidth:i,lineDash:s}}}getLegendData(e){if(e!=="category")return[];const{id:t,visible:i}=this,{yLowKey:o,yHighKey:s,yName:n,yLowName:r,yHighName:a,showInLegend:l}=this.properties,c=n??`${r??o} - ${a??s}`,d=`${o}-${s}`;return[{legendType:"category",id:t,itemId:d,seriesId:t,enabled:i,label:{text:`${c}`},symbol:this.legendItemSymbol(),hideInLegend:!l}]}isLabelEnabled(){return this.properties.label.enabled}onDataChange(){}nodeFactory(){return new bme}animateEmptyUpdateReady(e){const{markerSelection:t,labelSelection:i,contextData:o,paths:s}=e,{animationManager:n}=this.ctx;this.updateAreaPaths(s,o),ume(this,n,...s),hme([t],jO),pme(this,n,t),AM(this,"labels",n,i)}animateReadyResize(e){const{contextData:t,paths:i}=e;this.updateAreaPaths(i,t),super.animateReadyResize(e)}animateWaitingUpdateReady(e){const{animationManager:t}=this.ctx,{markerSelection:i,labelSelection:o,contextData:s,paths:n,previousContextData:r}=e,[a,l]=n;if(a==null&&l==null)return;this.resetMarkerAnimation(e),this.resetLabelAnimation(e);const c=()=>{this.resetPathAnimation(e),this.updateAreaPaths(n,s)},d=()=>{t.skipCurrentBatch(),c()};if(s==null||r==null){c(),ZO(this,t,"added",i),XO(this,"fill_path_properties",t,"add",a),XO(this,"stroke_path_properties",t,"add",l),AM(this,"labels",t,o);return}const u=sme(s,r,this.processedData?.reduced?.diff?.[this.id]);if(u===void 0){d();return}else if(u.status==="no-op")return;qO(this.id,"fill_path_properties",t,[a],u.fill.pathProperties),qO(this.id,"stroke_path_properties",t,[l],u.stroke.pathProperties),u.status==="added"?this.updateAreaPaths(n,s):u.status==="removed"?this.updateAreaPaths(n,r):(QO(this.id,"fill_path_update",t,[a],u.fill.path),QO(this.id,"stroke_path_update",t,[l],u.stroke.path)),u.hasMotion&&(ZO(this,t,void 0,i),AM(this,"labels",t,o)),this.ctx.animationManager.animate({id:this.id,groupId:"reset_after_animation",phase:"trailing",from:{},to:{},onComplete:()=>this.updateAreaPaths(n,s)})}getFormattedMarkerStyle(e){const{xKey:t,yLowKey:i,yHighKey:o}=this.properties;return this.getMarkerStyle(this.properties.marker,{datum:e,xKey:t,yLowKey:i,yHighKey:o,highlighted:!0})}computeFocusBounds(e){const t=UO(this,e),i=UO(this,{...e,datumIndex:e.datumIndex+1});if(t&&i)return Cme.merge([t,i])}computeFocusDatumIndex(e,t){const i={...e,datumIndex:e.datumIndex+e.datumIndexDelta,datumIndexDelta:e.datumIndexDelta*2};return super.computeFocusDatumIndex(i,t)}};TT.className="RangeAreaSeries";TT.type="range-area";var Dme={series:{fillOpacity:.7,nodeClickRange:"nearest",marker:{enabled:!1,size:6,strokeWidth:2},label:{enabled:!1,placement:"outside",padding:10,fontSize:{$ref:"fontSize"},fontFamily:{$ref:"fontFamily"},fontWeight:{$ref:"fontWeight"},color:{$ref:"textColor"}},interpolation:{type:"linear",tension:1,position:"end"}},axes:{[E.ThemeConstants.CARTESIAN_AXIS_TYPE.NUMBER]:{crosshair:{enabled:!0}}}},{markerPaletteFactory:kme,ThemeConstants:{CARTESIAN_AXIS_TYPE:JO,CARTESIAN_POSITION:eF}}=E,Ime={type:"series",optionsKey:"series[]",packageType:"enterprise",chartTypes:["cartesian"],identifier:"range-area",moduleFactory:e=>new TT(e),tooltipDefaults:{range:"nearest"},defaultAxes:[{type:JO.NUMBER,position:eF.LEFT},{type:JO.CATEGORY,position:eF.BOTTOM}],themeTemplate:Dme,paletteFactory:e=>{const{marker:t}=kme(e);return{fill:t.fill,stroke:t.stroke,marker:t}}},Ame=1e3,Rme=5;function Tme(e,t,i,o){if(e.length<Ame)return;const[s,n]=Ey(o);let r=Ly(e,Rme),{indexData:a,valueData:l}=Py(e,t,i,s,n,r);const c=[{maxRange:r,indexData:a}];for(;r>64;)({indexData:a,valueData:l,maxRange:r}=Ny(a,l,r)),c.push({maxRange:r,indexData:a});return c.reverse(),c}var{AbstractBarSeriesProperties:Lme,SeriesTooltip:Eme,Validate:ri,COLOR_STRING:p9,FUNCTION:Pme,LINE_DASH:Nme,OBJECT:LT,PLACEMENT:Ome,POSITIVE_NUMBER:Ex,RATIO:g9,STRING:ih,BOOLEAN:Fme,DropShadow:Bme,Label:Gme}=E,ET=class extends Gme{constructor(){super(...arguments),this.placement="inside",this.padding=6}};b([ri(Ome)],ET.prototype,"placement");b([ri(Ex)],ET.prototype,"padding");var xi=class extends Lme{constructor(){super(...arguments),this.fill="#99CCFF",this.fillOpacity=1,this.stroke="#99CCFF",this.strokeWidth=1,this.strokeOpacity=1,this.lineDash=[0],this.lineDashOffset=0,this.cornerRadius=0,this.shadow=new Bme().set({enabled:!1}),this.label=new ET,this.tooltip=new Eme,this.fastDataProcessing=!1}};b([ri(ih)],xi.prototype,"xKey");b([ri(ih)],xi.prototype,"yLowKey");b([ri(ih)],xi.prototype,"yHighKey");b([ri(ih,{optional:!0})],xi.prototype,"xName");b([ri(ih,{optional:!0})],xi.prototype,"yName");b([ri(ih,{optional:!0})],xi.prototype,"yLowName");b([ri(ih,{optional:!0})],xi.prototype,"yHighName");b([ri(p9)],xi.prototype,"fill");b([ri(g9)],xi.prototype,"fillOpacity");b([ri(p9)],xi.prototype,"stroke");b([ri(Ex)],xi.prototype,"strokeWidth");b([ri(g9)],xi.prototype,"strokeOpacity");b([ri(Nme)],xi.prototype,"lineDash");b([ri(Ex)],xi.prototype,"lineDashOffset");b([ri(Ex)],xi.prototype,"cornerRadius");b([ri(Pme,{optional:!0})],xi.prototype,"itemStyler");b([ri(LT)],xi.prototype,"shadow");b([ri(LT)],xi.prototype,"label");b([ri(LT)],xi.prototype,"tooltip");b([ri(Fme)],xi.prototype,"fastDataProcessing");var{SeriesNodePickMode:tF,valueProperty:iF,keyProperty:zme,ChartAxisDirection:Yg,checkCrisp:_me,updateLabelNode:Vme,SMALLEST_KEY_INTERVAL:Hme,LARGEST_KEY_INTERVAL:Wme,diff:jme,prepareBarAnimationFunctions:oF,midpointStartingBarPosition:sF,resetBarSelectionsFn:$me,fixNumericExtent:Ume,seriesLabelFadeInAnimation:nF,resetLabelFn:Kme,animationValidation:Yme,computeBarFocusBounds:Xme,visibleRangeIndices:rF,createDatumId:Zme,ContinuousScale:aF,OrdinalTimeScale:qme,Rect:Qme,PointerEvents:Jme,motion:lF,applyShapeStyle:eye,findMinMax:tye}=E,iye=class extends E.SeriesNodeEvent{constructor(e,t,i,o){super(e,t,i,o),this.xKey=o.properties.xKey,this.yLowKey=o.properties.yLowKey,this.yHighKey=o.properties.yHighKey}},PT=class extends E.AbstractBarSeries{constructor(e){super({moduleCtx:e,pickModes:[tF.AXIS_ALIGNED,tF.EXACT_SHAPE_MATCH],hasHighlightedLabels:!0,directionKeys:{x:["xKey"],y:["yLowKey","yHighKey"]},directionNames:{x:["xName"],y:["yLowName","yHighName","yName"]},datumSelectionGarbageCollection:!1,animationResetFns:{datum:$me,label:Kme}}),this.properties=new xi,this.dataAggregationFilters=void 0,this.NodeEvent=iye}async processData(e){if(!this.properties.isValid())return;const{xKey:t,yLowKey:i,yHighKey:o,fastDataProcessing:s}=this.properties,n=!s,r=this.getCategoryAxis()?.scale,a=this.getValueAxis()?.scale,{isContinuousX:l,xScaleType:c,yScaleType:d}=this.getScaleInformation({xScale:r,yScale:a}),u=[];this.ctx.animationManager.isSkipped()||(this.processedData&&u.push(jme(this.id,this.processedData)),u.push(Yme()));const h=this.visible?{}:{forceValue:0},{dataModel:p,processedData:g}=await this.requestDataModel(e,this.data,{props:[zme(t,c,{id:"xValue"}),iF(i,d,{id:"yLowValue",invalidValue:null,...h}),iF(o,d,{id:"yHighValue",invalidValue:null,...h}),...l?[Hme,Wme]:[],...u],groupByKeys:n});this.smallestDataInterval=g.reduced?.smallestKeyInterval,this.largestDataInterval=g.reduced?.largestKeyInterval,this.dataAggregationFilters=this.aggregateData(p,g),this.animationState.transition("updateData")}aggregateData(e,t){if(t.type!=="grouped")return;const i=this.axes[Yg.X];if(i==null||!(aF.is(i.scale)||qme.is(i.scale)))return;const o=e.resolveKeysById(this,"xValue",t),s=e.resolveColumnById(this,"yHighValue",t),n=e.resolveColumnById(this,"yLowValue",t),{index:r}=e.resolveProcessedDataDefById(this,"xValue"),a=t.domain.keys[r];return Tme(o,s,n,a)}getSeriesDomain(e){const{processedData:t,dataModel:i}=this;if(!t||!i)return[];const{keys:[o]}=t.domain;if(e===this.getCategoryDirection()){const s=i.resolveProcessedDataDefById(this,"xValue");return s?.def.type==="key"&&s?.def.valueType==="category"?o:this.padBandExtent(o)}else{const s=this.domainForClippedRange(Yg.Y,["yHighValue","yLowValue"],"xValue",!0),n=tye(s);return Ume(n)}}getSeriesRange(e,t){return this.domainForVisibleRange(Yg.Y,["yHighValue","yLowValue"],"xValue",t,!0)}createNodeData(){const{data:e,dataModel:t,groupScale:i,processedData:o,visible:s}=this,n=this.getCategoryAxis(),r=this.getValueAxis();if(!(e&&n&&r&&t&&o?.dataSources))return;const a=n.scale,l=r.scale,c=this.getBarDirection()===Yg.X,{xKey:d,yLowKey:u,yHighKey:h,strokeWidth:p}=this.properties,g=`${u}-${h}`,f={itemId:g,nodeData:[],labelData:[],scales:this.calculateScaling(),visible:this.visible};if(!s)return f;const v=o.dataSources.get(this.id)??[],y=t.resolveKeysById(this,"xValue",o),C=t.resolveColumnById(this,"yLowValue",o),S=t.resolveColumnById(this,"yHighValue",o),{barWidth:x,groupIndex:D}=this.updateGroupScale(n),A=aF.is(a)?x*-.5:0,k=i.convert(String(D)),w=_me(n?.scale,n?.visibleRange,this.smallestDataInterval,this.largestDataInterval),M=z=>Math.round(a.convert(y[z]))+k+A,R=(z,_,V,G,H,B,W)=>{const j=v[z],U=y[z];if(U==null)return;const ee=C[z],q=S[z];if(!Number.isFinite(ee?.valueOf())||!Number.isFinite(q?.valueOf()))return;const[te,se]=ee<q?[ee,q]:[q,ee],Z=Math.round(l.convert(B)),ie=Math.round(l.convert(H)),X=Math.max(p,Math.abs(ie-Z)),ne={x:c?Math.min(Z,ie):V,y:c?V:Math.min(Z,ie),width:c?X:G,height:c?G:X},re={x:ne.x+ne.width/2,y:ne.y+ne.height/2},ue=this.createLabelData({datumIndex:z,rect:ne,barAlongX:c,yLowValue:te,yHighValue:se,datum:j,series:this}),le={index:_,valueIndex:z,series:this,itemId:g,datum:j,datumIndex:z,xValue:U,yLowValue:ee,yHighValue:q,yLowKey:u,yHighKey:h,xKey:d,x:ne.x,y:ne.y,width:ne.width,height:ne.height,midPoint:re,crisp:W,labels:ue};f.nodeData.push(le),f.labelData.push(...ue)},{dataAggregationFilters:L}=this,[P,N]=a.range,O=N-P,F=L?.find(z=>z.maxRange>O);if(F!=null){const{maxRange:z,indexData:_}=F,[V,G]=rF(z,n.range,H=>{const B=H*Us,W=_[B+po],j=_[B+Jo];if(W===-1)return;const U=(W+j)/2|0;return[M(U),M(j)+x]});for(let H=V;H<G;H+=1){const B=H*Us,W=_[B+po],j=_[B+Jo],U=_[B+bs],ee=_[B+Cs];if(W===-1)continue;const q=(W+j)/2|0;if(y[q]==null)continue;const se=M(q),Z=Math.abs(M(W)-M(j))+x,ie=C[U],X=S[ee];R(q,0,se,Z,ie,X,!1)}}else if(o.type==="ungrouped"){let[z,_]=rF(v.length,n.range,V=>[M(V),x]);o.input.count<1e3&&(z=0,_=o.input.count);for(let V=z;V<_;V+=1){const G=M(V),H=x,B=C[V],W=S[V];R(V,0,G,H,B,W,w)}}else for(const{datumIndex:z,groupIndex:_}of t.forEachGroupDatum(this,o)){const V=M(z),G=x,H=C[z],B=S[z];R(z,_,V,G,H,B,w)}return f}createLabelData({datumIndex:e,rect:t,barAlongX:i,yLowValue:o,yHighValue:s,datum:n,series:r}){const{xKey:a,yLowKey:l,yHighKey:c,xName:d,yLowName:u,yHighName:h,yName:p,label:g}=this.properties,f={datum:n,xKey:a,yLowKey:l,yHighKey:c,xName:d,yLowName:u,yHighName:h,yName:p},{placement:v,padding:y}=g,S=y*(v==="outside"?1:-1),x={datumIndex:e,x:t.x+(i?-S:t.width/2),y:t.y+(i?t.height/2:t.height+S),textAlign:i?"left":"center",textBaseline:i?"middle":"bottom",text:this.getLabelText(g,{itemId:"low",value:o,...f}),itemId:"low",datum:n,series:r},D={datumIndex:e,x:t.x+(i?t.width+S:t.width/2),y:t.y+(i?t.height/2:-S),textAlign:i?"right":"center",textBaseline:i?"middle":"top",text:this.getLabelText(g,{itemId:"high",value:s,...f}),itemId:"high",datum:n,series:r};return v==="outside"&&(x.textAlign=i?"right":"center",x.textBaseline=i?"middle":"top",D.textAlign=i?"left":"center",D.textBaseline=i?"middle":"bottom"),[x,D]}nodeFactory(){return new Qme}updateDatumSelection(e){const{nodeData:t,datumSelection:i}=e,o=t??[];return i.update(o,void 0,s=>this.getDatumId(s))}getItemBaseStyle(e){const{properties:t}=this,{cornerRadius:i}=t,o=e?t.highlightStyle.item:void 0;return{fill:o?.fill??t.fill,fillOpacity:o?.fillOpacity??t.fillOpacity,stroke:o?.stroke??t.stroke,strokeWidth:o?.strokeWidth??this.getStrokeWidth(t.strokeWidth),strokeOpacity:o?.strokeOpacity??t.strokeOpacity,lineDash:o?.lineDash??t.lineDash??[],lineDashOffset:o?.lineDashOffset??t.lineDashOffset,cornerRadius:i}}getItemStyleOverrides(e,t,i,o){const{id:s,properties:n}=this,{xKey:r,yHighKey:a,yLowKey:l,itemStyler:c}=n;if(c!=null)return this.cachedDatumCallback(Zme(e,o?"highlight":"node"),()=>c({seriesId:s,datum:t,xKey:r,yHighKey:a,yLowKey:l,highlighted:o,...i}))}updateDatumNodes(e){const{datumSelection:t,isHighlight:i}=e,o=this.getCategoryDirection()===Yg.X,s=this.getItemBaseStyle(i);t.each((n,r)=>{const a=this.getItemStyleOverrides(String(r.datumIndex),r.datum,s,i);eye(n,s,a),n.cornerRadius=a?.cornerRadius??s.cornerRadius,n.visible=o?r.width>0:r.height>0,n.crisp=r.crisp})}getHighlightLabelData(e,t){const i=e.filter(o=>o.datum===t.datum);return i.length>0?i:void 0}updateLabelSelection(e){const t=this.properties.label.enabled?e.labelData:[];return e.labelSelection.update(t,i=>{i.pointerEvents=Jme.None})}updateLabelNodes(e){e.labelSelection.each((t,i)=>{Vme(t,this.properties.label,i)})}getTooltipContent(e){const{id:t,dataModel:i,processedData:o,properties:s}=this,{xKey:n,xName:r,yName:a,yLowKey:l,yHighKey:c,yLowName:d,yHighName:u,tooltip:h}=s,p=this.getCategoryAxis(),g=this.getValueAxis();if(!i||!o||!p||!g)return;const{datumIndex:f}=e,v=o.dataSources.get(this.id)?.[f],y=i.resolveKeysById(this,"xValue",o)[f],C=i.resolveColumnById(this,"yHighValue",o)[f],S=i.resolveColumnById(this,"yLowValue",o)[f];if(y==null)return;const x=this.getItemBaseStyle(!1);Object.assign(x,this.getItemStyleOverrides(String(f),v,x,!1));const D=`${g.formatDatum(S)} - ${g.formatDatum(C)}`;return h.formatTooltip({heading:p.formatDatum(y),symbol:this.legendItemSymbol(),data:[{label:a,fallbackLabel:`${d??l} - ${u??c}`,value:D}]},{seriesId:t,datum:v,title:a,xKey:n,xName:r,yName:a,yLowKey:l,yHighKey:c,yLowName:d,yHighName:u,...x})}legendItemSymbol(){const{fill:e,stroke:t,strokeWidth:i,fillOpacity:o,strokeOpacity:s,lineDash:n,lineDashOffset:r}=this.properties;return{marker:{fill:e,stroke:t,fillOpacity:o,strokeOpacity:s,strokeWidth:i,lineDash:n,lineDashOffset:r}}}getLegendData(e){if(e!=="category")return[];const{id:t,visible:i}=this,{yName:o,yLowName:s,yHighName:n,yLowKey:r,yHighKey:a,showInLegend:l}=this.properties,c=o??`${s??r} - ${n??a}`,d=`${r}-${a}`;return[{legendType:"category",id:t,itemId:d,seriesId:t,enabled:i,label:{text:`${c}`},symbol:this.legendItemSymbol(),hideInLegend:!l}]}animateEmptyUpdateReady({datumSelection:e,labelSelection:t}){const i=oF(sF(this.isVertical(),"normal"));lF.fromToMotion(this.id,"datums",this.ctx.animationManager,[e],i),nF(this,"labels",this.ctx.animationManager,t)}animateWaitingUpdateReady(e){const{datumSelection:t,labelSelection:i}=e,{processedData:o}=this,s=o?.reduced?.diff?.[this.id];this.ctx.animationManager.stopByAnimationGroupId(this.id);const n=oF(sF(this.isVertical(),"fade"));lF.fromToMotion(this.id,"datums",this.ctx.animationManager,[t],n,(r,a)=>this.getDatumId(a),s),nF(this,"labels",this.ctx.animationManager,i)}getDatumId(e){return`${e.xValue}-${e.valueIndex}`}isLabelEnabled(){return this.properties.label.enabled}onDataChange(){}computeFocusBounds({datumIndex:e}){return Xme(this,this.contextNodeData?.nodeData[e])}};PT.className="RangeBarSeries";PT.type="range-bar";var oye={series:{direction:"vertical",strokeWidth:0,label:{enabled:!1,fontSize:{$ref:"fontSize"},fontFamily:{$ref:"fontFamily"},fontWeight:{$ref:"fontWeight"},color:{$ref:"backgroundColor"},placement:"inside"}},axes:{[E.ThemeConstants.CARTESIAN_AXIS_TYPE.NUMBER]:{crosshair:{enabled:!0}}}},{CARTESIAN_AXIS_TYPE:cF,CARTESIAN_POSITION:dF}=E.ThemeConstants,sye={type:"series",optionsKey:"series[]",packageType:"enterprise",chartTypes:["cartesian"],identifier:"range-bar",moduleFactory:e=>new PT(e),tooltipDefaults:{range:"exact"},defaultAxes:E.swapAxisCondition([{type:cF.NUMBER,position:dF.LEFT},{type:cF.CATEGORY,position:dF.BOTTOM}],e=>e?.direction==="horizontal"),themeTemplate:oye,paletteFactory:({takeColors:e})=>{const{fills:[t],strokes:[i]}=e(1);return{fill:t,stroke:i}},groupable:!0};function f9(e){e.nodes.sort((t,i)=>Math.round((t.datum.y-i.datum.y)*100)/100||-(t.datum.size-i.datum.size))}function nye({nodes:e,size:t},{seriesRectHeight:i,nodeSpacing:o,sizeScale:s}){const n=i*t*s;let r=(i-(n+o*(e.length-1)))/2;e.forEach(({datum:a})=>{const l=i*a.size*s;a.y=r,a.height=l,r+=l+o})}function rye(e,t){const{nodes:i}=e,{seriesRectHeight:o,nodeSpacing:s}=t;f9(e);let n=0,r=0;for(const{datum:c}of i){const d=Math.max(r-c.y,0);c.y+=d,n+=d,r=c.y+c.height+s}if(r-s<o)return n>0;let l=o;for(let c=i.length-1;c>=0;c-=1){const{datum:d}=i[c],u=d.y+d.height,h=Math.min(l-u,0);d.y+=h,n+=h,l=d.y-s}return!0}function TM(e,t,i,o,s,n,r,a){const l=(i-e)/(o-t),c=(r-s)/(a-n),d=((n-t)*(l*c)+e*c-s*l)/(c-l);return e<i?d>e&&d<Math.min(i,r):d<e&&d>Math.max(i,r)}function uF(e,t){let i=!1;const o=e.nodes.filter(n=>t(n).length===1);let s=!0;for(let n=0;s&&n<o.length;n+=1){s=!1;for(let r=0;r<o.length-1;r+=1){const{datum:a}=o[r],l=t(o[r])[0].node.datum,{datum:c}=o[r+1],d=t(o[r+1])[0].node.datum;if(!(TM(a.x,a.y,l.x,l.y,c.x,c.y,d.x,d.y)||TM(a.x,a.y+a.height/2,l.x,l.y+l.height/2,c.x,c.y+c.height/2,d.x,d.y+d.height/2)||TM(a.x,a.y+a.height,l.x,l.y+l.height,c.x,c.y+c.height,d.x,d.y+d.height)))continue;const h=o[r];o[r]=o[r+1],o[r+1]=h;const p=a.y;a.y=c.y+c.height-a.height,c.y=p,i=!0,s=!0}}return i}function aye(e){let t=!1;return f9(e),t=uF(e,i=>i.linksBefore)||t,t=uF(e,i=>i.linksAfter)||t,t}function lye(e){if(e.length===0)return;let t=0,i=0;for(const{node:{datum:o}}of e)t+=o.y*o.size,i+=o.size;return t/i}function m9(e,t,i,o){return e.nodes.forEach(({datum:s,linksBefore:n,linksAfter:r})=>{const a=o===1?n:r,l=o===1?r:n,c=lye(a);if(c!=null){const d=l.length!==0?i:1;s.y=s.y+(c-s.y)*d}}),rye(e,t)}function hF(e,t,i){let o=!1;for(const s of e)o=m9(s,t,i,1)||o;return o}function cye(e,t,i){let o=!1;for(let s=e.length-1;s>=0;s-=1)o=m9(e[s],t,i,-1)||o;return o}function pF(e){let t=!1;for(let i=e.length-1;i>=0;i-=1)t=aye(e[i])||t;return t}function dye(e,t){e.forEach(o=>{nye(o,t)});let i=!1;for(let o=0;o<6;o+=1){const s=hF(e,t,1);i=cye(e,t,.5);const n=pF(e);if(!s&&!i&&!n)break}i&&(hF(e,t,1),pF(e))}var{BBox:uye,Path:hye,ScenePathChangeDetection:vg,splitBezier:pye}=E;function lb(e,t,i,o,s,n,r,a,l,c){let d,u;if(s!==i&&l!==r){const A=-(o-t)/(s-i),k=-(a-n)/(l-r);d=(r-i+A*t-k*n)/(A-k),u=A*(d-t)+i}else if(s===i&&l!==r)d=t,u=-(a-n)/(l-r)*(d-a)+l;else if(s!==i&&l===r)d=a,u=-(o-t)/(s-i)*(d-t)+i;else throw new Error("Offsetting flat bezier curve");const h=Math.hypot(i-u,t-d),p=(h+c)/h,g=Math.hypot(l-u,a-d),f=(g+c)/g,v=d+(o-d)*p,y=u+(s-u)*p,C=d+(n-d)*f,S=u+(r-u)*f,x=d+(a-d)*f,D=u+(l-u)*f;e.cubicCurveTo(v,y,C,S,x,D)}var oh=class extends hye{constructor(){super(...arguments),this.x1=0,this.x2=0,this.y1=0,this.y2=0,this.height=0,this.inset=0}computeBBox(){const e=Math.min(this.x1,this.x2),t=Math.max(this.x1,this.x2)-e,i=Math.min(this.y1,this.y2),o=Math.max(this.y1,this.y2)-i+this.height;return new uye(e,i,t,o)}updatePath(){const{path:e,inset:t}=this;e.clear();const i=this.x1+t,o=this.x2-t,s=this.y1+t,n=this.y2+t,r=this.height-2*t;if(r<0||i>o)return;const a=i,l=s+r/2,c=(i+o)/2,d=s+r/2,u=(i+o)/2,h=n+r/2,p=o,g=n+r/2;if(e.moveTo(a,l-r/2),Math.abs(this.y2-this.y1)<1||this.x2-this.x1<this.height*Math.SQRT2)e.cubicCurveTo(c,d-r/2,u,h-r/2,p,g-r/2),e.lineTo(p,g+r/2),e.cubicCurveTo(u,h+r/2,c,d+r/2,a,l+r/2);else{const[f,v]=pye(a,l,c,d,u,h,p,g,.5),y=(n>s?1:-1)*r/2;lb(e,f[0].x,f[0].y,f[1].x,f[1].y,f[2].x,f[2].y,f[3].x,f[3].y,y),lb(e,v[0].x,v[0].y,v[1].x,v[1].y,v[2].x,v[2].y,v[3].x,v[3].y,-y),e.lineTo(p,g+r/2),lb(e,v[3].x,v[3].y,v[2].x,v[2].y,v[1].x,v[1].y,v[0].x,v[0].y,y),lb(e,f[3].x,f[3].y,f[2].x,f[2].y,f[1].x,f[1].y,f[0].x,f[0].y,-y)}e.closePath()}};b([vg()],oh.prototype,"x1");b([vg()],oh.prototype,"x2");b([vg()],oh.prototype,"y1");b([vg()],oh.prototype,"y2");b([vg()],oh.prototype,"height");b([vg()],oh.prototype,"inset");var{BaseProperties:y9,SeriesTooltip:gye,SeriesProperties:fye,ARRAY:mye,COLOR_STRING:Px,COLOR_STRING_ARRAY:v9,FUNCTION:b9,LINE_DASH:C9,OBJECT:Nx,POSITIVE_NUMBER:sh,RATIO:Ox,STRING:hd,UNION:yye,Validate:rt,Label:vye}=E,bye=yye(["left","right","center","justify"],"a justification value"),S9=class extends vye{constructor(){super(...arguments),this.spacing=1}};b([rt(sh)],S9.prototype,"spacing");var Ul=class extends y9{constructor(){super(...arguments),this.fill=void 0,this.fillOpacity=1,this.stroke=void 0,this.strokeOpacity=1,this.strokeWidth=1,this.lineDash=[0],this.lineDashOffset=0}};b([rt(Px,{optional:!0})],Ul.prototype,"fill");b([rt(Ox)],Ul.prototype,"fillOpacity");b([rt(Px,{optional:!0})],Ul.prototype,"stroke");b([rt(Ox)],Ul.prototype,"strokeOpacity");b([rt(sh)],Ul.prototype,"strokeWidth");b([rt(C9)],Ul.prototype,"lineDash");b([rt(sh)],Ul.prototype,"lineDashOffset");b([rt(b9,{optional:!0})],Ul.prototype,"itemStyler");var Hn=class extends y9{constructor(){super(...arguments),this.spacing=1,this.width=1,this.alignment="justify",this.fill=void 0,this.fillOpacity=1,this.stroke=void 0,this.strokeOpacity=1,this.strokeWidth=1,this.lineDash=[0],this.lineDashOffset=0}};b([rt(sh)],Hn.prototype,"spacing");b([rt(sh)],Hn.prototype,"width");b([rt(bye)],Hn.prototype,"alignment");b([rt(Px,{optional:!0})],Hn.prototype,"fill");b([rt(Ox)],Hn.prototype,"fillOpacity");b([rt(Px,{optional:!0})],Hn.prototype,"stroke");b([rt(Ox)],Hn.prototype,"strokeOpacity");b([rt(sh)],Hn.prototype,"strokeWidth");b([rt(C9)],Hn.prototype,"lineDash");b([rt(sh)],Hn.prototype,"lineDashOffset");b([rt(b9,{optional:!0})],Hn.prototype,"itemStyler");var Wo=class extends fye{constructor(){super(...arguments),this.nodes=void 0,this.idKey="",this.idName=void 0,this.labelKey=void 0,this.labelName=void 0,this.sizeKey=void 0,this.sizeName=void 0,this.fills=[],this.strokes=[],this.label=new S9,this.link=new Ul,this.node=new Hn,this.tooltip=new gye}};b([rt(mye,{optional:!0})],Wo.prototype,"nodes");b([rt(hd)],Wo.prototype,"fromKey");b([rt(hd)],Wo.prototype,"toKey");b([rt(hd)],Wo.prototype,"idKey");b([rt(hd,{optional:!0})],Wo.prototype,"idName");b([rt(hd,{optional:!0})],Wo.prototype,"labelKey");b([rt(hd,{optional:!0})],Wo.prototype,"labelName");b([rt(hd,{optional:!0})],Wo.prototype,"sizeKey");b([rt(hd,{optional:!0})],Wo.prototype,"sizeName");b([rt(v9)],Wo.prototype,"fills");b([rt(v9)],Wo.prototype,"strokes");b([rt(Nx)],Wo.prototype,"label");b([rt(Nx)],Wo.prototype,"link");b([rt(Nx)],Wo.prototype,"node");b([rt(Nx)],Wo.prototype,"tooltip");var{Transformable:Cye,applyShapeStyle:gF,SeriesNodePickMode:fF,CachedTextMeasurerPool:Sye,TextWrapper:mF,TextUtils:yF,createDatumId:cb,Rect:vF,BBox:xye}=E,NT=class extends _R{constructor(e){super({moduleCtx:e,pickModes:[fF.NEAREST_NODE,fF.EXACT_SHAPE_MATCH]}),this.properties=new Wo}isLabelEnabled(){return(this.properties.labelKey!=null||this.nodes==null)&&this.properties.label.enabled}linkFactory(){return new oh}nodeFactory(){return new vF}createNodeData(){const{id:e,_nodeDataDependencies:{seriesRectWidth:t,seriesRectHeight:i}={seriesRectWidth:0,seriesRectHeight:0}}=this,{fromKey:o,toKey:s,sizeKey:n,label:{spacing:r},node:{spacing:a,width:l,alignment:c}}=this.properties,{nodeGraph:d,links:u,maxPathLength:h}=this.getNodeGraph(k=>({...k,x:NaN,y:NaN,width:l,height:NaN}),k=>({...k,x1:NaN,x2:NaN,y1:NaN,y2:NaN,height:NaN}),{includeCircularReferences:!1}),p=d,g=this.isLabelEnabled()?(t-l)*(1-h/(h+1)):0,f=(t-l-2*g)/(h-1),v=[];for(let k=0;k<h;k+=1){const w=g+k*f;v.push({index:k,size:0,nodes:[],x:w})}p.forEach(k=>{const{datum:w,linksBefore:M,linksAfter:R,maxPathLengthBefore:L,maxPathLengthAfter:P}=k,N=Math.max(M.reduce((z,{link:_})=>z+_.size,0),R.reduce((z,{link:_})=>z+_.size,0));if(M.length===0&&R.length===0||N===0){k.columnIndex=-1;return}let O;switch(c){case"left":O=v[L];break;case"right":O=v[h-1-P];break;case"center":{if(M.length!==0)O=v[L];else if(R.length!==0){const z=R.reduce((_,V)=>Math.min(_,V.node.maxPathLengthBefore),h)-1;O=v[z]}else O=v[0];break}case"justify":{O=R.length===0?v[h-1]:v[L];break}}w.x=O.x,w.size=N;const F=this.getLabelText(this.properties.label,{datum:w.datum,value:w.label,fromKey:o,toKey:s,sizeKey:n,size:N});w.label=String(F),O.nodes.push(k),O.size+=N,k.columnIndex=O.index}),p.forEach(k=>{let w=1/0,M=0;k.linksAfter.forEach(R=>{const L=R.node,{columnIndex:P}=L;P<w?(w=P,M=L.datum.size):P===w&&(M=Math.max(M,L.datum.size))}),k.closestColumnIndex=w,k.maxSizeOfClosestNodesAfter=M});const y=v.reduce((k,{size:w,nodes:M})=>{const R=(1-(M.length-1)*(a/i))/w;return Math.min(k,R)},1/0);for(let k=v.length-1;k>=0;k-=1)v[k].nodes.sort((M,R)=>M.closestColumnIndex-R.closestColumnIndex||M.maxSizeOfClosestNodesAfter-R.maxSizeOfClosestNodesAfter||M.datum.size-R.datum.size);dye(v,{seriesRectHeight:i,nodeSpacing:a,sizeScale:y});let C=!1;if(p.forEach(({datum:k,linksBefore:w,linksAfter:M})=>{C||(C=k.height<0);const R=k.y+k.height,L=O=>O.sort((F,z)=>{const _=F.node.datum,V=z.node.datum,G=_.y+_.height,H=V.y+V.height,B=Math.atan2(_.y-k.y,Math.abs(_.x-k.x))-Math.atan2(V.y-k.y,Math.abs(V.x-k.x)),W=Math.atan2(G-R,Math.abs(_.x-k.x))-Math.atan2(H-R,Math.abs(V.x-k.x));return B+W});let P=k.y;L(w).forEach(({link:O})=>{O.y2=P,P+=O.size*i*y});let N=k.y;L(M).forEach(({link:O})=>{O.y1=N,N+=O.size*i*y})}),C){at.warnOnce("There was insufficient space to display the Sankey Series. Reduce the node spacing, or provide a larger container.");return}const S=[],x=[],{fontSize:D}=this.properties.label,A=this.properties.label.getFont();return v.forEach((k,w)=>{const M=w===0,R=w===v.length-1;let L=-1/0;k.nodes.sort((P,N)=>P.datum.y-N.datum.y),k.nodes.forEach(({datum:P})=>{if(P.midPoint={x:P.x+P.width/2,y:P.y+P.height/2},S.push(P),P.label==null)return;const N=M?P.x-r:P.x+P.width+r,O=P.y+P.height/2;let F;if(!M&&!R){const G=O-yF.getLineHeight(D),H=O+yF.getLineHeight(D);let B=t;p.forEach(({datum:j})=>{j.x>P.x&&Math.max(j.y,G)<=Math.min(j.y+j.height,H)&&(B=Math.min(B,j.x-r))});const W=B-P.x-2*r;F=mF.wrapText(P.label,{maxWidth:W,maxHeight:P.height,font:this.properties.label,textWrap:"never",overflow:"hide"})}if(F==null||F===""){const G=M||R?r:r*2;F=mF.wrapText(P.label,{maxWidth:f-G,maxHeight:P.height,font:this.properties.label,textWrap:"never"})}if(F==="")return;const{height:z}=Sye.measureText(F,{font:A,textAlign:"left",textBaseline:"middle"}),_=O-z/2,V=O+z/2;_>=L&&(x.push({x:N,y:O,leading:M,text:F}),L=V)})}),u.forEach(k=>{const{fromNode:w,toNode:M,size:R}=k;k.height=i*R*y,k.x1=w.x+l,k.x2=M.x,k.midPoint={x:(k.x1+k.x2)/2,y:(k.y1+k.y2)/2+k.height/2},S.push(k)}),{itemId:e,nodeData:S,labelData:x}}updateLabelSelection(e){const t=this.isLabelEnabled()?e.labelData:[];return e.labelSelection.update(t)}updateLabelNodes(e){const{labelSelection:t}=e,{color:i,fontStyle:o,fontWeight:s,fontSize:n,fontFamily:r}=this.properties.label;t.each((a,{x:l,y:c,leading:d,text:u})=>{a.visible=!0,a.x=l,a.y=c,a.text=u,a.fill=i,a.fontStyle=o,a.fontWeight=s,a.fontSize=n,a.fontFamily=r,a.textAlign=d?"right":"left",a.textBaseline="middle"})}updateNodeSelection(e){return e.datumSelection.update(e.nodeData,void 0,t=>cb([t.type,t.id]))}getBaseNodeStyle(e){const{properties:t}=this,{fill:i,fillOpacity:o,stroke:s,strokeOpacity:n,lineDash:r,lineDashOffset:a}=t.node,l=e?t.highlightStyle.item:void 0;return{fill:l?.fill??i,fillOpacity:l?.fillOpacity??o,stroke:l?.stroke??s,strokeOpacity:l?.strokeOpacity??n,strokeWidth:l?.strokeWidth??this.getStrokeWidth(t.node.strokeWidth),lineDash:l?.lineDash??r,lineDashOffset:l?.lineDashOffset??a}}getNodeStyleOverrides(e,t,i,o,s,n,r){const{id:a,properties:l}=this,{fills:c,strokes:d}=l,{itemStyler:u}=l.node,h=n.fill??c[i%c.length],p=n.stroke??d[i%d.length],g={};if(r||(g.fill=h,g.stroke=p),u!=null){const f=this.cachedDatumCallback(cb(e,r?"highlight":"node"),()=>{const{fillOpacity:v=1,strokeOpacity:y=1,strokeWidth:C=0,lineDash:S=[],lineDashOffset:x=0}=n;return u({seriesId:a,datum:t,highlighted:r,label:s,size:o,fill:h,fillOpacity:v,stroke:p,strokeOpacity:y,strokeWidth:C,lineDash:S,lineDashOffset:x})});Object.assign(g,f)}return g}updateNodeNodes(e){const{datumSelection:t,isHighlight:i}=e,o=this.getBaseNodeStyle(i);t.each((s,n)=>{const{datumIndex:r,size:a,label:l}=n,c=this.getNodeStyleOverrides(String(r),n,r.index,a,l,o,i);s.x=n.x,s.y=n.y,s.width=Math.max(n.width,0),s.height=Math.max(n.height,0),gF(s,o,c)})}updateLinkSelection(e){return e.datumSelection.update(e.nodeData,void 0,t=>cb([t.type,t.index,t.fromNode.id,t.toNode.id]))}getBaseLinkStyle(e){const{properties:t}=this,{fill:i,fillOpacity:o,stroke:s,strokeOpacity:n,lineDash:r,lineDashOffset:a}=t.link,l=e?t.highlightStyle.item:void 0;return{fill:l?.fill??i,fillOpacity:l?.fillOpacity??o,stroke:l?.stroke??s,strokeOpacity:l?.strokeOpacity??n,strokeWidth:l?.strokeWidth??this.getStrokeWidth(t.link.strokeWidth),lineDash:l?.lineDash??r,lineDashOffset:l?.lineDashOffset??a}}getLinkStyleOverrides(e,t,i,o,s){const{id:n,properties:r}=this,{fills:a,strokes:l}=r,{itemStyler:c}=r.link,d=o.fill??a[i%a.length],u=o.stroke??l[i%l.length],h={};if(s||(h.fill=d,h.stroke=u),c!=null){const p=this.cachedDatumCallback(cb(e,s?"highlight":"node"),()=>{const{fillOpacity:g=1,strokeOpacity:f=1,strokeWidth:v=0,lineDash:y=[],lineDashOffset:C=0}=o;return c({seriesId:n,datum:t,highlighted:s,fill:d,fillOpacity:g,stroke:u,strokeOpacity:f,strokeWidth:v,lineDash:y,lineDashOffset:C})});Object.assign(h,p)}return h}updateLinkNodes(e){const{datumSelection:t,isHighlight:i}=e,o=this.getBaseLinkStyle(i);t.each((s,n)=>{const{datumIndex:r}=n,a=n.fromNode.datumIndex,l=this.getLinkStyleOverrides(String(r),n,a.index,o,i);s.x1=n.x1,s.y1=n.y1,s.x2=n.x2,s.y2=n.y2,s.height=n.height,gF(s,o,l),s.inset=s.strokeWidth/2})}getTooltipContent(e){const{id:t,linksProcessedData:i,nodesProcessedData:o,properties:s}=this,{fromKey:n,toKey:r,sizeKey:a,sizeName:l,tooltip:c}=s,{datumIndex:d}=e,u=e.type===0?e.fromNode.index:e.index,h=e.type===0?`${e.fromNode.label} - ${e.toNode.label}`:e.label,p=d.type===0?i?.dataSources.get(this.id)?.[d.index]:o?.dataSources.get(this.id)?.[d.index],g=e.size;let f;if(e.type===0){const v=e.fromNode.datumIndex,y=this.getBaseLinkStyle(!1);Object.assign(y,this.getLinkStyleOverrides(String(d),p,v.index,y,!1)),f=y}else{const v=e.label,y=this.getBaseNodeStyle(!1);Object.assign(y,this.getNodeStyleOverrides(String(d),p,d.index,g,v,y,!1)),f=y}return c.formatTooltip({title:h,symbol:this.legendItemSymbol(e.type,u,f),data:a!=null?[{label:l,fallbackLabel:a,value:String(g)}]:[]},{seriesId:t,datum:p,title:h,fromKey:n,toKey:r,sizeKey:a,sizeName:l,size:g,...f})}computeFocusBounds(e){if(e instanceof vF){const{x:t,y:i,width:o,height:s}=e,n=new xye(t,i,o,s);return Cye.toCanvas(this.contentGroup,n)}return e}};NT.className="SankeySeries";NT.type="sankey";var wye={type:"series",optionsKey:"series[]",packageType:"enterprise",chartTypes:["flow-proportion"],solo:!0,identifier:"sankey",moduleFactory:e=>new NT(e),tooltipDefaults:{range:"exact"},themeTemplate:{seriesArea:{padding:{top:10,bottom:10}},series:{highlightStyle:{series:{dimOpacity:.2}},label:{fontFamily:{$ref:"fontFamily"},fontSize:{$ref:"fontSize"},fontWeight:{$ref:"fontWeight"},color:{$ref:"textColor"},spacing:10},node:{spacing:20,width:10,strokeWidth:0},link:{fillOpacity:.5,strokeWidth:0}},legend:{enabled:!1,toggleSeries:!1}},paletteFactory({takeColors:e,colorsCount:t}){return e(t)}},{HierarchySeriesProperties:Mye,HighlightStyle:Dye,SeriesTooltip:kye,Validate:wi,COLOR_STRING:Iye,FUNCTION:Aye,NUMBER:x9,OBJECT:bg,POSITIVE_NUMBER:OT,RATIO:Fx,STRING:Bx}=E,pd=class extends Dye{constructor(){super(...arguments),this.label=new da,this.secondaryLabel=new da}};b([wi(Bx,{optional:!0})],pd.prototype,"fill");b([wi(Fx,{optional:!0})],pd.prototype,"fillOpacity");b([wi(Iye,{optional:!0})],pd.prototype,"stroke");b([wi(OT,{optional:!0})],pd.prototype,"strokeWidth");b([wi(Fx,{optional:!0})],pd.prototype,"strokeOpacity");b([wi(bg)],pd.prototype,"label");b([wi(bg)],pd.prototype,"secondaryLabel");var cs=class extends Mye{constructor(){super(...arguments),this.fillOpacity=1,this.strokeWidth=0,this.strokeOpacity=1,this.cornerRadius=0,this.highlightStyle=new pd,this.label=new da,this.secondaryLabel=new Wy,this.tooltip=new kye}};b([wi(Bx,{optional:!0})],cs.prototype,"sizeName");b([wi(Bx,{optional:!0})],cs.prototype,"labelKey");b([wi(Bx,{optional:!0})],cs.prototype,"secondaryLabelKey");b([wi(Fx)],cs.prototype,"fillOpacity");b([wi(OT)],cs.prototype,"strokeWidth");b([wi(Fx)],cs.prototype,"strokeOpacity");b([wi(OT)],cs.prototype,"cornerRadius");b([wi(x9,{optional:!0})],cs.prototype,"sectorSpacing");b([wi(x9,{optional:!0})],cs.prototype,"padding");b([wi(Aye,{optional:!0})],cs.prototype,"itemStyler");b([wi(bg)],cs.prototype,"highlightStyle");b([wi(bg)],cs.prototype,"label");b([wi(bg)],cs.prototype,"secondaryLabel");b([wi(bg)],cs.prototype,"tooltip");var{fromToMotion:Rye,normalizeAngle360:Tye,createDatumId:Lye,Sector:LM,Group:db,ScalableGroup:Eye,Selection:EM,TransformableText:PM,applyShapeStyle:Pye}=E,Nye=class extends E.HierarchyNode{constructor(){super(...arguments),this.label=void 0,this.secondaryLabel=void 0,this.contentHeight=0,this.bbox=void 0,this.startAngle=0,this.endAngle=0}};function w9(e,t=0,i=2*Math.PI/e.sumSize){for(const o of e.children){const s=t+o.sumSize*i;o.startAngle=t,o.endAngle=s,w9(o,t,i),t=s}}var FT=class extends E.HierarchySeries{constructor(){super(...arguments),this.NodeClass=Nye,this.properties=new cs,this.scalingGroup=this.contentGroup.appendChild(new Eye),this.sectorGroup=this.scalingGroup.appendChild(new db),this.sectorLabelGroup=this.scalingGroup.appendChild(new db),this.highlightSectorGroup=this.scalingGroup.appendChild(new db),this.datumSelection=EM.select(this.sectorGroup,LM),this.labelSelection=EM.select(this.sectorLabelGroup,db),this.highlightSelection=EM.select(this.highlightSectorGroup,LM)}processData(){super.processData(),w9(this.rootNode)}updateSelections(){const e=this.ctx.highlightManager?.getActiveHighlight();if(this.highlightSelection.update(e!=null?[e]:[],void 0,n=>this.getDatumId(n)),!this.nodeDataRefresh)return;this.nodeDataRefresh=!1;const{chart:t}=this;if(t==null||t.seriesRect==null)return;const o=Array.from(this.rootNode),s=n=>{n.append([new PM({tag:0}),new PM({tag:1})])};this.datumSelection.update(o,void 0,n=>this.getDatumId(n)),this.labelSelection.update(o,s,n=>this.getDatumId(n))}getItemBaseStyle(e){const{properties:t}=this,i=e?t.highlightStyle:void 0;return{fill:i?.fill,fillOpacity:i?.fillOpacity??t.fillOpacity,stroke:i?.stroke,strokeWidth:i?.strokeWidth??this.getStrokeWidth(t.strokeWidth),strokeOpacity:i?.strokeOpacity??t.strokeOpacity}}getItemStyleOverrides(e,t,i,o,s,n){const{id:r,properties:a,colorScale:l}=this,{fills:c,strokes:d,itemStyler:u}=a,h=e[0],p=s.fill??c[h%c.length],g=s.stroke??d[h%d.length],f={};if(n||(f.fill=o!=null?l.convert(o):p,f.stroke=g),u!=null){const v=this.cachedDatumCallback(Lye(e.join(":"),n?"highlight":"node"),()=>u({seriesId:r,datum:t,depth:i,highlighted:n,fill:p,stroke:g,...s}));Object.assign(f,v)}return f}updateNodes(){const{chart:e,data:t,maxDepth:i}=this;if(e==null||t==null)return;const{width:o,height:s}=e.seriesRect,{sectorSpacing:n=0,padding:r=0,cornerRadius:a,childrenKey:l,colorKey:c,colorName:d,labelKey:u,secondaryLabelKey:h,sizeKey:p,sizeName:g}=this.properties;this.contentGroup.translationX=o/2,this.contentGroup.translationY=s/2;const f=n*.5,y=Math.min(o,s)/2/(i+1),C=-Math.PI/2;this.rootNode?.walk(w=>{const{startAngle:M,endAngle:R}=w;if(w.depth!=null){const L=(M+R)/2+C,P=(w.depth+.5)*y;w.midPoint.x=Math.cos(L)*P,w.midPoint.y=Math.sin(L)*P}}),this.rootNode?.walk(w=>{const{datum:M,depth:R,startAngle:L,endAngle:P,parent:N,sumSize:O}=w;w.label=void 0,w.secondaryLabel=void 0,w.contentHeight=0;let F;if(M!=null&&R!=null&&u!=null){const Y=M[u];F=this.getLabelText(this.properties.label,{depth:R,datum:M,childrenKey:l,colorKey:c,colorName:d,labelKey:u,secondaryLabelKey:h,sizeKey:p,sizeName:g,value:Y})}F===""&&(F=void 0);let z;if(M!=null&&R!=null&&h!=null){const Y=M[h];z=this.getLabelText(this.properties.secondaryLabel,{depth:R,datum:M,childrenKey:l,colorKey:c,colorName:d,labelKey:u,secondaryLabelKey:h,sizeKey:p,sizeName:g,value:Y})}if(z===""&&(z=void 0),R==null)return;const _=R*y+f,V=(R+1)*y-f,G=_>f?f/_:f,H=V>f?f/V:f,B=L+G,j=P+G-B,U=L+H,q=P+H-U,te=Y=>{if(R===0&&N?.sumSize===O)return{width:2*Math.sqrt(V**2-(Y*.5)**2),height:Y,meta:0};const Q=Y,ae=2*Math.sqrt(V**2-(_+Q)**2),ye=j<Math.PI?2*_*Math.tan(j*.5):1/0,we=Math.min(ae,ye),De=Math.PI/4;let K,ce;return R===0?(K=Y,ce=Math.sqrt(V**2-(K/2)**2)-Y/(2*Math.tan(q*.5))):Tye(j)<De?(K=2*_*Math.tan(j*.5),ce=Math.sqrt(V**2-(K/2)**2)-_):(ce=0,K=0),we>=ce?{width:we,height:Q,meta:1}:{width:ce,height:K,meta:2}},se=YR(F,this.properties.label,z,this.properties.secondaryLabel,{padding:r},te);if(se==null)return;const{width:Z,height:ie,meta:X,label:ne,secondaryLabel:re}=se,ue=C+(L+P)/2,le=Math.sin(ue)>=0,me=Math.cos(ue)>=0,Me=(le?3:12)&(me?6:9);let pe;switch(X){case 0:pe=0;break;case 1:{const $=V-(y-ie)*.58,Q=Math.sqrt((V-r)**2-(Z/2)**2);pe=Math.min($,Q);break}case 2:if(R===0){const Y=ie/(2*Math.tan(j*.5))+Z*.5,$=Math.sqrt(V**2-(ie*.5)**2)-Z*.5;pe=(Y+$)*.5}else pe=(_+V)*.5;break}if(ne!=null){const{fontStyle:Y="normal",fontFamily:$,fontWeight:Q="normal",color:ae="black"}=this.properties.label;w.label={...ne,fontStyle:Y,fontFamily:$,fontWeight:Q,color:ae,labelPlacement:X,circleQuarter:Me,radius:pe,theta:ue}}if(re!=null){const{fontStyle:Y="normal",fontFamily:$,fontWeight:Q="normal",color:ae="black"}=this.properties.secondaryLabel;w.secondaryLabel={...re,fontStyle:Y,fontFamily:$,fontWeight:Q,color:ae,labelPlacement:X,circleQuarter:Me,radius:pe,theta:ue}}w.contentHeight=se.height});const S=(w,M,R,L)=>{const{datum:P,datumIndex:N,depth:O,colorValue:F,startAngle:z,endAngle:_}=w;if(O==null){M.visible=!1;return}M.visible=!0;const V=this.getItemStyleOverrides(N,P,O,F,R,L),G=V.strokeWidth??R.strokeWidth;Pye(M,R,V),M.centerX=0,M.centerY=0,M.innerRadius=O*y,M.outerRadius=(O+1)*y,M.startAngle=z+C,M.endAngle=_+C,M.inset=f+G*.5,M.cornerRadius=a},x=this.getItemBaseStyle(!1);this.datumSelection.each((w,M)=>{S(M,w,x,!1)});const D=this.getItemBaseStyle(!0);this.highlightSelection.each((w,M)=>{S(M,w,D,!0)});const A=(w,M,R,L)=>{const{depth:P,contentHeight:N}=w,O=R===0,F=O?w.label:w.secondaryLabel;if(P==null||F==null){M.visible=!1;return}const{labelPlacement:z,circleQuarter:_,radius:V,theta:G}=F;let H;switch(L&&(H=(O?this.properties.highlightStyle.label:this.properties.highlightStyle.secondaryLabel).color),M.text=F.text,M.fontSize=F.fontSize,M.lineHeight=F.lineHeight,M.fontStyle=F.fontStyle,M.fontFamily=F.fontFamily,M.fontWeight=F.fontWeight,M.fill=H??F.color,z){case 0:M.textAlign="center",M.textBaseline="top",M.translationX=0,M.translationY=(O?0:N-F.height)-N*.5,M.rotation=0;break;case 1:{const B=(_&3)!==0,W=O===!B?V:V-(N-F.height);M.textAlign="center",M.textBaseline=B?"bottom":"top",M.translationX=Math.cos(G)*W,M.translationY=Math.sin(G)*W,M.rotation=B?G-Math.PI*.5:G+Math.PI*.5;break}case 2:{const B=(_&6)!==0,W=O===!B?(N-F.height)*.5:(F.height-N)*.5;M.textAlign="center",M.textBaseline="middle",M.translationX=Math.cos(G)*V+Math.cos(G+Math.PI/2)*W,M.translationY=Math.sin(G)*V+Math.sin(G+Math.PI/2)*W,M.rotation=B?G:G+Math.PI;break}}M.visible=!0},k=this.ctx.highlightManager?.getActiveHighlight();this.labelSelection.selectByClass(PM).forEach(w=>{A(w.datum,w,w.tag,w.datum===k)})}getTooltipContent(e){const{id:t,properties:i}=this,{labelKey:o,secondaryLabelKey:s,childrenKey:n,sizeKey:r,sizeName:a,colorKey:l,colorName:c,tooltip:d}=i,{datum:u,datumIndex:h,depth:p}=e;if(u==null||p==null)return;const g=[],f=r!=null?u[r]:void 0;f!=null&&g.push({label:a,fallbackLabel:r,value:f});const v=l!=null?u[l]:void 0;v!=null&&g.push({label:c,fallbackLabel:l,value:v});const y=this.getItemBaseStyle(!1);Object.assign(y,this.getItemStyleOverrides(h,u,p,v,y,!1));const C=y.fill;return d.formatTooltip({title:o!=null?u[o]:void 0,symbol:{marker:{shape:"square",fill:C,fillOpacity:1,stroke:void 0,strokeWidth:0,strokeOpacity:1,lineDash:[0],lineDashOffset:0}},data:g},{seriesId:t,datum:u,title:void 0,depth:p,labelKey:o,secondaryLabelKey:s,childrenKey:n,sizeKey:r,sizeName:a,colorKey:l,colorName:c,...y})}createNodeData(){}pickNodeClosestDatum(e){return this.pickNodeNearestDistantObject(e,this.datumSelection.selectByClass(LM))}animateEmptyUpdateReady(){Rye(this.id,"nodes",this.ctx.animationManager,[this.scalingGroup],{toFn(){return{scalingX:1,scalingY:1}},fromFn(){return{scalingX:0,scalingY:0}}})}computeFocusBounds(e){return e}};FT.className="SunburstSeries";FT.type="sunburst";var{FONT_SIZE_RATIO:bF,ThemeSymbols:{DEFAULT_DIVERGING_SERIES_COLOR_RANGE:Oye}}=E,Fye={type:"series",optionsKey:"series[]",packageType:"enterprise",chartTypes:["hierarchy"],identifier:"sunburst",moduleFactory:e=>new FT(e),tooltipDefaults:{range:"exact"},solo:!0,themeTemplate:{series:{label:{fontFamily:{$ref:"fontFamily"},fontSize:{$rem:[bF.LARGE]},minimumFontSize:{$round:[{$mul:[{$ref:"fontSize"},9/12]}]},fontWeight:{$ref:"fontWeight"},color:{$ref:"backgroundColor"},overflowStrategy:"ellipsis",wrapping:"never",spacing:2},secondaryLabel:{fontFamily:{$ref:"fontFamily"},fontSize:{$rem:[bF.SMALLEST]},minimumFontSize:{$round:[{$mul:[{$ref:"fontSize"},7/12]}]},fontWeight:{$ref:"fontWeight"},color:{$ref:"backgroundColor"},overflowStrategy:"ellipsis",wrapping:"never"},sectorSpacing:2,padding:3,highlightStyle:{label:{color:{$ref:"backgroundColor"}},secondaryLabel:{color:{$ref:"backgroundColor"}},fill:"rgba(255,255,255, 0.33)",stroke:"rgba(0, 0, 0, 0.4)",strokeWidth:2}},gradientLegend:{enabled:!0}},paletteFactory:({takeColors:e,colorsCount:t,themeTemplateParameters:i})=>{const{fills:o,strokes:s}=e(t),n=i.get(Oye);return{fills:o,strokes:s,colorRange:n}}},{BaseProperties:Gx,HierarchySeriesProperties:Bye,HighlightStyle:Gye,SeriesTooltip:zye,Validate:Oe,BOOLEAN:_ye,COLOR_STRING:zx,FUNCTION:Vye,NUMBER:Hye,OBJECT:Wn,POSITIVE_NUMBER:La,RATIO:gd,STRING:nh,STRING_ARRAY:M9,TEXT_ALIGN:D9,VERTICAL_ALIGN:Wye,Label:jye}=E,k9=class extends jye{constructor(){super(...arguments),this.spacing=0}};b([Oe(Hye)],k9.prototype,"spacing");var jn=class extends Gx{constructor(){super(...arguments),this.fillOpacity=1,this.strokeWidth=1,this.strokeOpacity=1,this.cornerRadius=0,this.textAlign="center",this.gap=0,this.padding=0,this.interactive=!0,this.label=new k9}};b([Oe(nh,{optional:!0})],jn.prototype,"fill");b([Oe(gd)],jn.prototype,"fillOpacity");b([Oe(zx,{optional:!0})],jn.prototype,"stroke");b([Oe(La)],jn.prototype,"strokeWidth");b([Oe(gd)],jn.prototype,"strokeOpacity");b([Oe(La)],jn.prototype,"cornerRadius");b([Oe(D9)],jn.prototype,"textAlign");b([Oe(La)],jn.prototype,"gap");b([Oe(La)],jn.prototype,"padding");b([Oe(_ye)],jn.prototype,"interactive");b([Oe(Wn)],jn.prototype,"label");var ln=class extends Gx{constructor(){super(...arguments),this.fillOpacity=1,this.strokeWidth=1,this.strokeOpacity=1,this.cornerRadius=0,this.textAlign="center",this.verticalAlign="middle",this.gap=0,this.padding=0,this.label=new da,this.secondaryLabel=new Wy}};b([Oe(nh,{optional:!0})],ln.prototype,"fill");b([Oe(gd)],ln.prototype,"fillOpacity");b([Oe(zx,{optional:!0})],ln.prototype,"stroke");b([Oe(La,{optional:!0})],ln.prototype,"strokeWidth");b([Oe(gd)],ln.prototype,"strokeOpacity");b([Oe(La)],ln.prototype,"cornerRadius");b([Oe(D9)],ln.prototype,"textAlign");b([Oe(Wye)],ln.prototype,"verticalAlign");b([Oe(La)],ln.prototype,"gap");b([Oe(La)],ln.prototype,"padding");b([Oe(Wn)],ln.prototype,"label");b([Oe(Wn)],ln.prototype,"secondaryLabel");var rh=class extends Gx{constructor(){super(...arguments),this.label=new da}};b([Oe(nh,{optional:!0})],rh.prototype,"fill");b([Oe(gd,{optional:!0})],rh.prototype,"fillOpacity");b([Oe(zx,{optional:!0})],rh.prototype,"stroke");b([Oe(La,{optional:!0})],rh.prototype,"strokeWidth");b([Oe(gd,{optional:!0})],rh.prototype,"strokeOpacity");b([Oe(Wn)],rh.prototype,"label");var fd=class extends Gx{constructor(){super(...arguments),this.label=new da,this.secondaryLabel=new Wy}};b([Oe(nh,{optional:!0})],fd.prototype,"fill");b([Oe(gd,{optional:!0})],fd.prototype,"fillOpacity");b([Oe(zx,{optional:!0})],fd.prototype,"stroke");b([Oe(La,{optional:!0})],fd.prototype,"strokeWidth");b([Oe(gd,{optional:!0})],fd.prototype,"strokeOpacity");b([Oe(Wn)],fd.prototype,"label");b([Oe(Wn)],fd.prototype,"secondaryLabel");var BT=class extends Gye{constructor(){super(...arguments),this.group=new rh,this.tile=new fd}};b([Oe(Wn)],BT.prototype,"group");b([Oe(Wn)],BT.prototype,"tile");var Fr=class extends Bye{constructor(){super(...arguments),this.highlightStyle=new BT,this.tooltip=new zye,this.group=new jn,this.tile=new ln,this.undocumentedGroupFills=[],this.undocumentedGroupStrokes=[]}};b([Oe(nh,{optional:!0})],Fr.prototype,"sizeName");b([Oe(nh,{optional:!0})],Fr.prototype,"labelKey");b([Oe(nh,{optional:!0})],Fr.prototype,"secondaryLabelKey");b([Oe(Vye,{optional:!0})],Fr.prototype,"itemStyler");b([Oe(Wn)],Fr.prototype,"highlightStyle");b([Oe(Wn)],Fr.prototype,"tooltip");b([Oe(Wn)],Fr.prototype,"group");b([Oe(Wn)],Fr.prototype,"tile");b([Oe(M9)],Fr.prototype,"undocumentedGroupFills");b([Oe(M9)],Fr.prototype,"undocumentedGroupStrokes");var{TextUtils:$ye,TextWrapper:Uye,isNumberEqual:Kye,createDatumId:CF,Rect:SF,Group:xF,BBox:ub,Selection:NM,Text:Yb,Transformable:Yye,applyShapeStyle:Xye}=E,Zye=class extends E.HierarchyNode{constructor(){super(...arguments),this.labelValue=void 0,this.secondaryLabelValue=void 0,this.label=void 0,this.secondaryLabel=void 0,this.bbox=void 0,this.padding=void 0}},wF=new Yb;function qye(e,t){const{fontStyle:i,fontWeight:o,fontSize:s,fontFamily:n}=t;wF.setProperties({text:e,fontStyle:i,fontWeight:o,fontSize:s,fontFamily:n,textAlign:"left",textBaseline:"top"});const{width:r,height:a}=wF.getBBox();return{width:r,height:a}}function oc(e){return e.children.length>0?e.sumSize-e.sizeValue:e.sizeValue}var MF={left:0,center:.5,right:1},Qye={top:0,middle:.5,bottom:1};(class extends E.Group{distanceSquared(e,t){return this.getBBox().distanceSquared(e,t)}});var GT=class extends E.HierarchySeries{constructor(){super(...arguments),this.NodeClass=Zye,this.properties=new Fr,this.rectGroup=this.contentGroup.appendChild(new xF),this.datumSelection=NM.select(this.rectGroup,SF),this.labelSelection=NM.select(this.labelGroup,xF),this.highlightSelection=NM.select(this.rectGroup,SF)}groupTitleHeight(e,t){const{labelValue:i}=e,{label:o}=this.properties.group,s=3;if(i!=null){if(o.fontSize>t.width/s||o.fontSize>t.height/s)return;{const{height:n}=qye(i,o);return Math.max(n,o.fontSize)}}}getNodePadding(e,t){if(e.parent==null)return{top:0,right:0,bottom:0,left:0};if(e.children.length===0){const{padding:r}=this.properties.tile;return{top:r,right:r,bottom:r,left:r}}const{label:{spacing:i},padding:o}=this.properties.group,s=this.groupTitleHeight(e,t),n=s!=null?s+i:0;return{top:o+n,right:o,bottom:o,left:o}}sortChildren({children:e}){const t=Array.from(e,(o,s)=>s).filter(o=>oc(e[o])>0).sort((o,s)=>oc(e[s])-oc(e[o]));return{sortedChildrenIndices:t,childAt:o=>{const s=t[o];return e[s]}}}squarify(e,t){const{datum:i,children:o}=e;if(t.width<=0||t.height<=0){e.bbox=void 0,e.padding=void 0,e.midPoint.x=NaN,e.midPoint.y=NaN;return}const s=i!=null?this.getNodePadding(e,t):{top:0,right:0,bottom:0,left:0};e.parent==null?(e.bbox=void 0,e.padding=void 0,e.midPoint.x=NaN,e.midPoint.y=NaN):(e.bbox=t,e.padding=s,e.midPoint.x=t.x+t.width/2,e.midPoint.y=t.y);const{sortedChildrenIndices:n,childAt:r}=this.sortChildren(e),a=n.every(D=>o[D].children.length===0),l=1,c=t.width-s.left-s.right,d=t.height-s.top-s.bottom;if(c<=0||d<=0)return;const u=n.length;let h=0,p=0,g=1/0,f=n.reduce((D,A)=>D+oc(o[A]),0);const v=new ub(t.x+s.left,t.y+s.top,c,d),y=v.clone();let C=0;for(;C<u;){const D=oc(r(C)),A=oc(r(p)),k=y.width<y.height;h+=D;const w=k?y.height:y.width,M=k?y.width:y.height,R=M*A/h;let L=w*h/f;const P=Math.max(R,L)/Math.min(R,L),N=Math.abs(l-P);if(N<g){g=N,C++;continue}h-=D,L=w*h/f;let O=k?y.x:y.y;for(let F=p;F<C;F++){const z=r(F),_=oc(z),V=k?O:y.x,G=k?y.y:O,H=M*_/h,B=k?H:L,W=k?L:H,j=new ub(V,G,B,W);this.applyGap(v,j,a),this.squarify(z,j),f-=_,O+=H}k?(y.y+=L,y.height-=L):(y.x+=L,y.width-=L),p=C,h=0,g=1/0}const S=y.width<y.height;let x=S?y.x:y.y;for(let D=p;D<u;D++){const A=r(D),k=S?x:y.x,w=S?y.y:x,M=oc(A)/f,R=y.width*(S?M:1),L=y.height*(S?1:M),P=new ub(k,w,R,L);this.applyGap(v,P,a),this.squarify(A,P),x+=S?R:L}}applyGap(e,t,i){const o=i?this.properties.tile.gap*.5:this.properties.group.gap*.5,s=l=>({left:l.x,top:l.y,right:l.x+l.width,bottom:l.y+l.height}),n=s(e),r=s(t);["top","right","bottom","left"].forEach(l=>{Kye(n[l],r[l])||t.shrink(o,l)})}createNodeData(){}getGroupBaseStyle(e){const{properties:t}=this,{group:i}=t,o=e?t.highlightStyle.group:void 0;return{fill:o?.fill??i.fill,fillOpacity:o?.fillOpacity??i.fillOpacity,stroke:o?.stroke??i.stroke,strokeWidth:o?.strokeWidth??i.strokeWidth,strokeOpacity:o?.strokeOpacity??i.strokeOpacity}}getGroupStyleOverrides(e,t,i,o,s){const{id:n,properties:r}=this,{undocumentedGroupFills:a,undocumentedGroupStrokes:l,itemStyler:c}=r,d=o.fill??a[Math.min(i??0,a.length)],u=o.stroke??l[Math.min(i??0,l.length)],h={};if(s||(h.fill=d,h.stroke=u),c!=null){const p=this.cachedDatumCallback(CF(e.join(":"),s?"highlight":"node"),()=>c({seriesId:n,datum:t,depth:i,highlighted:s,fill:d,stroke:u,...o}));Object.assign(h,p)}return h}getTileBaseStyle(e){const{properties:t}=this,{tile:i}=t,o=e?t.highlightStyle.tile:void 0;return{fill:o?.fill??i.fill,fillOpacity:o?.fillOpacity??i.fillOpacity,stroke:o?.stroke??i.stroke,strokeWidth:o?.strokeWidth??i.strokeWidth,strokeOpacity:o?.strokeOpacity??i.strokeOpacity}}getTileStyleOverrides(e,t,i,o,s,n){const{id:r,properties:a,colorScale:l}=this,{fills:c,strokes:d,itemStyler:u}=a,h=e[0],p=s.fill??c[h%c.length],g=s.stroke??d[h%d.length],f={};if(n||(f.fill=o!=null?l.convert(o):p,f.stroke=g),u!=null){const v=this.cachedDatumCallback(CF(e.join(":"),n?"highlight":"node"),()=>u({seriesId:r,datum:t,depth:i,highlighted:n,fill:p,stroke:g,...s}));Object.assign(f,v)}return f}updateSelections(){let e=this.ctx.highlightManager?.getActiveHighlight();if(e!=null&&!this.properties.group.interactive&&e.children.length!==0&&(e=void 0),this.highlightSelection.update(e!=null?[e]:[],void 0,s=>this.getDatumId(s)),!this.nodeDataRefresh)return;this.nodeDataRefresh=!1;const{seriesRect:t}=this.chart??{};if(!t)return;const i=Array.from(this.rootNode),o=s=>{s.append([new Yb({tag:0}),new Yb({tag:1})])};this.datumSelection.update(i,void 0,s=>this.getDatumId(s)),this.labelSelection.update(i,o,s=>this.getDatumId(s))}updateNodes(){const{rootNode:e,data:t}=this,{childrenKey:i,colorKey:o,colorName:s,labelKey:n,secondaryLabelKey:r,sizeKey:a,sizeName:l,highlightStyle:c,tile:d,group:u}=this.properties,{seriesRect:h}=this.chart??{};if(!h||!t)return;this.rootNode?.walk(A=>{const{datum:k,depth:w,children:M}=A,R=M.length===0,L=R?d.label:u.label;let P;if(k!=null&&w!=null&&n!=null){const O=k[n];P=this.getLabelText(L,{depth:w,datum:k,childrenKey:i,colorKey:o,colorName:s,labelKey:n,secondaryLabelKey:r,sizeKey:a,sizeName:l,value:O})}P===""&&(P=void 0);let N;if(R&&k!=null&&w!=null&&r!=null){const O=k[r];N=this.getLabelText(d.secondaryLabel,{depth:w,datum:k,childrenKey:i,colorKey:o,colorName:s,labelKey:n,secondaryLabelKey:r,sizeKey:a,sizeName:l,value:O})}N===""&&(N=void 0),A.labelValue=P,A.secondaryLabelValue=N});const{width:p,height:g}=h;this.squarify(e,new ub(0,0,p,g)),this.rootNode?.walk(A=>{const{bbox:k,children:w,labelValue:M,secondaryLabelValue:R}=A;if(A.label=void 0,A.secondaryLabel=void 0,k!=null)if(w.length===0){const L={width:k.width,height:k.height,meta:null},P=YR(M,this.properties.tile.label,R,this.properties.tile.secondaryLabel,{padding:d.padding},()=>L);if(P==null)return;const{height:N,label:O,secondaryLabel:F}=P,{textAlign:z,verticalAlign:_,padding:V}=d,G=MF[z]??.5,H=k.x+V+(k.width-2*V)*G,B=Qye[_]??.5,W=k.y+V+N*.5+(k.height-2*V-N)*B;if(O!=null){const{fontStyle:j="normal",fontFamily:U,fontWeight:ee="normal",color:q="black"}=this.properties.tile.label;A.label={text:O.text,fontSize:O.fontSize,lineHeight:O.lineHeight,fontStyle:j,fontFamily:U,fontWeight:ee,color:q,textAlign:z,verticalAlign:"middle",x:H,y:W-(N-O.height)*.5}}if(F!=null){const{fontStyle:j="normal",fontFamily:U,fontWeight:ee="normal",color:q="black"}=this.properties.tile.secondaryLabel;A.secondaryLabel={text:F.text,fontSize:F.fontSize,lineHeight:F.fontSize,fontStyle:j,fontFamily:U,fontWeight:ee,color:q,textAlign:z,verticalAlign:"middle",x:H,y:W+(N-F.height)*.5}}}else{if(M==null)return;{const{padding:L,textAlign:P}=u,N=this.groupTitleHeight(A,k);if(N==null)return;const O=k.width-2*L,F=Uye.wrapText(M,{maxWidth:k.width-2*L,font:u.label,textWrap:"never"}),z=MF[P]??.5,{fontStyle:_="normal",fontFamily:V,fontWeight:G="normal",color:H="black"}=this.properties.group.label;A.label={text:F,fontSize:u.label.fontSize,lineHeight:$ye.getLineHeight(u.label.fontSize),fontStyle:_,fontFamily:V,fontWeight:G,color:H,textAlign:P,verticalAlign:"middle",x:k.x+L+O*z,y:k.y+L+N*.5}}}});const f=(A,k,w,M,R)=>{const{bbox:L}=A;if(L==null){k.visible=!1;return}const{datum:P,depth:N=-1,datumIndex:O,colorValue:F}=A,z=A.children.length===0,_=z?M:w,V=z?this.getTileStyleOverrides(O,P,N,F,_,R):this.getGroupStyleOverrides(O,P,N,_,R);k.crisp=!0,Xye(k,_,V),k.cornerRadius=z?d.cornerRadius:u.cornerRadius,k.zIndex=[0,N,R?1:0];const G=A.parent?.children.every(W=>W.children.length===0),H=A.parent!=null?A.parent.bbox:void 0,B=A.parent!=null?A.parent.padding:void 0;G===!0&&H!=null&&B!=null?(k.clipBBox=L,k.x=H.x+B.left,k.y=H.y+B.top,k.width=H.width-(B.left+B.right),k.height=H.height-(B.top+B.bottom)):(k.clipBBox=void 0,k.x=L.x,k.y=L.y,k.width=L.width,k.height=L.height),k.visible=!0},v=this.getGroupBaseStyle(!1),y=this.getTileBaseStyle(!1);this.datumSelection.each((A,k)=>f(k,A,v,y,!1));const C=this.getGroupBaseStyle(!0),S=this.getTileBaseStyle(!0);this.highlightSelection.each((A,k)=>{f(k,A,C,S,!0)});const x=(A,k,w,M)=>{const R=A.children.length===0,L=w===0?A.label:A.secondaryLabel;if(L==null){k.visible=!1;return}let P;if(M){const{tile:N,group:O}=c;P=N.secondaryLabel.color,R?w===0&&(P=N.label.color):P=O.label.color}k.text=L.text,k.fontSize=L.fontSize,k.lineHeight=L.lineHeight,k.fontStyle=L.fontStyle,k.fontFamily=L.fontFamily,k.fontWeight=L.fontWeight,k.fill=P??L.color,k.textAlign=L.textAlign,k.textBaseline=L.verticalAlign,k.x=L.x,k.y=L.y,k.visible=!0,k.zIndex=1},D=this.ctx.highlightManager?.getActiveHighlight();this.labelSelection.selectByClass(Yb).forEach(A=>{x(A.datum,A,A.tag,A.datum===D)})}pickNodeClosestDatum(e){const t=this.pickNodeExactShape(e);return t!==void 0?t:this.pickNodeNearestDistantObject(e,this.datumSelection.nodes())}getTooltipContent(e){const{id:t,properties:i}=this,{labelKey:o,secondaryLabelKey:s,childrenKey:n,sizeKey:r,sizeName:a,colorKey:l,colorName:c,tooltip:d}=i,{datum:u,datumIndex:h,depth:p,children:g}=e;if(u==null||p==null)return;const f=g.length===0,v=[],y=r!=null?u[r]:void 0;y!=null&&v.push({label:a,fallbackLabel:r,value:y});const C=l!=null?u[l]:void 0;C!=null&&v.push({label:c,fallbackLabel:l,value:C});let S;f?(S=this.getTileBaseStyle(!1),Object.assign(S,this.getTileStyleOverrides(h,u,p,C,S,!1))):(S=this.getGroupBaseStyle(!1),Object.assign(S,this.getGroupStyleOverrides(h,u,p,S,!1)));const x=S.fill,D=f?{marker:{shape:"square",fill:x,fillOpacity:1,stroke:void 0,strokeWidth:0,strokeOpacity:1,lineDash:[0],lineDashOffset:0}}:void 0;return d.formatTooltip({title:o!=null?u[o]:void 0,symbol:D,data:v},{seriesId:t,datum:u,title:void 0,depth:p,labelKey:o,secondaryLabelKey:s,childrenKey:n,sizeKey:r,sizeName:a,colorKey:l,colorName:c,...S})}computeFocusBounds(e){return Yye.toCanvas(this.contentGroup,e.getBBox())}};GT.className="TreemapSeries";GT.type="treemap";var{FONT_SIZE_RATIO:DF,ThemeSymbols:{DEFAULT_DIVERGING_SERIES_COLOR_RANGE:Jye,DEFAULT_HIERARCHY_FILLS:eve,DEFAULT_HIERARCHY_STROKES:tve}}=E,ive={type:"series",optionsKey:"series[]",packageType:"enterprise",chartTypes:["hierarchy"],identifier:"treemap",moduleFactory:e=>new GT(e),tooltipDefaults:{range:"exact"},solo:!0,themeTemplate:{series:{group:{label:{enabled:!0,color:{$ref:"textColor"},fontStyle:void 0,fontWeight:{$ref:"fontWeight"},fontSize:{$ref:"fontSize"},fontFamily:{$ref:"fontFamily"},spacing:4},fill:void 0,stroke:void 0,strokeWidth:1,padding:4,gap:2,textAlign:"left"},tile:{label:{enabled:!0,color:{$ref:"backgroundColor"},fontStyle:void 0,fontWeight:{$ref:"fontWeight"},fontSize:{$rem:[1.5]},minimumFontSize:{$rem:[DF.SMALLER]},fontFamily:{$ref:"fontFamily"},wrapping:"on-space",overflowStrategy:"ellipsis",spacing:2},secondaryLabel:{enabled:!0,color:{$ref:"backgroundColor"},fontStyle:void 0,fontWeight:void 0,fontSize:{$ref:"fontSize"},minimumFontSize:{$rem:[DF.SMALLER]},fontFamily:{$ref:"fontFamily"},wrapping:"never",overflowStrategy:"ellipsis"},fill:void 0,stroke:void 0,strokeWidth:0,padding:3,gap:1},highlightStyle:{group:{label:{color:{$ref:"textColor"}},fill:"rgba(255,255,255, 0.33)",stroke:"rgba(0, 0, 0, 0.4)",strokeWidth:2},tile:{label:{color:{$ref:"backgroundColor"}},secondaryLabel:{color:{$ref:"backgroundColor"}},fill:"rgba(255,255,255, 0.33)",stroke:"rgba(0, 0, 0, 0.4)",strokeWidth:2}}},gradientLegend:{enabled:!0}},paletteFactory:({takeColors:e,colorsCount:t,themeTemplateParameters:i})=>{const{fills:o,strokes:s}=e(t),n=i.get(Jye),r=i.get(eve),a=i.get(tve);return{fills:o,strokes:s,colorRange:n,undocumentedGroupFills:r,undocumentedGroupStrokes:a}}},{AbstractBarSeriesProperties:ove,BaseProperties:Zy,PropertiesArray:sve,SeriesTooltip:nve,Validate:ot,BOOLEAN:rve,COLOR_STRING:zT,FUNCTION:I9,LINE_DASH:A9,NUMBER:ave,OBJECT:Kl,OBJECT_ARRAY:lve,POSITIVE_NUMBER:Cg,RATIO:_T,STRING:Sg,UNION:R9,DropShadow:cve,Label:dve}=E,_x=class extends Zy{};b([ot(R9(["subtotal","total"],"a total type"))],_x.prototype,"totalType");b([ot(ave)],_x.prototype,"index");b([ot(Sg)],_x.prototype,"axisLabel");var T9=class extends Zy{};b([ot(I9,{optional:!0})],T9.prototype,"renderer");var VT=class extends dve{constructor(){super(...arguments),this.placement="outside-end",this.padding=6}};b([ot(R9(["inside-center","inside-start","inside-end","outside-start","outside-end"],"a placement"))],VT.prototype,"placement");b([ot(Cg)],VT.prototype,"padding");var To=class extends Zy{constructor(){super(...arguments),this.fill="#c16068",this.stroke="#c16068",this.fillOpacity=1,this.strokeOpacity=1,this.lineDash=[0],this.lineDashOffset=0,this.strokeWidth=1,this.cornerRadius=0,this.shadow=new cve().set({enabled:!1}),this.label=new VT,this.tooltip=new T9}};b([ot(Sg,{optional:!0})],To.prototype,"name");b([ot(zT)],To.prototype,"fill");b([ot(zT)],To.prototype,"stroke");b([ot(_T)],To.prototype,"fillOpacity");b([ot(_T)],To.prototype,"strokeOpacity");b([ot(A9)],To.prototype,"lineDash");b([ot(Cg)],To.prototype,"lineDashOffset");b([ot(Cg)],To.prototype,"strokeWidth");b([ot(Cg)],To.prototype,"cornerRadius");b([ot(I9,{optional:!0})],To.prototype,"itemStyler");b([ot(Kl)],To.prototype,"shadow");b([ot(Kl)],To.prototype,"label");b([ot(Kl)],To.prototype,"tooltip");var ah=class extends Zy{constructor(){super(...arguments),this.enabled=!0,this.stroke="black",this.strokeOpacity=1,this.lineDash=[0],this.lineDashOffset=0,this.strokeWidth=2}};b([ot(rve)],ah.prototype,"enabled");b([ot(zT)],ah.prototype,"stroke");b([ot(_T)],ah.prototype,"strokeOpacity");b([ot(A9)],ah.prototype,"lineDash");b([ot(Cg)],ah.prototype,"lineDashOffset");b([ot(Cg)],ah.prototype,"strokeWidth");var Vx=class extends Zy{constructor(){super(...arguments),this.positive=new To,this.negative=new To,this.total=new To}};b([ot(Kl)],Vx.prototype,"positive");b([ot(Kl)],Vx.prototype,"negative");b([ot(Kl)],Vx.prototype,"total");var Yl=class extends ove{constructor(){super(...arguments),this.item=new Vx,this.totals=new sve(_x),this.line=new ah,this.tooltip=new nve}};b([ot(Sg)],Yl.prototype,"xKey");b([ot(Sg)],Yl.prototype,"yKey");b([ot(Sg,{optional:!0})],Yl.prototype,"xName");b([ot(Sg,{optional:!0})],Yl.prototype,"yName");b([ot(Kl)],Yl.prototype,"item");b([ot(lve)],Yl.prototype,"totals");b([ot(Kl)],Yl.prototype,"line");b([ot(Kl)],Yl.prototype,"tooltip");var{adjustLabelPlacement:uve,SeriesNodePickMode:kF,fixNumericExtent:hve,valueProperty:IF,keyProperty:pve,accumulativeValueProperty:hb,trailingAccumulatedValueProperty:gve,ChartAxisDirection:OM,createDatumId:fve,checkCrisp:mve,updateLabelNode:yve,prepareBarAnimationFunctions:vve,collapsedStartingBarPosition:bve,resetBarSelectionsFn:Cve,seriesLabelFadeInAnimation:Sve,resetLabelFn:xve,animationValidation:wve,DEFAULT_CARTESIAN_DIRECTION_KEYS:Mve,DEFAULT_CARTESIAN_DIRECTION_NAMES:Dve,computeBarFocusBounds:kve,isContinuous:AF,Rect:Ive,motion:Ave,applyShapeStyle:Rve}=E,HT=class extends E.AbstractBarSeries{constructor(e){super({moduleCtx:e,directionKeys:Mve,directionNames:Dve,pickModes:[kF.NEAREST_NODE,kF.EXACT_SHAPE_MATCH],pathsPerSeries:["connector"],hasHighlightedLabels:!0,pathsZIndexSubOrderOffset:[-1,-1],animationResetFns:{datum:Cve,label:xve}}),this.properties=new Yl,this.seriesItemTypes=new Set(["positive","negative","total"])}async processData(e){const{xKey:t,yKey:i,totals:o}=this.properties,{data:s=[]}=this;if(!this.properties.isValid()||!this.visible)return;const n=C=>AF(C)&&Number(C)>=0,r=C=>AF(C)&&Number(C)>=0,a=C=>C==="total"||C==="subtotal",l={missingValue:void 0,invalidValue:void 0},c=[],d=o.reduce((C,S)=>{const x=C.get(S.index);return x?x.push(S):C.set(S.index,[S]),C},new Map);s.forEach((C,S)=>{c.push(C),d.get(S)?.forEach(x=>c.push({...x.toJson(),[t]:x.axisLabel}))});const u=[];this.ctx.animationManager.isSkipped()||u.push(wve());const h=this.getCategoryAxis()?.scale,p=this.getValueAxis()?.scale,{isContinuousX:g,xScaleType:f,yScaleType:v}=this.getScaleInformation({xScale:h,yScale:p}),{processedData:y}=await this.requestDataModel(e,c,{props:[pve(t,f,{id:"xValue"}),hb(i,v,{...l,id:"yCurrent"}),hb(i,v,{...l,missingValue:0,id:"yCurrentTotal"}),hb(i,v,{...l,id:"yCurrentPositive",validation:n}),hb(i,v,{...l,id:"yCurrentNegative",validation:r}),gve(i,v,{...l,id:"yPrevious"}),IF(i,v,{id:"yRaw"}),IF("totalType","band",{id:"totalTypeValue",missingValue:void 0,validation:a}),...g?[E.SMALLEST_KEY_INTERVAL,E.LARGEST_KEY_INTERVAL]:[],...u]});this.smallestDataInterval=y.reduced?.smallestKeyInterval,this.largestDataInterval=y.reduced?.largestKeyInterval,this.updateSeriesItemTypes(),this.animationState.transition("updateData")}getSeriesDomain(e){const{processedData:t,dataModel:i}=this;if(!t||!i)return[];const{keys:[o],values:s}=t.domain;if(e===this.getCategoryDirection()){const n=i.resolveProcessedDataDefById(this,"xValue");if(n?.def.type==="key"&&n?.def.valueType==="category")return o;const r=e===OM.Y,a=this.getCategoryAxis().isReversed();return this.padBandExtent(o,a!==r)}else{const n=i.resolveProcessedDataIndexById(this,"yCurrent"),r=s[n],a=[Math.min(0,r[0]),Math.max(0,r[1])];return hve(a)}}getSeriesRange(e,t){return[NaN,NaN]}createNodeData(){const{data:e,dataModel:t,processedData:i}=this,o=this.getCategoryAxis(),s=this.getValueAxis();if(!e||!o||!s||!t||!i)return;const{line:n}=this.properties,r=o.scale,a=s.scale,l=this.getBarDirection()===OM.X,c=this.getBandwidth(o)??10,d=o.isReversed(),u=s.isReversed();if(i.type!=="ungrouped")return;const h={itemId:this.properties.yKey,nodeData:[],labelData:[],pointData:[],scales:this.calculateScaling(),visible:this.visible};if(!this.visible)return h;const p=[],g=t.resolveKeysById(this,"xValue",i),f=t.resolveColumnById(this,"yRaw",i),v=t.resolveColumnById(this,"totalTypeValue",i),y=t.resolveColumnById(this,"yCurrent",i),C=t.resolveColumnById(this,"yPrevious",i),S=t.resolveColumnById(this,"yCurrentTotal",i),x=mve(o?.scale,o?.visibleRange,this.smallestDataInterval,this.largestDataInterval);function D(O,F,z){return O||F?{cumulativeValue:S[z],trailingValue:F?k:0}:{cumulativeValue:y[z],trailingValue:C[z]}}function A(O,F,z,_,V){return O?_:F?(_??0)-(V??0):z}let k=0;const{xKey:w,yKey:M,xName:R,yName:L}=this.properties;(i.dataSources.get(this.id)??[]).forEach((O,F)=>{const z=v[F],_=this.isSubtotal(z),V=this.isTotal(z),G=V||_,H=g[F];if(H==null)return;const B=Math.round(r.convert(H)),W=f[F],{cumulativeValue:j,trailingValue:U}=D(V,_,F);G&&(k=j??0);const ee=Math.round(a.convert(j)),q=Math.round(a.convert(U)),te=A(V,_,W,j,U),se=(te??0)>=0,Z=this.getSeriesItemType(se,z),{strokeWidth:ie,label:X}=this.getItemConfig(Z),ne=se?ee:q,re=se?q:ee,ue=Math.max(ie,Math.abs(re-ne)),le={x:l?Math.min(ne,re):B,y:l?B:Math.min(ne,re),width:l?ue:c,height:l?c:ue},me={x:le.x+le.width/2,y:le.y+le.height/2},Me=G?ee:q,pe=Math.floor(n.strokeWidth)%2/2,Y=d?ee:Me,$=d?Me:ee;let Q,ae;l?(Q={x:Y+pe,y:le.y},ae={x:$+pe,y:le.y+le.height}):(Q={x:le.x,y:Y+pe},ae={x:le.x+le.width,y:$+pe});const ye={x:d?ae.x:Q.x,y:d?ae.y:Q.y,x2:d?Q.x:ae.x,y2:d?Q.y:ae.y,size:0};p.push(ye);const we=Z==="subtotal"?"total":Z,De=this.getLabelText(X,{itemId:we,value:te,datum:O,xKey:w,yKey:M,xName:R,yName:L}),K={index:F,series:this,itemId:Z,datum:O,datumIndex:F,cumulativeValue:j??0,xValue:H,yValue:te,yKey:M,xKey:w,x:le.x,y:le.y,width:le.width,height:le.height,midPoint:me,crisp:x,label:{text:De,...uve({isUpward:(te??-1)>=0!==u,isVertical:!l,placement:X.placement,padding:X.padding,rect:le})}};h.nodeData.push(K),h.labelData.push(K)});const N=this.properties.line.enabled;return y!=null&&N&&(h.pointData=p),h}updateSeriesItemTypes(){const{dataModel:e,seriesItemTypes:t,processedData:i}=this;if(!e||!i)return;t.clear();const o=e.resolveProcessedDataIndexById(this,"yCurrentPositive"),s=e.resolveProcessedDataIndexById(this,"yCurrentNegative"),n=e.resolveProcessedDataIndexById(this,"totalTypeValue"),r=i.domain.values[o]??[],a=i.domain.values[s]??[];r.length>0&&t.add("positive"),a.length>0&&t.add("negative");const l=i?.domain.values[n];l&&l.forEach(c=>{(c==="total"||c==="subtotal")&&t.add("total")})}isSubtotal(e){return e==="subtotal"}isTotal(e){return e==="total"}nodeFactory(){return new Ive}getSeriesItemType(e,t){return t??(e?"positive":"negative")}getItemConfig(e){switch(e){case"positive":return this.properties.item.positive;case"negative":return this.properties.item.negative;case"subtotal":case"total":return this.properties.item.total}}updateDatumSelection(e){const{nodeData:t,datumSelection:i}=e,o=t??[];return i.update(o)}getItemStyle(e,t,i,o){const{id:s,properties:n}=this,r=n.item[i==="subtotal"?"total":i],a=o?n.highlightStyle.item:void 0,{itemStyler:l}=r,{xKey:c,yKey:d}=n,u={fill:a?.fill??r.fill,fillOpacity:a?.fillOpacity??r.fillOpacity,stroke:a?.stroke??r.stroke,strokeWidth:a?.strokeWidth??r.strokeWidth,strokeOpacity:a?.strokeOpacity??r.strokeOpacity,lineDash:a?.lineDash??r.lineDash??[],lineDashOffset:a?.lineDashOffset??r.lineDashOffset,cornerRadius:r.cornerRadius};if(l!=null){const h=this.cachedDatumCallback(fve(e,o?"highlight":"node"),()=>l({seriesId:s,itemId:i,datum:t,xKey:c,yKey:d,highlighted:o,...u}));Object.assign(u,h)}return u}updateDatumNodes(e){const{datumSelection:t,isHighlight:i}=e,o=this.getCategoryDirection()===OM.X;t.each((s,n)=>{const r=n.itemId,a=this.getItemStyle(String(n.datumIndex),n.datum,r,i);Rve(s,a),s.visible=o?n.width>0:n.height>0,s.crisp=n.crisp})}updateLabelSelection(e){const{labelData:t,labelSelection:i}=e;if(t.length===0)return i.update([]);const o=t.filter(s=>{const{label:n}=this.getItemConfig(s.itemId);return n.enabled});return i.update(o)}updateLabelNodes(e){e.labelSelection.each((t,i)=>{yve(t,this.getItemConfig(i.itemId).label,i.label)})}getTooltipContent(e){const{id:t,dataModel:i,processedData:o,properties:s}=this,{xKey:n,xName:r,yKey:a,yName:l,tooltip:c}=s,d=this.getCategoryAxis(),u=this.getValueAxis();if(!i||!o||!d||!u)return;const{datumIndex:h}=e,p=o.dataSources.get(this.id)?.[h],g=i.resolveKeysById(this,"xValue",o)[h],f=i.resolveColumnById(this,"yRaw",o)[h],v=i.resolveColumnById(this,"yCurrentTotal",o),y=i.resolveColumnById(this,"totalTypeValue",o);if(g==null)return;const C=y[h],S=(f??0)>=0,x=this.getSeriesItemType(S,C);let D;if(this.isTotal(C))D=v[h];else if(this.isSubtotal(C)){D=v[h];for(let k=h-1;k>=0;k-=1)if(this.isSubtotal(y[k])){D=D-v[k];break}}else D=f;const A=this.getItemStyle(String(h),p,x,!1);return c.formatTooltip({heading:d.formatDatum(g),symbol:this.legendItemSymbol(x),data:[{label:l,fallbackLabel:a,value:u.formatDatum(D)}]},{seriesId:t,datum:p,title:l,itemId:x,xKey:n,xName:r,yKey:a,yName:l,...A})}legendItemSymbol(e){const{fill:t,stroke:i,fillOpacity:o,strokeOpacity:s,strokeWidth:n,lineDash:r,lineDashOffset:a}=this.getItemConfig(e);return{marker:{fill:t,stroke:i,fillOpacity:o,strokeOpacity:s,strokeWidth:n,lineDash:r,lineDashOffset:a}}}getLegendData(e){if(e!=="category")return[];const{id:t,seriesItemTypes:i}=this,o=[],s=r=>r.charAt(0).toUpperCase()+r.substring(1),{showInLegend:n}=this.properties;return i.forEach(r=>{const{name:a}=this.getItemConfig(r);o.push({legendType:"category",id:t,itemId:r,seriesId:t,enabled:!0,label:{text:a??s(r)},symbol:this.legendItemSymbol(r),hideInLegend:!n,isFixed:!0})}),o}toggleSeriesItem(){}animateEmptyUpdateReady({datumSelection:e,labelSelection:t,contextData:i,paths:o}){const s=vve(bve(this.isVertical(),this.axes,"normal"));Ave.fromToMotion(this.id,"datums",this.ctx.animationManager,[e],s),Sve(this,"labels",this.ctx.animationManager,t);const{pointData:n}=i;if(!n)return;const[r]=o;this.isVertical()?this.animateConnectorLinesVertical(r,n):this.animateConnectorLinesHorizontal(r,n)}animateConnectorLinesHorizontal(e,t){const{path:i}=e;this.updateLineNode(e);const o=this.getValueAxis(),s=o?.isReversed(),n=s?(c,d)=>c<d:(c,d)=>c>d,r=o?.scale.convert(0),a=t.reduce((c,d)=>(n(d.x,c)&&(c=d.x),c),s?1/0:0),l=(c,d,u,h,p)=>(c-d)/(u-d)*(p-h)+h;this.ctx.animationManager.animate({id:`${this.id}_connectors`,groupId:this.id,phase:"initial",from:r,to:a,ease:E.Motion.easeOut,collapsable:!1,onUpdate(c){i.clear(!0),t.forEach((d,u)=>{const h=l(c,r,a,r,d.x),p=l(c,r,a,r,d.x2);u!==0&&i.lineTo(h,d.y),i.moveTo(p,d.y2)}),e.checkPathDirty()}})}animateConnectorLinesVertical(e,t){const{path:i}=e;this.updateLineNode(e);const o=this.getValueAxis(),s=o?.isReversed(),n=s?(c,d)=>c>d:(c,d)=>c<d,r=o?.scale.convert(0),a=t.reduce((c,d)=>(n(d.y,c)&&(c=d.y),c),s?0:1/0),l=(c,d,u,h,p)=>(c-d)/(u-d)*(p-h)+h;this.ctx.animationManager.animate({id:`${this.id}_connectors`,groupId:this.id,phase:"initial",from:r,to:a,ease:E.Motion.easeOut,collapsable:!1,onUpdate(c){i.clear(!0),t.forEach((d,u)=>{const h=l(c,r,a,r,d.y),p=l(c,r,a,r,d.y2);u!==0&&i.lineTo(d.x,h),i.moveTo(d.x2,p)}),e.checkPathDirty()}})}animateReadyResize(e){super.animateReadyResize(e),this.resetConnectorLinesPath(e)}updatePaths(e){this.resetConnectorLinesPath({contextData:e.contextData,paths:e.paths})}resetConnectorLinesPath({contextData:e,paths:t}){if(t.length===0)return;const[i]=t;this.updateLineNode(i);const{path:o}=i;o.clear(!0);const{pointData:s}=e;s&&(s.forEach((n,r)=>{r!==0&&o.lineTo(n.x,n.y),o.moveTo(n.x2,n.y2)}),i.checkPathDirty())}updateLineNode(e){const{stroke:t,strokeWidth:i,strokeOpacity:o,lineDash:s,lineDashOffset:n}=this.properties.line;e.setProperties({fill:void 0,stroke:t,strokeWidth:this.getStrokeWidth(i),strokeOpacity:o,lineDash:s,lineDashOffset:n,lineJoin:"round",pointerEvents:E.PointerEvents.None})}isLabelEnabled(){const{positive:e,negative:t,total:i}=this.properties.item;return e.label.enabled||t.label.enabled||i.label.enabled}onDataChange(){}computeFocusBounds({datumIndex:e}){return kve(this,this.contextNodeData?.nodeData[e])}};HT.className="WaterfallSeries";HT.type="waterfall";var FM={strokeWidth:0,label:{enabled:!1,fontStyle:void 0,fontWeight:{$ref:"fontWeight"},fontSize:{$ref:"fontSize"},fontFamily:{$ref:"fontFamily"},color:{$ref:"textColor"},formatter:void 0,placement:"outside-end"}},Tve={series:{item:{positive:FM,negative:FM,total:FM},line:{stroke:E.ThemeSymbols.PALETTE_NEUTRAL_STROKE,strokeOpacity:1,lineDash:[0],lineDashOffset:0,strokeWidth:2}},legend:{enabled:!0,toggleSeries:!1}},{ThemeConstants:pb}=E,Lve={type:"series",optionsKey:"series[]",packageType:"enterprise",chartTypes:["cartesian"],identifier:"waterfall",solo:!0,moduleFactory:e=>new HT(e),tooltipDefaults:{range:"exact"},defaultAxes:E.swapAxisCondition([{type:pb.CARTESIAN_AXIS_TYPE.NUMBER,position:pb.CARTESIAN_POSITION.LEFT},{type:pb.CARTESIAN_AXIS_TYPE.CATEGORY,position:pb.CARTESIAN_POSITION.BOTTOM}],e=>e?.direction==="horizontal"),themeTemplate:Tve,paletteFactory:({takeColors:e,colorsCount:t,userPalette:i,palette:o})=>{if(i==="user-indexed"){const{fills:s,strokes:n}=e(t);return{line:{stroke:o.neutral.stroke},item:{positive:{fill:s[0],stroke:n[0]},negative:{fill:s[1],stroke:n[1]},total:{fill:s[2],stroke:n[2]}}}}return{line:{stroke:o.neutral.stroke},item:{positive:{fill:o.altUp.fill,stroke:o.altUp.stroke,label:{color:{$ref:"textColor"}}},negative:{fill:o.altDown.fill,stroke:o.altDown.stroke,label:{color:{$ref:"textColor"}}},total:{fill:o.neutral.fill,stroke:o.neutral.stroke,label:{color:{$ref:"textColor"}}}}}}},Eve=`.ag-watermark{position:absolute;bottom:20px;right:25px;font-weight:700;font-family:Impact,sans-serif;font-size:19px;opacity:.7;animation:1s ease-out 3s ag-watermark-fadeout;color:#9b9b9b;pointer-events:none;&:before{content:"";display:block;height:40px;width:170px;background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjU4IiBoZWlnaHQ9IjQwIiB2aWV3Qm94PSIwIDAgMjU4IDQwIiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8cGF0aCBkPSJNMjUuNzc5IDI4LjY1N0gxMy4zNTlMMTEuMTczIDM0LjAxMkg1LjY3Mjk3TDE3LjE4MiA3LjA1OTk5SDIxLjk1M0wzMy40NjIgMzQuMDEySDI3Ljk2MkwyNS43NzYgMjguNjU3SDI1Ljc3OVpNMjQuMDY4IDI0LjM5N0wxOS41ODggMTMuNDM0TDE1LjEwNyAyNC4zOTdIMjQuMDY4Wk02Mi4wOTIgMTguODIzSDQ5LjgxN1YyMy4wODZINTYuNzc1QzU2LjU1NSAyNS4yMjIgNTUuNzU1IDI2LjkyNyA1NC4zNzIgMjguMjAyQzUyLjk4OSAyOS40NzYgNTEuMTY2IDMwLjExNSA0OC45MDkgMzAuMTE1QzQ3LjYyMiAzMC4xMTUgNDYuNDUgMjkuODg1IDQ1LjM5MyAyOS40MjNDNDQuMzU4MyAyOC45NzgxIDQzLjQzMjYgMjguMzEzOCA0Mi42OCAyNy40NzZDNDEuOTI3IDI2LjYzOSA0MS4zNDQgMjUuNjMxIDQwLjkzMSAyNC40NTNDNDAuNTE5IDIzLjI3NSA0MC4zMTEgMjEuOTcgNDAuMzExIDIwLjUzN0M0MC4zMTEgMTkuMTA1IDQwLjUxNiAxNy44IDQwLjkzMSAxNi42MjFDNDEuMzQ0IDE1LjQ0MyA0MS45MjcgMTQuNDM2IDQyLjY4IDEzLjU5OEM0My40Mzc2IDEyLjc1NzcgNDQuMzY5NiAxMi4wOTMyIDQ1LjQxMSAxMS42NTFDNDYuNDc4IDExLjE4OSA0Ny42NTYgMTAuOTYgNDguOTQ2IDEwLjk2QzUxLjYxMiAxMC45NiA1My42MzcgMTEuNjAyIDU1LjAyIDEyLjg4NUw1OC4zIDkuNjA0OTlDNTUuODE3IDcuNjY5OTkgNTIuNjc2IDYuNjk5OTkgNDguODcyIDYuNjk5OTlDNDYuNzYgNi42OTk5OSA0NC44NTMgNy4wMzQ5OSA0My4xNTQgNy43MDA5OUM0MS40NTUgOC4zNjc5OSAzOS45OTggOS4zMDM5OSAzOC43ODMgMTAuNTA0QzM3LjU2NyAxMS43MDcgMzYuNjM0IDEzLjE1OCAzNS45NzcgMTQuODU3QzM1LjMxOSAxNi41NTYgMzQuOTk0IDE4LjQ1MSAzNC45OTQgMjAuNTRDMzQuOTk0IDIyLjYzIDM1LjMyOSAyNC40OTQgMzUuOTk1IDI2LjIwNUMzNi42NjIgMjcuOTE2IDM3LjYwNSAyOS4zNzQgMzguODE3IDMwLjU3N0M0MC4wMzIgMzEuNzggNDEuNDg2IDMyLjcxMyA0My4xODggMzMuMzgzQzQ0Ljg4OCAzNC4wNDkgNDYuNzgyIDM0LjM4NCA0OC44NzIgMzQuMzg0QzUwLjk2MSAzNC4zODQgNTIuNzUgMzQuMDQ5IDU0LjM5IDMzLjM4M0M1Ni4wMzEgMzIuNzE2IDU3LjQyNiAzMS43OCA1OC41NzkgMzAuNTc3QzU5LjczMyAyOS4zNzQgNjAuNjE5IDI3LjkxNiA2MS4yMzkgMjYuMjA1QzYxLjg2IDI0LjQ5NCA2Mi4xNyAyMi42MDUgNjIuMTcgMjAuNTRDNjIuMTY5NiAxOS45Njg4IDYyLjE0NDUgMTkuMzk4IDYyLjA5NSAxOC44MjlMNjIuMDkyIDE4LjgyM1pNMTUxLjgxIDE2Ljk4MUMxNTMuNDEgMTQuNjA5IDE1Ny40MTkgMTQuMzU4IDE1OS4wMjIgMTQuMzU4VjE4LjkxQzE1Ni45NTcgMTguOTEgMTU0Ljk4NSAxOC45OTYgMTUzLjc1NyAxOS44OTJDMTUyLjUyOSAyMC43OTIgMTUxLjkxOSAyMS45ODIgMTUxLjkxOSAyMy40NjRWMzMuOTlIMTQ2Ljk2NFYxNC4zNThIMTUxLjczNkwxNTEuODEgMTYuOTgxWk0xNDMuMDExIDE0LjM2MVYzNC4wMzFIMTM4LjI0TDEzOC4xMzEgMzEuMDQ1QzEzNy40NjYgMzIuMDc2IDEzNi41NTEgMzIuOTIxOSAxMzUuNDcxIDMzLjUwNEMxMzQuMzc2IDM0LjA5OSAxMzMuMDY4IDM0LjM5NiAxMzEuNTM2IDM0LjM5NkMxMzAuMiAzNC4zOTYgMTI4Ljk2MyAzNC4xNTIgMTI3LjgyMiAzMy42NjhDMTI2LjcgMzMuMTk2NCAxMjUuNjg5IDMyLjQ5NSAxMjQuODU1IDMxLjYwOUMxMjQuMDE4IDMwLjcyMiAxMjMuMzU0IDI5LjY2MiAxMjIuODcxIDI4LjQyMkMxMjIuMzg0IDI3LjE4NSAxMjIuMTQyIDI1LjgxMSAxMjIuMTQyIDI0LjMwNEMxMjIuMTQyIDIyLjc5OCAxMjIuMzg0IDIxLjM3OCAxMjIuODcxIDIwLjExNkMxMjMuMzU3IDE4Ljg1NCAxMjQuMDE4IDE3Ljc3MiAxMjQuODU1IDE2Ljg3M0MxMjUuNjg4IDE1Ljk3NjQgMTI2LjY5OCAxNS4yNjM2IDEyNy44MjIgMTQuNzhDMTI4Ljk2MyAxNC4yODEgMTMwLjIwMyAxNC4wMzMgMTMxLjUzNiAxNC4wMzNDMTMzLjA0MyAxNC4wMzMgMTM0LjMzIDE0LjMxOCAxMzUuMzk3IDE0Ljg4OEMxMzYuNDYyIDE1LjQ1ODkgMTM3LjM3NSAxNi4yNzggMTM4LjA1NyAxNy4yNzZWMTQuMzYxSDE0My4wMTFaTTEzMi42MzEgMzAuMTMzQzEzNC4yNTYgMzAuMTMzIDEzNS41NjcgMjkuNTk0IDEzNi41NjUgMjguNTEyQzEzNy41NjEgMjcuNDMgMTM4LjA2IDI1Ljk5MSAxMzguMDYgMjQuMTk2QzEzOC4wNiAyMi40MDEgMTM3LjU2MSAyMC45OSAxMzYuNTY1IDE5Ljg5OUMxMzUuNTcgMTguODA3IDEzNC4yNTkgMTguMjU4IDEzMi42MzEgMTguMjU4QzEzMS4wMDMgMTguMjU4IDEyOS43MjkgMTguODA0IDEyOC43MzQgMTkuODk5QzEyNy43MzggMjAuOTkzIDEyNy4yMzkgMjIuNDM4IDEyNy4yMzkgMjQuMjMzQzEyNy4yMzkgMjYuMDI4IDEyNy43MzUgMjcuNDMzIDEyOC43MzQgMjguNTE1QzEyOS43MjkgMjkuNTk0IDEzMS4wMjggMzAuMTM2IDEzMi42MzEgMzAuMTM2VjMwLjEzM1pNOTMuNjk4IDI3Ljg3NkM5My41Nzk1IDI4LjAwMjUgOTMuNDU2NCAyOC4xMjQ2IDkzLjMyOSAyOC4yNDJDOTEuOTQ3IDI5LjUxNiA5MC4xMjMgMzAuMTU1IDg3Ljg2NiAzMC4xNTVDODYuNTggMzAuMTU1IDg1LjQwOCAyOS45MjYgODQuMzUgMjkuNDY0QzgzLjMxNTUgMjkuMDE4OSA4Mi4zODk4IDI4LjM1NDYgODEuNjM3IDI3LjUxN0M4MC44ODQgMjYuNjc5IDgwLjMwMSAyNS42NzIgNzkuODg5IDI0LjQ5NEM3OS40NzYgMjMuMzE1IDc5LjI2OSAyMi4wMSA3OS4yNjkgMjAuNTc4Qzc5LjI2OSAxOS4xNDUgNzkuNDczIDE3Ljg0IDc5Ljg4OSAxNi42NjJDODAuMzAxIDE1LjQ4NCA4MC44ODQgMTQuNDc2IDgxLjYzNyAxMy42MzlDODIuMzk0OSAxMi43OTg3IDgzLjMyNzMgMTIuMTM0MiA4NC4zNjkgMTEuNjkyQzg1LjQzNiAxMS4yMyA4Ni42MTQgMTEgODcuOTAzIDExQzkwLjU3IDExIDkyLjU5NSAxMS42NDIgOTMuOTc3IDEyLjkyNkw5Ny4yNTggOS42NDQ5OUM5NC43NzQgNy43MTA5OSA5MS42MzMgNi43Mzk5OSA4Ny44MjkgNi43Mzk5OUM4NS43MTggNi43Mzk5OSA4My44MTEgNy4wNzQ5OSA4Mi4xMTIgNy43NDE5OUM4MC40MTMgOC40MDc5OSA3OC45NTYgOS4zNDQ5OSA3Ny43NCAxMC41NDVDNzYuNTI1IDExLjc0NyA3NS41OTIgMTMuMTk5IDc0LjkzNCAxNC44OThDNzQuMjc3IDE2LjU5NyA3My45NTEgMTguNDkxIDczLjk1MSAyMC41ODFDNzMuOTUxIDIyLjY3IDc0LjI4NiAyNC41MzQgNzQuOTUzIDI2LjI0NUM3NS42MTkgMjcuOTU3IDc2LjU2MiAyOS40MTQgNzcuNzc0IDMwLjYxN0M3OC45OSAzMS44MiA4MC40NDQgMzIuNzUzIDgyLjE0NiAzMy40MjNDODMuODQ1IDM0LjA5IDg1LjczOSAzNC40MjQgODcuODI5IDM0LjQyNEM4OS45MTkgMzQuNDI0IDkxLjcwOCAzNC4wOSA5My4zNDggMzMuNDIzQzk0LjcxOCAzMi44NjUgOTUuOTE4IDMyLjEyMSA5Ni45NDggMzEuMTkxQzk3LjE0OSAzMS4wMDggOTcuMzQ4IDMwLjgxNSA5Ny41MzcgMzAuNjJMOTMuNzAxIDI3Ljg4NUw5My42OTggMjcuODc2Wk0xMTAuODAyIDE0LjAxNUMxMDkuMTk5IDE0LjAxNSAxMDYuODM2IDE0LjQ3MSAxMDUuNjExIDE2LjE1OEwxMDUuNTM3IDYuMDE1OTlIMTAwLjc2NVYzMy45MzlIMTA1LjcyVjIyLjY0MUMxMDUuNzcxIDIxLjQ2MDcgMTA2LjI4OCAyMC4zNDg4IDEwNy4xNTcgMTkuNTQ4OUMxMDguMDI3IDE4Ljc0OTEgMTA5LjE3OCAxOC4zMjY2IDExMC4zNTggMTguMzc0QzExMy4zOTcgMTguMzc0IDExNC4yNjggMjEuMTU5IDExNC4yNjggMjIuNjQxVjMzLjkzOUgxMTkuMjIzVjIxLjA1OUMxMTkuMjIzIDIxLjA1OSAxMTkuMTQyIDE0LjAxNSAxMTAuODAyIDE0LjAxNVpNMTczLjc2MyAxNC4zNThIMTY5Ljk5OVY4LjcxNDk5SDE2NS4wNDhWMTQuMzU4SDE2MS4yODRWMTguOTE2SDE2NS4wNDhWMzQuMDAzSDE2OS45OTlWMTguOTE2SDE3My43NjNWMTQuMzU4Wk0xOTAuNzg3IDI1LjI2MkMxOTAuMTI5IDI0LjUwMTQgMTg5LjMwNyAyMy44OTk0IDE4OC4zODQgMjMuNTAxQzE4Ny40ODggMjMuMTE3IDE4Ni4zMzEgMjIuNzMyIDE4NC45NDggMjIuMzY0QzE4NC4xNjUgMjIuMTQzOSAxODMuMzkgMjEuODk3OCAxODIuNjIzIDIxLjYyNkMxODIuMTYzIDIxLjQ2MjEgMTgxLjc0MSAyMS4yMDY2IDE4MS4zODMgMjAuODc1QzE4MS4yMzUgMjAuNzQyMSAxODEuMTE4IDIwLjU3ODkgMTgxLjAzOSAyMC4zOTY0QzE4MC45NjEgMjAuMjE0IDE4MC45MjIgMjAuMDE2NiAxODAuOTI3IDE5LjgxOEMxODAuOTI3IDE5LjI3MiAxODEuMTU2IDE4Ljg0NCAxODEuNjI1IDE4LjUxQzE4Mi4xMjEgMTguMTU2IDE4Mi44NjIgMTcuOTc2IDE4My44MjYgMTcuOTc2QzE4NC43OSAxNy45NzYgMTg1LjU4NyAxOC4yMDkgMTg2LjE0OCAxOC42NjhDMTg2LjcwNiAxOS4xMjQgMTg3LjAwNyAxOS43MjUgMTg3LjA3MiAyMC41TDE4Ny4wOTQgMjAuNzgySDE5MS42MzNMMTkxLjYxNyAyMC40NkMxOTEuNTIxIDE4LjQ4NSAxOTAuNzcxIDE2LjkgMTg5LjM4NSAxNS43NUMxODguMDEyIDE0LjYxMiAxODYuMTg1IDE0LjAzMyAxODMuOTYyIDE0LjAzM0MxODIuNDc3IDE0LjAzMyAxODEuMTQxIDE0LjI4NyAxNzkuOTk0IDE0Ljc4NkMxNzguODMxIDE1LjI5MSAxNzcuOTI2IDE1Ljk5NSAxNzcuMjk2IDE2Ljg4MkMxNzYuNjczIDE3Ljc0NTUgMTc2LjMzOCAxOC43ODQgMTc2LjM0MSAxOS44NDlDMTc2LjM0MSAyMS4xNjcgMTc2LjY5OCAyMi4yNDkgMTc3LjM5OSAyMy4wNjRDMTc4LjA2IDIzLjg0MzIgMTc4Ljg5OCAyNC40NTM0IDE3OS44NDIgMjQuODQ0QzE4MC43NDQgMjUuMjE2IDE4MS45MjggMjUuNjA3IDE4My4zNjEgMjZDMTg0LjgwNiAyNi40MSAxODUuODcyIDI2Ljc4NSAxODYuNTMgMjcuMTIzQzE4Ny4xIDI3LjQxNCAxODcuMzc5IDI3Ljg0NSAxODcuMzc5IDI4LjQ0NEMxODcuMzc5IDI5LjA0MiAxODcuMTIyIDI5LjQ2NyAxODYuNTk1IDI5LjgzOUMxODYuMDQzIDMwLjIyNiAxODUuMjM3IDMwLjQyNSAxODQuMjAxIDMwLjQyNUMxODMuMTY2IDMwLjQyNSAxODIuMzk0IDMwLjE3NCAxODEuNzQ5IDI5LjY3NEMxODEuMTEzIDI5LjE4MSAxODAuNzcyIDI4LjU4OSAxODAuNzEgMjcuODY0TDE4MC42ODUgMjcuNTgySDE3Ni4wMTNMMTc2LjAyNSAyNy45MDFDMTc2LjA2NyAyOS4wOTU1IDE3Ni40NzIgMzAuMjQ4NyAxNzcuMTg4IDMxLjIwNkMxNzcuOTA3IDMyLjE4IDE3OC44OTMgMzIuOTU4IDE4MC4xMTggMzMuNTE5QzE4MS4zMzYgMzQuMDc3IDE4Mi43MzIgMzQuMzYyIDE4NC4yNjYgMzQuMzYyQzE4NS44MDEgMzQuMzYyIDE4Ny4xMDkgMzQuMTA4IDE4OC4yMzggMzMuNjA5QzE4OS4zNzYgMzMuMTA0IDE5MC4yNzIgMzIuMzk0IDE5MC45MDEgMzEuNDk0QzE5MS41MzQgMzAuNTkyIDE5MS44NTMgMjkuNTU0IDE5MS44NTMgMjguNDAzQzE5MS44MjggMjcuMTEgMTkxLjQ2NiAyNi4wNTMgMTkwLjc3NyAyNS4yNjJIMTkwLjc4N1oiIGZpbGw9IiM5QjlCOUIiLz4KPHBhdGggZD0iTTI0MS45ODIgMjUuNjU4MlYxNy43MTE3SDIyOC40NDFMMjIwLjQ5NCAyNS42NTgySDI0MS45ODJaIiBmaWxsPSIjOUI5QjlCIi8+CjxwYXRoIGQ9Ik0yNTcuMjM5IDUuOTUwODFIMjQwLjI2NUwyMzIuMjU1IDEzLjg5NzNIMjU3LjIzOVY1Ljk1MDgxWiIgZmlsbD0iIzlCOUI5QiIvPgo8cGF0aCBkPSJNMjEyLjYxMSAzMy42MDQ4TDIxNi42OCAyOS41MzYxSDIzMC40MTJWMzcuNDgyN0gyMTIuNjExVjMzLjYwNDhaIiBmaWxsPSIjOUI5QjlCIi8+CjxwYXRoIGQ9Ik0yMTUuNTk5IDIxLjc4MDNIMjI0LjM3MkwyMzIuMzgyIDEzLjgzMzdIMjE1LjU5OVYyMS43ODAzWiIgZmlsbD0iIzlCOUI5QiIvPgo8cGF0aCBkPSJNMjA2IDMzLjYwNDdIMjEyLjYxMUwyMjAuNDk0IDI1LjY1ODJIMjA2VjMzLjYwNDdaIiBmaWxsPSIjOUI5QjlCIi8+CjxwYXRoIGQ9Ik0yNDAuMjY1IDUuOTUwODFMMjM2LjE5NyAxMC4wMTk0SDIxMC4yNTlWMi4wNzI4OEgyNDAuMjY1VjUuOTUwODFaIiBmaWxsPSIjOUI5QjlCIi8+Cjwvc3ZnPgo=);background-repeat:no-repeat;background-size:170px 40px}>span{padding-left:.7rem}}@keyframes ag-watermark-fadeout{0%{opacity:.5}to{opacity:0}}.ag-charts-dialog{display:flex;flex-direction:column;font-size:var(--ag-charts-chrome-font-size-large)}.ag-charts-dialog__tabs{display:flex;flex-direction:column}.ag-charts-dialog__header{border-bottom:1px solid var(--ag-charts-border-color);display:flex}.ag-charts-dialog__tab-list{display:flex;gap:calc(var(--ag-charts-spacing) * 2)}.ag-charts-dialog__drag-handle{align-items:center;color:inherit;cursor:grab;display:flex;padding:1px 6px;text-align:center}.ag-charts-dialog__drag-handle--dragging{cursor:grabbing}.ag-charts-dialog__tab-button{background:none;border:0;border-bottom:2px solid transparent;border-radius:0;color:var(--ag-charts-chrome-subtle-text-color);margin-bottom:-1px;padding:var(--input-padding) calc(var(--input-padding) / 2)}.ag-charts-dialog__tab-button:hover{background:none}.ag-charts-dialog__tab-button--active{border-color:var(--ag-charts-accent-color);color:inherit}.ag-charts-dialog__drag-handle+.ag-charts-dialog__tab-button{margin-left:calc(var(--ag-charts-spacing) * -2)}.ag-charts-button.ag-charts-dialog__close-button{background:none;border:0;margin-left:auto;padding:1px 6px}.ag-charts-dialog__close-button:focus-visible{outline:var(--ag-charts-focus-border);box-shadow:var(--ag-charts-focus-border-shadow);z-index:calc(var(--ag-charts-layer-ui-overlay) + 1)}.ag-charts-dialog__tab-panel{display:none;flex-direction:column;gap:calc(var(--ag-charts-spacing) * 4);margin:0 calc(var(--ag-charts-spacing) * 4);padding:calc(var(--ag-charts-spacing) * 4) 0}.ag-charts-dialog__tab-panel--active{display:flex}.ag-charts-dialog__input-group-line{display:flex;gap:16px 18px;flex-wrap:wrap}.ag-charts-dialog__input-group{align-items:center;display:flex;font-size:var(--ag-charts-chrome-font-size)}.ag-charts-dialog__input-group-label{color:var(--ag-charts-chrome-subtle-text-color);margin-right:5px}.ag-charts-dialog__input-group-label[for]{cursor:pointer}.ag-charts-dialog__button{border-radius:0;margin-right:-1px}.ag-charts-dialog__button.ag-charts-dialog__button--active{background:var(--ag-charts-button-focus-background-color);border-color:var(--ag-charts-input-focus-border-color);color:var(--ag-charts-input-focus-text-color);z-index:var(--input-layer-active)}.ag-charts-dialog__button:first-child,.ag-charts-dialog__input-group-label+.ag-charts-dialog__button{border-bottom-left-radius:var(--ag-charts-input-border-radius);border-top-left-radius:var(--ag-charts-input-border-radius)}.ag-charts-dialog__button:last-child{border-bottom-right-radius:var(--ag-charts-input-border-radius);border-top-right-radius:var(--ag-charts-input-border-radius)}.ag-charts-dialog__color-picker-button{--color: #000;background:var(--color);border:none;color:transparent;height:26px;width:26px}.ag-charts-dialog__color-picker-button:hover{background:var(--color)}.ag-charts-dialog__color-picker-button--multi-color,.ag-charts-dialog__color-picker-button--multi-color:hover{background:linear-gradient(135deg,red 0%,#ff0 calc(100% * 1 / 6),#0f0 calc(100% * 2 / 6),#0ff 50%,#00f calc(100% * 4 / 6),#f0f calc(100% * 5 / 6),red 100%)}.ag-charts-color-picker{width:190px;padding:8px;--h: 0;--s: 0;--v: 0;--a: 0;--color: #000;--color-a: #000;--thumb-size: 18px;--inner-width: 172px;--track-height: 12px;--palette-height: 136px;--checker: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="4" height="4"><rect x="0" y="0" width="4" height="4" fill="%23fff"/><path d="M0 0H2V4H4V2H0Z" fill="%23b2b2b2"/></svg>');--multi-color: linear-gradient( 135deg, #f00 0% , #ff0 calc(100% * 1 / 6), #0f0 calc(100% * 2 / 6), #0ff 50% , #00f calc(100% * 4 / 6), #f0f calc(100% * 5 / 6), #f00 100% )}.ag-charts-color-picker__content{display:flex;flex-direction:column}.ag-charts-color-picker__palette{position:relative;width:100%;height:var(--palette-height);margin-bottom:8px;background:linear-gradient(to bottom,#0000,#000),linear-gradient(to right,#fff,#fff0) hsl(var(--h),100%,50%);border-radius:calc(var(--ag-charts-border-radius) * 1.5);box-shadow:inset 0 0 0 1px #0003}.ag-charts-color-picker__palette:after{content:"";position:absolute;display:block;top:calc(var(--thumb-size) * -.5 + (1 - var(--v)) * 100%);left:calc(var(--thumb-size) * -.5 + var(--s) * 100%);background:var(--color);width:var(--thumb-size);height:var(--thumb-size);border-radius:calc(var(--ag-charts-border-radius) * 99);box-shadow:var(--box-shadow);--box-shadow: inset 0 0 0 3px white, inset 0 0 1px 3px #0006, 0 0 5px #00000038}.ag-charts-color-picker__palette:focus-visible:after{outline:var(--ag-charts-focus-border);box-shadow:var(--box-shadow),0 0 0 2px #fff8,var(--ag-charts-focus-border-shadow)}.ag-charts-color-picker__color-row{display:flex;gap:8px;align-items:center;margin-bottom:4px;--inset: calc((var(--thumb-size) - var(--track-height)) / 2)}.ag-charts-color-picker__hue-input,.ag-charts-color-picker__alpha-input{-webkit-appearance:none;display:block;position:relative;padding:0;margin:0 calc(var(--inset) * -1);border:0;height:var(--thumb-size);width:auto;background:transparent;--inset: calc((var(--thumb-size) - var(--track-height)) / 2)}.ag-charts-color-picker__hue-input::-webkit-slider-thumb,.ag-charts-color-picker__alpha-input::-webkit-slider-thumb{-webkit-appearance:none;width:var(--thumb-size);height:var(--thumb-size);border-radius:calc(var(--ag-charts-border-radius) * 99);box-shadow:var(--box-shadow);--box-shadow: inset 0 0 0 3px white, inset 0 0 1px 3px #0006, 0 0 5px #00000038;transform:translateZ(0)}.ag-charts-color-picker__hue-input::-webkit-slider-thumb{background:hsl(var(--h),100%,50%)}.ag-charts-color-picker__alpha-input::-webkit-slider-thumb{background:transparent}.ag-charts-color-picker__alpha-input--opaque::-webkit-slider-thumb{background:var(--color)}.ag-charts-color-picker__hue-input:focus-visible::-webkit-slider-thumb,.ag-charts-color-picker__alpha-input:focus-visible::-webkit-slider-thumb{outline:var(--ag-charts-focus-border);box-shadow:var(--box-shadow),var(--ag-charts-focus-border-shadow)}.ag-charts-color-picker__hue-input:before,.ag-charts-color-picker__alpha-input:before{position:absolute;content:"";display:block;top:calc(50% - var(--track-height) / 2);left:var(--inset);right:var(--inset);height:var(--track-height);border-radius:calc(var(--ag-charts-border-radius) * 99);box-shadow:inset 0 0 0 1px #0003}.ag-charts-color-picker__multi-color-button{width:36px;margin-left:var(--inset);height:var(--track-height);border-radius:calc(var(--ag-charts-border-radius) * 99);border:0;background:var(--multi-color);box-shadow:inset 0 0 0 1px #0003}.ag-charts-color-picker__multi-color-button--hidden{display:none}.ag-charts-color-picker__multi-color-button--active{box-shadow:inset 0 0 0 1px #0003;outline-offset:1px;outline:2px solid #2196f3}.ag-charts-color-picker__hue-input{flex:1 0 0}.ag-charts-color-picker__hue-input:before{background:linear-gradient(to right,red,red calc((100% - var(--track-height)) * 0 / 6 + var(--track-height) / 2),#ff0 calc((100% - var(--track-height)) * 1 / 6 + var(--track-height) / 2),#0f0 calc((100% - var(--track-height)) * 2 / 6 + var(--track-height) / 2),#0ff calc((100% - var(--track-height)) * 3 / 6 + var(--track-height) / 2),#00f calc((100% - var(--track-height)) * 4 / 6 + var(--track-height) / 2),#f0f calc((100% - var(--track-height)) * 5 / 6 + var(--track-height) / 2),red calc((100% - var(--track-height)) * 6 / 6 + var(--track-height) / 2))}.ag-charts-color-picker__alpha-input{margin-bottom:7px}.ag-charts-color-picker__alpha-input:before{background:linear-gradient(to right,transparent,var(--color)),var(--checker) top left / 4px 4px}.ag-charts-color-picker__color-field{display:flex;border:var(--ag-charts-border);background:var(--ag-charts-background-color);border-radius:var(--ag-charts-border-radius);overflow:hidden}.ag-charts-color-picker__color-field:has(:focus-visible){border-color:var(--ag-charts-accent-color);box-shadow:var(--ag-charts-focus-border-shadow)}.ag-charts-color-picker__color-label{width:16px;height:16px;margin:7px 0 7px 7px;color:transparent;background:linear-gradient(to right,var(--color-a),var(--color-a)),var(--checker) top left / 4px 4px;border-radius:calc(var(--ag-charts-border-radius) / 2);box-shadow:inset 0 0 0 1px #0003}.ag-charts-color-picker__color-label--multi-color{background:var(--multi-color)}.ag-charts-color-picker__color-input{flex:1;min-width:0;padding:7px 7px 7px 8px;border:0;margin:0;color:inherit;background:transparent;font-variant:tabular-nums}.ag-charts-color-picker__color-input:focus-visible{border:none;outline:none}.ag-charts-annotations__line-stroke-width-menu,.ag-charts-annotations__line-style-type-menu,.ag-charts-annotations__text-size-menu{.ag-charts-menu__row:first-child{border-radius:0}}.ag-charts-annotations__text-size-menu{--item-padding: 4px 8px;border-top-left-radius:0;border-top-right-radius:0;min-width:34px;text-align:center}.ag-charts-annotations__line-stroke-width-menu{--item-padding: 6px;column-gap:6px}.ag-charts-annotations__line-style-type-menu{--item-padding: 6px;column-gap:0}.ag-charts-annotations__stroke-width-button:before{background:var(--ag-charts-foreground-color);content:"";margin-right:var(--toolbar-button-padding);height:min(var(--stroke-width),20px);width:12px}.ag-charts-annotations__stroke-width-button[aria-disabled=true]:before{filter:grayscale(1);opacity:.5}.ag-charts-annotations__color-picker-button{--emblem: var(--color)}.ag-charts-annotations__color-picker-button--multi-color{--emblem: linear-gradient( to right, #f00 0% , #ff0 calc(100% * 1 / 6), #0f0 calc(100% * 2 / 6), #0ff 50% , #00f calc(100% * 4 / 6), #f0f calc(100% * 5 / 6), #f00 100% )}.ag-charts-annotations__color-picker-button:after{content:"";display:block;position:absolute;bottom:3px;left:5px;right:5px;height:4px;border-radius:99px;box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--ag-charts-foreground-color) 10%,transparent);background:var(--emblem)}.ag-charts-annotations__color-picker-button[aria-disabled=true]:after{filter:grayscale(1);opacity:.5}.ag-charts-annotations__toolbar-menu{min-width:200px}.ag-charts-annotations__axis-button--hidden{display:none}.ag-charts-annotations__axis-button{background-color:var(--ag-charts-crosshair-label-background-color);border-radius:calc(var(--ag-charts-border-radius) / 2);border:none;box-sizing:border-box;color:var(--ag-charts-crosshair-label-text-color);cursor:pointer;font-family:var(--ag-charts-chrome-font-family);font-size:var(--ag-charts-chrome-font-size);font-weight:var(--ag-charts-chrome-font-weight);left:0;line-height:16px;overflow:hidden;padding:0;position:absolute;top:0;user-select:none;white-space:nowrap;z-index:var(--ag-charts-layer-annotations)}.ag-charts-annotations__axis-button:hover{opacity:.8;color:var(--ag-charts-background-color)}.ag-charts-dialog--annotation-settings{min-height:233px;width:289px}.ag-charts-dialog--annotation-settings .ag-charts-textarea{height:calc(10px * 2 + var(--textarea-line-height) * 1em * 3 + 2px);overflow-y:auto;resize:vertical}.ag-charts-context-menu{background:var(--ag-charts-chrome-background-color);border:var(--ag-charts-border);border-radius:var(--ag-charts-border-radius);box-shadow:var(--ag-charts-shadow);color:var(--ag-charts-chrome-text-color);font-family:var(--ag-charts-chrome-font-family);font-size:calc(var(--ag-charts-chrome-font-size) * (13 / 12));font-weight:var(--ag-charts-chrome-font-weight);transition:transform .1s ease;white-space:nowrap;z-index:var(--ag-charts-layer-ui-overlay)}.ag-charts-context-menu__cover{position:fixed;left:0;top:0}.ag-charts-context-menu__menu{display:flex;flex-direction:column;padding:.5em 0}.ag-charts-context-menu__menu:focus{outline:none}.ag-charts-context-menu__item{background:none;border:none;box-sizing:border-box;color:inherit;font:inherit;padding:.5em 1em;text-align:left;-webkit-appearance:none;-moz-appearance:none}.ag-charts-context-menu__item:focus,.ag-charts-context-menu__item:active{background:var(--ag-charts-focus-color)}.ag-charts-context-menu__item[data-focus-visible-override=true]:focus,.ag-charts-context-menu__item:focus-visible{outline:var(--ag-charts-focus-border);box-shadow:var(--ag-charts-focus-border-shadow);z-index:calc(var(--ag-charts-layer-ui-overlay) + 1)}.ag-charts-context-menu__item[data-focus-visible-override=false]{outline:inherit;box-shadow:inherit;z-index:inherit}.ag-charts-context-menu__item[aria-disabled=true]{border:none;opacity:.5;text-align:left}.ag-charts-context-menu__item[aria-disabled=true]:focus{background:inherit;cursor:inherit}.ag-charts-context-menu__divider{margin:5px 0;background:#babfc7;height:1px}.ag-charts-context-menu__divider.ag-charts-dark-context-menu{background:#2196f31a}.ag-charts-crosshair-label{position:absolute;left:0;top:0;user-select:none;pointer-events:none;font-family:var(--ag-charts-font-family);font-size:var(--ag-charts-font-size);font-weight:var(--ag-charts-font-weight);overflow:hidden;white-space:nowrap;z-index:var(--ag-charts-layer-crosshair);box-sizing:border-box}.ag-charts-crosshair-label-content{padding:0 8px;border-radius:calc(var(--ag-charts-border-radius) / 2);line-height:calc(var(--ag-charts-font-size) + 8px);background-color:var(--ag-charts-crosshair-label-background-color);color:var(--ag-charts-crosshair-label-text-color)}.ag-charts-crosshair-label--hidden{visibility:hidden!important}.ag-charts-text-input{position:absolute}.ag-charts-text-input__textarea{--placeholder-text-color: var(--ag-charts-input-placeholder-text-color);display:block;height:100%;width:100%;border:0;background:none;line-height:1.38;outline:none;transform:translateY(.09em)}.ag-charts-text-input__textarea[placeholder]:empty:before{content:attr(placeholder);color:var(--placeholder-text-color);font-weight:400}.ag-charts-text-input__textarea[placeholder]:not(:empty):before{content:""}.ag-charts-chart-toolbar__menu{min-width:200px}.ag-charts-range-buttons .ag-charts-toolbar__button{padding:var(--toolbar-button-padding) calc(var(--toolbar-button-padding) * 1.5)}.ag-charts-zoom-buttons{align-items:center;display:flex;height:44px;justify-content:center;overflow:hidden;padding-bottom:10px;pointer-events:none;width:100%;.ag-charts-toolbar{--toolbar-size: 24px;--toolbar-button-padding: 1px;display:flex;font-size:var(--ag-charts-chrome-font-size);height:var(--toolbar-size);justify-content:center;opacity:1;pointer-events:auto;transition:opacity .2s ease-in-out,transform .4s ease-in-out;.ag-charts-toolbar__button--first{border-bottom-left-radius:var(--ag-charts-border-radius);border-top-left-radius:var(--ag-charts-border-radius)}.ag-charts-toolbar__button--last{border-bottom-right-radius:var(--ag-charts-border-radius);border-top-right-radius:var(--ag-charts-border-radius)}.ag-charts-toolbar__label{padding-left:var(--ag-charts-spacing);padding-right:var(--ag-charts-spacing)}.ag-charts-toolbar__icon+.ag-charts-toolbar__label{padding-left:0}.ag-charts-toolbar__button--gap{margin-left:var(--toolbar-gap)}.ag-charts-zoom-buttons__toolbar--hidden{opacity:0;transition:opacity .4s ease-in-out,transform .4s ease-in-out}}}.ag-charts-shared-toolbar{gap:var(--toolbar-gap);.ag-charts-toolbar__button{border-radius:var(--ag-charts-border-radius);margin:0}}
|
|
21
|
-
`;E.ModuleRegistry.registerMany([eee,Cee,wee,kee,Ree]);function Pve(){E.moduleRegistry.register(lJ,vJ,Eee,fse,Dse,Mae,bne,$ae,Cle,Vle,Cce,Bce,Epe,Lse,Ose,Xse,Qse,pne,rue,xde,que,Tue,She,tpe,Phe,Gne,hre,pae,gde,Tpe,CJ,Ege,Pge,rfe,hfe,$J,Wfe,ZJ,sye,Ime,qne,Xpe,wye,Jne,Fye,yre,ive,Lve,eae),E.enterpriseModule.isEnterprise=!0,E.enterpriseModule.styles=Eve,E.enterpriseModule.licenseManager=e=>new _h(e.container?.ownerDocument??(typeof document>"u"?void 0:document)),E.enterpriseModule.injectWatermark=gae}Pve();var Nve={setLicenseKey(e){_h.setLicenseKey(e)}};An.create.bind(An),An.__createSparkline.bind(An),_h.setGridContext.bind(_h),_h.setLicenseKey.bind(_h);function WT(e){const t=e.value?.value!=null?e.value.value:e.value;return t==null||t===""?"":t}function jT(e,t){return e.toLocaleString(void 0,{minimumFractionDigits:0,maximumFractionDigits:t})}function L9(e){return typeof e!="number"?2:Math.min(Math.max(0,e),20)}function E9(e,t){const i=WT(e);return i===""?"":"$"+jT(i,L9(t))}function Ove(e,t){return WT(e)===""?"":jT(e.value*100,L9(t))+"%"}function Fve(e){const t=WT(e);return t===""?"":jT(t,0)}function Bve(e,t){return e.value}const Gve={key:0,class:"pv-flex pv-chart-loading"},zve=m.defineComponent({__name:"PvChart",props:{options:{},seriesFormatType:{default:"none"},isLoading:{type:Boolean,default:!1},enableFocusView:{type:Boolean,default:!1}},emits:["series-visibility-change"],setup(e,{expose:t,emit:i}){const o=e,s=i;Nve.setLicenseKey("Using_this_{AG_Charts}_Enterprise_key_{AG-087886}_in_excess_of_the_licence_granted_is_not_permitted___Please_report_misuse_to_legal@ag-grid.com___For_help_with_changing_this_key_please_contact_info@ag-grid.com___{Turquoise_Health}_is_granted_a_{Multiple_Applications}_Developer_License_for_{3}_Front-End_JavaScript_developers___All_Front-End_JavaScript_developers_need_to_be_licensed_in_addition_to_the_ones_working_with_{AG_Charts}_Enterprise___This_key_has_been_granted_a_Deployment_License_Add-on_for_{2}_Production_Environments___This_key_works_with_{AG_Charts}_Enterprise_versions_released_before_{9_May_2026}____[v3]_[02]_MTc3ODI4MTIwMDAwMA==b240799c3daa50107bb7f3adff911d8f");const r={seriesVisibilityChange:h=>{s("series-visibility-change",h)}},a=m.ref(null),l=m.computed(()=>(u.value?.series||[]).some(p=>p.type==="map-shape")),c=m.computed(()=>{const h=u.value?.series||[];let p=!1;return h.forEach(g=>{g.type==="bar"&&g.direction==="horizontal"&&(p=!0)}),p}),d=m.computed(()=>{if(o.seriesFormatType==="currency")return E9;if(o.seriesFormatType==="percent")return 0}),u=m.computed(()=>{const h={...o.options};return h.theme||(h.theme=wQ),h.overlays||(h.overlays={noData:{text:"No data to display"},noVisibleSeries:{text:"No visible series"}}),h.axes||(h.axes=[{type:"category",position:c.value?"left":"bottom"},{type:"number",position:c.value?"bottom":"left",label:{formatter:d.value}}]),h.contextMenu||(h.contextMenu={enabled:!1}),h.listeners={...h.listeners||{},...r},h});return t({getChartImageDataURL:h=>a.value?.chart?.getImageDataURL({width:h?.width,height:h?.height})}),(h,p)=>(m.openBlock(),m.createElementBlock("div",null,[m.createVNode(m.unref(bQ),{ref_key:"chartRef",ref:a,style:m.normalizeStyle([{height:"100%"},l.value?"":"min-height: 450px"]),options:u.value},null,8,["style","options"]),h.isLoading?(m.openBlock(),m.createElementBlock("div",Gve,[m.createVNode(Wi,{class:"pv-margin-auto pv-chart-loading-icon",name:l.value?"map":"chart-column",size:32},null,8,["name"])])):m.createCommentVNode("",!0)]))}}),Ea=(e,t)=>{const i=e.__vccOpts||e;for(const[o,s]of t)i[o]=s;return i},$T=Ea(zve,[["__scopeId","data-v-2f5dcc04"]]);var ml=class{constructor(){this.allSyncListeners=new Map,this.allAsyncListeners=new Map,this.globalSyncListeners=new Set,this.globalAsyncListeners=new Set,this.asyncFunctionsQueue=[],this.scheduled=!1,this.firedEvents={}}setFrameworkOverrides(e){this.frameworkOverrides=e}getListeners(e,t,i){const o=t?this.allAsyncListeners:this.allSyncListeners;let s=o.get(e);return!s&&i&&(s=new Set,o.set(e,s)),s}noRegisteredListenersExist(){return this.allSyncListeners.size===0&&this.allAsyncListeners.size===0&&this.globalSyncListeners.size===0&&this.globalAsyncListeners.size===0}addEventListener(e,t,i=!1){this.getListeners(e,i,!0).add(t)}removeEventListener(e,t,i=!1){const o=this.getListeners(e,i,!1);o&&(o.delete(t),o.size===0&&(i?this.allAsyncListeners:this.allSyncListeners).delete(e))}addGlobalListener(e,t=!1){(t?this.globalAsyncListeners:this.globalSyncListeners).add(e)}removeGlobalListener(e,t=!1){(t?this.globalAsyncListeners:this.globalSyncListeners).delete(e)}dispatchEvent(e){const t=e;this.dispatchToListeners(t,!0),this.dispatchToListeners(t,!1),this.firedEvents[t.type]=!0}dispatchEventOnce(e){this.firedEvents[e.type]||this.dispatchEvent(e)}dispatchToListeners(e,t){const i=e.type;if(t&&"event"in e){const a=e.event;a instanceof Event&&(e.eventPath=a.composedPath())}const o=(a,l)=>a.forEach(c=>{if(!l.has(c))return;const d=this.frameworkOverrides?()=>this.frameworkOverrides.wrapIncoming(()=>c(e)):()=>c(e);t?this.dispatchAsync(d):d()}),s=this.getListeners(i,t,!1)??new Set,n=new Set(s);n.size>0&&o(n,s),new Set(t?this.globalAsyncListeners:this.globalSyncListeners).forEach(a=>{const l=this.frameworkOverrides?()=>this.frameworkOverrides.wrapIncoming(()=>a(i,e)):()=>a(i,e);t?this.dispatchAsync(l):l()})}dispatchAsync(e){if(this.asyncFunctionsQueue.push(e),!this.scheduled){const t=()=>{window.setTimeout(this.flushAsyncQueue.bind(this),0)};this.frameworkOverrides?this.frameworkOverrides.wrapIncoming(t):t(),this.scheduled=!0}}flushAsyncQueue(){this.scheduled=!1;const e=this.asyncFunctionsQueue.slice();this.asyncFunctionsQueue=[],e.forEach(t=>t())}};function _ve(e,t){return t}function UT(e){return e?.getLocaleTextFunc()??_ve}function $n(e,t,i){i==null||typeof i=="string"&&i==""?KT(e,t):Un(e,t,i)}function Un(e,t,i){e.setAttribute(P9(t),i.toString())}function KT(e,t){e.removeAttribute(P9(t))}function P9(e){return`aria-${e}`}function os(e,t){t?e.setAttribute("role",t):e.removeAttribute("role")}function Vve(e){let t;return e==="asc"?t="ascending":e==="desc"?t="descending":e==="mixed"?t="other":t="none",t}function Hve(e){return parseInt(e.getAttribute("aria-posinset"),10)}function Wve(e){return e.getAttribute("aria-label")}function Xs(e,t){$n(e,"label",t)}function vp(e,t){$n(e,"labelledby",t)}function YT(e,t){$n(e,"describedby",t)}function N9(e,t){$n(e,"live",t)}function jve(e,t){$n(e,"atomic",t)}function $ve(e,t){$n(e,"relevant",t)}function O9(e,t){$n(e,"level",t)}function F9(e,t){$n(e,"disabled",t)}function B9(e,t){$n(e,"hidden",t)}function yl(e,t){Un(e,"expanded",t)}function Uve(e){KT(e,"expanded")}function G9(e,t){Un(e,"setsize",t)}function z9(e,t){Un(e,"posinset",t)}function Kve(e,t){Un(e,"multiselectable",t)}function Yve(e,t){Un(e,"rowcount",t)}function _9(e,t){Un(e,"rowindex",t)}function Xve(e,t){Un(e,"colcount",t)}function V9(e,t){Un(e,"colindex",t)}function Zve(e,t){Un(e,"colspan",t)}function qve(e,t){Un(e,"sort",t)}function Qve(e){KT(e,"sort")}function DD(e,t){$n(e,"selected",t)}function H9(e,t){Un(e,"checked",t===void 0?"mixed":t)}function Jve(e,t){$n(e,"controls",t.id),vp(t,e.id)}function ebe(e,t){$n(e,"haspopup",t===!1?null:t)}function W9(e,t){return t===void 0?e("ariaIndeterminate","indeterminate"):t===!0?e("ariaChecked","checked"):e("ariaUnchecked","unchecked")}var BM,GM,zM,_M,kD,ID,VM;function Hx(){return BM===void 0&&(BM=/^((?!chrome|android).)*safari/i.test(navigator.userAgent)),BM}function XT(){return GM===void 0&&(GM=/(firefox)/i.test(navigator.userAgent)),GM}function j9(){return zM===void 0&&(zM=/(Mac|iPhone|iPod|iPad)/i.test(navigator.platform)),zM}function au(){return _M===void 0&&(_M=/iPad|iPhone|iPod/.test(navigator.platform)||navigator.platform==="MacIntel"&&navigator.maxTouchPoints>1),_M}function RF(e){if(!e)return null;const t=e.tabIndex,i=e.getAttribute("tabIndex");return t===-1&&(i===null||i===""&&!XT())?null:t.toString()}function tbe(){if(VM!==void 0)return VM;if(!document.body)return-1;let e=1e6;const t=XT()?6e6:1e9,i=document.createElement("div");for(document.body.appendChild(i);;){const o=e*2;if(i.style.height=o+"px",o>t||i.clientHeight!==o)break;e=o}return document.body.removeChild(i),VM=e,e}function ibe(){return ID==null&&$9(),ID}function $9(){const e=document.body,t=document.createElement("div");t.style.width=t.style.height="100px",t.style.opacity="0",t.style.overflow="scroll",t.style.msOverflowStyle="scrollbar",t.style.position="absolute",e.appendChild(t);let i=t.offsetWidth-t.clientWidth;i===0&&t.clientWidth===0&&(i=null),t.parentNode&&t.parentNode.removeChild(t),i!=null&&(ID=i,kD=i===0)}function U9(){return kD==null&&$9(),kD}function TF(e,t,i){const o=e.parentElement;let s=o&&o.firstChild;for(;s;)t&&s.classList.toggle(t,s===e),s=s.nextSibling}var obe="[tabindex], input, select, button, textarea, [href]",K9="[disabled], .ag-disabled:not(.ag-button), .ag-disabled *";function ZT(e){const t=Element.prototype.matches||Element.prototype.msMatchesSelector,o=t.call(e,"input, select, button, textarea"),s=t.call(e,K9),n=Zs(e);return o&&!s&&n}function $e(e,t,i={}){const{skipAriaHidden:o}=i;e.classList.toggle("ag-hidden",!t),o||B9(e,!t)}function sbe(e,t,i={}){const{skipAriaHidden:o}=i;e.classList.toggle("ag-invisible",!t),o||B9(e,!t)}function qT(e,t){const i="disabled",o=t?n=>n.setAttribute(i,""):n=>n.removeAttribute(i);o(e);const s=e.querySelectorAll("input")??[];for(const n of s)o(n)}function lu(e,t,i){let o=0;for(;e;){if(e.classList.contains(t))return!0;if(e=e.parentElement,typeof i=="number"){if(++o>i)break}else if(e===i)break}return!1}function xg(e){const{height:t,width:i,borderTopWidth:o,borderRightWidth:s,borderBottomWidth:n,borderLeftWidth:r,paddingTop:a,paddingRight:l,paddingBottom:c,paddingLeft:d,marginTop:u,marginRight:h,marginBottom:p,marginLeft:g,boxSizing:f}=window.getComputedStyle(e);return{height:parseFloat(t||"0"),width:parseFloat(i||"0"),borderTopWidth:parseFloat(o||"0"),borderRightWidth:parseFloat(s||"0"),borderBottomWidth:parseFloat(n||"0"),borderLeftWidth:parseFloat(r||"0"),paddingTop:parseFloat(a||"0"),paddingRight:parseFloat(l||"0"),paddingBottom:parseFloat(c||"0"),paddingLeft:parseFloat(d||"0"),marginTop:parseFloat(u||"0"),marginRight:parseFloat(h||"0"),marginBottom:parseFloat(p||"0"),marginLeft:parseFloat(g||"0"),boxSizing:f}}function Wx(e){const t=xg(e);return t.boxSizing==="border-box"?t.height-t.paddingTop-t.paddingBottom:t.height}function km(e){const t=xg(e);return t.boxSizing==="border-box"?t.width-t.paddingLeft-t.paddingRight:t.width}function Y9(e){const{height:t,marginBottom:i,marginTop:o}=xg(e);return Math.floor(t+i+o)}function QC(e){const{width:t,marginLeft:i,marginRight:o}=xg(e);return Math.floor(t+i+o)}function X9(e){const t=e.getBoundingClientRect(),{borderTopWidth:i,borderLeftWidth:o,borderRightWidth:s,borderBottomWidth:n}=xg(e);return{top:t.top+(i||0),left:t.left+(o||0),right:t.right+(s||0),bottom:t.bottom+(n||0)}}function JC(e,t){let i=e.scrollLeft;return t&&(i=Math.abs(i)),i}function e0(e,t,i){i&&(t*=-1),e.scrollLeft=t}function Ys(e){for(;e&&e.firstChild;)e.removeChild(e.firstChild)}function Qr(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function Z9(e){return!!e.offsetParent}function Zs(e){const t=e;return t.checkVisibility?t.checkVisibility({checkVisibilityCSS:!0}):!(!Z9(e)||window.getComputedStyle(e).visibility!=="visible")}function jx(e){const t=document.createElement("div");return t.innerHTML=(e||"").trim(),t.firstChild}function q9(e,t,i){i&&i.nextSibling===t||(e.firstChild?i?i.nextSibling?e.insertBefore(t,i.nextSibling):e.appendChild(t):e.firstChild&&e.firstChild!==t&&e.insertAdjacentElement("afterbegin",t):e.appendChild(t))}function Q9(e,t){for(let i=0;i<t.length;i++){const o=t[i],s=e.children[i];s!==o&&e.insertBefore(o,s)}}function nbe(e){return e.replace(/[A-Z]/g,t=>`-${t.toLocaleLowerCase()}`)}function qy(e,t){if(t)for(const i of Object.keys(t)){const o=t[i];if(!i||!i.length||o==null)continue;const s=nbe(i),n=o.toString(),r=n.replace(/\s*!important/g,""),a=r.length!=n.length?"important":void 0;e.style.setProperty(s,r,a)}}function rbe(e){return e.clientWidth<e.scrollWidth}function abe(e){return e.clientHeight<e.scrollHeight}function t0(e,t){t==="flex"?(e.style.removeProperty("width"),e.style.removeProperty("minWidth"),e.style.removeProperty("maxWidth"),e.style.flex="1 1 auto"):na(e,t)}function na(e,t){t=QT(t),e.style.width=t,e.style.maxWidth=t,e.style.minWidth=t}function Tf(e,t){t=QT(t),e.style.height=t,e.style.maxHeight=t,e.style.minHeight=t}function QT(e){return typeof e=="number"?`${e}px`:e}function $x(e){return e instanceof Node||e instanceof HTMLElement}function Jh(e,t,i){i==null||i===""?e.removeAttribute(t):e.setAttribute(t,i.toString())}function md(e,t,i){const s=c6(e).ResizeObserver,n=s?new s(i):null;return n?.observe(t),()=>n?.disconnect()}function lbe(e){const t=Cp(e),i="getSelection"in t?t.getSelection():null,o=[];for(let s=0;s<(i?.rangeCount??0);s++){const n=i?.getRangeAt(s);n&&o.push(n)}return{selection:i,ranges:o}}function J9(e,t){if(!e.gos.get("enableCellTextSelection")||!XT()&&!Hx())return t();const{selection:o,ranges:s}=lbe(e);t(),o?.removeAllRanges();for(const n of s)o?.addRange(n)}function xr(e,t){const i=c6(e);i.requestAnimationFrame?i.requestAnimationFrame(t):i.webkitRequestAnimationFrame?i.webkitRequestAnimationFrame(t):i.setTimeout(t,0)}var e6="data-ref",HM;function LF(){return HM??(HM=document.createTextNode(" ")),HM.cloneNode()}function It(e){const{attrs:t,children:i,cls:o,ref:s,role:n,tag:r}=e,a=document.createElement(r);if(o&&(a.className=o),s&&a.setAttribute(e6,s),n&&a.setAttribute("role",n),t)for(const l of Object.keys(t))a.setAttribute(l,t[l]);if(i)if(typeof i=="string")a.textContent=i;else{let l=!0;for(const c of i)c&&(typeof c=="string"?(a.appendChild(document.createTextNode(c)),l=!1):(l&&(a.appendChild(LF()),l=!1),a.append(It(c)),a.appendChild(LF())))}return a}function ks(e){return e==null||e===""?null:e}function Ce(e){return e!=null&&e!==""}function wt(e){return!Ce(e)}function al(e){return e!=null&&typeof e.toString=="function"?e.toString():null}function Im(e,t){const i=e?JSON.stringify(e):null,o=t?JSON.stringify(t):null;return i===o}function Xb(e,t,i=!1){const o=e==null,s=t==null;if(e&&e.toNumber&&(e=e.toNumber()),t&&t.toNumber&&(t=t.toNumber()),o&&s)return 0;if(o)return-1;if(s)return 1;function n(r,a){return r>a?1:r<a?-1:0}if(typeof e!="string"||!i)return n(e,t);try{return e.localeCompare(t)}catch{return n(e,t)}}var t6="https://www.ag-grid.com",EF={};function JT(e,t){EF[t]||(e(),EF[t]=!0)}function Am(e,t,...i){e.get("debug")&&console.log("AG Grid: "+t,...i)}function Lf(e,...t){JT(()=>console.warn("AG Grid: "+e,...t),e+t?.join(""))}function ep(e,...t){JT(()=>console.error("AG Grid: "+e,...t),e+t?.join(""))}var cbe={pending:!1,funcs:[]},dbe={pending:!1,funcs:[]};function AD(e,t="setTimeout",i){const o=t==="raf"?dbe:cbe;if(o.funcs.push(e),o.pending)return;o.pending=!0;const s=()=>{const n=o.funcs.slice();o.funcs.length=0,o.pending=!1,n.forEach(r=>r())};t==="raf"?xr(i,s):window.setTimeout(s,0)}function xs(e,t,i){let o;return function(...s){const n=this;window.clearTimeout(o),o=window.setTimeout(function(){e.isAlive()&&t.apply(n,s)},i)}}function PF(e,t){let i=0;return function(...o){const s=this,n=Date.now();n-i<t||(i=n,e.apply(s,o))}}function i6(e,t,i=100,o){const s=Date.now();let n=null,r=!1;const a=()=>{const l=Date.now()-s>i;(e()||l)&&(t(),r=!0,n!=null&&(window.clearInterval(n),n=null))};a(),r||(n=window.setInterval(a,10))}var He="33.2.4",NF=2e3,OF=100,o6="_version_",s6=null,cu=`${t6}/javascript-data-grid`;function ube(e){s6=e}function hbe(e){cu=e}function n6(e,t,i){return s6?.getConsoleMessage(e,t)??[mbe(e,t,i)]}function eL(e,t,i,o){e(`error #${t}`,...n6(t,i,o))}function pbe(e){if(!e)return String(e);const t={};for(const i of Object.keys(e))typeof e[i]!="object"&&typeof e[i]!="function"&&(t[i]=e[i]);return JSON.stringify(t)}function gbe(e){let t=e;return e instanceof Error?t=e.toString():typeof e=="object"&&(t=pbe(e)),t}function i0(e){return e===void 0?"undefined":e===null?"null":e}function RD(e,t){return`${e}?${t.toString()}`}function fbe(e,t,i){const o=Array.from(t.entries()).sort((n,r)=>r[1].length-n[1].length);let s=RD(e,t);for(const[n,r]of o){if(n===o6)continue;const a=s.length-i;if(a<=0)break;const l="...",c=a+l.length,d=r.length-c>OF?r.slice(0,r.length-c)+l:r.slice(0,OF)+l;t.set(n,d),s=RD(e,t)}return s}function r6(e,t){const i=new URLSearchParams;if(i.append(o6,He),t)for(const n of Object.keys(t))i.append(n,gbe(t[n]));const o=`${cu}/errors/${e}`,s=RD(o,i);return s.length<=NF?s:fbe(o,i,NF)}var mbe=(e,t,i)=>{const o=r6(e,t);return`${i?i+`
|
|
21
|
+
`;E.ModuleRegistry.registerMany([eee,Cee,wee,kee,Ree]);function Pve(){E.moduleRegistry.register(lJ,vJ,Eee,fse,Dse,Mae,bne,$ae,Cle,Vle,Cce,Bce,Epe,Lse,Ose,Xse,Qse,pne,rue,xde,que,Tue,She,tpe,Phe,Gne,hre,pae,gde,Tpe,CJ,Ege,Pge,rfe,hfe,$J,Wfe,ZJ,sye,Ime,qne,Xpe,wye,Jne,Fye,yre,ive,Lve,eae),E.enterpriseModule.isEnterprise=!0,E.enterpriseModule.styles=Eve,E.enterpriseModule.licenseManager=e=>new _h(e.container?.ownerDocument??(typeof document>"u"?void 0:document)),E.enterpriseModule.injectWatermark=gae}Pve();var Nve={setLicenseKey(e){_h.setLicenseKey(e)}};An.create.bind(An),An.__createSparkline.bind(An),_h.setGridContext.bind(_h),_h.setLicenseKey.bind(_h);function WT(e){const t=e.value?.value!=null?e.value.value:e.value;return t==null||t===""?"":t}function jT(e,t){const i=Number(e);return isFinite(i)?String(e):i.toLocaleString(void 0,{minimumFractionDigits:0,maximumFractionDigits:t})}function L9(e){return typeof e!="number"?2:Math.min(Math.max(0,e),20)}function E9(e,t){const i=WT(e);return i===""?"":"$"+jT(i,L9(t))}function Ove(e,t){return WT(e)===""?"":jT(e.value*100,L9(t))+"%"}function Fve(e){const t=WT(e);return t===""?"":jT(t,0)}function Bve(e,t){return e.value}const Gve={key:0,class:"pv-flex pv-chart-loading"},zve=m.defineComponent({__name:"PvChart",props:{options:{},seriesFormatType:{default:"none"},isLoading:{type:Boolean,default:!1},enableFocusView:{type:Boolean,default:!1}},emits:["series-visibility-change"],setup(e,{expose:t,emit:i}){const o=e,s=i;Nve.setLicenseKey("Using_this_{AG_Charts}_Enterprise_key_{AG-087886}_in_excess_of_the_licence_granted_is_not_permitted___Please_report_misuse_to_legal@ag-grid.com___For_help_with_changing_this_key_please_contact_info@ag-grid.com___{Turquoise_Health}_is_granted_a_{Multiple_Applications}_Developer_License_for_{3}_Front-End_JavaScript_developers___All_Front-End_JavaScript_developers_need_to_be_licensed_in_addition_to_the_ones_working_with_{AG_Charts}_Enterprise___This_key_has_been_granted_a_Deployment_License_Add-on_for_{2}_Production_Environments___This_key_works_with_{AG_Charts}_Enterprise_versions_released_before_{9_May_2026}____[v3]_[02]_MTc3ODI4MTIwMDAwMA==b240799c3daa50107bb7f3adff911d8f");const r={seriesVisibilityChange:h=>{s("series-visibility-change",h)}},a=m.ref(null),l=m.computed(()=>(u.value?.series||[]).some(p=>p.type==="map-shape")),c=m.computed(()=>{const h=u.value?.series||[];let p=!1;return h.forEach(g=>{g.type==="bar"&&g.direction==="horizontal"&&(p=!0)}),p}),d=m.computed(()=>{if(o.seriesFormatType==="currency")return E9;if(o.seriesFormatType==="percent")return 0}),u=m.computed(()=>{const h={...o.options};return h.theme||(h.theme=wQ),h.overlays||(h.overlays={noData:{text:"No data to display"},noVisibleSeries:{text:"No visible series"}}),h.axes||(h.axes=[{type:"category",position:c.value?"left":"bottom"},{type:"number",position:c.value?"bottom":"left",label:{formatter:d.value}}]),h.contextMenu||(h.contextMenu={enabled:!1}),h.listeners={...h.listeners||{},...r},h});return t({getChartImageDataURL:h=>a.value?.chart?.getImageDataURL({width:h?.width,height:h?.height})}),(h,p)=>(m.openBlock(),m.createElementBlock("div",null,[m.createVNode(m.unref(bQ),{ref_key:"chartRef",ref:a,style:m.normalizeStyle([{height:"100%"},l.value?"":"min-height: 450px"]),options:u.value},null,8,["style","options"]),h.isLoading?(m.openBlock(),m.createElementBlock("div",Gve,[m.createVNode(Wi,{class:"pv-margin-auto pv-chart-loading-icon",name:l.value?"map":"chart-column",size:32},null,8,["name"])])):m.createCommentVNode("",!0)]))}}),Ea=(e,t)=>{const i=e.__vccOpts||e;for(const[o,s]of t)i[o]=s;return i},$T=Ea(zve,[["__scopeId","data-v-2f5dcc04"]]);var ml=class{constructor(){this.allSyncListeners=new Map,this.allAsyncListeners=new Map,this.globalSyncListeners=new Set,this.globalAsyncListeners=new Set,this.asyncFunctionsQueue=[],this.scheduled=!1,this.firedEvents={}}setFrameworkOverrides(e){this.frameworkOverrides=e}getListeners(e,t,i){const o=t?this.allAsyncListeners:this.allSyncListeners;let s=o.get(e);return!s&&i&&(s=new Set,o.set(e,s)),s}noRegisteredListenersExist(){return this.allSyncListeners.size===0&&this.allAsyncListeners.size===0&&this.globalSyncListeners.size===0&&this.globalAsyncListeners.size===0}addEventListener(e,t,i=!1){this.getListeners(e,i,!0).add(t)}removeEventListener(e,t,i=!1){const o=this.getListeners(e,i,!1);o&&(o.delete(t),o.size===0&&(i?this.allAsyncListeners:this.allSyncListeners).delete(e))}addGlobalListener(e,t=!1){(t?this.globalAsyncListeners:this.globalSyncListeners).add(e)}removeGlobalListener(e,t=!1){(t?this.globalAsyncListeners:this.globalSyncListeners).delete(e)}dispatchEvent(e){const t=e;this.dispatchToListeners(t,!0),this.dispatchToListeners(t,!1),this.firedEvents[t.type]=!0}dispatchEventOnce(e){this.firedEvents[e.type]||this.dispatchEvent(e)}dispatchToListeners(e,t){const i=e.type;if(t&&"event"in e){const a=e.event;a instanceof Event&&(e.eventPath=a.composedPath())}const o=(a,l)=>a.forEach(c=>{if(!l.has(c))return;const d=this.frameworkOverrides?()=>this.frameworkOverrides.wrapIncoming(()=>c(e)):()=>c(e);t?this.dispatchAsync(d):d()}),s=this.getListeners(i,t,!1)??new Set,n=new Set(s);n.size>0&&o(n,s),new Set(t?this.globalAsyncListeners:this.globalSyncListeners).forEach(a=>{const l=this.frameworkOverrides?()=>this.frameworkOverrides.wrapIncoming(()=>a(i,e)):()=>a(i,e);t?this.dispatchAsync(l):l()})}dispatchAsync(e){if(this.asyncFunctionsQueue.push(e),!this.scheduled){const t=()=>{window.setTimeout(this.flushAsyncQueue.bind(this),0)};this.frameworkOverrides?this.frameworkOverrides.wrapIncoming(t):t(),this.scheduled=!0}}flushAsyncQueue(){this.scheduled=!1;const e=this.asyncFunctionsQueue.slice();this.asyncFunctionsQueue=[],e.forEach(t=>t())}};function _ve(e,t){return t}function UT(e){return e?.getLocaleTextFunc()??_ve}function $n(e,t,i){i==null||typeof i=="string"&&i==""?KT(e,t):Un(e,t,i)}function Un(e,t,i){e.setAttribute(P9(t),i.toString())}function KT(e,t){e.removeAttribute(P9(t))}function P9(e){return`aria-${e}`}function os(e,t){t?e.setAttribute("role",t):e.removeAttribute("role")}function Vve(e){let t;return e==="asc"?t="ascending":e==="desc"?t="descending":e==="mixed"?t="other":t="none",t}function Hve(e){return parseInt(e.getAttribute("aria-posinset"),10)}function Wve(e){return e.getAttribute("aria-label")}function Xs(e,t){$n(e,"label",t)}function vp(e,t){$n(e,"labelledby",t)}function YT(e,t){$n(e,"describedby",t)}function N9(e,t){$n(e,"live",t)}function jve(e,t){$n(e,"atomic",t)}function $ve(e,t){$n(e,"relevant",t)}function O9(e,t){$n(e,"level",t)}function F9(e,t){$n(e,"disabled",t)}function B9(e,t){$n(e,"hidden",t)}function yl(e,t){Un(e,"expanded",t)}function Uve(e){KT(e,"expanded")}function G9(e,t){Un(e,"setsize",t)}function z9(e,t){Un(e,"posinset",t)}function Kve(e,t){Un(e,"multiselectable",t)}function Yve(e,t){Un(e,"rowcount",t)}function _9(e,t){Un(e,"rowindex",t)}function Xve(e,t){Un(e,"colcount",t)}function V9(e,t){Un(e,"colindex",t)}function Zve(e,t){Un(e,"colspan",t)}function qve(e,t){Un(e,"sort",t)}function Qve(e){KT(e,"sort")}function DD(e,t){$n(e,"selected",t)}function H9(e,t){Un(e,"checked",t===void 0?"mixed":t)}function Jve(e,t){$n(e,"controls",t.id),vp(t,e.id)}function ebe(e,t){$n(e,"haspopup",t===!1?null:t)}function W9(e,t){return t===void 0?e("ariaIndeterminate","indeterminate"):t===!0?e("ariaChecked","checked"):e("ariaUnchecked","unchecked")}var BM,GM,zM,_M,kD,ID,VM;function Hx(){return BM===void 0&&(BM=/^((?!chrome|android).)*safari/i.test(navigator.userAgent)),BM}function XT(){return GM===void 0&&(GM=/(firefox)/i.test(navigator.userAgent)),GM}function j9(){return zM===void 0&&(zM=/(Mac|iPhone|iPod|iPad)/i.test(navigator.platform)),zM}function au(){return _M===void 0&&(_M=/iPad|iPhone|iPod/.test(navigator.platform)||navigator.platform==="MacIntel"&&navigator.maxTouchPoints>1),_M}function RF(e){if(!e)return null;const t=e.tabIndex,i=e.getAttribute("tabIndex");return t===-1&&(i===null||i===""&&!XT())?null:t.toString()}function tbe(){if(VM!==void 0)return VM;if(!document.body)return-1;let e=1e6;const t=XT()?6e6:1e9,i=document.createElement("div");for(document.body.appendChild(i);;){const o=e*2;if(i.style.height=o+"px",o>t||i.clientHeight!==o)break;e=o}return document.body.removeChild(i),VM=e,e}function ibe(){return ID==null&&$9(),ID}function $9(){const e=document.body,t=document.createElement("div");t.style.width=t.style.height="100px",t.style.opacity="0",t.style.overflow="scroll",t.style.msOverflowStyle="scrollbar",t.style.position="absolute",e.appendChild(t);let i=t.offsetWidth-t.clientWidth;i===0&&t.clientWidth===0&&(i=null),t.parentNode&&t.parentNode.removeChild(t),i!=null&&(ID=i,kD=i===0)}function U9(){return kD==null&&$9(),kD}function TF(e,t,i){const o=e.parentElement;let s=o&&o.firstChild;for(;s;)t&&s.classList.toggle(t,s===e),s=s.nextSibling}var obe="[tabindex], input, select, button, textarea, [href]",K9="[disabled], .ag-disabled:not(.ag-button), .ag-disabled *";function ZT(e){const t=Element.prototype.matches||Element.prototype.msMatchesSelector,o=t.call(e,"input, select, button, textarea"),s=t.call(e,K9),n=Zs(e);return o&&!s&&n}function $e(e,t,i={}){const{skipAriaHidden:o}=i;e.classList.toggle("ag-hidden",!t),o||B9(e,!t)}function sbe(e,t,i={}){const{skipAriaHidden:o}=i;e.classList.toggle("ag-invisible",!t),o||B9(e,!t)}function qT(e,t){const i="disabled",o=t?n=>n.setAttribute(i,""):n=>n.removeAttribute(i);o(e);const s=e.querySelectorAll("input")??[];for(const n of s)o(n)}function lu(e,t,i){let o=0;for(;e;){if(e.classList.contains(t))return!0;if(e=e.parentElement,typeof i=="number"){if(++o>i)break}else if(e===i)break}return!1}function xg(e){const{height:t,width:i,borderTopWidth:o,borderRightWidth:s,borderBottomWidth:n,borderLeftWidth:r,paddingTop:a,paddingRight:l,paddingBottom:c,paddingLeft:d,marginTop:u,marginRight:h,marginBottom:p,marginLeft:g,boxSizing:f}=window.getComputedStyle(e);return{height:parseFloat(t||"0"),width:parseFloat(i||"0"),borderTopWidth:parseFloat(o||"0"),borderRightWidth:parseFloat(s||"0"),borderBottomWidth:parseFloat(n||"0"),borderLeftWidth:parseFloat(r||"0"),paddingTop:parseFloat(a||"0"),paddingRight:parseFloat(l||"0"),paddingBottom:parseFloat(c||"0"),paddingLeft:parseFloat(d||"0"),marginTop:parseFloat(u||"0"),marginRight:parseFloat(h||"0"),marginBottom:parseFloat(p||"0"),marginLeft:parseFloat(g||"0"),boxSizing:f}}function Wx(e){const t=xg(e);return t.boxSizing==="border-box"?t.height-t.paddingTop-t.paddingBottom:t.height}function km(e){const t=xg(e);return t.boxSizing==="border-box"?t.width-t.paddingLeft-t.paddingRight:t.width}function Y9(e){const{height:t,marginBottom:i,marginTop:o}=xg(e);return Math.floor(t+i+o)}function QC(e){const{width:t,marginLeft:i,marginRight:o}=xg(e);return Math.floor(t+i+o)}function X9(e){const t=e.getBoundingClientRect(),{borderTopWidth:i,borderLeftWidth:o,borderRightWidth:s,borderBottomWidth:n}=xg(e);return{top:t.top+(i||0),left:t.left+(o||0),right:t.right+(s||0),bottom:t.bottom+(n||0)}}function JC(e,t){let i=e.scrollLeft;return t&&(i=Math.abs(i)),i}function e0(e,t,i){i&&(t*=-1),e.scrollLeft=t}function Ys(e){for(;e&&e.firstChild;)e.removeChild(e.firstChild)}function Qr(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function Z9(e){return!!e.offsetParent}function Zs(e){const t=e;return t.checkVisibility?t.checkVisibility({checkVisibilityCSS:!0}):!(!Z9(e)||window.getComputedStyle(e).visibility!=="visible")}function jx(e){const t=document.createElement("div");return t.innerHTML=(e||"").trim(),t.firstChild}function q9(e,t,i){i&&i.nextSibling===t||(e.firstChild?i?i.nextSibling?e.insertBefore(t,i.nextSibling):e.appendChild(t):e.firstChild&&e.firstChild!==t&&e.insertAdjacentElement("afterbegin",t):e.appendChild(t))}function Q9(e,t){for(let i=0;i<t.length;i++){const o=t[i],s=e.children[i];s!==o&&e.insertBefore(o,s)}}function nbe(e){return e.replace(/[A-Z]/g,t=>`-${t.toLocaleLowerCase()}`)}function qy(e,t){if(t)for(const i of Object.keys(t)){const o=t[i];if(!i||!i.length||o==null)continue;const s=nbe(i),n=o.toString(),r=n.replace(/\s*!important/g,""),a=r.length!=n.length?"important":void 0;e.style.setProperty(s,r,a)}}function rbe(e){return e.clientWidth<e.scrollWidth}function abe(e){return e.clientHeight<e.scrollHeight}function t0(e,t){t==="flex"?(e.style.removeProperty("width"),e.style.removeProperty("minWidth"),e.style.removeProperty("maxWidth"),e.style.flex="1 1 auto"):na(e,t)}function na(e,t){t=QT(t),e.style.width=t,e.style.maxWidth=t,e.style.minWidth=t}function Tf(e,t){t=QT(t),e.style.height=t,e.style.maxHeight=t,e.style.minHeight=t}function QT(e){return typeof e=="number"?`${e}px`:e}function $x(e){return e instanceof Node||e instanceof HTMLElement}function Jh(e,t,i){i==null||i===""?e.removeAttribute(t):e.setAttribute(t,i.toString())}function md(e,t,i){const s=c6(e).ResizeObserver,n=s?new s(i):null;return n?.observe(t),()=>n?.disconnect()}function lbe(e){const t=Cp(e),i="getSelection"in t?t.getSelection():null,o=[];for(let s=0;s<(i?.rangeCount??0);s++){const n=i?.getRangeAt(s);n&&o.push(n)}return{selection:i,ranges:o}}function J9(e,t){if(!e.gos.get("enableCellTextSelection")||!XT()&&!Hx())return t();const{selection:o,ranges:s}=lbe(e);t(),o?.removeAllRanges();for(const n of s)o?.addRange(n)}function xr(e,t){const i=c6(e);i.requestAnimationFrame?i.requestAnimationFrame(t):i.webkitRequestAnimationFrame?i.webkitRequestAnimationFrame(t):i.setTimeout(t,0)}var e6="data-ref",HM;function LF(){return HM??(HM=document.createTextNode(" ")),HM.cloneNode()}function It(e){const{attrs:t,children:i,cls:o,ref:s,role:n,tag:r}=e,a=document.createElement(r);if(o&&(a.className=o),s&&a.setAttribute(e6,s),n&&a.setAttribute("role",n),t)for(const l of Object.keys(t))a.setAttribute(l,t[l]);if(i)if(typeof i=="string")a.textContent=i;else{let l=!0;for(const c of i)c&&(typeof c=="string"?(a.appendChild(document.createTextNode(c)),l=!1):(l&&(a.appendChild(LF()),l=!1),a.append(It(c)),a.appendChild(LF())))}return a}function ks(e){return e==null||e===""?null:e}function Ce(e){return e!=null&&e!==""}function wt(e){return!Ce(e)}function al(e){return e!=null&&typeof e.toString=="function"?e.toString():null}function Im(e,t){const i=e?JSON.stringify(e):null,o=t?JSON.stringify(t):null;return i===o}function Xb(e,t,i=!1){const o=e==null,s=t==null;if(e&&e.toNumber&&(e=e.toNumber()),t&&t.toNumber&&(t=t.toNumber()),o&&s)return 0;if(o)return-1;if(s)return 1;function n(r,a){return r>a?1:r<a?-1:0}if(typeof e!="string"||!i)return n(e,t);try{return e.localeCompare(t)}catch{return n(e,t)}}var t6="https://www.ag-grid.com",EF={};function JT(e,t){EF[t]||(e(),EF[t]=!0)}function Am(e,t,...i){e.get("debug")&&console.log("AG Grid: "+t,...i)}function Lf(e,...t){JT(()=>console.warn("AG Grid: "+e,...t),e+t?.join(""))}function ep(e,...t){JT(()=>console.error("AG Grid: "+e,...t),e+t?.join(""))}var cbe={pending:!1,funcs:[]},dbe={pending:!1,funcs:[]};function AD(e,t="setTimeout",i){const o=t==="raf"?dbe:cbe;if(o.funcs.push(e),o.pending)return;o.pending=!0;const s=()=>{const n=o.funcs.slice();o.funcs.length=0,o.pending=!1,n.forEach(r=>r())};t==="raf"?xr(i,s):window.setTimeout(s,0)}function xs(e,t,i){let o;return function(...s){const n=this;window.clearTimeout(o),o=window.setTimeout(function(){e.isAlive()&&t.apply(n,s)},i)}}function PF(e,t){let i=0;return function(...o){const s=this,n=Date.now();n-i<t||(i=n,e.apply(s,o))}}function i6(e,t,i=100,o){const s=Date.now();let n=null,r=!1;const a=()=>{const l=Date.now()-s>i;(e()||l)&&(t(),r=!0,n!=null&&(window.clearInterval(n),n=null))};a(),r||(n=window.setInterval(a,10))}var He="33.2.4",NF=2e3,OF=100,o6="_version_",s6=null,cu=`${t6}/javascript-data-grid`;function ube(e){s6=e}function hbe(e){cu=e}function n6(e,t,i){return s6?.getConsoleMessage(e,t)??[mbe(e,t,i)]}function eL(e,t,i,o){e(`error #${t}`,...n6(t,i,o))}function pbe(e){if(!e)return String(e);const t={};for(const i of Object.keys(e))typeof e[i]!="object"&&typeof e[i]!="function"&&(t[i]=e[i]);return JSON.stringify(t)}function gbe(e){let t=e;return e instanceof Error?t=e.toString():typeof e=="object"&&(t=pbe(e)),t}function i0(e){return e===void 0?"undefined":e===null?"null":e}function RD(e,t){return`${e}?${t.toString()}`}function fbe(e,t,i){const o=Array.from(t.entries()).sort((n,r)=>r[1].length-n[1].length);let s=RD(e,t);for(const[n,r]of o){if(n===o6)continue;const a=s.length-i;if(a<=0)break;const l="...",c=a+l.length,d=r.length-c>OF?r.slice(0,r.length-c)+l:r.slice(0,OF)+l;t.set(n,d),s=RD(e,t)}return s}function r6(e,t){const i=new URLSearchParams;if(i.append(o6,He),t)for(const n of Object.keys(t))i.append(n,gbe(t[n]));const o=`${cu}/errors/${e}`,s=RD(o,i);return s.length<=NF?s:fbe(o,i,NF)}var mbe=(e,t,i)=>{const o=r6(e,t);return`${i?i+`
|
|
22
22
|
`:""}Visit ${o}${i?"":`
|
|
23
23
|
Alternatively register the ValidationModule to see the full message in the console.`}`};function he(...e){eL(Lf,e[0],e[1])}function We(...e){eL(ep,e[0],e[1])}function TD(e,t,i){eL(ep,e,t,i)}function ybe(e,t){const i=t[0];return`error #${i} `+n6(i,t[1],e).join(" ")}function Bc(...e){return ybe(void 0,e)}function a6(e,t){return e.get("rowModelType")===t}function Br(e,t){return a6(e,"clientSide")}function qs(e,t){return a6(e,"serverSide")}function Lo(e,t){return e.get("domLayout")===t}function Jr(e){return s0(e)!==void 0}function tL(e){return typeof e.get("getRowHeight")=="function"}function vbe(e,t){return t?!e.get("enableStrictPivotColumnOrder"):e.get("maintainColumnOrder")}function Mn(e,t,i=!1,o){const{gos:s,environment:n}=e;if(o==null&&(o=n.getDefaultRowHeight()),tL(s)){if(i)return{height:o,estimated:!0};const l={node:t,data:t.data},c=s.getCallback("getRowHeight")(l);if(LD(c))return c===0&&he(23),{height:Math.max(1,c),estimated:!1}}if(t.detail&&s.get("masterDetail"))return bbe(s);const r=s.get("rowHeight");return{height:r&&LD(r)?r:o,estimated:!1}}function bbe(e){if(e.get("detailRowAutoHeight"))return{height:1,estimated:!1};const t=e.get("detailRowHeight");return LD(t)?{height:t,estimated:!1}:{height:300,estimated:!1}}function Vc(e){const{environment:t,gos:i}=e,o=i.get("rowHeight");if(!o||wt(o))return t.getDefaultRowHeight();const s=t.refreshRowHeightVariable();return s!==-1?s:(he(24),t.getDefaultRowHeight())}function LD(e){return!isNaN(e)&&typeof e=="number"&&isFinite(e)}function l6(e,t,i){const o=t[e.getDomDataKey()];return o?o[i]:void 0}function bp(e,t,i,o){const s=e.getDomDataKey();let n=t[s];wt(n)&&(n={},t[s]=n),n[i]=o}function Yt(e){const{gos:t,eGridDiv:i}=e;let o=null;const s=t.get("getDocument");return s&&Ce(s)?o=s():i&&(o=i.ownerDocument),o&&Ce(o)?o:document}function c6(e){return Yt(e).defaultView||window}function Cp(e){return e.eGridDiv.getRootNode()}function Tt(e){return Cp(e).activeElement}function iL(e){let t=null,i=null;try{t=Yt(e).fullscreenElement}catch{}finally{t||(t=Cp(e));const o=t.querySelector("body");o?i=o:t instanceof ShadowRoot?i=t:t instanceof Document?i=t?.documentElement:i=t}return i}function Cbe(e){return iL(e)?.clientWidth??(window.innerHeight||-1)}function Sbe(e){return iL(e)?.clientHeight??(window.innerHeight||-1)}function xbe(e,t,i){const s=e.getBoundingClientRect().height,n=Cbe(i)-2,r=Sbe(i)-2;if(!e.offsetParent)return;const l=X9(e.offsetParent),{clientY:c,clientX:d}=t;let u=c-l.top-s/2,h=d-l.left-10;const p=Yt(i),g=p.defaultView||window,f=g.pageYOffset||p.documentElement.scrollTop,v=g.pageXOffset||p.documentElement.scrollLeft;n>0&&h+e.clientWidth>n+v&&(h=n+v-e.clientWidth),h<0&&(h=0),r>0&&u+e.clientHeight>r+f&&(u=r+f-e.clientHeight),u<0&&(u=0),e.style.left=`${h}px`,e.style.top=`${u}px`}function o0(e){const t=Yt(e),i=Tt(e);return i===null||i===t.body}function tp(e){return e.get("ensureDomOrder")?!1:e.get("animateRows")}function Ux(e){return!(e.get("paginateChildRows")||e.get("groupHideOpenParents")||Lo(e,"print"))}function cr(e){return!e.get("autoGroupColumnDef")?.comparator&&!e.get("treeData")}function Rm(e){const t=e.get("groupAggFiltering");if(typeof t=="function")return e.getCallback("groupAggFiltering");if(t===!0)return()=>!0}function oL(e){return e.get("grandTotalRow")}function Sp(e){const t=e.get("groupTotalRow");return typeof t=="function"?e.getCallback("groupTotalRow"):()=>t??void 0}function sL(e){return e.get("groupHideOpenParents")?!0:e.get("groupDisplayType")==="multipleColumns"}function Kx(e,t){return t?!1:e.get("groupDisplayType")==="groupRows"}function Tm(e){const t=e.getCallback("getRowId");return t===void 0?t:i=>{let o=t(i);return typeof o!="string"&&(he(25,{id:o}),o=String(o)),o}}function wbe(e,t){const i=e.get("groupHideParentOfSingleChild");return!!(i===!0||i==="leafGroupsOnly"&&t.leafGroup||e.get("groupRemoveSingleChildren")||e.get("groupRemoveLowestSingleChildren")&&t.leafGroup)}function Mbe(e){const t=e.get("maxConcurrentDatasourceRequests");return t>0?t:void 0}function Dbe(e,t){const i=e.get("suppressGroupChangesColumnVisibility");if(i===!0||t&&i==="suppressHideOnGroup"||!t&&i==="suppressShowOnUngroup")return!1;const o=e.get("suppressRowGroupHidesColumns");if(t&&o===!0)return!1;const s=e.get("suppressMakeColumnVisibleAfterUnGroup");return!(!t&&s===!0)}function du(e){return e?.checkboxes??!0}function Zb(e){return e?.mode==="multiRow"&&(e.headerCheckbox??!0)}function Lm(e){if(typeof e=="object")return e.checkboxLocation??"selectionColumn"}function WM(e){return e?.hideDisabledCheckboxes??!1}function d6(e){return typeof e.get("rowSelection")!="string"}function wu(e){const t=e.get("cellSelection");return t!==void 0?!!t:e.get("enableRangeSelection")}function u6(e){const t=e.get("rowSelection")??"single";if(typeof t=="string"){const i=e.get("suppressRowClickSelection"),o=e.get("suppressRowDeselection");return i&&o?!1:i?"enableDeselection":o?"enableSelection":!0}return t.mode==="singleRow"||t.mode==="multiRow"?t.enableClickSelection??!1:!1}function kbe(e){const t=u6(e);return t===!0||t==="enableSelection"}function Ibe(e){const t=u6(e);return t===!0||t==="enableDeselection"}function ED(e){const t=e.get("rowSelection");return typeof t=="string"?e.get("isRowSelectable"):t?.isRowSelectable}function s0(e){const t="beanName"in e&&e.beanName==="gos"?e.get("rowSelection"):e.rowSelection;if(typeof t=="string")switch(t){case"multiple":return"multiRow";case"single":return"singleRow";default:return}switch(t?.mode){case"multiRow":case"singleRow":return t.mode;default:return}}function Mu(e){return s0(e)==="multiRow"}function Abe(e){const t=e.get("rowSelection");return typeof t=="string"?e.get("rowMultiSelectWithClick"):t?.enableSelectionWithoutKeys??!1}function h6(e){const t=e.get("rowSelection");if(typeof t=="string"){const i=e.get("groupSelectsChildren"),o=e.get("groupSelectsFiltered");return i&&o?"filteredDescendants":i?"descendants":"self"}return t?.mode==="multiRow"?t.groupSelects:void 0}function p6(e,t=!0){const i=e.get("rowSelection");return typeof i!="object"?t?"all":void 0:i.mode==="multiRow"?i.selectAll:"all"}function Em(e){const t=h6(e);return t==="descendants"||t==="filteredDescendants"}function jM(e){return e.isModuleRegistered("SetFilter")&&!e.get("suppressSetFilterByDefault")}function Qi(e){return e.get("columnMenu")==="legacy"}function g6(e){return!Qi(e)}function nL(e){return!e||e.length<2?e:"on"+e[0].toUpperCase()+e.substring(1)}function Rbe(e,t,i){typeof e!="object"&&(e={});const o={...e};return i.forEach(s=>{const n=t[s];typeof n<"u"&&(o[s]=n)}),o}function Tbe(e,t){if(!e)return;const i={};let o=!1;if(Object.keys(e).forEach(r=>{i[r]=e[r],o=!0}),!o)return;const s={type:"gridOptionsChanged",options:i};t.dispatchEvent(s);const n={type:"componentStateChanged",...i};t.dispatchEvent(n)}function Le(e,t){return e.addGridCommonParams(t)}function f6(e){return e.get("treeData")?e.get("treeDataParentIdField")?"treeSelfRef":e.get("treeDataChildrenField")?"treeNested":"treePath":"group"}var m6="__ag_Grid_Stop_Propagation",Lbe=["touchstart","touchend","touchmove","touchcancel","scroll"],Ebe=["wheel"],$M={};function vl(e){e[m6]=!0}function mr(e){return e[m6]===!0}var y6=(()=>{const e={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"};return i=>{if(typeof $M[i]=="boolean")return $M[i];const o=document.createElement(e[i]||"div");return i="on"+i,$M[i]=i in o}})();function v6(e,t,i){let o=t;for(;o;){const s=l6(e,o,i);if(s)return s;o=o.parentElement}return null}function PD(e,t){return!t||!e?!1:Nbe(t).indexOf(e)>=0}function Pbe(e){const t=[];let i=e.target;for(;i;)t.push(i),i=i.parentElement;return t}function Nbe(e){const t=e;return t.path?t.path:t.composedPath?t.composedPath():Pbe(t)}function Obe(e,t,i,o){const s=b6(i);let n;s!=null&&(n={passive:s}),e&&e.addEventListener&&e.addEventListener(t,i,o,n)}var b6=e=>{const t=Lbe.includes(e),i=Ebe.includes(e);if(t)return!0;if(i)return!1},oe=class{constructor(){this.destroyFunctions=[],this.destroyed=!1,this.__v_skip=!0,this.propertyListenerId=0,this.lastChangeSetIdLookup={},this.isAlive=()=>!this.destroyed}preWireBeans(e){this.beans=e,this.stubContext=e.context,this.eventSvc=e.eventSvc,this.gos=e.gos}destroy(){const{destroyFunctions:e}=this;for(let t=0;t<e.length;t++)e[t]();e.length=0,this.destroyed=!0,this.dispatchLocalEvent({type:"destroyed"})}addEventListener(e,t,i){this.localEventService||(this.localEventService=new ml),this.localEventService.addEventListener(e,t,i)}removeEventListener(e,t,i){this.localEventService?.removeEventListener(e,t,i)}dispatchLocalEvent(e){this.localEventService?.dispatchEvent(e)}addManagedElementListeners(e,t){return this._setupListeners(e,t)}addManagedEventListeners(e){return this._setupListeners(this.eventSvc,e)}addManagedListeners(e,t){return this._setupListeners(e,t)}_setupListeners(e,t){const i=[];for(const o of Object.keys(t)){const s=t[o];s&&i.push(this._setupListener(e,o,s))}return i}_setupListener(e,t,i){if(this.destroyed)return()=>null;let o;return Fbe(e)?(e.__addEventListener(t,i),o=()=>(e.__removeEventListener(t,i),null)):(e instanceof HTMLElement?Obe(this.beans.frameworkOverrides,e,t,i):e.addEventListener(t,i),o=()=>(e.removeEventListener(t,i),null)),this.destroyFunctions.push(o),()=>(o(),this.destroyFunctions=this.destroyFunctions.filter(s=>s!==o),null)}setupGridOptionListener(e,t){const{gos:i}=this;i.addPropertyEventListener(e,t);const o=()=>(i.removePropertyEventListener(e,t),null);return this.destroyFunctions.push(o),()=>(o(),this.destroyFunctions=this.destroyFunctions.filter(s=>s!==o),null)}addManagedPropertyListener(e,t){return this.destroyed?()=>null:this.setupGridOptionListener(e,t)}addManagedPropertyListeners(e,t){if(this.destroyed)return;const i=e.join("-")+this.propertyListenerId++,o=s=>{if(s.changeSet){if(s.changeSet&&s.changeSet.id===this.lastChangeSetIdLookup[i])return;this.lastChangeSetIdLookup[i]=s.changeSet.id}const n={type:"gridPropertyChanged",changeSet:s.changeSet,source:s.source};t(n)};e.forEach(s=>this.setupGridOptionListener(s,o))}getLocaleTextFunc(){return UT(this.beans.localeSvc)}addDestroyFunc(e){this.isAlive()?this.destroyFunctions.push(e):e()}createOptionalManagedBean(e,t){return e?this.createManagedBean(e,t):void 0}createManagedBean(e,t){const i=this.createBean(e,t);return this.addDestroyFunc(this.destroyBean.bind(this,e,t)),i}createBean(e,t,i){return(t||this.stubContext).createBean(e,i)}destroyBean(e,t){return(t||this.stubContext).destroyBean(e)}destroyBeans(e,t){return(t||this.stubContext).destroyBeans(e)}};function Fbe(e){return e.__addEventListener!==void 0}var C6=new Set(["__proto__","constructor","prototype"]);function Bbe(e,t){if(e!=null){if(Array.isArray(e)){for(let i=0;i<e.length;i++)t(i.toString(),e[i]);return}for(const i of Object.keys(e))t(i,e[i])}}function Eo(e,t,i=!0,o=!1){Ce(t)&&Bbe(t,(s,n)=>{if(C6.has(s))return;let r=e[s];r!==n&&(o&&r==null&&n!=null&&typeof n=="object"&&n.constructor===Object&&(r={},e[s]=r),FF(n)&&FF(r)&&!Array.isArray(r)?Eo(r,n,i,o):(i||n!==void 0)&&(e[s]=n))})}function Ef(e,t,i){if(!t||!e)return;if(!i)return e[t];const o=t.split(".");let s=e;for(let n=0;n<o.length;n++){if(s==null)return;s=s[o[n]]}return s}function FF(e){return typeof e=="object"&&e!==null}var Gbe=/[&<>"']/g,zbe={"&":"&","<":"<",">":">",'"':""","'":"'"};function En(e,t){if(e==null)return null;const i=e.toString().toString();return t?i:i.replace(Gbe,o=>zbe[o])}var _be={resizable:!0,sortable:!0},Vbe=0;function S6(){return Vbe++}function ua(e){return e instanceof Yx}var Yx=class extends oe{constructor(e,t,i,o){super(),this.colDef=e,this.userProvidedColDef=t,this.colId=i,this.primary=o,this.isColumn=!0,this.instanceId=S6(),this.autoHeaderHeight=null,this.moving=!1,this.menuVisible=!1,this.lastLeftPinned=!1,this.firstRightPinned=!1,this.filterActive=!1,this.colEventSvc=new ml,this.tooltipEnabled=!1,this.rowGroupActive=!1,this.pivotActive=!1,this.aggregationActive=!1,this.flex=null,this.colIdSanitised=En(i)}destroy(){super.destroy(),this.beans.rowSpanSvc?.deregister(this)}getInstanceId(){return this.instanceId}setState(){const{colDef:e,beans:{sortSvc:t,pinnedCols:i,colFlex:o}}=this;t?.initCol(this);const s=e.hide;s!==void 0?this.visible=!s:this.visible=!e.initialHide,i?.initCol(this),o?.initCol(this)}setColDef(e,t,i){const o=e.spanRows!==this.colDef.spanRows;this.colDef=e,this.userProvidedColDef=t,this.initMinAndMaxWidths(),this.initDotNotation(),this.initTooltip(),o&&(this.beans.rowSpanSvc?.deregister(this),this.initRowSpan()),this.dispatchColEvent("colDefChanged",i)}getUserProvidedColDef(){return this.userProvidedColDef}getParent(){return this.parent}getOriginalParent(){return this.originalParent}postConstruct(){this.setState(),this.initMinAndMaxWidths(),this.resetActualWidth("gridInitializing"),this.initDotNotation(),this.initTooltip(),this.initRowSpan()}initDotNotation(){const{gos:e,colDef:{field:t,tooltipField:i}}=this,o=e.get("suppressFieldDotNotation");this.fieldContainsDots=Ce(t)&&t.indexOf(".")>=0&&!o,this.tooltipFieldContainsDots=Ce(i)&&i.indexOf(".")>=0&&!o}initMinAndMaxWidths(){const e=this.colDef;this.minWidth=e.minWidth??this.beans.environment.getDefaultColumnMinWidth(),this.maxWidth=e.maxWidth??Number.MAX_SAFE_INTEGER}initTooltip(){this.beans.tooltipSvc?.initCol(this)}initRowSpan(){this.colDef.spanRows&&this.beans.rowSpanSvc?.register(this)}resetActualWidth(e){const t=this.calculateColInitialWidth(this.colDef);this.setActualWidth(t,e,!0)}calculateColInitialWidth(e){let t;const i=e.width,o=e.initialWidth;return i!=null?t=i:o!=null?t=o:t=200,Math.max(Math.min(t,this.maxWidth),this.minWidth)}isEmptyGroup(){return!1}isRowGroupDisplayed(e){return this.beans.showRowGroupCols?.isRowGroupDisplayed(this,e)??!1}isPrimary(){return this.primary}isFilterAllowed(){return!!this.colDef.filter}isFieldContainsDots(){return this.fieldContainsDots}isTooltipEnabled(){return this.tooltipEnabled}isTooltipFieldContainsDots(){return this.tooltipFieldContainsDots}getHighlighted(){return this.highlighted}__addEventListener(e,t){this.colEventSvc.addEventListener(e,t)}__removeEventListener(e,t){this.colEventSvc.removeEventListener(e,t)}addEventListener(e,t){this.frameworkEventListenerService=this.beans.frameworkOverrides.createLocalEventListenerWrapper?.(this.frameworkEventListenerService,this.colEventSvc);const i=this.frameworkEventListenerService?.wrap(t)??t;this.colEventSvc.addEventListener(e,i)}removeEventListener(e,t){const i=this.frameworkEventListenerService?.unwrap(t)??t;this.colEventSvc.removeEventListener(e,i)}createColumnFunctionCallbackParams(e){return Le(this.gos,{node:e,data:e.data,column:this,colDef:this.colDef})}isSuppressNavigable(e){return this.beans.cellNavigation?.isSuppressNavigable(this,e)??!1}isCellEditable(e){return this.beans.editSvc?.isCellEditable(this,e)??!1}isSuppressFillHandle(){return!!this.colDef.suppressFillHandle}isAutoHeight(){return!!this.colDef.autoHeight}isAutoHeaderHeight(){return!!this.colDef.autoHeaderHeight}isRowDrag(e){return this.isColumnFunc(e,this.colDef.rowDrag)}isDndSource(e){return this.isColumnFunc(e,this.colDef.dndSource)}isCellCheckboxSelection(e){return this.beans.selectionSvc?.isCellCheckboxSelection(this,e)??!1}isSuppressPaste(e){return this.isColumnFunc(e,this.colDef?.suppressPaste??null)}isResizable(){return!!this.getColDefValue("resizable")}getColDefValue(e){return this.colDef[e]??_be[e]}isColumnFunc(e,t){if(typeof t=="boolean")return t;if(typeof t=="function"){const i=this.createColumnFunctionCallbackParams(e);return t(i)}return!1}createColumnEvent(e,t){return Le(this.gos,{type:e,column:this,columns:[this],source:t})}isMoving(){return this.moving}getSort(){return this.sort}isSortable(){return!!this.getColDefValue("sortable")}isSortAscending(){return this.sort==="asc"}isSortDescending(){return this.sort==="desc"}isSortNone(){return wt(this.sort)}isSorting(){return Ce(this.sort)}getSortIndex(){return this.sortIndex}isMenuVisible(){return this.menuVisible}getAggFunc(){return this.aggFunc}getLeft(){return this.left}getOldLeft(){return this.oldLeft}getRight(){return this.left+this.actualWidth}setLeft(e,t){this.oldLeft=this.left,this.left!==e&&(this.left=e,this.dispatchColEvent("leftChanged",t))}isFilterActive(){return this.filterActive}isHovered(){return he(261),!!this.beans.colHover?.isHovered(this)}setFirstRightPinned(e,t){this.firstRightPinned!==e&&(this.firstRightPinned=e,this.dispatchColEvent("firstRightPinnedChanged",t))}setLastLeftPinned(e,t){this.lastLeftPinned!==e&&(this.lastLeftPinned=e,this.dispatchColEvent("lastLeftPinnedChanged",t))}isFirstRightPinned(){return this.firstRightPinned}isLastLeftPinned(){return this.lastLeftPinned}isPinned(){return this.pinned==="left"||this.pinned==="right"}isPinnedLeft(){return this.pinned==="left"}isPinnedRight(){return this.pinned==="right"}getPinned(){return this.pinned}setVisible(e,t){const i=e===!0;this.visible!==i&&(this.visible=i,this.dispatchColEvent("visibleChanged",t)),this.dispatchStateUpdatedEvent("hide")}isVisible(){return this.visible}isSpanHeaderHeight(){return!this.getColDef().suppressSpanHeaderHeight}getColumnGroupPaddingInfo(){let e=this.getParent();if(!e||!e.isPadding())return{numberOfParents:0,isSpanningTotal:!1};const t=e.getPaddingLevel()+1;let i=!0;for(;e;){if(!e.isPadding()){i=!1;break}e=e.getParent()}return{numberOfParents:t,isSpanningTotal:i}}getColDef(){return this.colDef}getDefinition(){return this.colDef}getColumnGroupShow(){return this.colDef.columnGroupShow}getColId(){return this.colId}getId(){return this.colId}getUniqueId(){return this.colId}getActualWidth(){return this.actualWidth}getAutoHeaderHeight(){return this.autoHeaderHeight}setAutoHeaderHeight(e){const t=e!==this.autoHeaderHeight;return this.autoHeaderHeight=e,t}createBaseColDefParams(e){return Le(this.gos,{node:e,data:e.data,colDef:this.colDef,column:this})}getColSpan(e){if(wt(this.colDef.colSpan))return 1;const t=this.createBaseColDefParams(e),i=this.colDef.colSpan(t);return Math.max(i,1)}getRowSpan(e){if(wt(this.colDef.rowSpan))return 1;const t=this.createBaseColDefParams(e),i=this.colDef.rowSpan(t);return Math.max(i,1)}setActualWidth(e,t,i=!1){e=Math.max(e,this.minWidth),e=Math.min(e,this.maxWidth),this.actualWidth!==e&&(this.actualWidth=e,this.flex!=null&&t!=="flex"&&t!=="gridInitializing"&&(this.flex=null),i||this.fireColumnWidthChangedEvent(t)),this.dispatchStateUpdatedEvent("width")}fireColumnWidthChangedEvent(e){this.dispatchColEvent("widthChanged",e)}isGreaterThanMax(e){return e>this.maxWidth}getMinWidth(){return this.minWidth}getMaxWidth(){return this.maxWidth}getFlex(){return this.flex}isRowGroupActive(){return this.rowGroupActive}isPivotActive(){return this.pivotActive}isAnyFunctionActive(){return this.isPivotActive()||this.isRowGroupActive()||this.isValueActive()}isAnyFunctionAllowed(){return this.isAllowPivot()||this.isAllowRowGroup()||this.isAllowValue()}isValueActive(){return this.aggregationActive}isAllowPivot(){return this.colDef.enablePivot===!0}isAllowValue(){return this.colDef.enableValue===!0}isAllowRowGroup(){return this.colDef.enableRowGroup===!0}dispatchColEvent(e,t,i){const o=this.createColumnEvent(e,t);i&&Eo(o,i),this.colEventSvc.dispatchEvent(o)}dispatchStateUpdatedEvent(e){this.colEventSvc.dispatchEvent({type:"columnStateUpdated",key:e})}};function zi(e){return e instanceof Pf}var Pf=class extends oe{constructor(e,t,i,o){super(),this.colGroupDef=e,this.groupId=t,this.padding=i,this.level=o,this.isColumn=!1,this.expandable=!1,this.instanceId=S6(),this.expandableListenerRemoveCallback=null,this.expanded=!!e?.openByDefault}destroy(){this.expandableListenerRemoveCallback&&this.reset(null,void 0),super.destroy()}reset(e,t){this.colGroupDef=e,this.level=t,this.originalParent=null,this.expandableListenerRemoveCallback&&this.expandableListenerRemoveCallback(),this.children=void 0,this.expandable=void 0}getInstanceId(){return this.instanceId}getOriginalParent(){return this.originalParent}getLevel(){return this.level}isVisible(){return this.children?this.children.some(e=>e.isVisible()):!1}isPadding(){return this.padding}setExpanded(e){this.expanded=e===void 0?!1:e,this.dispatchLocalEvent({type:"expandedChanged"})}isExpandable(){return this.expandable}isExpanded(){return this.expanded}getGroupId(){return this.groupId}getId(){return this.getGroupId()}setChildren(e){this.children=e}getChildren(){return this.children}getColGroupDef(){return this.colGroupDef}getLeafColumns(){const e=[];return this.addLeafColumns(e),e}addLeafColumns(e){this.children&&this.children.forEach(t=>{ua(t)?e.push(t):zi(t)&&t.addLeafColumns(e)})}getColumnGroupShow(){const e=this.colGroupDef;if(e)return e.columnGroupShow}setupExpandable(){this.setExpandable(),this.expandableListenerRemoveCallback&&this.expandableListenerRemoveCallback();const e=this.onColumnVisibilityChanged.bind(this);this.getLeafColumns().forEach(t=>t.__addEventListener("visibleChanged",e)),this.expandableListenerRemoveCallback=()=>{this.getLeafColumns().forEach(t=>t.__removeEventListener("visibleChanged",e)),this.expandableListenerRemoveCallback=null}}setExpandable(){if(this.isPadding())return;let e=!1,t=!1,i=!1;const o=this.findChildrenRemovingPadding();for(let n=0,r=o.length;n<r;n++){const a=o[n];if(!a.isVisible())continue;const l=a.getColumnGroupShow();l==="open"?(e=!0,i=!0):l==="closed"?(t=!0,i=!0):(e=!0,t=!0)}const s=e&&t&&i;this.expandable!==s&&(this.expandable=s,this.dispatchLocalEvent({type:"expandableChanged"}))}findChildrenRemovingPadding(){const e=[],t=i=>{i.forEach(o=>{zi(o)&&o.isPadding()?t(o.children):e.push(o)})};return t(this.children),e}onColumnVisibilityChanged(){this.setExpandable()}},Hbe={numericColumn:{headerClass:"ag-right-aligned-header",cellClass:"ag-right-aligned-cell"},rightAligned:{headerClass:"ag-right-aligned-header",cellClass:"ag-right-aligned-cell"}},Wbe=class{constructor(){this.existingKeys={}}addExistingKeys(e){for(let t=0;t<e.length;t++)this.existingKeys[e[t]]=!0}getUniqueKey(e,t){e=al(e);let i=0;for(;;){let o=e??t;if(o?i!==0&&(o+="_"+i):o=i,!this.existingKeys[o])return this.existingKeys[o]=!0,String(o);i++}}},ND=Object.freeze([]);function et(e){if(e?.length)return e[e.length-1]}function yr(e,t,i){return e==null&&t==null?!0:e!=null&&t!=null&&e.length===t.length&&e.every((o,s)=>i?i(o,t[s]):t[s]===o)}function gb(e,t){if(e)for(const i of e)t(i)}function As(e,t){const i=e.indexOf(t);i>=0&&e.splice(i,1)}function BF(e,t,i){for(let o=0;o<t.length;o++)As(e,t[o]);for(let o=t.length-1;o>=0;o--)e.splice(i,0,t[o])}var Du="ag-Grid-AutoColumn",x6="ag-Grid-SelectionColumn",jbe="ag-Grid-RowNumbersColumn";function rL(e){const t=[],i=o=>{for(let s=0;s<o.length;s++){const n=o[s];ua(n)?t.push(n):zi(n)&&i(n.getChildren())}};return i(e),t}function Dh(e){return e.reduce((t,i)=>t+i.getActualWidth(),0)}function Hc(e,t,i){const o={};if(!t)return;ll(null,t,n=>{o[n.getInstanceId()]=n}),i&&ll(null,i,n=>{o[n.getInstanceId()]=null});const s=Object.values(o).filter(n=>n!=null);e.context.destroyBeans(s)}function Xx(e){return e.getId().startsWith(Du)}function bl(e){return(typeof e=="string"?e:"getColId"in e?e.getColId():e.colId)?.startsWith(x6)??!1}function Pm(e){return(typeof e=="string"?e:"getColId"in e?e.getColId():e.colId)?.startsWith(jbe)??!1}function n0(e){let t=[];return e instanceof Array?t=e:typeof e=="string"&&(t=e.split(",")),t}function w6(e,t){return yr(e,t,(i,o)=>i.getColId()===o.getColId())}function M6(e){e.map={},e.list.forEach(t=>e.map[t.getId()]=t)}function uu(e){return e==="gridOptionsUpdated"?"gridOptionsChanged":e}function aL(e,t){const i=e===t,o=e.getColDef()===t,s=e.getColId()==t;return i||o||s}var $be=(e,t)=>(i,o)=>{const s={value1:void 0,value2:void 0};let n=!1;return e&&(e[i]!==void 0&&(s.value1=e[i],n=!0),Ce(o)&&e[o]!==void 0&&(s.value2=e[o],n=!0)),!n&&t&&(t[i]!==void 0&&(s.value1=t[i]),Ce(o)&&t[o]!==void 0&&(s.value2=t[o])),s};function D6(e,t=null,i,o,s){const n=new Wbe,{existingCols:r,existingGroups:a,existingColKeys:l}=Ube(o);n.addExistingKeys(l);const c=k6(e,t,0,i,r,n,a,s),{colGroupSvc:d}=e,u=d?.findMaxDepth(c,0)??0,h=d?d.balanceColumnTree(c,0,u,n):c;return ll(null,h,(g,f)=>{zi(g)&&g.setupExpandable(),g.originalParent=f}),{columnTree:h,treeDept:u}}function Ube(e){const t=[],i=[],o=[];return e&&ll(null,e,s=>{if(zi(s)){const n=s;i.push(n)}else{const n=s;o.push(n.getId()),t.push(n)}}),{existingCols:t,existingGroups:i,existingColKeys:o}}function k6(e,t,i,o,s,n,r,a){if(!t)return[];const{colGroupSvc:l}=e,c=new Array(t.length);for(let d=0;d<c.length;d++){const u=t[d];l&&Qbe(u)?c[d]=l.createProvidedColumnGroup(o,u,i,s,n,r,a):c[d]=Kbe(e,o,u,s,n,a)}return c}function Kbe(e,t,i,o,s,n){const r=Xbe(i,o);r&&o?.splice(r.idx,1);let a=r?.column;if(a){const l=r0(e,i,a.getColId());a.setColDef(l,i,n),Ybe(e,a,l,n)}else{const l=s.getUniqueKey(i.colId,i.field),c=r0(e,i,l);a=new Yx(c,i,l,t),e.context.createBean(a)}return e.dataTypeSvc?.addColumnListeners(a),a}function I6(e,t,i,o,s,n,r,a){const{sortSvc:l,pinnedCols:c,colFlex:d}=e;i!==void 0&&t.setVisible(!i,a),l&&(l.updateColSort(t,o,a),s!==void 0&&l.setColSortIndex(t,s)),n!==void 0&&c?.setColPinned(t,n),r!==void 0&&d?.setColFlex(t,r)}function Ybe(e,t,i,o){I6(e,t,i.hide,i.sort,i.sortIndex,i.pinned,i.flex,o);const s=t.getFlex();if(!(s!=null&&s>0))if(i.width!=null)t.setActualWidth(i.width,o);else{const n=t.getActualWidth();t.setActualWidth(n,o)}}function Xbe(e,t){if(t)for(let i=0;i<t.length;i++){const o=t[i].getUserProvidedColDef();if(!o)continue;if(e.colId!=null){if(t[i].getId()===e.colId)return{idx:i,column:t[i]};continue}if(e.field!=null){if(o.field===e.field)return{idx:i,column:t[i]};continue}if(o===e)return{idx:i,column:t[i]}}}function r0(e,t,i,o){const{gos:s,dataTypeSvc:n,validation:r}=e,a={},l=s.get("defaultColDef");Eo(a,l,!1,!0);const c=Zbe(e,a,t,i);c&&qbe(e,c,a),Eo(a,t,!1,!0);const d=s.get("autoGroupColumnDef"),u=cr(s);return t.rowGroup&&d&&u&&Eo(a,{sort:d.sort,initialSort:d.initialSort},!1,!0),n?.validateColDef(a),r?.validateColDef(a,i,o),a}function Zbe(e,t,i,o){const s=e.dataTypeSvc?.updateColDefAndGetColumnType(t,i,o),n=i.type??s??t.type;return t.type=n,n?n0(n):void 0}function qbe(e,t,i){if(!t.length)return;const o=Object.assign({},Hbe),s=e.gos.get("columnTypes")||{};for(const n of Object.keys(s)){const r=s[n];n in o?he(34,{key:n}):(r.type&&he(35),o[n]=r)}t.forEach(n=>{const r=o[n.trim()];r?Eo(i,r,!1,!0):he(36,{t:n})})}function Qbe(e){return e.children!==void 0}function ll(e,t,i){if(t)for(let o=0;o<t.length;o++){const s=t[o];zi(s)&&ll(s,s.getChildren(),i),i(s,e)}}function A6(e,t){const i=[],o=[],s=[];return e.forEach(r=>{const a=r.getColDef().lockPosition;a==="right"?s.push(r):a==="left"||a===!0?i.push(r):o.push(r)}),t.get("enableRtl")?[...s,...o,...i]:[...i,...o,...s]}function R6(e,t){let i=!0;return ll(null,t,o=>{if(!zi(o))return;const s=o,n=s.getColGroupDef();if(!(n&&n.marryChildren))return;const a=[];s.getLeafColumns().forEach(h=>{const p=e.indexOf(h);a.push(p)});const l=Math.max.apply(Math,a),c=Math.min.apply(Math,a),d=l-c,u=s.getLeafColumns().length-1;d>u&&(i=!1)}),i}function T6(e,t){if(!e||e.length==0)return;const i=t(e[0]);for(let o=1;o<e.length;o++)if(i!==t(e[o]))return;return i}function L6(e,t,i){if(!t.length)return;const o=t.length===1?t[0]:null,s=T6(t,n=>n.getPinned());e.dispatchEvent({type:"columnPinned",pinned:s??null,columns:t,column:o,source:i})}function Jbe(e,t,i){if(!t.length)return;const o=t.length===1?t[0]:null,s=T6(t,n=>n.isVisible());e.dispatchEvent({type:"columnVisible",visible:s,columns:t,column:o,source:i})}function E6(e,t,i,o){e.dispatchEvent({type:t,columns:i,column:i&&i.length==1?i[0]:null,source:o})}function a0(e,t,i,o,s=null){t?.length&&e.dispatchEvent({type:"columnResized",columns:t,column:t.length===1?t[0]:null,flexColumns:s,finished:i,source:o})}function Is(e,t,i){const{colModel:o,rowGroupColsSvc:s,pivotColsSvc:n,autoColSvc:r,selectionColSvc:a,colAnimation:l,visibleCols:c,pivotResultCols:d,environment:u,valueColsSvc:h,eventSvc:p,gos:g}=e,f=o.getColDefCols()||[];if(!f?.length)return!1;if(t?.state&&!t.state.forEach)return he(32),!1;const v=(x,D,A,k,w)=>{if(!x)return;const M=$be(D,t.defaultState),R=M("flex").value1;if(I6(e,x,M("hide").value1,M("sort").value1,M("sortIndex").value1,M("pinned").value1,R,i),R==null){const L=M("width").value1;if(L!=null){const P=x.getColDef().minWidth??u.getDefaultColumnMinWidth();P!=null&&L>=P&&x.setActualWidth(L,i)}}w||!x.isPrimary()||(h?.syncColumnWithState(x,i,M),s?.syncColumnWithState(x,i,M,A),n?.syncColumnWithState(x,i,M,k))},y=(x,D,A)=>{const k=N6(e,i),w=D.slice(),M={},R={},L=[],P=[],N=[];let O=0;const F=s?.columns.slice()??[],z=n?.columns.slice()??[];x.forEach(G=>{const H=G.colId;if(H.startsWith(Du)){L.push(G),N.push(G);return}if(bl(H)){P.push(G),N.push(G);return}const W=A(H);W?(v(W,G,M,R,!1),As(w,W)):(N.push(G),O+=1)});const _=G=>v(G,null,M,R,!1);w.forEach(_),s?.sortColumns(GF.bind(s,M,F)),n?.sortColumns(GF.bind(n,R,z)),o.refreshCols(!1);const V=(G,H,B=[])=>{H.forEach(W=>{const j=G(W.colId);As(B,j),v(j,W,null,null,!0)}),B.forEach(_)};return V(G=>r?.getColumn(G)??null,L,r?.getColumns()?.slice()),V(G=>a?.getColumn(G)??null,P,a?.getColumns()?.slice()),eCe(t,o,g),c.refresh(i),p.dispatchEvent({type:"columnEverythingChanged",source:i}),k(),{unmatchedAndAutoStates:N,unmatchedCount:O}};l?.start();let{unmatchedAndAutoStates:C,unmatchedCount:S}=y(t.state||[],f,x=>o.getColDefCol(x));if(C.length>0||Ce(t.defaultState)){const x=d?.getPivotResultCols()?.list??[];S=y(C,x,D=>d?.getPivotResultCol(D)??null).unmatchedCount}return l?.finish(),S===0}function P6(e,t){const{colModel:i,autoColSvc:o,selectionColSvc:s}=e,n=i.getColDefCols();if(!n?.length)return;const r=i.getColDefColTree(),a=rL(r),l=[];let c=1e3,d=1e3;const u=v=>{const y=O6(v);wt(y.rowGroupIndex)&&y.rowGroup&&(y.rowGroupIndex=c++),wt(y.pivotIndex)&&y.pivot&&(y.pivotIndex=d++),l.push(y)};o?.getColumns()?.forEach(u),s?.getColumns()?.forEach(u),a?.forEach(u),Is(e,{state:l},t);const h=o?.getColumns()??[],f=[...s?.getColumns()??[],...h,...n].map(v=>({colId:v.colId}));Is(e,{state:f,applyOrder:!0},t)}function N6(e,t){const{rowGroupColsSvc:i,pivotColsSvc:o,valueColsSvc:s,colModel:n,sortSvc:r,eventSvc:a}=e,l={rowGroupColumns:i?.columns.slice()??[],pivotColumns:o?.columns.slice()??[],valueColumns:s?.columns.slice()??[]},c=Nm(e),d={};return c.forEach(u=>{d[u.colId]=u}),()=>{const u=(A,k,w,M)=>{const R=k.map(M),L=w.map(M);if(yr(R,L))return;const N=new Set(k);w.forEach(F=>{N.delete(F)||N.add(F)});const O=[...N];a.dispatchEvent({type:A,columns:O,column:O.length===1?O[0]:null,source:t})},h=A=>{const k=[];return n.forAllCols(w=>{const M=d[w.getColId()];M&&A(M,w)&&k.push(w)}),k},p=A=>A.getColId();u("columnRowGroupChanged",l.rowGroupColumns,i?.columns??[],p),u("columnPivotChanged",l.pivotColumns,o?.columns??[],p);const f=h((A,k)=>{const w=A.aggFunc!=null,M=w!=k.isValueActive(),R=w&&A.aggFunc!=k.getAggFunc();return M||R});f.length>0&&E6(a,"columnValueChanged",f,t),a0(a,h((A,k)=>A.width!=k.getActualWidth()),!0,t),L6(a,h((A,k)=>A.pinned!=k.getPinned()),t),Jbe(a,h((A,k)=>A.hide==k.isVisible()),t);const x=h((A,k)=>A.sort!=k.getSort()||A.sortIndex!=k.getSortIndex());x.length>0&&r?.dispatchSortChangedEvents(t,x);const D=Nm(e);iCe(c,D,t,n,a)}}function Nm(e){const{colModel:t,rowGroupColsSvc:i,pivotColsSvc:o}=e,s=t.getColDefCols();if(wt(s)||!t.isAlive())return[];const n=i?.columns,r=o?.columns,a=[],l=d=>{const u=d.isRowGroupActive()&&n?n.indexOf(d):null,h=d.isPivotActive()&&r?r.indexOf(d):null,p=d.isValueActive()?d.getAggFunc():null,g=d.getSort()!=null?d.getSort():null,f=d.getSortIndex()!=null?d.getSortIndex():null;a.push({colId:d.getColId(),width:d.getActualWidth(),hide:!d.isVisible(),pinned:d.getPinned(),sort:g,sortIndex:f,aggFunc:p,rowGroup:d.isRowGroupActive(),rowGroupIndex:u,pivot:d.isPivotActive(),pivotIndex:h,flex:d.getFlex()??null})};t.forAllCols(d=>l(d));const c=new Map(t.getCols().map((d,u)=>[d.getColId(),u]));return a.sort((d,u)=>{const h=c.has(d.colId)?c.get(d.colId):-1,p=c.has(u.colId)?c.get(u.colId):-1;return h-p}),a}function O6(e){const t=(g,f)=>g??f??null,i=e.getColDef(),o=t(i.sort,i.initialSort),s=t(i.sortIndex,i.initialSortIndex),n=t(i.hide,i.initialHide),r=t(i.pinned,i.initialPinned),a=t(i.width,i.initialWidth),l=t(i.flex,i.initialFlex);let c=t(i.rowGroupIndex,i.initialRowGroupIndex),d=t(i.rowGroup,i.initialRowGroup);c==null&&(d==null||d==!1)&&(c=null,d=null);let u=t(i.pivotIndex,i.initialPivotIndex),h=t(i.pivot,i.initialPivot);u==null&&(h==null||h==!1)&&(u=null,h=null);const p=t(i.aggFunc,i.initialAggFunc);return{colId:e.getColId(),sort:o,sortIndex:s,hide:n,pinned:r,width:a,flex:l,rowGroup:d,rowGroupIndex:c,pivot:h,pivotIndex:u,aggFunc:p}}function eCe(e,t,i){if(!e.applyOrder||!e.state)return;const o=[];e.state.forEach(s=>{s.colId!=null&&o.push(s.colId)}),tCe(t.cols,o,t,i)}function tCe(e,t,i,o){if(e==null)return;let s=[];const n={};t.forEach(a=>{if(n[a])return;const l=e.map[a];l&&(s.push(l),n[a]=!0)});let r=0;if(e.list.forEach(a=>{const l=a.getColId();if(n[l]!=null)return;l.startsWith(Du)?s.splice(r++,0,a):s.push(a)}),s=A6(s,o),!R6(s,i.getColTree())){he(39);return}e.list=s}function iCe(e,t,i,o,s){const n={};t.forEach(d=>n[d.colId]=d);const r={};e.forEach(d=>{n[d.colId]&&(r[d.colId]=!0)});const a=e.filter(d=>r[d.colId]),l=t.filter(d=>r[d.colId]),c=[];l.forEach((d,u)=>{const h=a&&a[u];if(h&&h.colId!==d.colId){const p=o.getCol(h.colId);p&&c.push(p)}}),c.length&&s.dispatchEvent({type:"columnMoved",columns:c,column:c.length===1?c[0]:null,finished:!0,source:i})}var GF=(e,t,i,o)=>{const s=e[i.getId()],n=e[o.getId()],r=s!=null,a=n!=null;if(r&&a)return s-n;if(r)return-1;if(a)return 1;const l=t.indexOf(i),c=t.indexOf(o),d=l>=0,u=c>=0;return d&&u?l-c:d?-1:1},oCe=class extends oe{constructor(){super(...arguments),this.beanName="colModel",this.pivotMode=!1,this.ready=!1,this.changeEventsDispatching=!1}postConstruct(){this.pivotMode=this.gos.get("pivotMode"),this.addManagedPropertyListeners(["groupDisplayType","treeData","treeDataDisplayType","groupHideOpenParents"],e=>this.refreshAll(uu(e.source))),this.addManagedPropertyListeners(["defaultColDef","defaultColGroupDef","columnTypes","suppressFieldDotNotation"],this.recreateColumnDefs.bind(this)),this.addManagedPropertyListener("pivotMode",e=>this.setPivotMode(this.gos.get("pivotMode"),uu(e.source)))}createColsFromColDefs(e){const{beans:t}=this,{valueCache:i,colAutosize:o,rowGroupColsSvc:s,pivotColsSvc:n,valueColsSvc:r,visibleCols:a,colViewport:l,eventSvc:c}=t,d=this.colDefs?N6(t,e):void 0;i?.expire();const u=this.colDefCols?.list,h=this.colDefCols?.tree,p=D6(t,this.colDefs,!0,h,e);Hc(t,this.colDefCols?.tree,p.columnTree);const g=p.columnTree,f=p.treeDept,v=rL(g),y={};v.forEach(C=>y[C.getId()]=C),this.colDefCols={tree:g,treeDepth:f,list:v,map:y},s?.extractCols(e,u),n?.extractCols(e,u),r?.extractCols(e,u),this.ready=!0,this.refreshCols(!0),a.refresh(e),l.checkViewportColumns(),c.dispatchEvent({type:"columnEverythingChanged",source:e}),d&&(this.changeEventsDispatching=!0,d(),this.changeEventsDispatching=!1),c.dispatchEvent({type:"newColumnsLoaded",source:e}),e==="gridInitializing"&&o?.applyAutosizeStrategy()}refreshCols(e){if(!this.colDefCols)return;const t=this.cols?.tree;this.saveColOrder();const{autoColSvc:i,selectionColSvc:o,rowNumbersSvc:s,quickFilter:n,pivotResultCols:r,showRowGroupCols:a,rowAutoHeight:l,visibleCols:c,colViewport:d,eventSvc:u}=this.beans,h=this.selectCols(r,this.colDefCols);this.createColumnsForService([i,o,s],h);const p=vbe(this.gos,this.showingPivotResult);(!e||p)&&this.restoreColOrder(h),this.positionLockedCols(h),a?.refresh(),n?.refreshCols(),this.setColSpanActive(),l?.setAutoHeightActive(h),c.clear(),d.clear(),!yr(t,this.cols.tree)&&u.dispatchEvent({type:"gridColumnsChanged"})}createColumnsForService(e,t){for(const i of e)i&&(i.createColumns(t,o=>{this.lastOrder=o(this.lastOrder),this.lastPivotOrder=o(this.lastPivotOrder)}),i.addColumns(t))}selectCols(e,t){const i=e?.getPivotResultCols()??null;this.showingPivotResult=i!=null;const{map:o,list:s,tree:n,treeDepth:r}=i??t;return this.cols={list:s.slice(),map:{...o},tree:n.slice(),treeDepth:r},i&&(i.list.some(l=>this.cols?.map[l.getColId()]!==void 0)||(this.lastPivotOrder=null)),this.cols}getColsToShow(){if(!this.cols)return[];const e=this.isPivotMode()&&!this.showingPivotResult,t=this.beans.valueColsSvc?.columns;return this.cols.list.filter(o=>{const s=Xx(o);if(e){const n=t?.includes(o);return s||n}else return s||o.isVisible()})}refreshAll(e){this.ready&&(this.refreshCols(!1),this.beans.visibleCols.refresh(e))}setColsVisible(e,t=!1,i){Is(this.beans,{state:e.map(o=>({colId:typeof o=="string"?o:o.getColId(),hide:!t}))},i)}restoreColOrder(e){const t=this.showingPivotResult?this.lastPivotOrder:this.lastOrder;if(!t)return;const i=new Map(t.map((c,d)=>[c,d]));if(!e.list.some(c=>i.has(c)))return;const s=new Map(e.list.map(c=>[c,!0])),n=t.filter(c=>s.has(c)),r=new Map(n.map(c=>[c,!0])),a=e.list.filter(c=>!r.has(c)),l=n.slice();a.forEach(c=>{let d=c.getOriginalParent();if(!d){l.push(c);return}const u=[];for(;!u.length&&d;)d.getLeafColumns().forEach(f=>{const v=l.indexOf(f)>=0,y=u.indexOf(f)<0;v&&y&&u.push(f)}),d=d.getOriginalParent();if(!u.length){l.push(c);return}const h=u.map(g=>l.indexOf(g)),p=Math.max(...h);l.splice(p+1,0,c)}),e.list=l}positionLockedCols(e){e.list=A6(e.list,this.gos)}saveColOrder(){this.showingPivotResult?this.lastPivotOrder=this.cols?.list??null:this.lastOrder=this.cols?.list??null}getColumnDefs(){return this.colDefCols?this.beans.colDefFactory?.getColumnDefs(this.colDefCols.list,this.showingPivotResult,this.lastOrder,this.cols?.list??[]):void 0}setColSpanActive(){this.colSpanActive=!!this.cols?.list.some(e=>e.getColDef().colSpan!=null)}isPivotMode(){return this.pivotMode}setPivotMode(e,t){if(e===this.pivotMode||(this.pivotMode=e,!this.ready))return;this.refreshCols(!1);const{visibleCols:i,eventSvc:o}=this.beans;i.refresh(t),o.dispatchEvent({type:"columnPivotModeChanged"})}isPivotActive(){const e=this.beans.pivotColsSvc?.columns;return this.pivotMode&&!!e?.length}recreateColumnDefs(e){if(!this.cols)return;this.beans.autoColSvc?.updateColumns(e);const t=uu(e.source);this.createColsFromColDefs(t)}setColumnDefs(e,t){this.colDefs=e,this.createColsFromColDefs(t)}destroy(){Hc(this.beans,this.colDefCols?.tree),super.destroy()}getColTree(){return this.cols?.tree??[]}getColDefColTree(){return this.colDefCols?.tree??[]}getColDefCols(){return this.colDefCols?.list??null}getCols(){return this.cols?.list??[]}forAllCols(e){const{pivotResultCols:t,autoColSvc:i,selectionColSvc:o}=this.beans;gb(this.colDefCols?.list,e),gb(i?.columns?.list,e),gb(o?.columns?.list,e),gb(t?.getPivotResultCols()?.list,e)}getColsForKeys(e){return e?e.map(t=>this.getCol(t)).filter(t=>t!=null):[]}getColDefCol(e){return this.colDefCols?.list?this.getColFromCollection(e,this.colDefCols):null}getCol(e){return e==null?null:this.getColFromCollection(e,this.cols)}getColFromCollection(e,t){if(t==null)return null;const{map:i,list:o}=t;if(typeof e=="string"&&i[e])return i[e];for(let s=0;s<o.length;s++)if(aL(o[s],e))return o[s];return this.beans.autoColSvc?.getColumn(e)??this.beans.selectionColSvc?.getColumn(e)??null}},lL=class extends oe{constructor(){super(...arguments),this.dispatchColumnChangedEvent=E6,this.columns=[],this.columnIndexMap={},this.updateIndexMap=()=>{this.columnIndexMap={},this.columns.forEach((e,t)=>this.columnIndexMap[e.getId()]=t)}}wireBeans(e){this.colModel=e.colModel,this.aggFuncSvc=e.aggFuncSvc,this.visibleCols=e.visibleCols}sortColumns(e){this.columns.sort(e),this.updateIndexMap()}setColumns(e,t){this.setColList(e,this.columns,this.eventName,!0,!0,this.columnProcessors.set,t)}addColumns(e,t){this.updateColList(e,this.columns,!0,!0,this.columnProcessors.add,this.eventName,t)}removeColumns(e,t){this.updateColList(e,this.columns,!1,!0,this.columnProcessors.remove,this.eventName,t)}getColumnIndex(e){return this.columnIndexMap[e]}setColList(e=[],t,i,o,s,n,r){const a=this.colModel.getCols();if(!a||a.length===0)return;const l=new Map;t.forEach((d,u)=>l.set(d,u)),t.length=0,Ce(e)&&e.forEach(d=>{const u=this.colModel.getColDefCol(d);u&&t.push(u)}),t.forEach((d,u)=>{const h=l.get(d);if(h===void 0){l.set(d,0);return}o&&h!==u||l.delete(d)}),this.updateIndexMap(),(this.colModel.getColDefCols()||[]).forEach(d=>{const u=t.indexOf(d)>=0;n(d,u,r)}),s&&this.colModel.refreshCols(!1),this.visibleCols.refresh(r),this.dispatchColumnChangedEvent(this.eventSvc,i,[...l.keys()],r)}updateColList(e=[],t,i,o,s,n,r){if(!e||e.length===0)return;let a=!1;const l=new Set;if(e.forEach(d=>{if(!d)return;const u=this.colModel.getColDefCol(d);if(u){if(l.add(u),i){if(t.indexOf(u)>=0)return;t.push(u)}else{const h=t.indexOf(u);if(h<0)return;for(let p=h+1;p<t.length;p++)l.add(t[p]);As(t,u)}s(u,i,r),a=!0}}),!a)return;this.updateIndexMap(),o&&this.colModel.refreshCols(!1),this.visibleCols.refresh(r);const c=Array.from(l);this.eventSvc.dispatchEvent({type:n,columns:c,column:c.length===1?c[0]:null,source:r})}extractCols(e,t=[]){const i=this.columns,o=[],s=[],{setFlagFunc:n,getIndexFunc:r,getInitialIndexFunc:a,getValueFunc:l,getInitialValueFunc:c}=this.columnExtractors;(this.colModel.getColDefCols()||[]).forEach(p=>{const g=t.indexOf(p)<0,f=p.getColDef(),v=l(f),y=c(f),C=r(f),S=a(f);let x;v!==void 0?x=v:C!==void 0?C===null?x=!1:x=C>=0:g?y!==void 0?x=y:S!==void 0?x=S!=null&&S>=0:x=!1:x=i.indexOf(p)>=0,x&&((g?C!=null||S!=null:C!=null)?o.push(p):s.push(p))});const u=p=>{const g=r(p.getColDef()),f=a(p.getColDef());return g??f};o.sort((p,g)=>{const f=u(p),v=u(g);return f===v?0:f<v?-1:1});const h=[].concat(o);return i.forEach(p=>{s.indexOf(p)>=0&&h.push(p)}),s.forEach(p=>{h.indexOf(p)<0&&h.push(p)}),i.forEach(p=>{h.indexOf(p)<0&&n(p,!1,e)}),h.forEach(p=>{i.indexOf(p)<0&&n(p,!0,e)}),this.columns=h,this.updateIndexMap(),this.columns}restoreColumnOrder(e,t){const i=this.columns,o=this.colModel.getColDefCols();if(!i.length||!o)return e;const s=Object.keys(t),n=new Set(s),r=new Set(s),a=new Set(i.map(S=>{const x=S.getColId();return r.delete(x),x}).concat(s)),l=[],c={};let d=0;for(let S=0;S<o.length;S++){const x=o[S].getColId();a.has(x)&&(l.push(x),c[x]=d++)}let u=1e3,h=!1,p=0;const g=this.columnOrdering.enableProp,f=this.columnOrdering.initialEnableProp,v=this.columnOrdering.indexProp,y=this.columnOrdering.initialIndexProp,C=S=>{const x=c[S];for(let D=p;D<x;D++){const A=l[D];r.has(A)&&(t[A][v]=u++,r.delete(A))}p=x};return i.forEach(S=>{const x=S.getColId();if(n.has(x))C(x),t[x][v]=u++;else{const D=S.getColDef();(D[v]===null||D[v]===void 0&&D[y]==null)&&(h||(D[g]||D[g]===void 0&&D[f]?C(x):(r.forEach(w=>{t[w][v]=u+c[w]}),u+=l.length,h=!0)),e[x]||(e[x]={colId:x}),e[x][v]=u++)}}),e}},F6=class{constructor(){this.existingIds={}}getInstanceIdForKey(e){const t=this.existingIds[e];let i;return typeof t!="number"?i=0:i=t+1,this.existingIds[e]=i,i}};function Qy(e,t,i){return i&&e.addDestroyFunc(()=>t.destroyBean(i)),i??e}var B6=class{constructor(e){this.cssClassStates={},this.getGui=e}addCssClass(e){this.addOrRemoveCssClass(e,!0)}removeCssClass(e){this.addOrRemoveCssClass(e,!1)}containsCssClass(e){const t=this.getGui();return t?t.classList.contains(e):!1}addOrRemoveCssClass(e,t){if(!e)return;if(e.indexOf(" ")>=0){const o=(e||"").split(" ");if(o.length>1){o.forEach(s=>this.addOrRemoveCssClass(s,t));return}}if(this.cssClassStates[e]!==t&&e.length){const o=this.getGui();o&&o.classList.toggle(e,t),this.cssClassStates[e]=t}}},sCe=0,de=null,Ue=class extends oe{constructor(e,t){super(),this.suppressDataRefValidation=!1,this.displayed=!0,this.visible=!0,this.compId=sCe++,this.cssClassManager=new B6(()=>this.eGui),this.componentSelectors=new Map((t??[]).map(i=>[i.selector,i])),e&&this.setTemplate(e)}preConstruct(){this.wireTemplate(this.getGui());const e="component-"+Object.getPrototypeOf(this)?.constructor?.name;this.css?.forEach(t=>this.beans.environment.addGlobalCSS(t,e))}wireTemplate(e,t){e&&this.gos&&(this.applyElementsToComponent(e),this.createChildComponentsFromTags(e,t))}getCompId(){return this.compId}getDataRefAttribute(e){return e.getAttribute?e.getAttribute(e6):null}applyElementsToComponent(e,t,i,o=null){if(t===void 0&&(t=this.getDataRefAttribute(e)),t){const s=this[t];if(s===de)this[t]=o??e;else{const n=i&&i[t];if(!this.suppressDataRefValidation&&!n)throw new Error(`data-ref: ${t} on ${this.constructor.name} with ${s}`)}}}createChildComponentsFromTags(e,t){const i=[];for(const o of e.childNodes??[])i.push(o);i.forEach(o=>{if(!(o instanceof HTMLElement))return;const s=this.createComponentFromElement(o,n=>{const r=n.getGui();if(r)for(const a of o.attributes??[])r.setAttribute(a.name,a.value)},t);if(s){if(s.addItems&&o.children.length){this.createChildComponentsFromTags(o,t);const n=Array.prototype.slice.call(o.children);s.addItems(n)}this.swapComponentForNode(s,e,o)}else o.childNodes&&this.createChildComponentsFromTags(o,t)})}createComponentFromElement(e,t,i){const o=e.nodeName,s=this.getDataRefAttribute(e),n=o.indexOf("AG-")===0,r=n?this.componentSelectors.get(o):null;let a=null;if(r){const l=i&&s?i[s]:void 0;a=new r.component(l),a.setParentComponent(this),this.createBean(a,null,t)}else if(n)throw new Error(`selector: ${o}`);return this.applyElementsToComponent(e,s,i,a),a}swapComponentForNode(e,t,i){const o=e.getGui();t.replaceChild(o,i),t.insertBefore(document.createComment(i.nodeName),o),this.addDestroyFunc(this.destroyBean.bind(this,e))}activateTabIndex(e){const t=this.gos.get("tabIndex");e||(e=[]),e.length||e.push(this.getGui()),e.forEach(i=>i.setAttribute("tabindex",t.toString()))}setTemplate(e,t,i){let o;typeof e=="string"||e==null?o=jx(e):o=It(e),this.setTemplateFromElement(o,t,i)}setTemplateFromElement(e,t,i,o=!1){if(this.eGui=e,this.suppressDataRefValidation=o,t)for(let s=0;s<t.length;s++){const n=t[s];this.componentSelectors.set(n.selector,n)}this.wireTemplate(e,i)}getGui(){return this.eGui}getFocusableElement(){return this.eGui}getAriaElement(){return this.getFocusableElement()}setParentComponent(e){this.parentComponent=e}getParentComponent(){return this.parentComponent}setGui(e){this.eGui=e}queryForHtmlElement(e){return this.eGui.querySelector(e)}getContainerAndElement(e,t){let i=t;return e==null?null:(i||(i=this.eGui),$x(e)?{element:e,parent:i}:{element:e.getGui(),parent:i})}prependChild(e,t){const{element:i,parent:o}=this.getContainerAndElement(e,t)||{};!i||!o||o.insertAdjacentElement("afterbegin",i)}appendChild(e,t){const{element:i,parent:o}=this.getContainerAndElement(e,t)||{};!i||!o||o.appendChild(i)}isDisplayed(){return this.displayed}setVisible(e,t={}){if(e!==this.visible){this.visible=e;const{skipAriaHidden:i}=t;sbe(this.eGui,e,{skipAriaHidden:i})}}setDisplayed(e,t={}){if(e!==this.displayed){this.displayed=e;const{skipAriaHidden:i}=t;$e(this.eGui,e,{skipAriaHidden:i});const o={type:"displayChanged",visible:this.displayed};this.dispatchLocalEvent(o)}}destroy(){this.parentComponent&&(this.parentComponent=void 0),super.destroy()}addGuiEventListener(e,t,i){this.eGui.addEventListener(e,t,i),this.addDestroyFunc(()=>this.eGui.removeEventListener(e,t))}addCssClass(e){this.cssClassManager.addCssClass(e)}removeCssClass(e){this.cssClassManager.removeCssClass(e)}containsCssClass(e){return this.cssClassManager.containsCssClass(e)}addOrRemoveCssClass(e,t){this.cssClassManager.addOrRemoveCssClass(e,t)}registerCSS(e){this.css||(this.css=[]),this.css.push(e)}},Ct=class df{constructor(t){this.status=0,this.resolution=null,this.waiters=[],t(i=>this.onDone(i),i=>this.onReject(i))}static all(t){return t.length?new df(i=>{let o=t.length;const s=new Array(o);t.forEach((n,r)=>{n.then(a=>{s[r]=a,o--,o===0&&i(s)})})}):df.resolve()}static resolve(t=null){return new df(i=>i(t))}then(t){return new df(i=>{this.status===1?i(t(this.resolution)):this.waiters.push(o=>i(t(o)))})}onDone(t){this.status=1,this.resolution=t,this.waiters.forEach(i=>i(t))}onReject(t){}};function nCe(e){return e?e.prototype&&"getGui"in e.prototype:!1}function G6(e,t,i,o){const{name:s}=i;let n,r,a,l,c,d;if(t){const u=t,h=u[s+"Selector"],p=h?h(o):null,g=f=>{typeof f=="string"?n=f:f!=null&&f!==!0&&(e.isFrameworkComponent(f)?a=f:r=f)};p?(g(p.component),l=p.params,c=p.popup,d=p.popupPosition):g(u[s])}return{compName:n,jsComp:r,fwComp:a,paramsFromSelector:l,popupFromSelector:c,popupPositionFromSelector:d}}var rCe=class extends oe{constructor(){super(...arguments),this.beanName="userCompFactory"}wireBeans(e){this.agCompUtils=e.agCompUtils,this.registry=e.registry,this.frameworkCompWrapper=e.frameworkCompWrapper,this.gridOptions=e.gridOptions}getCompDetailsFromGridOptions(e,t,i,o=!1){return this.getCompDetails(this.gridOptions,e,t,i,o)}getCompDetails(e,t,i,o,s=!1){const{name:n,cellRenderer:r}=t;let{compName:a,jsComp:l,fwComp:c,paramsFromSelector:d,popupFromSelector:u,popupPositionFromSelector:h}=G6(this.beans.frameworkOverrides,e,t,o),p;const g=C=>{const S=this.registry.getUserComponent(n,C);S&&(l=S.componentFromFramework?void 0:S.component,c=S.componentFromFramework?S.component:void 0,p=S.params)};if(a!=null&&g(a),l==null&&c==null&&i!=null&&g(i),l&&r&&!nCe(l)&&(l=this.agCompUtils?.adaptFunction(t,l)),!l&&!c){const{validation:C}=this.beans;s&&(a!==i||!i)?a?C?.isProvidedUserComp(a)||We(50,{compName:a}):i?C||We(260,{...this.gos.getModuleErrorParams(),propName:n,compName:i}):We(216,{name:n}):i&&!C&&We(146,{comp:i});return}const f=this.mergeParams(e,t,o,d,p),v=l==null,y=l??c;return{componentFromFramework:v,componentClass:y,params:f,type:t,popupFromSelector:u,popupPositionFromSelector:h,newAgStackInstance:()=>this.newAgStackInstance(y,v,f,t)}}newAgStackInstance(e,t,i,o){const s=!t;let n;s?n=new e:n=this.frameworkCompWrapper.wrap(e,o.mandatoryMethods,o.optionalMethods,o),this.createBean(n);const r=n.init?.(i);return r==null?Ct.resolve(n):r.then(()=>n)}mergeParams(e,t,i,o=null,s){const n={...i,...s},r=e,a=r&&r[t.name+"Params"];if(typeof a=="function"){const l=a(i);Eo(n,l)}else typeof a=="object"&&Eo(n,a);return Eo(n,o),n}},aCe={name:"dragAndDropImageComponent",mandatoryMethods:["setIcon","setLabel"]},lCe={name:"headerComponent",optionalMethods:["refresh"]},cCe={name:"innerHeaderComponent"},dCe={name:"innerHeaderGroupComponent"},uCe={name:"headerGroupComponent"},hCe={name:"innerRenderer",cellRenderer:!0,optionalMethods:["afterGuiAttached"]},pCe={name:"cellRenderer",optionalMethods:["refresh","afterGuiAttached"],cellRenderer:!0},gCe={name:"loadingCellRenderer",cellRenderer:!0},fCe={name:"loadingOverlayComponent",optionalMethods:["refresh"]},mCe={name:"noRowsOverlayComponent",optionalMethods:["refresh"]},yCe={name:"tooltipComponent"},cL={name:"filter",mandatoryMethods:["isFilterActive","doesFilterPass","getModel","setModel"],optionalMethods:["afterGuiAttached","afterGuiDetached","onNewRowsLoaded","getModelAsString","onFloatingFilterChanged","onAnyFilterChanged","refresh"]},vCe={name:"floatingFilterComponent",mandatoryMethods:["onParentModelChanged"],optionalMethods:["afterGuiAttached","refresh"]},bCe={name:"fullWidthCellRenderer",optionalMethods:["refresh","afterGuiAttached"],cellRenderer:!0},CCe={name:"loadingCellRenderer",cellRenderer:!0},SCe={name:"groupRowRenderer",optionalMethods:["afterGuiAttached"],cellRenderer:!0},xCe={name:"detailCellRenderer",optionalMethods:["refresh"],cellRenderer:!0};function wCe(e,t){return e.getCompDetailsFromGridOptions(aCe,"agDragAndDropImage",t,!0)}function fb(e,t,i){return e.getCompDetails(t,hCe,void 0,i)}function MCe(e,t,i){return e.getCompDetails(t,lCe,"agColumnHeader",i)}function DCe(e,t,i){return e.getCompDetails(t,cCe,void 0,i)}function kCe(e,t){const i=t.columnGroup.getColGroupDef();return e.getCompDetails(i,uCe,"agColumnGroupHeader",t)}function ICe(e,t,i){return e.getCompDetails(t,dCe,void 0,i)}function ACe(e,t){return e.getCompDetailsFromGridOptions(bCe,void 0,t,!0)}function RCe(e,t){return e.getCompDetailsFromGridOptions(CCe,"agLoadingCellRenderer",t,!0)}function TCe(e,t){return e.getCompDetailsFromGridOptions(SCe,"agGroupRowRenderer",t,!0)}function LCe(e,t){return e.getCompDetailsFromGridOptions(xCe,"agDetailCellRenderer",t,!0)}function xp(e,t,i){return e.getCompDetails(t,pCe,void 0,i)}function ECe(e,t,i){return e.getCompDetails(t,gCe,"agSkeletonCellRenderer",i,!0)}function PCe(e,t,i,o){return e.getCompDetails(t,cL,o,i,!0)}function NCe(e,t){return e.getCompDetailsFromGridOptions(fCe,"agLoadingOverlay",t,!0)}function OCe(e,t){return e.getCompDetailsFromGridOptions(mCe,"agNoRowsOverlay",t,!0)}function FCe(e,t){return e.getCompDetails(t.colDef,yCe,"agTooltipComponent",t,!0)}function BCe(e,t,i,o){return e.getCompDetails(t,vCe,o,i)}function GCe(e,t){return G6(e,t,cL)}function zCe(e,t,i){return e.mergeParams(t,cL,i)}function zF(e){const t=e;return t!=null&&t.getFrameworkComponentInstance!=null?t.getFrameworkComponentInstance():e}var z6=new Set,l0={},ip={},qb,_6=!1,_Ce=!1;function VCe(e){const[t,i]=e.version.split(".")||[],[o,s]=qb.split(".")||[];return t===o&&i===s}function HCe(e){qb||(qb=e.version);const t=i=>`You are using incompatible versions of AG Grid modules. Major and minor versions should always match across modules. ${i} Please update all modules to the same version.`;if(e.version?VCe(e)||ep(t(`'${e.moduleName}' is version ${e.version} but the other modules are version ${qb}.`)):ep(t(`'${e.moduleName}' is incompatible.`)),e.validate){const i=e.validate();i.isValid||ep(`${i.message}`)}}function Om(e,t){HCe(e);const i=e.rowModels??["all"];z6.add(e);let o;t!==void 0?(_6=!0,ip[t]===void 0&&(ip[t]={}),o=ip[t]):o=l0,i.forEach(s=>{o[s]===void 0&&(o[s]={}),o[s][e.moduleName]=e}),e.dependsOn&&e.dependsOn.forEach(s=>Om(s,t))}function WCe(e){delete ip[e]}function V6(e,t,i){const o=s=>!!l0[s]?.[e]||!!ip[t]?.[s]?.[e];return o(i)||o("all")}function dL(){return _6}function jCe(e,t){const i=ip[e]??{};return[...Object.values(l0.all??{}),...Object.values(i.all??{}),...Object.values(l0[t]??{}),...Object.values(i[t]??{})]}function $Ce(){return new Set(z6)}function UCe(){return _Ce}var H6=class{static register(e){Om(e,void 0)}static registerModules(e){e.forEach(t=>Om(t,void 0))}},KCe=class{constructor(e){this.beans={},this.createdBeans=[],this.destroyed=!1,!(!e||!e.beanClasses)&&(this.beanDestroyComparator=e.beanDestroyComparator,this.init(e))}init(e){for(const t of Object.keys(e.providedBeanInstances))this.beans[t]=e.providedBeanInstances[t];e.beanClasses.forEach(t=>{const i=new t;i.beanName?this.beans[i.beanName]=i:console.error(`Bean ${t.name} is missing beanName`),this.createdBeans.push(i)}),e.derivedBeans?.forEach(t=>{const{beanName:i,bean:o}=t(this);this.beans[i]=o,this.createdBeans.push(o)}),e.beanInitComparator&&this.createdBeans.sort(e.beanInitComparator),this.initBeans(this.createdBeans)}getBeanInstances(){return Object.values(this.beans)}createBean(e,t){if(!e)throw Error("null bean");return this.initBeans([e],t),e}initBeans(e,t){e.forEach(i=>{i.preWireBeans?.(this.beans),i.wireBeans?.(this.beans)}),e.forEach(i=>i.preConstruct?.()),t&&e.forEach(t),e.forEach(i=>i.postConstruct?.())}getBeans(){return this.beans}getBean(e){return this.beans[e]}destroy(){if(this.destroyed)return;this.destroyed=!0;const e=this.getBeanInstances();this.beanDestroyComparator&&e.sort(this.beanDestroyComparator),this.destroyBeans(e),this.beans={},this.createdBeans=[]}destroyBean(e){e?.destroy?.()}destroyBeans(e){if(e)for(let t=0;t<e.length;t++)this.destroyBean(e[t]);return[]}isDestroyed(){return this.destroyed}},YCe=class extends KCe{init(e){this.gridId=e.gridId,this.beans.context=this,this.destroyCallback=e.destroyCallback,super.init(e)}destroy(){super.destroy(),WCe(this.gridId),this.destroyCallback?.()}getGridId(){return this.gridId}},XCe="ag-column-first",ZCe="ag-column-last";function W6(e,t,i,o){return wt(e)?[]:U6(e.headerClass,e,t,i,o)}function j6(e,t,i,o){return wt(e)?[]:U6(e.toolPanelClass,e,t,i,o)}function $6(e,t,i){e.addOrRemoveCssClass(XCe,i.isColAtEdge(t,"first")),e.addOrRemoveCssClass(ZCe,i.isColAtEdge(t,"last"))}function qCe(e,t,i,o){return Le(t,{colDef:e,column:i,columnGroup:o})}function U6(e,t,i,o,s){if(wt(e))return[];let n;if(typeof e=="function"){const r=qCe(t,i,o,s);n=e(r)}else n=e;return typeof n=="string"?[n]:Array.isArray(n)?[...n]:[]}var J={BACKSPACE:"Backspace",TAB:"Tab",ENTER:"Enter",ESCAPE:"Escape",SPACE:" ",LEFT:"ArrowLeft",UP:"ArrowUp",RIGHT:"ArrowRight",DOWN:"ArrowDown",DELETE:"Delete",F2:"F2",PAGE_UP:"PageUp",PAGE_DOWN:"PageDown",PAGE_HOME:"Home",PAGE_END:"End",A:"KeyA",C:"KeyC",D:"KeyD",V:"KeyV",X:"KeyX",Y:"KeyY",Z:"KeyZ"},OD=!1,c0=0;function QCe(e){c0>0||(e.addEventListener("keydown",d0),e.addEventListener("mousedown",d0))}function JCe(e){c0>0||(e.removeEventListener("keydown",d0),e.removeEventListener("mousedown",d0))}function d0(e){const t=OD,i=e.type==="keydown";i&&(e.ctrlKey||e.metaKey||e.altKey)||t!==i&&(OD=i)}function e0e(e){const t=Yt(e);return QCe(t),c0++,()=>{c0--,JCe(t)}}function K6(){return OD}function t0e(e,t,i){t.addManagedElementListeners(i,{keydown:o=>{if(!o.defaultPrevented&&o.key===J.TAB){const s=o.shiftKey;Pa(e,i,!1,s)||ku(e,s)&&o.preventDefault()}}})}function hu(e,t,i=!1){const o=obe;let s=K9;t&&(s+=", "+t),i&&(s+=', [tabindex="-1"]');const n=Array.prototype.slice.apply(e.querySelectorAll(o)).filter(l=>Zs(l)),r=Array.prototype.slice.apply(e.querySelectorAll(s));return r.length?((l,c)=>l.filter(d=>c.indexOf(d)===-1))(n,r):n}function wr(e,t=!1,i=!1,o=!1){const s=hu(e,o?".ag-tab-guard":null,i),n=t?et(s):s[0];return n?(n.focus({preventScroll:!0}),!0):!1}function Pa(e,t,i,o){const s=hu(t,i?':not([tabindex="-1"])':null),n=Tt(e);let r;i?r=s.findIndex(l=>l.contains(n)):r=s.indexOf(n);const a=r+(o?-1:1);return a<0||a>=s.length?null:s[a]}function uL(e,t=5){let i=0;for(;e&&RF(e)===null&&++i<=t;)e=e.parentElement;return RF(e)===null?null:e}function i0e(e,t){return e.ctrlsSvc.get("gridCtrl").focusInnerElement(t)}function pu(e){return e.gos.get("suppressHeaderFocus")||!!e.overlays?.isExclusive()}function hL(e){return e.gos.get("suppressCellFocus")||!!e.overlays?.isExclusive()}function ku(e,t,i=!1){const o=e.ctrlsSvc.get("gridCtrl");return!i&&o.focusNextInnerContainer(t)?!0:((i||!t&&!o.isDetailGrid())&&o.forceFocusOutOfContainer(t),!1)}function o0e(e,t=!1){return e===J.DELETE?!0:!t&&e===J.BACKSPACE?j9():!1}var s0e=class extends oe{constructor(e,t,i,o){super(),this.cellCtrl=e,this.rowNode=i,this.rowCtrl=o,this.beans=t}init(){this.eGui=this.cellCtrl.eGui}onKeyDown(e){const t=e.key;switch(t){case J.ENTER:this.onEnterKeyDown(e);break;case J.F2:this.onF2KeyDown(e);break;case J.ESCAPE:this.onEscapeKeyDown(e);break;case J.TAB:this.onTabKeyDown(e);break;case J.BACKSPACE:case J.DELETE:this.onBackspaceOrDeleteKeyDown(t,e);break;case J.DOWN:case J.UP:case J.RIGHT:case J.LEFT:this.onNavigationKeyDown(e,t);break}}onNavigationKeyDown(e,t){if(!this.cellCtrl.editing){if(e.shiftKey&&this.cellCtrl.isRangeSelectionEnabled())this.onShiftRangeSelect(e);else{const i=this.cellCtrl.getFocusedCellPosition();this.beans.navigation?.navigateToNextCell(e,t,i,!0)}e.preventDefault()}}onShiftRangeSelect(e){const{rangeSvc:t,navigation:i}=this.beans;if(!t)return;const o=t.extendLatestRangeInDirection(e);o&&i?.ensureCellVisible(o)}onTabKeyDown(e){this.beans.navigation?.onTabKeyDown(this.cellCtrl,e)}onBackspaceOrDeleteKeyDown(e,t){const{cellCtrl:i,beans:o,rowNode:s}=this,{gos:n,rangeSvc:r,eventSvc:a}=o;if(!i.editing){if(a.dispatchEvent({type:"keyShortcutChangedCellStart"}),o0e(e,n.get("enableCellEditingOnBackspace"))){if(r&&wu(n))r.clearCellRangeCellValues({dispatchWrapperEvents:!0,wrapperEventSource:"deleteKey"});else if(i.isCellEditable()){const{column:l}=i,c=this.beans.valueSvc.getDeleteValue(l,s);s.setDataValue(l,c,"cellClear")}}else o.editSvc?.startRowOrCellEdit(i,e,t);a.dispatchEvent({type:"keyShortcutChangedCellEnd"})}}onEnterKeyDown(e){const{cellCtrl:t,beans:i}=this;if(t.editing||this.rowCtrl.editing)this.beans.editSvc?.stopRowOrCellEdit(t,!1,!1,e.shiftKey);else if(i.gos.get("enterNavigatesVertically")){const o=e.shiftKey?J.UP:J.DOWN;i.navigation?.navigateToNextCell(null,o,t.cellPosition,!1)}else i.editSvc?.startRowOrCellEdit(t,J.ENTER,e),t.editing&&e.preventDefault()}onF2KeyDown(e){const{cellCtrl:t,beans:i}=this;t.editing||i.editSvc?.startRowOrCellEdit(t,J.F2,e)}onEscapeKeyDown(e){const{cellCtrl:t,beans:i}=this;t.editing&&i.editSvc?.stopRowOrCellEdit(t,!0)}processCharacter(e){if(e.target!==this.eGui||this.cellCtrl.editing)return;const o=e.key;o===J.SPACE?this.onSpaceKeyDown(e):this.beans.editSvc?.startRowOrCellEdit(this.cellCtrl,o,e)&&e.preventDefault()}onSpaceKeyDown(e){const{gos:t}=this.beans;!this.cellCtrl.editing&&Jr(t)&&this.beans.selectionSvc?.handleSelectionEvent(e,this.rowNode,"spaceKey"),e.preventDefault()}destroy(){super.destroy()}},n0e=class extends oe{constructor(e,t,i){super(),this.cellCtrl=e,this.column=i,this.beans=t}onMouseEvent(e,t){if(!mr(t))switch(e){case"click":this.onCellClicked(t);break;case"mousedown":case"touchstart":this.onMouseDown(t);break;case"dblclick":this.onCellDoubleClicked(t);break;case"mouseout":this.onMouseOut(t);break;case"mouseover":this.onMouseOver(t);break}}onCellClicked(e){if(this.beans.touchSvc?.handleCellDoubleClick(this,e))return;const{eventSvc:t,rangeSvc:i,gos:o,editSvc:s}=this.beans,n=e.ctrlKey||e.metaKey;i&&n&&i.getCellRangeCount(this.cellCtrl.cellPosition)>1&&i.intersectLastRange(!0);const r=this.cellCtrl.createEvent(e,"cellClicked");t.dispatchEvent(r);const a=this.column.getColDef();a.onCellClicked&&window.setTimeout(()=>{this.beans.frameworkOverrides.wrapOutgoing(()=>{a.onCellClicked(r)})},0),(o.get("singleClickEdit")||a.singleClickEdit)&&!o.get("suppressClickEdit")&&!(e.shiftKey&&i?.getCellRanges().length!=0)&&s?.startRowOrCellEdit(this.cellCtrl,void 0,e)}onCellDoubleClicked(e){const{column:t,beans:i,cellCtrl:o}=this,{eventSvc:s,frameworkOverrides:n,gos:r,editSvc:a}=i,l=t.getColDef(),c=o.createEvent(e,"cellDoubleClicked");s.dispatchEvent(c),typeof l.onCellDoubleClicked=="function"&&window.setTimeout(()=>{n.wrapOutgoing(()=>{l.onCellDoubleClicked(c)})},0),!r.get("singleClickEdit")&&!r.get("suppressClickEdit")&&a?.startRowOrCellEdit(o,null,e)}onMouseDown(e){const{ctrlKey:t,metaKey:i,shiftKey:o}=e,s=e.target,{cellCtrl:n,beans:r}=this,{eventSvc:a,rangeSvc:l,rowNumbersSvc:c,focusSvc:d,gos:u}=r;if(this.isRightClickInExistingRange(e))return;const h=l&&!l.isEmpty(),p=this.containsWidget(s),{cellPosition:g}=n,f=Pm(g.column);if(c&&f&&!c.handleMouseDownOnCell(g,e)){l&&e.preventDefault(),e.stopImmediatePropagation();return}if(!o||!h){const y=u.get("enableCellTextSelection")&&e.defaultPrevented,C=(Hx()||y)&&!n.editing&&!ZT(s)&&!p;n.focusCell(C)}if(o&&h&&!d.isCellFocused(g)){e.preventDefault();const v=d.getFocusedCell();if(v){const{column:y,rowIndex:C,rowPinned:S}=v,D=r.rowRenderer.getRowByPosition({rowIndex:C,rowPinned:S})?.getCellCtrl(y);D?.editing&&D.stopEditing(),d.setFocusedCell({column:y,rowIndex:C,rowPinned:S,forceBrowserFocus:!0,preventScrollOnBrowserFocus:!0})}}if(!p){if(l)if(f&&e.preventDefault(),o)l.extendLatestRangeToCell(g);else{const v=t||i;l.setRangeToCell(g,v)}a.dispatchEvent(this.cellCtrl.createEvent(e,"cellMouseDown"))}}isRightClickInExistingRange(e){const{rangeSvc:t}=this.beans;if(t){const i=t.isCellInAnyRange(this.cellCtrl.cellPosition),o=e.button===2||e.ctrlKey&&this.beans.gos.get("allowContextMenuWithControlKey");if(i&&o)return!0}return!1}containsWidget(e){return lu(e,"ag-selection-checkbox",3)||lu(e,"ag-drag-handle",3)}onMouseOut(e){if(this.mouseStayingInsideCell(e))return;const{eventSvc:t,colHover:i}=this.beans;t.dispatchEvent(this.cellCtrl.createEvent(e,"cellMouseOut")),i?.clearMouseOver()}onMouseOver(e){if(this.mouseStayingInsideCell(e))return;const{eventSvc:t,colHover:i}=this.beans;t.dispatchEvent(this.cellCtrl.createEvent(e,"cellMouseOver")),i?.setMouseOver([this.column])}mouseStayingInsideCell(e){if(!e.target||!e.relatedTarget)return!1;const t=this.cellCtrl.eGui,i=t.contains(e.target),o=t.contains(e.relatedTarget);return i&&o}destroy(){super.destroy()}},r0e=class extends oe{constructor(e,t){super(),this.cellCtrl=e,this.beans=t,this.column=e.column,this.rowNode=e.rowNode}setupRowSpan(){this.rowSpan=this.column.getRowSpan(this.rowNode),this.addManagedListeners(this.beans.eventSvc,{newColumnsLoaded:()=>this.onNewColumnsLoaded()})}init(){this.eSetLeft=this.cellCtrl.getRootElement(),this.eContent=this.cellCtrl.eGui;const e=this.cellCtrl.getCellSpan();e||(this.setupColSpan(),this.setupRowSpan()),this.onLeftChanged(),this.onWidthChanged(),e||this._legacyApplyRowSpan(),e&&(this.refreshSpanHeight(e),this.addManagedListeners(this.beans.eventSvc,{paginationChanged:this.refreshSpanHeight.bind(this,e),recalculateRowBounds:this.refreshSpanHeight.bind(this,e)}))}refreshSpanHeight(e){const t=e.getCellHeight();t!=null&&(this.eContent.style.height=`${t}px`)}onNewColumnsLoaded(){const e=this.column.getRowSpan(this.rowNode);this.rowSpan!==e&&(this.rowSpan=e,this._legacyApplyRowSpan(!0))}onDisplayColumnsChanged(){const e=this.getColSpanningList();yr(this.colsSpanning,e)||(this.colsSpanning=e,this.onWidthChanged(),this.onLeftChanged())}setupColSpan(){this.column.getColDef().colSpan!=null&&(this.colsSpanning=this.getColSpanningList(),this.addManagedListeners(this.beans.eventSvc,{displayedColumnsChanged:this.onDisplayColumnsChanged.bind(this),displayedColumnsWidthChanged:this.onWidthChanged.bind(this)}))}onWidthChanged(){if(!this.eContent)return;const e=this.getCellWidth();this.eContent.style.width=`${e}px`}getCellWidth(){return this.colsSpanning?this.colsSpanning.reduce((e,t)=>e+t.getActualWidth(),0):this.column.getActualWidth()}getColSpanningList(){const{column:e,rowNode:t}=this,i=e.getColSpan(t),o=[];if(i===1)o.push(e);else{let s=e;const n=e.getPinned();for(let r=0;s&&r<i&&(o.push(s),s=this.beans.visibleCols.getColAfter(s),!(!s||wt(s)||n!==s.getPinned()));r++);}return o}onLeftChanged(){if(!this.eSetLeft)return;const e=this.modifyLeftForPrintLayout(this.getCellLeft());this.eSetLeft.style.left=e+"px"}getCellLeft(){let e;return this.beans.gos.get("enableRtl")&&this.colsSpanning?e=et(this.colsSpanning):e=this.column,e.getLeft()}modifyLeftForPrintLayout(e){if(!this.cellCtrl.printLayout||this.column.getPinned()==="left")return e;const{visibleCols:t}=this.beans,i=t.getColsLeftWidth();if(this.column.getPinned()==="right"){const o=t.bodyWidth;return i+o+(e||0)}return i+(e||0)}_legacyApplyRowSpan(e){if(this.rowSpan===1&&!e)return;const i=Vc(this.beans)*this.rowSpan;this.eContent.style.height=`${i}px`,this.eContent.style.zIndex="1"}destroy(){super.destroy()}},a0e="ag-cell",l0e="ag-cell-auto-height",c0e="ag-cell-normal-height",d0e="ag-cell-focus",u0e="ag-cell-first-right-pinned",h0e="ag-cell-last-left-pinned",p0e="ag-cell-not-inline-editing",g0e="ag-cell-wrap-text",u0="cellCtrl";function Y6(e,t){return v6(e,t,u0)}var f0e=0,Qb=class extends oe{constructor(e,t,i,o){super(),this.column=e,this.rowNode=t,this.rowCtrl=o,this.rangeFeature=void 0,this.positionFeature=void 0,this.customStyleFeature=void 0,this.tooltipFeature=void 0,this.mouseListener=void 0,this.keyboardListener=void 0,this.suppressRefreshCell=!1,this.onCompAttachedFuncs=[],this.onEditorAttachedFuncs=[],this.focusEventWhileNotReady=null,this.hasBeenFocused=!1,this.beans=i;const{colId:s,colIdSanitised:n}=e;this.instanceId=s+"-"+f0e++,this.colIdSanitised=n,this.createCellPosition(),this.updateAndFormatValue(!1)}addFeatures(){const{beans:e}=this;this.positionFeature=new r0e(this,e),this.customStyleFeature=e.cellStyles?.createCellCustomStyleFeature(this,e),this.mouseListener=new n0e(this,e,this.column),this.keyboardListener=new s0e(this,e,this.rowNode,this.rowCtrl),this.column.isTooltipEnabled()&&this.enableTooltipFeature();const{rangeSvc:t}=e;t&&wu(e.gos)&&(this.rangeFeature=t.createCellRangeFeature(e,this))}isCellSpanning(){return!1}getCellSpan(){}removeFeatures(){const e=this.beans.context;this.positionFeature=e.destroyBean(this.positionFeature),this.customStyleFeature=e.destroyBean(this.customStyleFeature),this.mouseListener=e.destroyBean(this.mouseListener),this.keyboardListener=e.destroyBean(this.keyboardListener),this.rangeFeature=e.destroyBean(this.rangeFeature),this.disableTooltipFeature()}enableTooltipFeature(e,t){this.tooltipFeature=this.beans.tooltipSvc?.enableCellTooltipFeature(this,e,t)}disableTooltipFeature(){this.tooltipFeature=this.beans.context.destroyBean(this.tooltipFeature)}setComp(e,t,i,o,s,n,r){this.comp=e,this.eGui=t,this.printLayout=s,r??(r=this),this.addDomData(r),this.addFeatures(),r.addDestroyFunc(()=>this.removeFeatures()),this.onSuppressCellFocusChanged(this.beans.gos.get("suppressCellFocus")),this.setupFocus(),this.applyStaticCssClasses(),this.setWrapText(),this.onFirstRightPinnedChanged(),this.onLastLeftPinnedChanged(),this.onColumnHover(),this.setupControlComps(),this.setupAutoHeight(o,r),this.refreshFirstAndLastStyles(),this.refreshAriaColIndex(),this.positionFeature?.init(),this.customStyleFeature?.setComp(e),this.tooltipFeature?.refreshTooltip(),this.keyboardListener?.init(),this.rangeFeature?.setComp(e),n&&this.isCellEditable()?this.beans.editSvc?.startEditing(this):this.showValue(!1,!0),this.onCompAttachedFuncs.length&&(this.onCompAttachedFuncs.forEach(a=>a()),this.onCompAttachedFuncs=[])}setupAutoHeight(e,t){this.isAutoHeight=this.beans.rowAutoHeight?.setupCellAutoHeight(this,e,t)??!1}getCellAriaRole(){return this.column.getColDef().cellAriaRole??"gridcell"}isCellRenderer(){const e=this.column.getColDef();return e.cellRenderer!=null||e.cellRendererSelector!=null}getValueToDisplay(){return this.valueFormatted??this.value}showValue(e,t){const{beans:i,column:o,rowNode:s,rangeFeature:n}=this,{userCompFactory:r}=i,a=this.getValueToDisplay();let l;const c=s.stub&&s.groupData?.[o.getId()]==null,d=o.getColDef();if(c||this.isCellRenderer()){const u=this.createCellRendererParams();!c||Pm(o)?l=xp(r,d,u):l=ECe(r,d,u)}if(!l&&!c&&i.findSvc?.isMatch(s,o)){const u=this.createCellRendererParams();l=xp(r,{...o.getColDef(),cellRenderer:"agFindCellRenderer"},u)}this.comp.setRenderDetails(l,a,e),!t&&n&&xr(i,()=>n?.refreshHandle())}setupControlComps(){const e=this.column.getColDef();this.includeSelection=this.isIncludeControl(this.isCheckboxSelection(e)),this.includeRowDrag=this.isIncludeControl(e.rowDrag),this.includeDndSource=this.isIncludeControl(e.dndSource),this.comp.setIncludeSelection(this.includeSelection),this.comp.setIncludeDndSource(this.includeDndSource),this.comp.setIncludeRowDrag(this.includeRowDrag)}isForceWrapper(){return this.beans.gos.get("enableCellTextSelection")||this.column.isAutoHeight()}isIncludeControl(e){return this.rowNode.rowPinned!=null?!1:typeof e=="function"||e===!0}isCheckboxSelection(e){const{rowSelection:t,groupDisplayType:i}=this.beans.gridOptions,o=Lm(t),s=bl(this.column);return i==="custom"&&o!=="selectionColumn"&&s?!1:e.checkboxSelection||s&&typeof t=="object"&&du(t)}refreshShouldDestroy(){const e=this.column.getColDef(),t=this.includeSelection!=this.isIncludeControl(this.isCheckboxSelection(e)),i=this.includeRowDrag!=this.isIncludeControl(e.rowDrag),o=this.includeDndSource!=this.isIncludeControl(e.dndSource),s=this.isAutoHeight!=this.column.isAutoHeight();return t||i||o||s}onPopupEditorClosed(){this.editing&&this.beans.editSvc?.stopRowOrCellEdit(this)}stopEditing(e=!1){return this.beans.editSvc?.stopEditing(this,e)??!1}createCellRendererParams(){const{value:e,valueFormatted:t,column:i,rowNode:o,comp:s,eGui:n,beans:{valueSvc:r,gos:a}}=this;return Le(a,{value:e,valueFormatted:t,getValue:()=>r.getValueForDisplay(i,o),setValue:c=>r.setValue(o,i,c),formatValue:this.formatValue.bind(this),data:o.data,node:o,pinned:i.getPinned(),colDef:i.getColDef(),column:i,refreshCell:this.refreshCell.bind(this),eGridCell:n,eParentOfValue:s.getParentOfValue(),registerRowDragger:(c,d,u,h)=>this.registerRowDragger(c,d,h),setTooltip:(c,d)=>{a.assertModuleRegistered("Tooltip",3),this.tooltipFeature&&this.disableTooltipFeature(),this.enableTooltipFeature(c,d),this.tooltipFeature?.refreshTooltip()}})}onCellChanged(e){e.column===this.column&&this.refreshCell({})}refreshOrDestroyCell(e){this.refreshShouldDestroy()?this.rowCtrl?.recreateCell(this):this.refreshCell(e)}refreshCell(e){if(this.suppressRefreshCell||this.editing)return;const t=this.column.getColDef(),i=e!=null&&!!e.newData,o=e!=null&&!!e.suppressFlash,s=t.field==null&&t.valueGetter==null&&t.showRowGroup==null,n=e&&e.forceRefresh||s||i,r=!!this.comp,a=this.updateAndFormatValue(r),l=n||a;if(r){if(l){this.showValue(i,!1);const c=this.beans.filterManager?.isSuppressFlashingCellsBecauseFiltering();!o&&!c&&t.enableCellChangeFlash&&this.beans.cellFlashSvc?.flashCell(this),this.customStyleFeature?.applyUserStyles(),this.customStyleFeature?.applyClassesFromColDef()}this.tooltipFeature?.refreshTooltip(),this.customStyleFeature?.applyCellClassRules()}}isCellEditable(){return this.column.isCellEditable(this.rowNode)}formatValue(e){return this.callValueFormatter(e)??e}callValueFormatter(e){return this.beans.valueSvc.formatValue(this.column,this.rowNode,e)}updateAndFormatValue(e){const t=this.value,i=this.valueFormatted;return this.value=this.beans.valueSvc.getValueForDisplay(this.column,this.rowNode),this.valueFormatted=this.callValueFormatter(this.value),e?!this.valuesAreEqual(t,this.value)||this.valueFormatted!=i:!0}valuesAreEqual(e,t){const i=this.column.getColDef();return i.equals?i.equals(e,t):e===t}addDomData(e){const t=this.eGui;bp(this.beans.gos,t,u0,this),e.addDestroyFunc(()=>bp(this.beans.gos,t,u0,null))}createEvent(e,t){const{rowNode:i,column:o,value:s,beans:n}=this;return Le(n.gos,{type:t,node:i,data:i.data,value:s,column:o,colDef:o.getColDef(),rowPinned:i.rowPinned,event:e,rowIndex:i.rowIndex})}processCharacter(e){this.keyboardListener?.processCharacter(e)}onKeyDown(e){this.keyboardListener?.onKeyDown(e)}onMouseEvent(e,t){this.mouseListener?.onMouseEvent(e,t)}getColSpanningList(){return this.positionFeature.getColSpanningList()}onLeftChanged(){this.comp&&this.positionFeature?.onLeftChanged()}onDisplayedColumnsChanged(){this.eGui&&(this.refreshAriaColIndex(),this.refreshFirstAndLastStyles())}refreshFirstAndLastStyles(){const{comp:e,column:t,beans:i}=this;$6(e,t,i.visibleCols)}refreshAriaColIndex(){const e=this.beans.visibleCols.getAriaColIndex(this.column);V9(this.eGui,e)}onWidthChanged(){return this.positionFeature?.onWidthChanged()}getRowPosition(){const{rowIndex:e,rowPinned:t}=this.cellPosition;return{rowIndex:e,rowPinned:t}}updateRangeBordersIfRangeCount(){this.comp&&this.rangeFeature?.updateRangeBordersIfRangeCount()}onCellSelectionChanged(){this.comp&&this.rangeFeature?.onCellSelectionChanged()}isRangeSelectionEnabled(){return this.rangeFeature!=null}focusCell(e=!1){this.beans.focusSvc.setFocusedCell({...this.getFocusedCellPosition(),forceBrowserFocus:e})}restoreFocus(e=!1){if(!this.comp||this.editing||!this.isCellFocused()||!this.beans.focusSvc.shouldTakeFocus())return;const t=()=>{if(!this.isAlive())return;const i=this.comp.getFocusableElement();this.isCellFocused()&&i.focus({preventScroll:!0})};if(e){setTimeout(t,0);return}t()}onRowIndexChanged(){this.createCellPosition(),this.onCellFocused(),this.restoreFocus(),this.rangeFeature?.onCellSelectionChanged()}onSuppressCellFocusChanged(e){const t=this.eGui;t&&(Pm(this.column)&&(e=!0),Jh(t,"tabindex",e?void 0:-1))}onFirstRightPinnedChanged(){if(!this.comp)return;const e=this.column.isFirstRightPinned();this.comp.addOrRemoveCssClass(u0e,e)}onLastLeftPinnedChanged(){if(!this.comp)return;const e=this.column.isLastLeftPinned();this.comp.addOrRemoveCssClass(h0e,e)}checkCellFocused(){return this.beans.focusSvc.isCellFocused(this.cellPosition)}isCellFocused(){const e=this.checkCellFocused();return this.hasBeenFocused||(this.hasBeenFocused=e),e}setupFocus(){this.restoreFocus(!0),this.onCellFocused(this.focusEventWhileNotReady??void 0)}onCellFocused(e){const{beans:t}=this;if(hL(t))return;if(!this.comp){e&&(this.focusEventWhileNotReady=e);return}const i=this.isCellFocused();if(this.comp.addOrRemoveCssClass(d0e,i),i&&e&&e.forceBrowserFocus){let s=this.comp.getFocusableElement();if(this.editing){const n=hu(s,null,!0);n.length&&(s=n[0])}s.focus({preventScroll:!!e.preventScrollOnBrowserFocus})}const o=t.gos.get("editType")==="fullRow";!i&&!o&&this.editing&&t.editSvc?.stopRowOrCellEdit(this),i&&this.rowCtrl.announceDescription()}createCellPosition(){const{rowIndex:e,rowPinned:t}=this.rowNode;this.cellPosition={rowIndex:e,rowPinned:ks(t),column:this.column}}setInlineEditingCss(){this.beans.editSvc?.setInlineEditingCss(this.rowCtrl)}applyStaticCssClasses(){const{comp:e}=this;e.addOrRemoveCssClass(a0e,!0),e.addOrRemoveCssClass(p0e,!0);const t=this.column.isAutoHeight()==!0;e.addOrRemoveCssClass(l0e,t),e.addOrRemoveCssClass(c0e,!t)}onColumnHover(){this.beans.colHover?.onCellColumnHover(this.column,this.comp)}onColDefChanged(){this.comp&&(this.column.isTooltipEnabled()?(this.disableTooltipFeature(),this.enableTooltipFeature()):this.disableTooltipFeature(),this.setWrapText(),this.editing?this.beans.editSvc?.handleColDefChanged(this):this.refreshOrDestroyCell({forceRefresh:!0,suppressFlash:!0}))}setWrapText(){const e=this.column.getColDef().wrapText==!0;this.comp.addOrRemoveCssClass(g0e,e)}dispatchCellContextMenuEvent(e){const t=this.column.getColDef(),i=this.createEvent(e,"cellContextMenu"),{beans:o}=this;o.eventSvc.dispatchEvent(i),t.onCellContextMenu&&window.setTimeout(()=>{o.frameworkOverrides.wrapOutgoing(()=>{t.onCellContextMenu(i)})},0)}getCellRenderer(){return this.comp?.getCellRenderer()??null}destroy(){this.onCompAttachedFuncs=[],this.onEditorAttachedFuncs=[],this.isCellFocused()&&this.hasBrowserFocus()&&this.beans.focusSvc.attemptToRecoverFocus(),super.destroy()}hasBrowserFocus(){return this.eGui?.contains(Tt(this.beans))??!1}createSelectionCheckbox(){const e=this.beans.selectionSvc?.createCheckboxSelectionComponent();if(e)return this.beans.context.createBean(e),e.init({rowNode:this.rowNode,column:this.column}),e}createDndSource(){const e=this.beans.registry.createDynamicBean("dndSourceComp",!1,this.rowNode,this.column,this.eGui);return e&&this.beans.context.createBean(e),e}registerRowDragger(e,t,i){if(this.customRowDragComp){this.customRowDragComp.setDragElement(e,t);return}const o=this.createRowDragComp(e,t,i);o&&(this.customRowDragComp=o,this.addDestroyFunc(()=>{this.beans.context.destroyBean(o),this.customRowDragComp=null}))}createRowDragComp(e,t,i){const o=this.beans.rowDragSvc?.createRowDragCompForCell(this.rowNode,this.column,()=>this.value,e,t,i);if(o)return this.beans.context.createBean(o),o}cellEditorAttached(){this.onEditorAttachedFuncs.forEach(e=>e()),this.onEditorAttachedFuncs=[]}setFocusedCellPosition(e){}getFocusedCellPosition(){return this.cellPosition}refreshAriaRowIndex(){}getRootElement(){return this.eGui}},X6="__ag_grid_instance";function Z6(e,t){t[X6]=e.gridInstanceId}function Fm(e,t){return m0e(e,t.target)}function m0e(e,t){let i=t;for(;i;){const o=i[X6];if(Ce(o))return o===e.gridInstanceId;i=i.parentElement}return!1}function y0e(e,t){return Y6(e,t.target)?.getFocusedCellPosition()??null}var Zx=(e=>(e[e.ToolPanel=0]="ToolPanel",e[e.HeaderCell=1]="HeaderCell",e[e.RowDrag=2]="RowDrag",e[e.ChartPanel=3]="ChartPanel",e[e.AdvancedFilterBuilder=4]="AdvancedFilterBuilder",e))(Zx||{}),v0e=class extends oe{constructor(){super(...arguments),this.beanName="dragAndDrop",this.dragSourceAndParamsList=[],this.dropTargets=[]}wireBeans(e){this.ctrlsSvc=e.ctrlsSvc,this.dragSvc=e.dragSvc,this.environment=e.environment,this.userCompFactory=e.userCompFactory}addDragSource(e,t=!1){const i={eElement:e.eElement,dragStartPixels:e.dragStartPixels,onDragStart:this.onDragStart.bind(this,e),onDragStop:this.onDragStop.bind(this),onDragging:this.onDragging.bind(this),onDragCancel:this.onDragCancel.bind(this),includeTouch:t};this.dragSourceAndParamsList.push({params:i,dragSource:e}),this.dragSvc.addDragSource(i)}getDragAndDropImageComponent(){const{dragAndDropImageComp:e}=this;return!e||!e.comp?null:e.comp}removeDragSource(e){const{dragSourceAndParamsList:t,dragSvc:i}=this,o=t.find(s=>s.dragSource===e);o&&(i.removeDragSource(o.params),As(t,o))}destroy(){const{dragSourceAndParamsList:e,dragSvc:t,dropTargets:i}=this;e.forEach(o=>t.removeDragSource(o.params)),e.length=0,i.length=0,this.clearDragAndDropProperties(),super.destroy()}nudge(){this.dragging&&this.onDragging(this.eventLastTime,!0)}onDragStart(e,t){this.dragging=!0,this.dragSource=e,this.eventLastTime=t,this.dragItem=e.getDragItem(),e.onDragStarted?.(),this.createDragAndDropImageComponent()}onDragStop(e){this.dragSource?.onDragStopped?.();const{lastDropTarget:t}=this;if(t?.onDragStop){const i=this.createDropTargetEvent(t,e,null,null,!1);t.onDragStop(i)}this.clearDragAndDropProperties()}onDragCancel(){const{dragSource:e,lastDropTarget:t}=this;e?.onDragCancelled?.(),t?.onDragCancel&&t.onDragCancel(this.createDropTargetEvent(t,this.eventLastTime,null,null,!1)),this.clearDragAndDropProperties()}clearDragAndDropProperties(){this.eventLastTime=null,this.dragging=!1,this.lastDropTarget=void 0,this.dragItem=null,this.dragSource=null,this.removeDragAndDropImageComponent()}onDragging(e,t=!1){const i=this.getHorizontalDirection(e),o=this.getVerticalDirection(e);this.eventLastTime=e,this.positionDragAndDropImageComp(e);const s=this.dropTargets.filter(d=>this.isMouseOnDropTarget(e,d)),n=this.findCurrentDropTarget(e,s),{lastDropTarget:r,dragSource:a,dragAndDropImageComp:l,dragItem:c}=this;if(n!==r){if(this.leaveLastTargetIfExists(e,i,o,t),r!==null&&n===null&&a?.onGridExit?.(c),r===null&&n!==null&&a?.onGridEnter?.(c),this.enterDragTargetIfExists(n,e,i,o,t),n&&l){const{comp:d,promise:u}=l;d?d.setIcon(n.getIconName?n.getIconName():null,!1):u.then(h=>{h&&h.setIcon(n.getIconName?n.getIconName():null,!1)})}this.lastDropTarget=n}else if(n&&n.onDragging){const d=this.createDropTargetEvent(n,e,i,o,t);n.onDragging(d)}}getAllContainersFromDropTarget(e){const t=e.getSecondaryContainers?e.getSecondaryContainers():null,i=[[e.getContainer()]];return t?i.concat(t):i}isMouseOnDropTarget(e,t){const i=this.getAllContainersFromDropTarget(t);let o=!1;const s=(a,l)=>{for(const c of l){const{width:d,height:u,left:h,right:p,top:g,bottom:f}=c.getBoundingClientRect();if(d===0||u===0)return!1;const v=a.clientX>=h&&a.clientX<p,y=a.clientY>=g&&a.clientY<f;if(!v||!y)return!1}return!0};for(const a of i)if(s(e,a)){o=!0;break}const{eElement:n,type:r}=this.dragSource;return t.targetContainsSource&&!t.getContainer().contains(n)?!1:o&&t.isInterestedIn(r,n)}findCurrentDropTarget(e,t){const i=t.length;if(i===0)return null;if(i===1)return t[0];const s=Cp(this.beans).elementsFromPoint(e.clientX,e.clientY);for(const n of s)for(const r of t)if(this.getAllContainersFromDropTarget(r).flatMap(l=>l).indexOf(n)!==-1)return r;return null}enterDragTargetIfExists(e,t,i,o,s){if(e&&e.onDragEnter){const n=this.createDropTargetEvent(e,t,i,o,s);e.onDragEnter(n)}}leaveLastTargetIfExists(e,t,i,o){const{lastDropTarget:s}=this;if(!s)return;if(s.onDragLeave){const r=this.createDropTargetEvent(s,e,t,i,o);s.onDragLeave(r)}const n=this.getDragAndDropImageComponent();n&&n.setIcon(null,!1)}addDropTarget(e){this.dropTargets.push(e)}removeDropTarget(e){this.dropTargets=this.dropTargets.filter(t=>t.getContainer()!==e.getContainer())}hasExternalDropZones(){return this.dropTargets.some(e=>e.external)}findExternalZone(e){return this.dropTargets.filter(i=>i.external).find(i=>i.getContainer()===e.getContainer())||null}isDropZoneWithinThisGrid(e){const i=this.ctrlsSvc.getGridBodyCtrl().eGridBody,{dropZoneTarget:o}=e;return i.contains(o)}getHorizontalDirection(e){const t=this.eventLastTime?.clientX,i=e.clientX;return t===i?null:t>i?"left":"right"}getVerticalDirection(e){const t=this.eventLastTime?.clientY,i=e.clientY;return t===i?null:t>i?"up":"down"}createDropTargetEvent(e,t,i,o,s){const n=e.getContainer(),r=n.getBoundingClientRect(),{dragItem:a,dragSource:l,gos:c}=this,d=t.clientX-r.left,u=t.clientY-r.top;return Le(c,{event:t,x:d,y:u,vDirection:o,hDirection:i,dragSource:l,fromNudge:s,dragItem:a,dropZoneTarget:n})}positionDragAndDropImageComp(e){const t=this.getDragAndDropImageComponent();t&&xbe(t.getGui(),e,this.beans)}removeDragAndDropImageComponent(){const{dragAndDropImageComp:e}=this;if(e){const{comp:t}=e;if(t){const i=t.getGui();this.dragAndDropImageParent?.removeChild(i),this.destroyBean(t)}}this.dragAndDropImageComp=null}createDragAndDropImageComponent(){const{dragSource:e,gos:t,userCompFactory:i}=this;if(!e)return;const o=wCe(i,Le(t,{dragSource:e}));if(!o)return;const s=o.newAgStackInstance();this.dragAndDropImageComp={promise:s},s.then(n=>{!n||!this.isAlive()||(this.processDragAndDropImageComponent(n),this.dragAndDropImageComp.comp=n)})}processDragAndDropImageComponent(e){const{dragSource:t,environment:i}=this;if(!t)return;const o=e.getGui();o.style.setProperty("position","absolute"),o.style.setProperty("z-index","9999"),Z6(this.gos,o),i.applyThemeClasses(o),e.setIcon(null,!1);let{dragItemName:s}=t;typeof s=="function"&&(s=s()),e.setLabel(s||""),o.style.top="20px",o.style.left="20px";const n=iL(this.beans);this.dragAndDropImageParent=n,n?n.appendChild(o):he(54)}registerGridDropTarget(e,t){const i={getContainer:e,isInterestedIn:o=>o===1||o===0,getIconName:()=>"notAllowed"};this.addDropTarget(i),t.addDestroyFunc(()=>this.removeDropTarget(i))}},b0e=class{constructor(e){this.tickingInterval=null,this.onScrollCallback=null,this.scrollContainer=e.scrollContainer,this.scrollHorizontally=e.scrollAxis.indexOf("x")!==-1,this.scrollVertically=e.scrollAxis.indexOf("y")!==-1,this.scrollByTick=e.scrollByTick!=null?e.scrollByTick:20,e.onScrollCallback&&(this.onScrollCallback=e.onScrollCallback),this.scrollVertically&&(this.getVerticalPosition=e.getVerticalPosition,this.setVerticalPosition=e.setVerticalPosition),this.scrollHorizontally&&(this.getHorizontalPosition=e.getHorizontalPosition,this.setHorizontalPosition=e.setHorizontalPosition),this.shouldSkipVerticalScroll=e.shouldSkipVerticalScroll||(()=>!1),this.shouldSkipHorizontalScroll=e.shouldSkipHorizontalScroll||(()=>!1)}check(e,t=!1){const i=t||this.shouldSkipVerticalScroll();if(i&&this.shouldSkipHorizontalScroll())return;const o=this.scrollContainer.getBoundingClientRect(),s=this.scrollByTick;this.tickLeft=e.clientX<o.left+s,this.tickRight=e.clientX>o.right-s,this.tickUp=e.clientY<o.top+s&&!i,this.tickDown=e.clientY>o.bottom-s&&!i,this.tickLeft||this.tickRight||this.tickUp||this.tickDown?this.ensureTickingStarted():this.ensureCleared()}ensureTickingStarted(){this.tickingInterval===null&&(this.tickingInterval=window.setInterval(this.doTick.bind(this),100),this.tickCount=0)}doTick(){this.tickCount++;const e=this.tickCount>20?200:this.tickCount>10?80:40;if(this.scrollVertically){const t=this.getVerticalPosition();this.tickUp&&this.setVerticalPosition(t-e),this.tickDown&&this.setVerticalPosition(t+e)}if(this.scrollHorizontally){const t=this.getHorizontalPosition();this.tickLeft&&this.setHorizontalPosition(t-e),this.tickRight&&this.setHorizontalPosition(t+e)}this.onScrollCallback&&this.onScrollCallback()}ensureCleared(){this.tickingInterval&&(window.clearInterval(this.tickingInterval),this.tickingInterval=null)}};function C0e(e,t){const i=e.column===t.column,o=e.rowPinned===t.rowPinned,s=e.rowIndex===t.rowIndex;return i&&o&&s}function S0e(e,t){switch(e.rowPinned){case"top":if(t.rowPinned!=="top")return!0;break;case"bottom":if(t.rowPinned!=="bottom")return!1;break;default:if(Ce(t.rowPinned))return t.rowPinned!=="top";break}return e.rowIndex<t.rowIndex}function x0e(e){let t=0,i;const{pinnedRowModel:o,rowModel:s,pageBounds:n}=e;return o?.getPinnedTopRowCount()?i="top":s.getRowCount()?(i=null,t=n.getFirstRow()):o?.getPinnedBottomRowCount()&&(i="bottom"),i===void 0?null:{rowIndex:t,rowPinned:i}}function w0e(e){let t,i=null;const{pinnedRowModel:o,pageBounds:s}=e,n=o?.getPinnedBottomRowCount(),r=o?.getPinnedTopRowCount();return n?(i="bottom",t=n-1):e.rowModel.getRowCount()?(i=null,t=s.getLastRow()):r&&(i="top",t=r-1),t===void 0?null:{rowIndex:t,rowPinned:i}}function pL(e,t){switch(t.rowPinned){case"top":return e.pinnedRowModel?.getPinnedTopRow(t.rowIndex);case"bottom":return e.pinnedRowModel?.getPinnedBottomRow(t.rowIndex);default:return e.rowModel.getRow(t.rowIndex)}}function mb(e,t){const i=e.spannedRowRenderer?.getCellByPosition(t);if(i)return i;const o=e.rowRenderer.getRowByPosition(t);return o?o.getCellCtrl(t.column):null}function h0(e,t){const{rowIndex:i,rowPinned:o}=t,{pageBounds:s,pinnedRowModel:n,rowModel:r}=e;if(i===0)return o==="top"?null:o==="bottom"&&r.isRowsToRender()?{rowIndex:s.getLastRow(),rowPinned:null}:n?.isRowsToRender("top")?{rowIndex:n.getPinnedTopRowCount()-1,rowPinned:"top"}:null;const a=o?void 0:r.getRow(i);return q6(e,a,!0)??{rowIndex:i-1,rowPinned:o}}function _F(e,t){const{rowIndex:i,rowPinned:o}=t,{pageBounds:s,pinnedRowModel:n,rowModel:r}=e;if(M0e(e,t))return o==="bottom"?null:o==="top"&&r.isRowsToRender()?{rowIndex:s.getFirstRow(),rowPinned:null}:n?.isRowsToRender("bottom")?{rowIndex:0,rowPinned:"bottom"}:null;const a=o?void 0:r.getRow(i);return q6(e,a)??{rowIndex:i+1,rowPinned:o}}function q6(e,t,i){const{gos:o,rowRenderer:s}=e;if(!t?.sticky||!Ux(o))return;const n=i?s.getStickyTopRowCtrls():s.getStickyBottomRowCtrls();let r;for(let a=0;a<n.length;a++)if(n[a].rowNode.rowIndex===t.rowIndex){r=n[a+(i?-1:1)];break}return r?{rowIndex:r.rowNode.rowIndex,rowPinned:null}:void 0}function M0e(e,t){const{rowPinned:i,rowIndex:o}=t,{pinnedRowModel:s,pageBounds:n}=e;return i==="top"?(s?.getPinnedTopRowCount()??0)-1<=o:i==="bottom"?(s?.getPinnedBottomRowCount()??0)-1<=o:n.getLastRow()<=o}function Q6(e,t,i){if(i===0)return!1;const o=Math.abs(e.clientX-t.clientX),s=Math.abs(e.clientY-t.clientY);return Math.max(o,s)<=i}var D0e=class extends oe{constructor(){super(...arguments),this.beanName="dragSvc",this.dragEndFunctions=[],this.dragSources=[]}destroy(){const{dragSources:e}=this;e.forEach(this.removeListener.bind(this)),e.length=0,super.destroy()}removeListener(e){const t=e.dragSource.eElement,i=e.mouseDownListener;if(t.removeEventListener("mousedown",i),e.touchEnabled){const o=e.touchStartListener;t.removeEventListener("touchstart",o,{passive:!0})}}removeDragSource(e){const{dragSources:t}=this,i=t.find(o=>o.dragSource===e);i&&(this.removeListener(i),As(t,i))}addDragSource(e){const t=this.onMouseDown.bind(this,e),{eElement:i,includeTouch:o,stopPropagationForTouch:s}=e;i.addEventListener("mousedown",t);let n=null;const r=this.gos.get("suppressTouch");o&&!r&&(n=a=>{ZT(a.target)||(s&&a.stopPropagation(),this.onTouchStart(e,a))},i.addEventListener("touchstart",n,{passive:!1})),this.dragSources.push({dragSource:e,mouseDownListener:t,touchStartListener:n,touchEnabled:!!o})}onTouchStart(e,t){this.currentDragParams=e,this.dragging=!1;const i=t.touches[0];this.touchLastTime=i,this.touchStart=i;const o=l=>this.onTouchMove(l,e.eElement),s=l=>this.onTouchUp(l,e.eElement),n=l=>{l.cancelable&&l.preventDefault()},r=t.target,a=[{target:Cp(this.beans),type:"touchmove",listener:n,options:{passive:!1}},{target:r,type:"touchmove",listener:o,options:{passive:!0}},{target:r,type:"touchend",listener:s,options:{passive:!0}},{target:r,type:"touchcancel",listener:s,options:{passive:!0}}];this.addTemporaryEvents(a),e.dragStartPixels===0&&this.onCommonMove(i,this.touchStart,e.eElement)}onMouseDown(e,t){const i=t;if(e.skipMouseEvent&&e.skipMouseEvent(t)||i._alreadyProcessedByDragService||(i._alreadyProcessedByDragService=!0,t.button!==0))return;this.shouldPreventMouseEvent(t)&&t.preventDefault(),this.currentDragParams=e,this.dragging=!1,this.mouseStartEvent=t,this.startTarget=t.target;const o=c=>this.onMouseMove(c,e.eElement),s=c=>this.onMouseUp(c,e.eElement),n=c=>c.preventDefault(),r=c=>{c.key===J.ESCAPE&&this.cancelDrag(e.eElement)},a=Cp(this.beans),l=[{target:a,type:"mousemove",listener:o},{target:a,type:"mouseup",listener:s},{target:a,type:"contextmenu",listener:n},{target:a,type:"keydown",listener:r}];this.addTemporaryEvents(l),e.dragStartPixels===0&&this.onMouseMove(t,e.eElement)}addTemporaryEvents(e){e.forEach(t=>{const{target:i,type:o,listener:s,options:n}=t;i.addEventListener(o,s,n)}),this.dragEndFunctions.push(()=>{e.forEach(t=>{const{target:i,type:o,listener:s,options:n}=t;i.removeEventListener(o,s,n)})})}isEventNearStartEvent(e,t){const{dragStartPixels:i}=this.currentDragParams,o=Ce(i)?i:4;return Q6(e,t,o)}getFirstActiveTouch(e){for(let t=0;t<e.length;t++)if(e[t].identifier===this.touchStart.identifier)return e[t];return null}onCommonMove(e,t,i){if(!this.dragging){if(this.isEventNearStartEvent(e,t))return;if(this.dragging=!0,this.eventSvc.dispatchEvent({type:"dragStarted",target:i}),this.currentDragParams.onDragStart(t),!this.currentDragParams){this.dragging=!1;return}this.currentDragParams.onDragging(t)}this.currentDragParams?.onDragging(e)}onTouchMove(e,t){const i=this.getFirstActiveTouch(e.touches);i&&this.onCommonMove(i,this.touchStart,t)}onMouseMove(e,t){Hx()&&Yt(this.beans).getSelection()?.removeAllRanges(),this.shouldPreventMouseEvent(e)&&e.preventDefault(),this.onCommonMove(e,this.mouseStartEvent,t)}shouldPreventMouseEvent(e){const{gos:t}=this,i=t.get("enableCellTextSelection"),o=e.type==="mousemove",s=n=>!!n.target?.tagName.toLocaleLowerCase()?.match("^a$|textarea|input|select|button");return i&&o&&e.cancelable&&Fm(t,e)&&!s(e)}onTouchUp(e,t){let i=this.getFirstActiveTouch(e.changedTouches);i||(i=this.touchLastTime),this.onUpCommon(i,t)}onMouseUp(e,t){this.onUpCommon(e,t)}onUpCommon(e,t){this.dragging&&(this.dragging=!1,this.currentDragParams.onDragStop(e),this.eventSvc.dispatchEvent({type:"dragStopped",target:t})),this.resetDragProperties()}cancelDrag(e){this.eventSvc.dispatchEvent({type:"dragCancelled",target:e}),this.currentDragParams?.onDragCancel?.(),this.resetDragProperties()}resetDragProperties(){this.mouseStartEvent=null,this.startTarget=null,this.touchStart=null,this.touchLastTime=null,this.currentDragParams=null;const{dragEndFunctions:e}=this;e.forEach(t=>t()),e.length=0}};function J6(e,t){return e+"_"+t}function $t(e){return e instanceof eH}var eH=class extends oe{constructor(e,t,i,o){super(),this.providedColumnGroup=e,this.groupId=t,this.partId=i,this.pinned=o,this.isColumn=!1,this.displayedChildren=[],this.autoHeaderHeight=null,this.parent=null}reset(){this.parent=null,this.children=null,this.displayedChildren=null}getParent(){return this.parent}getUniqueId(){return J6(this.groupId,this.partId)}isEmptyGroup(){return this.displayedChildren.length===0}isMoving(){const e=this.getProvidedColumnGroup().getLeafColumns();return!e||e.length===0?!1:e.every(t=>t.isMoving())}checkLeft(){if(this.displayedChildren.forEach(e=>{$t(e)&&e.checkLeft()}),this.displayedChildren.length>0)if(this.gos.get("enableRtl")){const t=et(this.displayedChildren).getLeft();this.setLeft(t)}else{const e=this.displayedChildren[0].getLeft();this.setLeft(e)}else this.setLeft(null)}getLeft(){return this.left}getOldLeft(){return this.oldLeft}setLeft(e){this.oldLeft=this.left,this.left!==e&&(this.left=e,this.dispatchLocalEvent({type:"leftChanged"}))}getPinned(){return this.pinned}getGroupId(){return this.groupId}getPartId(){return this.partId}getActualWidth(){let e=0;return this.displayedChildren?.forEach(t=>{e+=t.getActualWidth()}),e}isResizable(){if(!this.displayedChildren)return!1;let e=!1;return this.displayedChildren.forEach(t=>{t.isResizable()&&(e=!0)}),e}getMinWidth(){let e=0;return this.displayedChildren.forEach(t=>{e+=t.getMinWidth()}),e}addChild(e){this.children||(this.children=[]),this.children.push(e)}getDisplayedChildren(){return this.displayedChildren}getLeafColumns(){const e=[];return this.addLeafColumns(e),e}getDisplayedLeafColumns(){const e=[];return this.addDisplayedLeafColumns(e),e}getDefinition(){return this.providedColumnGroup.getColGroupDef()}getColGroupDef(){return this.providedColumnGroup.getColGroupDef()}isPadding(){return this.providedColumnGroup.isPadding()}isExpandable(){return this.providedColumnGroup.isExpandable()}isExpanded(){return this.providedColumnGroup.isExpanded()}setExpanded(e){this.providedColumnGroup.setExpanded(e)}isAutoHeaderHeight(){return!!this.getColGroupDef()?.autoHeaderHeight}getAutoHeaderHeight(){return this.autoHeaderHeight}setAutoHeaderHeight(e){const t=e!==this.autoHeaderHeight;return this.autoHeaderHeight=e,t}addDisplayedLeafColumns(e){this.displayedChildren.forEach(t=>{ua(t)?e.push(t):$t(t)&&t.addDisplayedLeafColumns(e)})}addLeafColumns(e){this.children.forEach(t=>{ua(t)?e.push(t):$t(t)&&t.addLeafColumns(e)})}getChildren(){return this.children}getColumnGroupShow(){return this.providedColumnGroup.getColumnGroupShow()}getProvidedColumnGroup(){return this.providedColumnGroup}getPaddingLevel(){const e=this.getParent();return!this.isPadding()||!e||!e.isPadding()?0:1+e.getPaddingLevel()}calculateDisplayedColumns(){this.displayedChildren=[];let e=this;for(;e!=null&&e.isPadding();)e=e.getParent();if(!(e?e.getProvidedColumnGroup().isExpandable():!1)){this.displayedChildren=this.children,this.dispatchLocalEvent({type:"displayedChildrenChanged"});return}this.children.forEach(i=>{if($t(i)&&(!i.displayedChildren||!i.displayedChildren.length))return;switch(i.getColumnGroupShow()){case"open":e.getProvidedColumnGroup().isExpanded()&&this.displayedChildren.push(i);break;case"closed":e.getProvidedColumnGroup().isExpanded()||this.displayedChildren.push(i);break;default:this.displayedChildren.push(i);break}}),this.dispatchLocalEvent({type:"displayedChildrenChanged"})}},p0="row-group-",k0e="t-",I0e="b-",A0e=0,lh=class{constructor(e){this.master=!1,this.detail=void 0,this.rowIndex=null,this.key=null,this.sourceRowIndex=-1,this.childrenMapped={},this.treeNode=null,this.treeNodeFlags=0,this.displayed=!1,this.rowTop=null,this.oldRowTop=null,this.selectable=!0,this.__objectId=A0e++,this.alreadyRendered=!1,this.highlighted=null,this.hovered=!1,this.__selected=!1,this.beans=e}setData(e){this.setDataCommon(e,!1)}updateData(e){this.setDataCommon(e,!0)}setDataCommon(e,t){const{valueCache:i,selectionSvc:o,eventSvc:s}=this.beans,n=this.data;this.data=e,i?.onDataChanged(),this.updateDataOnDetailNode(),o?.updateRowSelectable(this),this.resetQuickFilterAggregateText();const r=this.createDataChangedEvent(e,n,t);this.__localEventService?.dispatchEvent(r),s.dispatchEvent({type:"rowNodeDataChanged",node:this})}updateDataOnDetailNode(){this.detailNode&&(this.detailNode.data=this.data)}createDataChangedEvent(e,t,i){return{type:"dataChanged",node:this,oldData:t,newData:e,update:i}}getRowIndexString(){return this.rowIndex==null?(We(13),null):this.rowPinned==="top"?k0e+this.rowIndex:this.rowPinned==="bottom"?I0e+this.rowIndex:this.rowIndex.toString()}setDataAndId(e,t){const{selectionSvc:i}=this.beans,o=i?.createDaemonNode?.(this),s=this.data;this.data=e,this.updateDataOnDetailNode(),this.setId(t),i&&(i.updateRowSelectable(this),i.syncInRowNode(this,o));const n=this.createDataChangedEvent(e,s,!1);this.__localEventService?.dispatchEvent(n)}setId(e){const t=Tm(this.beans.gos);if(t)if(this.data){const i=this.parent?.getRoute()??[];this.id=t({data:this.data,parentKeys:i.length>0?i:void 0,level:this.level,rowPinned:this.rowPinned}),this.id.startsWith(p0)&&We(14,{groupPrefix:p0})}else this.id=void 0;else this.id=e}setRowTop(e){this.oldRowTop=this.rowTop,this.rowTop!==e&&(this.rowTop=e,this.dispatchRowEvent("topChanged"),this.setDisplayed(e!==null))}clearRowTopAndRowIndex(){this.oldRowTop=null,this.setRowTop(null),this.setRowIndex(null)}setHovered(e){this.hovered=e}isHovered(){return this.hovered}setRowHeight(e,t=!1){this.rowHeight=e,this.rowHeightEstimated=t,this.dispatchRowEvent("heightChanged")}setExpanded(e,t,i){this.beans.expansionSvc?.setExpanded(this,e,t,i)}setDataValue(e,t,i){const{colModel:o,valueSvc:s,gos:n,selectionSvc:r}=this.beans,a=typeof e!="string"?e:o.getCol(e)??o.getColDefCol(e);if(!a)return!1;const l=s.getValueForDisplay(a,this);if(n.get("readOnlyEdit")){const{beans:{eventSvc:d},data:u,rowIndex:h,rowPinned:p}=this;return d.dispatchEvent({type:"cellEditRequest",event:null,rowIndex:h,rowPinned:p,column:a,colDef:a.colDef,data:u,node:this,oldValue:l,newValue:t,value:t,source:i}),!1}const c=s.setValue(this,a,t,i);return this.dispatchCellChangedEvent(a,t,l),r?.updateRowSelectable(this),c}updateHasChildren(){let e=this.group&&!this.footer||this.childrenAfterGroup&&this.childrenAfterGroup.length>0;const{rowChildrenSvc:t}=this.beans;t&&(e=t.getHasChildrenValue(this)),e!==this.__hasChildren&&(this.__hasChildren=!!e,this.dispatchRowEvent("hasChildrenChanged"))}hasChildren(){return this.__hasChildren==null&&this.updateHasChildren(),this.__hasChildren}dispatchCellChangedEvent(e,t,i){const o={type:"cellChanged",node:this,column:e,newValue:t,oldValue:i};this.__localEventService?.dispatchEvent(o)}resetQuickFilterAggregateText(){this.quickFilterAggregateText=null}isExpandable(){return this.beans.expansionSvc?.isExpandable(this)??!1}isSelected(){return this.footer?this.sibling.isSelected():this.__selected}depthFirstSearch(e){this.childrenAfterGroup?.forEach(t=>t.depthFirstSearch(e)),e(this)}dispatchRowEvent(e){this.__localEventService?.dispatchEvent({type:e,node:this})}setSelected(e,t=!1,i="api"){this.beans.selectionSvc?.setNodesSelected({nodes:[this],newValue:e,clearSelection:t,source:i})}isRowPinned(){return!!this.rowPinned}__addEventListener(e,t){this.__localEventService||(this.__localEventService=new ml),this.__localEventService.addEventListener(e,t)}__removeEventListener(e,t){this.removeLocalListener(e,t)}addEventListener(e,t){this.beans.validation?.checkRowEvents(e),this.__localEventService||(this.__localEventService=new ml),this.frameworkEventListenerService=this.beans.frameworkOverrides.createLocalEventListenerWrapper?.(this.frameworkEventListenerService,this.__localEventService);const i=this.frameworkEventListenerService?.wrap(t)??t;this.__localEventService.addEventListener(e,i)}removeEventListener(e,t){const i=this.frameworkEventListenerService?.unwrap(t)??t;this.removeLocalListener(e,i)}removeLocalListener(e,t){this.__localEventService?.removeEventListener(e,t),this.__localEventService?.noRegisteredListenersExist()&&(this.__localEventService=null)}isFullWidthCell(){if(he(61),this.detail)return!0;const e=this.beans.gos.getCallback("isFullWidthRow");return e?e({rowNode:this}):!1}getRoute(){if(this.level===-1)return[];if(this.key==null)return;const e=[];let t=this;for(;t&&t.key!=null;)e.push(t.key),t=t.parent;return e.reverse()}setFirstChild(e){this.firstChild!==e&&(this.firstChild=e,this.dispatchRowEvent("firstChildChanged"))}setDisplayed(e){this.displayed!==e&&(this.displayed=e,this.dispatchRowEvent("displayedChanged"))}setRowIndex(e){this.rowIndex!==e&&(this.rowIndex=e,this.dispatchRowEvent("rowIndexChanged"))}setAllChildrenCount(e){this.allChildrenCount!==e&&(this.allChildrenCount=e,this.dispatchRowEvent("allChildrenCountChanged"))}setUiLevel(e){this.uiLevel!==e&&(this.uiLevel=e,this.dispatchRowEvent("uiLevelChanged"))}};function tH(e,t,i){return Le(t,{type:i,node:e,data:e.data,rowIndex:e.rowIndex,rowPinned:e.rowPinned})}var R0e={tag:"div",cls:"ag-filter"},iH=class extends Ue{constructor(e,t){super(R0e),this.column=e,this.source=t,this.filterWrapper=null}postConstruct(){this.createFilter(!0),this.addManagedEventListeners({filterDestroyed:this.onFilterDestroyed.bind(this)})}hasFilter(){return!!this.filterWrapper}getFilter(){return this.filterWrapper?.filterPromise??null}afterInit(){return this.filterWrapper?.filterPromise?.then(()=>{})??Ct.resolve()}afterGuiAttached(e){this.filterWrapper?.filterPromise?.then(t=>{t?.afterGuiAttached?.(e)})}afterGuiDetached(){this.filterWrapper?.filterPromise?.then(e=>{e?.afterGuiDetached?.()})}createFilter(e){const{column:t,source:i}=this;this.filterWrapper=this.beans.filterManager?.getOrCreateFilterWrapper(t)??null,this.filterWrapper?.filterPromise&&this.filterWrapper.filterPromise.then(o=>{const s=o.getGui();Ce(s)||he(69,{guiFromFilter:s}),this.appendChild(s),e&&this.eventSvc.dispatchEvent({type:"filterOpened",column:t,source:i,eGui:this.getGui()})})}onFilterDestroyed(e){(e.source==="api"||e.source==="paramsUpdated")&&e.column.getId()===this.column.getId()&&this.beans.colModel.getColDefCol(this.column)&&(Ys(this.getGui()),this.createFilter())}destroy(){this.filterWrapper=null,super.destroy()}},oH="ag-resizer-wrapper",sc=(e,t)=>({tag:"div",ref:`${e}Resizer`,cls:`ag-resizer ag-resizer-${t}`}),T0e={tag:"div",cls:oH,children:[sc("eTopLeft","topLeft"),sc("eTop","top"),sc("eTopRight","topRight"),sc("eRight","right"),sc("eBottomRight","bottomRight"),sc("eBottom","bottom"),sc("eBottomLeft","bottomLeft"),sc("eLeft","left")]},gL=class extends oe{constructor(e,t){super(),this.element=e,this.dragStartPosition={x:0,y:0},this.position={x:0,y:0},this.lastSize={width:-1,height:-1},this.positioned=!1,this.resizersAdded=!1,this.resizeListeners=[],this.boundaryEl=null,this.isResizing=!1,this.isMoving=!1,this.resizable={},this.movable=!1,this.currentResizer=null,this.config=Object.assign({},{popup:!1},t)}wireBeans(e){this.popupSvc=e.popupSvc,this.dragSvc=e.dragSvc}center(){const{clientHeight:e,clientWidth:t}=this.offsetParent,i=t/2-this.getWidth()/2,o=e/2-this.getHeight()/2;this.offsetElement(i,o)}initialisePosition(){if(this.positioned)return;const{centered:e,forcePopupParentAsOffsetParent:t,minWidth:i,width:o,minHeight:s,height:n,x:r,y:a}=this.config;this.offsetParent||this.setOffsetParent();let l=0,c=0;const d=Zs(this.element);if(d){const u=this.findBoundaryElement(),h=window.getComputedStyle(u);if(h.minWidth!=null){const p=u.offsetWidth-this.element.offsetWidth;c=parseInt(h.minWidth,10)-p}if(h.minHeight!=null){const p=u.offsetHeight-this.element.offsetHeight;l=parseInt(h.minHeight,10)-p}}if(this.minHeight=s||l,this.minWidth=i||c,o&&this.setWidth(o),n&&this.setHeight(n),(!o||!n)&&this.refreshSize(),e)this.center();else if(r||a)this.offsetElement(r,a);else if(d&&t){let u=this.boundaryEl,h=!0;if(u||(u=this.findBoundaryElement(),h=!1),u){const p=parseFloat(u.style.top),g=parseFloat(u.style.left);h?this.offsetElement(isNaN(g)?0:g,isNaN(p)?0:p):this.setPosition(g,p)}}this.positioned=!!this.offsetParent}isPositioned(){return this.positioned}getPosition(){return this.position}setMovable(e,t){if(!this.config.popup||e===this.movable)return;this.movable=e;const i=this.moveElementDragListener||{eElement:t,onDragStart:this.onMoveStart.bind(this),onDragging:this.onMove.bind(this),onDragStop:this.onMoveEnd.bind(this)};e?(this.dragSvc?.addDragSource(i),this.moveElementDragListener=i):(this.dragSvc?.removeDragSource(i),this.moveElementDragListener=void 0)}setResizable(e){if(this.clearResizeListeners(),e?this.addResizers():this.removeResizers(),typeof e=="boolean"){if(e===!1)return;e={topLeft:e,top:e,topRight:e,right:e,bottomRight:e,bottom:e,bottomLeft:e,left:e}}Object.keys(e).forEach(t=>{const o=!!e[t],s=this.getResizerElement(t),n={dragStartPixels:0,eElement:s,onDragStart:r=>this.onResizeStart(r,t),onDragging:this.onResize.bind(this),onDragStop:r=>this.onResizeEnd(r,t)};(o||!this.isAlive()&&!o)&&(o?(this.dragSvc?.addDragSource(n),this.resizeListeners.push(n),s.style.pointerEvents="all"):s.style.pointerEvents="none",this.resizable[t]=o)})}removeSizeFromEl(){this.element.style.removeProperty("height"),this.element.style.removeProperty("width"),this.element.style.removeProperty("flex")}restoreLastSize(){this.element.style.flex="0 0 auto";const{height:e,width:t}=this.lastSize;t!==-1&&(this.element.style.width=`${t}px`),e!==-1&&(this.element.style.height=`${e}px`)}getHeight(){return this.element.offsetHeight}setHeight(e){const{popup:t}=this.config,i=this.element;let o=!1;if(typeof e=="string"&&e.indexOf("%")!==-1)Tf(i,e),e=Y9(i),o=!0;else if(e=Math.max(this.minHeight,e),this.positioned){const s=this.getAvailableHeight();s&&e>s&&(e=s)}this.getHeight()!==e&&(o?(i.style.maxHeight="unset",i.style.minHeight="unset"):t?Tf(i,e):(i.style.height=`${e}px`,i.style.flex="0 0 auto",this.lastSize.height=typeof e=="number"?e:parseFloat(e)))}getAvailableHeight(){const{popup:e,forcePopupParentAsOffsetParent:t}=this.config;this.positioned||this.initialisePosition();const{clientHeight:i}=this.offsetParent;if(!i)return null;const o=this.element.getBoundingClientRect(),s=this.offsetParent.getBoundingClientRect(),n=e?this.position.y:o.top,r=e?0:s.top;let a=0;if(t){const c=this.element.parentElement;if(c){const{bottom:d}=c.getBoundingClientRect();a=d-o.bottom}}return i+r-n-a}getWidth(){return this.element.offsetWidth}setWidth(e){const t=this.element,{popup:i}=this.config;let o=!1;if(typeof e=="string"&&e.indexOf("%")!==-1)na(t,e),e=QC(t),o=!0;else if(this.positioned){e=Math.max(this.minWidth,e);const{clientWidth:s}=this.offsetParent,n=i?this.position.x:this.element.getBoundingClientRect().left;s&&e+n>s&&(e=s-n)}this.getWidth()!==e&&(o?(t.style.maxWidth="unset",t.style.minWidth="unset"):this.config.popup?na(t,e):(t.style.width=`${e}px`,t.style.flex=" unset",this.lastSize.width=typeof e=="number"?e:parseFloat(e)))}offsetElement(e=0,t=0){const{forcePopupParentAsOffsetParent:i}=this.config,o=i?this.boundaryEl:this.element;o&&(this.popupSvc?.positionPopup({ePopup:o,keepWithinBounds:!0,skipObserver:this.movable||this.isResizable(),updatePosition:()=>({x:e,y:t})}),this.setPosition(parseFloat(o.style.left),parseFloat(o.style.top)))}constrainSizeToAvailableHeight(e){if(!this.config.forcePopupParentAsOffsetParent)return;const t=()=>{const i=this.getAvailableHeight();this.element.style.setProperty("max-height",`${i}px`)};e&&this.popupSvc?this.resizeObserverSubscriber=md(this.beans,this.popupSvc?.getPopupParent(),t):(this.element.style.removeProperty("max-height"),this.resizeObserverSubscriber&&(this.resizeObserverSubscriber(),this.resizeObserverSubscriber=void 0))}setPosition(e,t){this.position.x=e,this.position.y=t}updateDragStartPosition(e,t){this.dragStartPosition={x:e,y:t}}calculateMouseMovement(e){const{e:t,isLeft:i,isTop:o,anywhereWithin:s,topBuffer:n}=e,r=t.clientX-this.dragStartPosition.x,a=t.clientY-this.dragStartPosition.y,l=this.shouldSkipX(t,!!i,!!s,r)?0:r,c=this.shouldSkipY(t,!!o,n,a)?0:a;return{movementX:l,movementY:c}}shouldSkipX(e,t,i,o){const s=this.element.getBoundingClientRect(),n=this.offsetParent.getBoundingClientRect(),r=this.boundaryEl.getBoundingClientRect(),a=this.config.popup?this.position.x:s.left;let l=a<=0&&n.left>=e.clientX||n.right<=e.clientX&&n.right<=r.right;return l?!0:(t?l=o<0&&e.clientX>a+n.left||o>0&&e.clientX<a+n.left:i?l=o<0&&e.clientX>r.right||o>0&&e.clientX<a+n.left:l=o<0&&e.clientX>r.right||o>0&&e.clientX<r.right,l)}shouldSkipY(e,t,i=0,o){const s=this.element.getBoundingClientRect(),n=this.offsetParent.getBoundingClientRect(),r=this.boundaryEl.getBoundingClientRect(),a=this.config.popup?this.position.y:s.top;let l=a<=0&&n.top>=e.clientY||n.bottom<=e.clientY&&n.bottom<=r.bottom;return l?!0:(t?l=o<0&&e.clientY>a+n.top+i||o>0&&e.clientY<a+n.top:l=o<0&&e.clientY>r.bottom||o>0&&e.clientY<r.bottom,l)}createResizeMap(){const e=t=>({element:this.element.querySelector(`[data-ref=${t}Resizer]`)});this.resizerMap={topLeft:e("eTopLeft"),top:e("eTop"),topRight:e("eTopRight"),right:e("eRight"),bottomRight:e("eBottomRight"),bottom:e("eBottom"),bottomLeft:e("eBottomLeft"),left:e("eLeft")}}addResizers(){if(this.resizersAdded)return;const e=this.element;e&&(e.appendChild(It(T0e)),this.createResizeMap(),this.resizersAdded=!0)}removeResizers(){this.resizerMap=void 0;const e=this.element.querySelector(`.${oH}`);e&&this.element.removeChild(e),this.resizersAdded=!1}getResizerElement(e){return this.resizerMap[e].element}onResizeStart(e,t){this.boundaryEl=this.findBoundaryElement(),this.positioned||this.initialisePosition(),this.currentResizer={isTop:!!t.match(/top/i),isRight:!!t.match(/right/i),isBottom:!!t.match(/bottom/i),isLeft:!!t.match(/left/i)},this.element.classList.add("ag-resizing"),this.resizerMap[t].element.classList.add("ag-active");const{popup:i,forcePopupParentAsOffsetParent:o}=this.config;!i&&!o&&this.applySizeToSiblings(this.currentResizer.isBottom||this.currentResizer.isTop),this.isResizing=!0,this.updateDragStartPosition(e.clientX,e.clientY)}getSiblings(){const t=this.element.parentElement;return t?Array.prototype.slice.call(t.children).filter(i=>!i.classList.contains("ag-hidden")):null}getMinSizeOfSiblings(){const e=this.getSiblings()||[];let t=0,i=0;for(let o=0;o<e.length;o++){const s=e[o],n=!!s.style.flex&&s.style.flex!=="0 0 auto";if(s===this.element)continue;let r=this.minHeight||0,a=this.minWidth||0;if(n){const l=window.getComputedStyle(s);l.minHeight&&(r=parseInt(l.minHeight,10)),l.minWidth&&(a=parseInt(l.minWidth,10))}else r=s.offsetHeight,a=s.offsetWidth;t+=r,i+=a}return{height:t,width:i}}applySizeToSiblings(e){let t=null;const i=this.getSiblings();if(i){for(let o=0;o<i.length;o++){const s=i[o];s!==t&&(e?s.style.height=`${s.offsetHeight}px`:s.style.width=`${s.offsetWidth}px`,s.style.flex="0 0 auto",s===this.element&&(t=i[o+1]))}t&&(t.style.removeProperty("height"),t.style.removeProperty("min-height"),t.style.removeProperty("max-height"),t.style.flex="1 1 auto")}}isResizable(){return Object.values(this.resizable).some(e=>e)}onResize(e){if(!this.isResizing||!this.currentResizer)return;const{popup:t,forcePopupParentAsOffsetParent:i}=this.config,{isTop:o,isRight:s,isBottom:n,isLeft:r}=this.currentResizer,a=s||r,l=n||o,{movementX:c,movementY:d}=this.calculateMouseMovement({e,isLeft:r,isTop:o}),u=this.position.x,h=this.position.y;let p=0,g=0;if(a&&c){const f=r?-1:1,v=this.getWidth(),y=v+c*f;let C=!1;r&&(p=v-y,(u+p<=0||y<=this.minWidth)&&(C=!0,p=0)),C||this.setWidth(y)}if(l&&d){const f=o?-1:1,v=this.getHeight(),y=v+d*f;let C=!1;o?(g=v-y,(h+g<=0||y<=this.minHeight)&&(C=!0,g=0)):!this.config.popup&&!this.config.forcePopupParentAsOffsetParent&&v<y&&this.getMinSizeOfSiblings().height+y>this.element.parentElement.offsetHeight&&(C=!0),C||this.setHeight(y)}this.updateDragStartPosition(e.clientX,e.clientY),((t||i)&&p||g)&&this.offsetElement(u+p,h+g)}onResizeEnd(e,t){this.isResizing=!1,this.currentResizer=null,this.boundaryEl=null,this.element.classList.remove("ag-resizing"),this.resizerMap[t].element.classList.remove("ag-active"),this.dispatchLocalEvent({type:"resize"})}refreshSize(){const e=this.element;this.config.popup&&(this.config.width||this.setWidth(e.offsetWidth),this.config.height||this.setHeight(e.offsetHeight))}onMoveStart(e){this.boundaryEl=this.findBoundaryElement(),this.positioned||this.initialisePosition(),this.isMoving=!0,this.element.classList.add("ag-moving"),this.updateDragStartPosition(e.clientX,e.clientY)}onMove(e){if(!this.isMoving)return;const{x:t,y:i}=this.position;let o;this.config.calculateTopBuffer&&(o=this.config.calculateTopBuffer());const{movementX:s,movementY:n}=this.calculateMouseMovement({e,isTop:!0,anywhereWithin:!0,topBuffer:o});this.offsetElement(t+s,i+n),this.updateDragStartPosition(e.clientX,e.clientY)}onMoveEnd(){this.isMoving=!1,this.boundaryEl=null,this.element.classList.remove("ag-moving")}setOffsetParent(){this.config.forcePopupParentAsOffsetParent&&this.popupSvc?this.offsetParent=this.popupSvc.getPopupParent():this.offsetParent=this.element.offsetParent}findBoundaryElement(){let e=this.element;for(;e;){if(window.getComputedStyle(e).position!=="static")return e;e=e.parentElement}return this.element}clearResizeListeners(){for(;this.resizeListeners.length;){const e=this.resizeListeners.pop();this.dragSvc?.removeDragSource(e)}}destroy(){super.destroy(),this.moveElementDragListener&&this.dragSvc?.removeDragSource(this.moveElementDragListener),this.constrainSizeToAvailableHeight(!1),this.clearResizeListeners(),this.removeResizers()}},sH="ag-focus-managed",wg=class extends oe{constructor(e,t={}){super(),this.eFocusable=e,this.callbacks=t,this.callbacks={shouldStopEventPropagation:()=>!1,onTabKeyDown:i=>{if(i.defaultPrevented)return;const o=Pa(this.beans,this.eFocusable,!1,i.shiftKey);o&&(o.focus(),i.preventDefault())},...t}}postConstruct(){const{eFocusable:e,callbacks:{onFocusIn:t,onFocusOut:i}}=this;e.classList.add(sH),this.addKeyDownListeners(e),t&&this.addManagedElementListeners(e,{focusin:t}),i&&this.addManagedElementListeners(e,{focusout:i})}addKeyDownListeners(e){this.addManagedElementListeners(e,{keydown:t=>{if(t.defaultPrevented||mr(t))return;const{callbacks:i}=this;if(i.shouldStopEventPropagation(t)){vl(t);return}t.key===J.TAB?i.onTabKeyDown(t):i.handleKeyDown&&i.handleKeyDown(t)}})}},L0e={applyFilter:"Apply",clearFilter:"Clear",resetFilter:"Reset",cancelFilter:"Cancel",textFilter:"Text Filter",numberFilter:"Number Filter",dateFilter:"Date Filter",setFilter:"Set Filter",filterOoo:"Filter...",empty:"Choose one",equals:"Equals",notEqual:"Does not equal",lessThan:"Less than",greaterThan:"Greater than",inRange:"Between",inRangeStart:"From",inRangeEnd:"To",lessThanOrEqual:"Less than or equal to",greaterThanOrEqual:"Greater than or equal to",contains:"Contains",notContains:"Does not contain",startsWith:"Begins with",endsWith:"Ends with",blank:"Blank",notBlank:"Not blank",before:"Before",after:"After",andCondition:"AND",orCondition:"OR",dateFormatOoo:"yyyy-mm-dd"};function E0e(e,t){const{debounceMs:i}=e;return FD(e)?(i!=null&&he(71),0):i??t}function FD(e){return(e.buttons?.indexOf("apply")??-1)>=0}var P0e=class extends Ue{constructor(e){super(),this.filterNameKey=e,this.applyActive=!1,this.hidePopup=null,this.debouncePending=!1,this.appliedModel=null,this.eFilterBody=de,this.buttonListeners=[],this.defaultDebounceMs=0}postConstruct(){this.resetTemplate(),this.createManagedBean(new wg(this.getFocusableElement(),{handleKeyDown:this.handleKeyDown.bind(this)})),this.positionableFeature=new gL(this.getPositionableElement(),{forcePopupParentAsOffsetParent:!0}),this.createBean(this.positionableFeature)}handleKeyDown(e){}getFilterTitle(){return this.translate(this.filterNameKey)}isFilterActive(){return!!this.appliedModel}resetTemplate(e){let t=this.getGui();t?.removeEventListener("submit",this.onFormSubmit);const i={tag:"form",cls:"ag-filter-wrapper",children:[{tag:"div",ref:"eFilterBody",cls:`ag-filter-body-wrapper ag-${this.getCssIdentifier()}-body-wrapper`,children:[this.createBodyTemplate()]}]};this.setTemplate(i,this.getAgComponents(),e),t=this.getGui(),t?.addEventListener("submit",this.onFormSubmit)}isReadOnly(){return!!this.params.readOnly}init(e){this.setParams(e),this.resetUiToDefaults(!0).then(()=>{this.updateUiVisibility(),this.setupOnBtApplyDebounce()})}setParams(e){this.params=e,this.applyActive=FD(e),this.resetButtonsPanel(e)}updateParams(e){this.params=e,this.applyActive=FD(e),this.resetUiToActiveModel(this.getModel(),()=>{this.updateUiVisibility(),this.setupOnBtApplyDebounce()})}resetButtonsPanel(e,t){const{buttons:i,readOnly:o}=t??{},{buttons:s,readOnly:n}=e;if(o===n&&Im(i,s))return;const r=s&&s.length>0&&!this.isReadOnly();if(this.eButtonsPanel?(Ys(this.eButtonsPanel),this.buttonListeners.forEach(c=>c()),this.buttonListeners=[]):r&&(this.eButtonsPanel=It({tag:"div",cls:"ag-filter-apply-panel"})),!r){this.eButtonsPanel&&Qr(this.eButtonsPanel);return}const a=document.createDocumentFragment(),l=c=>{let d;const u=c?this.translate(`${c}Filter`):void 0;switch(c){case"apply":d=g=>this.onBtApply(!1,!1,g);break;case"clear":d=()=>this.onBtClear();break;case"reset":d=()=>this.onBtReset();break;case"cancel":d=g=>{this.onBtCancel(g)};break;default:he(75);return}const p=jx(`<button
|
|
24
24
|
type="${c==="apply"?"submit":"button"}"
|
|
@@ -238,7 +238,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
238
238
|
overflow: hidden;
|
|
239
239
|
padding-right: `.concat(i("scrollbar.width"),`;
|
|
240
240
|
}
|
|
241
|
-
`)},fPe={},mPe={},rW={name:"base",css:gPe,style:ePe,classes:fPe,inlineStyles:mPe,load:function(t){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(n){return n},s=o(Eb(q4||(q4=Pb(["",""])),t));return ii(s)?rPe(Wf(s),k1({name:this.name},i)):{}},loadCSS:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return this.load(this.css,t)},loadStyle:function(){var t=this,i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return this.load(this.style,i,function(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return Hs.transformCSS(i.name||t.name,"".concat(s).concat(Eb(Q4||(Q4=Pb(["",""])),o)))})},getCommonTheme:function(t){return Hs.getCommon(this.name,t)},getComponentTheme:function(t){return Hs.getComponent(this.name,t)},getDirectiveTheme:function(t){return Hs.getDirective(this.name,t)},getPresetTheme:function(t,i,o){return Hs.getCustomPreset(this.name,t,i,o)},getLayerOrderThemeCSS:function(){return Hs.getLayerOrderCSS(this.name)},getStyleSheet:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.css){var o=Tc(this.css,{dt:fu})||"",s=Wf(Eb(J4||(J4=Pb(["","",""])),o,t)),n=Object.entries(i).reduce(function(r,a){var l=tB(a,2),c=l[0],d=l[1];return r.push("".concat(c,'="').concat(d,'"'))&&r},[]).join(" ");return ii(s)?'<style type="text/css" data-primevue-style-id="'.concat(this.name,'" ').concat(n,">").concat(s,"</style>"):""}return""},getCommonThemeStyleSheet:function(t){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Hs.getCommonStyleSheet(this.name,t,i)},getThemeStyleSheet:function(t){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=[Hs.getStyleSheet(this.name,t,i)];if(this.style){var s=this.name==="base"?"global-style":"".concat(this.name,"-style"),n=Eb(eB||(eB=Pb(["",""])),Tc(this.style,{dt:fu})),r=Wf(Hs.transformCSS(s,n)),a=Object.entries(i).reduce(function(l,c){var d=tB(c,2),u=d[0],h=d[1];return l.push("".concat(u,'="').concat(h,'"'))&&l},[]).join(" ");ii(r)&&o.push('<style type="text/css" data-primevue-style-id="'.concat(s,'" ').concat(a,">").concat(r,"</style>"))}return o.join("")},extend:function(t){return k1(k1({},this),{},{css:void 0,style:void 0},t)}};rW.extend({name:"common"});var dC={exports:{}},yPe=dC.exports,sB;function vPe(){return sB||(sB=1,function(e,t){(function(i,o){e.exports=o()})(yPe,function(){var i=1e3,o=6e4,s=36e5,n="millisecond",r="second",a="minute",l="hour",c="day",d="week",u="month",h="quarter",p="year",g="date",f="Invalid Date",v=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,y=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,C={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(O){var F=["th","st","nd","rd"],z=O%100;return"["+O+(F[(z-20)%10]||F[z]||F[0])+"]"}},S=function(O,F,z){var _=String(O);return!_||_.length>=F?O:""+Array(F+1-_.length).join(z)+O},x={s:S,z:function(O){var F=-O.utcOffset(),z=Math.abs(F),_=Math.floor(z/60),V=z%60;return(F<=0?"+":"-")+S(_,2,"0")+":"+S(V,2,"0")},m:function O(F,z){if(F.date()<z.date())return-O(z,F);var _=12*(z.year()-F.year())+(z.month()-F.month()),V=F.clone().add(_,u),G=z-V<0,H=F.clone().add(_+(G?-1:1),u);return+(-(_+(z-V)/(G?V-H:H-V))||0)},a:function(O){return O<0?Math.ceil(O)||0:Math.floor(O)},p:function(O){return{M:u,y:p,w:d,d:c,D:g,h:l,m:a,s:r,ms:n,Q:h}[O]||String(O||"").toLowerCase().replace(/s$/,"")},u:function(O){return O===void 0}},D="en",A={};A[D]=C;var k="$isDayjsObject",w=function(O){return O instanceof P||!(!O||!O[k])},M=function O(F,z,_){var V;if(!F)return D;if(typeof F=="string"){var G=F.toLowerCase();A[G]&&(V=G),z&&(A[G]=z,V=G);var H=F.split("-");if(!V&&H.length>1)return O(H[0])}else{var B=F.name;A[B]=F,V=B}return!_&&V&&(D=V),V||!_&&D},R=function(O,F){if(w(O))return O.clone();var z=typeof F=="object"?F:{};return z.date=O,z.args=arguments,new P(z)},L=x;L.l=M,L.i=w,L.w=function(O,F){return R(O,{locale:F.$L,utc:F.$u,x:F.$x,$offset:F.$offset})};var P=function(){function O(z){this.$L=M(z.locale,null,!0),this.parse(z),this.$x=this.$x||z.x||{},this[k]=!0}var F=O.prototype;return F.parse=function(z){this.$d=function(_){var V=_.date,G=_.utc;if(V===null)return new Date(NaN);if(L.u(V))return new Date;if(V instanceof Date)return new Date(V);if(typeof V=="string"&&!/Z$/i.test(V)){var H=V.match(v);if(H){var B=H[2]-1||0,W=(H[7]||"0").substring(0,3);return G?new Date(Date.UTC(H[1],B,H[3]||1,H[4]||0,H[5]||0,H[6]||0,W)):new Date(H[1],B,H[3]||1,H[4]||0,H[5]||0,H[6]||0,W)}}return new Date(V)}(z),this.init()},F.init=function(){var z=this.$d;this.$y=z.getFullYear(),this.$M=z.getMonth(),this.$D=z.getDate(),this.$W=z.getDay(),this.$H=z.getHours(),this.$m=z.getMinutes(),this.$s=z.getSeconds(),this.$ms=z.getMilliseconds()},F.$utils=function(){return L},F.isValid=function(){return this.$d.toString()!==f},F.isSame=function(z,_){var V=R(z);return this.startOf(_)<=V&&V<=this.endOf(_)},F.isAfter=function(z,_){return R(z)<this.startOf(_)},F.isBefore=function(z,_){return this.endOf(_)<R(z)},F.$g=function(z,_,V){return L.u(z)?this[_]:this.set(V,z)},F.unix=function(){return Math.floor(this.valueOf()/1e3)},F.valueOf=function(){return this.$d.getTime()},F.startOf=function(z,_){var V=this,G=!!L.u(_)||_,H=L.p(z),B=function(Z,ie){var X=L.w(V.$u?Date.UTC(V.$y,ie,Z):new Date(V.$y,ie,Z),V);return G?X:X.endOf(c)},W=function(Z,ie){return L.w(V.toDate()[Z].apply(V.toDate("s"),(G?[0,0,0,0]:[23,59,59,999]).slice(ie)),V)},j=this.$W,U=this.$M,ee=this.$D,q="set"+(this.$u?"UTC":"");switch(H){case p:return G?B(1,0):B(31,11);case u:return G?B(1,U):B(0,U+1);case d:var te=this.$locale().weekStart||0,se=(j<te?j+7:j)-te;return B(G?ee-se:ee+(6-se),U);case c:case g:return W(q+"Hours",0);case l:return W(q+"Minutes",1);case a:return W(q+"Seconds",2);case r:return W(q+"Milliseconds",3);default:return this.clone()}},F.endOf=function(z){return this.startOf(z,!1)},F.$set=function(z,_){var V,G=L.p(z),H="set"+(this.$u?"UTC":""),B=(V={},V[c]=H+"Date",V[g]=H+"Date",V[u]=H+"Month",V[p]=H+"FullYear",V[l]=H+"Hours",V[a]=H+"Minutes",V[r]=H+"Seconds",V[n]=H+"Milliseconds",V)[G],W=G===c?this.$D+(_-this.$W):_;if(G===u||G===p){var j=this.clone().set(g,1);j.$d[B](W),j.init(),this.$d=j.set(g,Math.min(this.$D,j.daysInMonth())).$d}else B&&this.$d[B](W);return this.init(),this},F.set=function(z,_){return this.clone().$set(z,_)},F.get=function(z){return this[L.p(z)]()},F.add=function(z,_){var V,G=this;z=Number(z);var H=L.p(_),B=function(U){var ee=R(G);return L.w(ee.date(ee.date()+Math.round(U*z)),G)};if(H===u)return this.set(u,this.$M+z);if(H===p)return this.set(p,this.$y+z);if(H===c)return B(1);if(H===d)return B(7);var W=(V={},V[a]=o,V[l]=s,V[r]=i,V)[H]||1,j=this.$d.getTime()+z*W;return L.w(j,this)},F.subtract=function(z,_){return this.add(-1*z,_)},F.format=function(z){var _=this,V=this.$locale();if(!this.isValid())return V.invalidDate||f;var G=z||"YYYY-MM-DDTHH:mm:ssZ",H=L.z(this),B=this.$H,W=this.$m,j=this.$M,U=V.weekdays,ee=V.months,q=V.meridiem,te=function(ie,X,ne,re){return ie&&(ie[X]||ie(_,G))||ne[X].slice(0,re)},se=function(ie){return L.s(B%12||12,ie,"0")},Z=q||function(ie,X,ne){var re=ie<12?"AM":"PM";return ne?re.toLowerCase():re};return G.replace(y,function(ie,X){return X||function(ne){switch(ne){case"YY":return String(_.$y).slice(-2);case"YYYY":return L.s(_.$y,4,"0");case"M":return j+1;case"MM":return L.s(j+1,2,"0");case"MMM":return te(V.monthsShort,j,ee,3);case"MMMM":return te(ee,j);case"D":return _.$D;case"DD":return L.s(_.$D,2,"0");case"d":return String(_.$W);case"dd":return te(V.weekdaysMin,_.$W,U,2);case"ddd":return te(V.weekdaysShort,_.$W,U,3);case"dddd":return U[_.$W];case"H":return String(B);case"HH":return L.s(B,2,"0");case"h":return se(1);case"hh":return se(2);case"a":return Z(B,W,!0);case"A":return Z(B,W,!1);case"m":return String(W);case"mm":return L.s(W,2,"0");case"s":return String(_.$s);case"ss":return L.s(_.$s,2,"0");case"SSS":return L.s(_.$ms,3,"0");case"Z":return H}return null}(ie)||H.replace(":","")})},F.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},F.diff=function(z,_,V){var G,H=this,B=L.p(_),W=R(z),j=(W.utcOffset()-this.utcOffset())*o,U=this-W,ee=function(){return L.m(H,W)};switch(B){case p:G=ee()/12;break;case u:G=ee();break;case h:G=ee()/3;break;case d:G=(U-j)/6048e5;break;case c:G=(U-j)/864e5;break;case l:G=U/s;break;case a:G=U/o;break;case r:G=U/i;break;default:G=U}return V?G:L.a(G)},F.daysInMonth=function(){return this.endOf(u).$D},F.$locale=function(){return A[this.$L]},F.locale=function(z,_){if(!z)return this.$L;var V=this.clone(),G=M(z,_,!0);return G&&(V.$L=G),V},F.clone=function(){return L.w(this.$d,this)},F.toDate=function(){return new Date(this.valueOf())},F.toJSON=function(){return this.isValid()?this.toISOString():null},F.toISOString=function(){return this.$d.toISOString()},F.toString=function(){return this.$d.toUTCString()},O}(),N=P.prototype;return R.prototype=N,[["$ms",n],["$s",r],["$m",a],["$H",l],["$W",c],["$M",u],["$y",p],["$D",g]].forEach(function(O){N[O[1]]=function(F){return this.$g(F,O[0],O[1])}}),R.extend=function(O,F){return O.$i||(O(F,P,R),O.$i=!0),R},R.locale=M,R.isDayjs=w,R.unix=function(O){return R(1e3*O)},R.en=A[D],R.Ls=A,R.p={},R})}(dC)),dC.exports}var bPe=vPe();const zL=ev(bPe);var uC={exports:{}},CPe=uC.exports,nB;function SPe(){return nB||(nB=1,function(e,t){(function(i,o){e.exports=o()})(CPe,function(){var i="minute",o=/[+-]\d\d(?::?\d\d)?/g,s=/([+-]|\d\d)/g;return function(n,r,a){var l=r.prototype;a.utc=function(f){var v={date:f,utc:!0,args:arguments};return new r(v)},l.utc=function(f){var v=a(this.toDate(),{locale:this.$L,utc:!0});return f?v.add(this.utcOffset(),i):v},l.local=function(){return a(this.toDate(),{locale:this.$L,utc:!1})};var c=l.parse;l.parse=function(f){f.utc&&(this.$u=!0),this.$utils().u(f.$offset)||(this.$offset=f.$offset),c.call(this,f)};var d=l.init;l.init=function(){if(this.$u){var f=this.$d;this.$y=f.getUTCFullYear(),this.$M=f.getUTCMonth(),this.$D=f.getUTCDate(),this.$W=f.getUTCDay(),this.$H=f.getUTCHours(),this.$m=f.getUTCMinutes(),this.$s=f.getUTCSeconds(),this.$ms=f.getUTCMilliseconds()}else d.call(this)};var u=l.utcOffset;l.utcOffset=function(f,v){var y=this.$utils().u;if(y(f))return this.$u?0:y(this.$offset)?u.call(this):this.$offset;if(typeof f=="string"&&(f=function(D){D===void 0&&(D="");var A=D.match(o);if(!A)return null;var k=(""+A[0]).match(s)||["-",0,0],w=k[0],M=60*+k[1]+ +k[2];return M===0?0:w==="+"?M:-M}(f),f===null))return this;var C=Math.abs(f)<=16?60*f:f,S=this;if(v)return S.$offset=C,S.$u=f===0,S;if(f!==0){var x=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(S=this.local().add(C+x,i)).$offset=C,S.$x.$localOffset=x}else S=this.utc();return S};var h=l.format;l.format=function(f){var v=f||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return h.call(this,v)},l.valueOf=function(){var f=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*f},l.isUTC=function(){return!!this.$u},l.toISOString=function(){return this.toDate().toISOString()},l.toString=function(){return this.toDate().toUTCString()};var p=l.toDate;l.toDate=function(f){return f==="s"&&this.$offset?a(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():p.call(this)};var g=l.diff;l.diff=function(f,v,y){if(f&&this.$u===f.$u)return g.call(this,f,v,y);var C=this.local(),S=a(f).local();return g.call(C,S,v,y)}}})}(uC)),uC.exports}var xPe=SPe();const wPe=ev(xPe);var hC={exports:{}},MPe=hC.exports,rB;function DPe(){return rB||(rB=1,function(e,t){(function(i,o){e.exports=o()})(MPe,function(){var i={year:0,month:1,day:2,hour:3,minute:4,second:5},o={};return function(s,n,r){var a,l=function(h,p,g){g===void 0&&(g={});var f=new Date(h),v=function(y,C){C===void 0&&(C={});var S=C.timeZoneName||"short",x=y+"|"+S,D=o[x];return D||(D=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:y,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:S}),o[x]=D),D}(p,g);return v.formatToParts(f)},c=function(h,p){for(var g=l(h,p),f=[],v=0;v<g.length;v+=1){var y=g[v],C=y.type,S=y.value,x=i[C];x>=0&&(f[x]=parseInt(S,10))}var D=f[3],A=D===24?0:D,k=f[0]+"-"+f[1]+"-"+f[2]+" "+A+":"+f[4]+":"+f[5]+":000",w=+h;return(r.utc(k).valueOf()-(w-=w%1e3))/6e4},d=n.prototype;d.tz=function(h,p){h===void 0&&(h=a);var g,f=this.utcOffset(),v=this.toDate(),y=v.toLocaleString("en-US",{timeZone:h}),C=Math.round((v-new Date(y))/1e3/60),S=15*-Math.round(v.getTimezoneOffset()/15)-C;if(!Number(S))g=this.utcOffset(0,p);else if(g=r(y,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(S,!0),p){var x=g.utcOffset();g=g.add(f-x,"minute")}return g.$x.$timezone=h,g},d.offsetName=function(h){var p=this.$x.$timezone||r.tz.guess(),g=l(this.valueOf(),p,{timeZoneName:h}).find(function(f){return f.type.toLowerCase()==="timezonename"});return g&&g.value};var u=d.startOf;d.startOf=function(h,p){if(!this.$x||!this.$x.$timezone)return u.call(this,h,p);var g=r(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return u.call(g,h,p).tz(this.$x.$timezone,!0)},r.tz=function(h,p,g){var f=g&&p,v=g||p||a,y=c(+r(),v);if(typeof h!="string")return r(h).tz(v);var C=function(A,k,w){var M=A-60*k*1e3,R=c(M,w);if(k===R)return[M,k];var L=c(M-=60*(R-k)*1e3,w);return R===L?[M,R]:[A-60*Math.min(R,L)*1e3,Math.max(R,L)]}(r.utc(h,f).valueOf(),y,v),S=C[0],x=C[1],D=r(S).utcOffset(x);return D.$x.$timezone=v,D},r.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},r.tz.setDefault=function(h){a=h}}})}(hC)),hC.exports}var kPe=DPe();const IPe=ev(kPe);var pC={exports:{}},APe=pC.exports,aB;function RPe(){return aB||(aB=1,function(e,t){(function(i,o){e.exports=o()})(APe,function(){return function(i,o){var s=o.prototype,n=s.format;s.format=function(r){var a=this,l=this.$locale();if(!this.isValid())return n.bind(this)(r);var c=this.$utils(),d=(r||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(u){switch(u){case"Q":return Math.ceil((a.$M+1)/3);case"Do":return l.ordinal(a.$D);case"gggg":return a.weekYear();case"GGGG":return a.isoWeekYear();case"wo":return l.ordinal(a.week(),"W");case"w":case"ww":return c.s(a.week(),u==="w"?1:2,"0");case"W":case"WW":return c.s(a.isoWeek(),u==="W"?1:2,"0");case"k":case"kk":return c.s(String(a.$H===0?24:a.$H),u==="k"?1:2,"0");case"X":return Math.floor(a.$d.getTime()/1e3);case"x":return a.$d.getTime();case"z":return"["+a.offsetName()+"]";case"zzz":return"["+a.offsetName("long")+"]";default:return u}});return n.bind(this)(d)}}})}(pC)),pC.exports}var TPe=RPe();const LPe=ev(TPe);zL.extend(LPe);zL.extend(wPe);zL.extend(IPe);const EPe=["data-position","aria-labelledby","data-style","data-static"],PPe=["id"],NPe={key:1},k0=m.defineComponent({__name:"PvTooltip",props:{variant:{default:"white"},tooltipPosition:{default:"top-right"},ariaLabelledBy:{default:"ariaLabelledById"},size:{default:"md"},interactive:{type:Boolean,default:!0}},setup(e){return(t,i)=>t.$slots["tooltip-content"]?(m.openBlock(),m.createElementBlock("div",{key:0,"data-testid":"pv-tooltip",class:m.normalizeClass(["pv-tooltip",{"pv-tooltip-small":t.size==="sm"}]),"data-position":t.tooltipPosition,"aria-labelledby":t.ariaLabelledBy,"data-style":t.variant==="white"?"white":"dark","data-static":t.interactive===!1?!0:void 0},[m.renderSlot(t.$slots,"label"),m.createElementVNode("div",{role:"tooltip",id:t.ariaLabelledBy,"data-testid":"pv-tooltip-content"},[m.renderSlot(t.$slots,"tooltip-content")],8,PPe)],10,EPe)):(m.openBlock(),m.createElementBlock("div",NPe,[m.renderSlot(t.$slots,"label")]))}}),OPe={"data-testid":"pv-select-menu-control-panel",class:"pv-flex pv-space-between"},FPe=m.defineComponent({__name:"PvMenuControlPanel",props:{disabled:{type:Boolean}},emits:["handle-select-all","handle-clear-all"],setup(e){return(t,i)=>(m.openBlock(),m.createElementBlock("div",OPe,[m.createVNode(es,{variant:"ghost","data-testid":"pv-select-menu-item-select-all",onClick:i[0]||(i[0]=o=>t.$emit("handle-select-all")),label:"Select All",disabled:t.disabled},null,8,["disabled"]),m.createVNode(es,{label:"Clear All",variant:"ghost","data-testid":"pv-select-menu-item-clear-all",onClick:i[1]||(i[1]=o=>t.$emit("handle-clear-all")),disabled:t.disabled},null,8,["disabled"])]))}}),aW=m.defineComponent({__name:"PvMenu",props:{teleportLocation:{},open:{type:Boolean},popoverPositionStyle:{},cssCustomListProperties:{},useTeleport:{type:Boolean,default:!1}},setup(e,{expose:t}){const i=m.ref(null);return t({popoverRef:i}),(o,s)=>(m.openBlock(),m.createBlock(m.Teleport,{to:o.teleportLocation,disabled:!o.useTeleport},[m.createVNode(K7,{ref_key:"popoverRef",ref:i,class:m.normalizeClass({"pv-hide":!o.open}),"css-custom-list-properties":o.cssCustomListProperties,"css-custom-properties":{width:"auto",maxWidth:"260px",...o.popoverPositionStyle},isList:!0},{default:m.withCtx(()=>[m.renderSlot(o.$slots,"default")]),_:3},8,["class","css-custom-list-properties","css-custom-properties"])],8,["to","disabled"]))}}),BPe=["disabled"],GPe={key:0,"data-testid":"pv-select-prefix-label",class:"pv-border-right",style:{color:"#89989b","padding-right":"4px"}},zPe={key:4},lW=m.defineComponent({__name:"PvSelectButtonTrigger",props:{variant:{default:"secondary"},size:{default:"lg"},disabled:{type:Boolean},counterPosition:{},counterValue:{},prefixLabel:{},label:{},icon:{},companyLogo:{},showClear:{type:Boolean},showDropdown:{type:Boolean,default:!0},open:{type:Boolean},isLoading:{type:Boolean}},emits:["handle-toggle-dropdown","handle-clear"],setup(e,{expose:t}){const i={xl:"large",lg:void 0},o=m.ref(null);return t({triggerRef:o}),(s,n)=>(m.openBlock(),m.createElementBlock("button",{ref_key:"triggerRef",ref:o,"data-testid":"pv-multi-select-button-trigger",class:m.normalizeClass(["pv-flex","pv-space-between",{[`pv-button-${s.variant}`]:!0,[`pv-button-${i[s.size]}`]:!!s.size}]),style:{"--flex-gap":"0.25rem"},disabled:s.disabled||s.isLoading,onClick:n[1]||(n[1]=r=>s.$emit("handle-toggle-dropdown"))},[s.prefixLabel?(m.openBlock(),m.createElementBlock("p",GPe,m.toDisplayString(s.prefixLabel),1)):m.createCommentVNode("",!0),s.counterPosition==="left"?(m.openBlock(),m.createBlock(w0,{key:1,"data-testid":"pv-multi-select-left-counter-badge",value:s.counterValue,variant:"tertiary",size:"sm"},null,8,["value"])):m.createCommentVNode("",!0),s.icon?(m.openBlock(),m.createBlock(Wi,{key:2,"data-testid":"pv-multi-select-button-icon",name:s.icon},null,8,["name"])):m.createCommentVNode("",!0),s.companyLogo?(m.openBlock(),m.createBlock(Z7,{key:3,name:s.companyLogo,size:"sm"},null,8,["name"])):m.createCommentVNode("",!0),s.isLoading||s.label?(m.openBlock(),m.createElementBlock("span",zPe,m.toDisplayString(s.isLoading?"Loading...":s.label),1)):m.createCommentVNode("",!0),s.counterPosition==="right"?(m.openBlock(),m.createBlock(w0,{key:5,"data-testid":"pv-multi-select-right-counter-badge",value:s.counterValue,variant:"tertiary",size:"sm"},null,8,["value"])):m.createCommentVNode("",!0),s.showDropdown?(m.openBlock(),m.createBlock(Wi,{key:6,name:s.open?"chevron-up":"chevron-down"},null,8,["name"])):m.createCommentVNode("",!0),s.showClear?(m.openBlock(),m.createBlock(k0,{key:7,size:"sm",variant:"dark","tooltip-position":"top-left"},{label:m.withCtx(()=>[m.createVNode(Wi,{name:"close",onClick:n[0]||(n[0]=m.withModifiers(r=>s.$emit("handle-clear"),["stop"]))})]),"tooltip-content":m.withCtx(()=>n[2]||(n[2]=[m.createTextVNode(" Clear Selections ")])),_:1})):m.createCommentVNode("",!0)],10,BPe))}}),_Pe={},VPe={class:"pv-text-subdued pv-text-center pv-text-body-md"};function HPe(e,t){return m.openBlock(),m.createElementBlock("div",VPe,"No Results Found")}const cW=Ea(_Pe,[["render",HPe]]),WPe=["src"],jPe=m.defineComponent({__name:"PvAvatar",props:{size:{default:"lg"},image:{},initials:{}},setup(e){const t={sm:"pv-avatar-16",md:"pv-avatar-20",lg:"pv-avatar-xs",xl:"pv-avatar-sm","2x":"pv-avatar-md"};return(i,o)=>(m.openBlock(),m.createElementBlock("div",{class:m.normalizeClass(t[i.size]),"data-testid":"pv-avatar"},[i.initials?(m.openBlock(),m.createElementBlock(m.Fragment,{key:0},[m.createTextVNode(m.toDisplayString(i.initials),1)],64)):i.image?(m.openBlock(),m.createElementBlock("img",{key:1,src:i.image},null,8,WPe)):m.createCommentVNode("",!0)],2))}}),$Pe={class:"pv-full-width pv-truncate pv-flex-vertical",style:{"align-items":"flex-start","--flex-gap":"0"}},UPe=["title"],KPe=["title"],YPe={key:3,class:"pv-text-subdued pv-text-body-md"},Lc=m.defineComponent({__name:"PvMenuItem",props:{id:{},text:{},subText:{},secondaryText:{},icon:{},companyName:{},avatar:{},disabled:{type:Boolean},renderer:{},rendererProps:{},classList:{}},emits:["handle-selected"],setup(e){return(t,i)=>(m.openBlock(),m.createElementBlock("a",{class:m.normalizeClass(["pv-flex",t.classList]),"data-testid":"pv-menu-item",style:{cursor:"pointer"},role:"button",onClick:i[0]||(i[0]=o=>t.$emit("handle-selected"))},[t.renderer?(m.openBlock(),m.createBlock(m.resolveDynamicComponent(t.renderer),m.normalizeProps(m.mergeProps({key:0},t.$props)),null,16)):(m.openBlock(),m.createElementBlock(m.Fragment,{key:1},[t.avatar?(m.openBlock(),m.createBlock(jPe,{key:0,initials:t.avatar.initials,image:t.avatar.image,size:"lg"},null,8,["initials","image"])):m.createCommentVNode("",!0),t.icon?(m.openBlock(),m.createBlock(Wi,{key:1,name:t.icon},null,8,["name"])):m.createCommentVNode("",!0),t.companyName?(m.openBlock(),m.createBlock(Z7,{key:2,name:t.companyName,size:"sm"},null,8,["name"])):m.createCommentVNode("",!0),m.createElementVNode("div",$Pe,[m.createElementVNode("span",{class:"pv-text-body-md pv-full-width pv-truncate",title:t.text},m.toDisplayString(t.text),9,UPe),t.subText?(m.openBlock(),m.createElementBlock("span",{key:0,class:"pv-text-body-xs pv-text-subdued pv-full-width pv-truncate",title:t.subText},m.toDisplayString(t.subText),9,KPe)):m.createCommentVNode("",!0)]),t.secondaryText?(m.openBlock(),m.createElementBlock("span",YPe,m.toDisplayString(t.secondaryText),1)):m.createCommentVNode("",!0)],64))],2))}}),XPe=["checked","disabled"],ZPe={class:"pv-full-width pv-truncate pv-flex-vertical",style:{"align-items":"flex-start","--flex-gap":"0"}},qPe=["title"],QPe=["title"],JPe={key:0,class:"pv-text-subdued pv-text-body-md"},eNe=m.defineComponent({__name:"PvMenuCheckboxItem",props:{id:{},text:{},subText:{},secondaryText:{},value:{type:Boolean},disabled:{type:Boolean},renderer:{},rendererProps:{},classList:{}},emits:["handle-selected"],setup(e){return(t,i)=>(m.openBlock(),m.createElementBlock("label",{class:m.normalizeClass(["pv-label pv-label-hover pv-flex",t.classList]),"data-testid":"pv-menu-checkbox-item",style:{cursor:"pointer"}},[m.createElementVNode("input",{type:"checkbox",name:"checkbox",checked:t.value,class:"pv-checkbox",onChange:i[0]||(i[0]=o=>t.$emit("handle-selected")),disabled:t.disabled},null,40,XPe),t.renderer?(m.openBlock(),m.createBlock(m.resolveDynamicComponent(t.renderer),m.normalizeProps(m.mergeProps({key:0},t.$props)),null,16)):(m.openBlock(),m.createElementBlock(m.Fragment,{key:1},[m.createElementVNode("div",ZPe,[m.createElementVNode("span",{class:"pv-text-body-md pv-full-width pv-truncate",title:t.text},m.toDisplayString(t.text),9,qPe),t.subText?(m.openBlock(),m.createElementBlock("span",{key:0,class:"pv-text-body-xs pv-text-subdued pv-full-width pv-truncate",title:t.subText},m.toDisplayString(t.subText),9,QPe)):m.createCommentVNode("",!0)]),t.secondaryText?(m.openBlock(),m.createElementBlock("span",JPe,m.toDisplayString(t.secondaryText),1)):m.createCommentVNode("",!0)],64))],2))}}),lB=m.defineComponent({__name:"PvMultiSelectMenuItem",props:{optionsVariant:{default:"checkbox"},selected:{type:Boolean},option:{}},emits:["handle-select-item"],setup(e){const t={simple:Lc,icon:Lc,company:Lc,checkbox:eNe,avatar:Lc};return(i,o)=>(m.openBlock(),m.createBlock(m.resolveDynamicComponent(t[i.optionsVariant]),{id:i.option.id,value:i.selected,"secondary-text":i.option.secondaryText,icon:i.optionsVariant==="icon"?i.option.icon:void 0,avatar:i.optionsVariant==="avatar"?i.option.avatar:void 0,companyName:i.optionsVariant==="company"?i.option.companyName?i.option.companyName:i.option.text:void 0,text:i.option.text,subText:i.option.subText,disabled:i.option.disabled,renderer:i.option.renderer,rendererProps:i.option.rendererProps,classList:i.option.classList,onHandleSelected:o[0]||(o[0]=()=>i.$emit("handle-select-item",i.option))},null,40,["id","value","secondary-text","icon","avatar","companyName","text","subText","disabled","renderer","rendererProps","classList"]))}}),tNe=m.defineComponent({__name:"PvSpinner",props:{variant:{default:"primary"},size:{default:"lg"}},setup(e){const t={xs:"0.75rem",sm:"1rem",md:"1.25rem",lg:"1.5rem",xl:"2rem"},i={primary:"pv-spinner",dark:"pv-spinner-dark",white:"pv-spinner-light"};return(o,s)=>(m.openBlock(),m.createElementBlock("div",{"data-testid":"pv-spinner",class:m.normalizeClass(i[o.variant]),style:m.normalizeStyle({"--size":t[o.size]})},null,6))}}),dW=({alignment:e,useTeleport:t=!0,popoverCssProperties:i}={})=>{const o=m.ref(null),s=m.ref(null),n=m.ref(null),r=m.ref(null),a=m.computed(()=>!o.value||!s.value?0:e==="right"||e==="top right"?o.value.left+o.value.width-s.value.width:o.value.left),l=m.computed(()=>!o.value||!s.value?0:e==="top"||e==="top right"?o.value.top-s.value.height:o.value.top+window.scrollY+o.value.height),c=m.computed(()=>{if(!t)return i;const u={position:"absolute",left:`${a.value}px`,top:`${l.value}px`,zIndex:10};return{...i,...u}});return{triggerRef:n,popoverRef:r,triggerRect:o,popoverRect:s,popoverPositionStyle:c,updateRects:()=>{n.value&&(o.value=n.value.getBoundingClientRect()),r.value?.popoverRoot&&(s.value=r.value.popoverRoot.getBoundingClientRect())}}},iNe={class:"pv-relative",style:{width:"fit-content"}},oNe={key:1,class:"pv-text-body-sm",style:{color:"#89989b"}},sNe={role:"list"},nNe=["data-active"],rNe={key:2,class:"pv-border-top",style:{margin:"8px 0"}},aNe={key:1,role:"list"},lNe=["data-active"],cNe={key:2,class:"pv-flex pv-inset-block-8",style:{"justify-content":"center"}},dNe={class:"pv-sticky pv-surface pv-border-top",style:{"--flex-justify":"space-between","--bottom":"0","padding-top":"0.75rem","padding-bottom":"0.5rem"}},uNe=m.defineComponent({__name:"PvMultiSelectButton",props:m.mergeModels({groupings:{},defaultOpen:{type:Boolean},disabled:{type:Boolean},teleportLocation:{default:"body"},isLoading:{type:Boolean},variant:{default:"secondary"},size:{default:"lg"},alignment:{},popoverCssProperties:{},prefixLabel:{},label:{default:"Select"},icon:{},counterPosition:{default:"left"},companyLogo:{},showClear:{type:Boolean,default:!0},showDropdown:{type:Boolean,default:!0},showMenuAction:{type:Boolean,default:!0},showSearchInput:{type:Boolean,default:!0},overlayTrigger:{type:Boolean},optionsVariant:{default:"checkbox"},options:{default:()=>[]},useTeleport:{type:Boolean,default:!1}},{modelValue:{required:!1,default:()=>[]},modelModifiers:{},searchInput:{required:!1,default:""},searchInputModifiers:{}}),emits:m.mergeModels(["dropdown-open","dropdown-closed"],["update:modelValue","update:searchInput"]),setup(e,{emit:t}){const i=e,o=t,s={top:i.overlayTrigger?"0":"unset",...i.popoverCssProperties},{popoverPositionStyle:n,updateRects:r,triggerRef:a,popoverRef:l}=dW({alignment:i.alignment,popoverCssProperties:s,useTeleport:i.useTeleport}),c=m.useTemplateRef("select-menu-ref"),d=m.useTemplateRef("select-button-trigger-ref"),u=m.useTemplateRef("searchInputRef"),[h,p]=R7(i.defaultOpen),g=m.useModel(e,"modelValue"),f=m.useModel(e,"searchInput"),v=()=>{f.value="",h.value=!1};m.watch(h,w=>{w?m.nextTick(()=>{i.overlayTrigger&&i.showSearchInput&&u.value?.input?.focus(),r(),o("dropdown-open")}):o("dropdown-closed")}),m.onMounted(()=>{c.value?.popoverRef&&(l.value=c.value?.popoverRef),d.value?.triggerRef&&(a.value=d.value?.triggerRef)});const y=m.computed(()=>f.value===""?i.options:i.options.filter(w=>w.text.toLocaleLowerCase().includes(f.value.toLocaleLowerCase()))),C=w=>{const M=g.value,R=M.findIndex(P=>P.id===w.id);let L;R>-1?L=[...M.slice(0,R),...M.slice(R+1)]:L=[...M,{...w}],g.value=L},S=()=>{g.value=y.value.map(w=>({id:w.id,text:w.text}))},x=()=>{g.value=[]},D=m.computed(()=>{if(!i.groupings)return;const w=new Map;i.groupings.forEach(M=>{w.set(M,[])}),w.set("other",[]);for(const M of i.options){const R=M.groupingLabel,L=R&&w.has(R)?R:"other";w.get(L).push(M)}for(const[M,R]of w)R.length===0&&w.delete(M);return Array.from(w.entries())}),A=m.computed(()=>i.groupings&&f.value===""),k=w=>g.value.some(M=>M.id===w.id)?!0:null;return PL("Escape",()=>{h.value&&v()}),(w,M)=>m.withDirectives((m.openBlock(),m.createElementBlock("div",iNe,[m.createVNode(lW,{ref:"select-button-trigger-ref",variant:w.variant,size:w.size,disabled:w.disabled,counterPosition:w.counterPosition,prefixLabel:w.prefixLabel,label:w.label,icon:w.icon,companyLogo:w.companyLogo,showClear:w.showClear&&g.value.length>0,showDropdown:w.showDropdown&&g.value.length===0,open:m.unref(h),"counter-value":g.value.length,onHandleClear:x,onHandleToggleDropdown:M[0]||(M[0]=R=>m.unref(p)())},null,8,["variant","size","disabled","counterPosition","prefixLabel","label","icon","companyLogo","showClear","showDropdown","open","counter-value"]),m.createVNode(aW,{ref:"select-menu-ref",open:m.unref(h),teleportLocation:w.teleportLocation,"use-teleport":w.useTeleport,"css-custom-list-properties":w.showMenuAction?{"padding-bottom":0}:{},popoverPositionStyle:m.unref(n)},{default:m.withCtx(()=>[w.showSearchInput?(m.openBlock(),m.createElementBlock(m.Fragment,{key:0},[m.createVNode(q7,{ref:"searchInputRef","model-value":f.value,"onUpdate:modelValue":M[1]||(M[1]=R=>f.value=R),class:"pv-sticky pv-surface pv-stack-12",style:{"padding-top":"4px"}},null,8,["model-value"]),M[2]||(M[2]=m.createElementVNode("div",{class:"pv-border-top pv-stack-12"},null,-1))],64)):m.createCommentVNode("",!0),y.value.length>0?(m.openBlock(),m.createElementBlock(m.Fragment,{key:1},[A.value?(m.openBlock(!0),m.createElementBlock(m.Fragment,{key:0},m.renderList(D.value,([R,L],P)=>(m.openBlock(),m.createElementBlock("div",{key:R},[w.$slots[R]?m.renderSlot(w.$slots,R,{key:0}):R!=="other"?(m.openBlock(),m.createElementBlock("span",oNe,m.toDisplayString(R),1)):m.createCommentVNode("",!0),m.createElementVNode("ul",sNe,[(m.openBlock(!0),m.createElementBlock(m.Fragment,null,m.renderList(L,N=>m.withDirectives((m.openBlock(),m.createElementBlock("li",{key:N.id,"data-active":k(N),class:"pv-stack-4"},[m.createVNode(lB,{"data-testid":`pv-multiselect-${R}-item`,"options-variant":w.optionsVariant,selected:g.value.some(O=>O.id===N.id),option:N,onHandleSelectItem:C},null,8,["data-testid","options-variant","selected","option"])],8,nNe)),[[m.vShow,k(N)||!w.isLoading]])),128))]),D.value&&P!==D.value.length-1?(m.openBlock(),m.createElementBlock("div",rNe)):m.createCommentVNode("",!0)]))),128)):(m.openBlock(),m.createElementBlock("ul",aNe,[(m.openBlock(!0),m.createElementBlock(m.Fragment,null,m.renderList(y.value,R=>(m.openBlock(),m.createElementBlock("li",{key:R.id,"data-active":g.value.some(L=>L.id===R.id)?!0:null,class:"pv-stack-4"},[m.createVNode(lB,{"options-variant":w.optionsVariant,selected:g.value.some(L=>L.id===R.id),option:R,onHandleSelectItem:C},null,8,["options-variant","selected","option"])],8,lNe))),128))]))],64)):m.createCommentVNode("",!0),w.isLoading?(m.openBlock(),m.createElementBlock("div",cNe,[m.createVNode(tNe,{variant:"dark"})])):y.value.length===0?(m.openBlock(),m.createElementBlock(m.Fragment,{key:3},[w.$slots["no-results"]?m.renderSlot(w.$slots,"no-results",m.normalizeProps(m.mergeProps({key:0},w.$props))):(m.openBlock(),m.createBlock(cW,{key:1}))],64)):m.createCommentVNode("",!0),m.createElementVNode("div",dNe,[w.$slots.footer?m.renderSlot(w.$slots,"footer",m.normalizeProps(m.mergeProps({key:0},w.$props))):m.createCommentVNode("",!0),w.showMenuAction?(m.openBlock(),m.createBlock(FPe,{key:1,disabled:w.isLoading,onHandleClearAll:x,onHandleSelectAll:S},null,8,["disabled"])):m.createCommentVNode("",!0)])]),_:3},8,["open","teleportLocation","use-teleport","css-custom-list-properties","popoverPositionStyle"])])),[[m.unref(GL),[v,{ignore:[".pv-popover"]}]]])}}),hNe={"data-testid":"pv-menu-radio-item",class:"pv-label pv-label-hover pv-flex",style:{cursor:"pointer"}},pNe=["checked"],gNe={class:"pv-full-width pv-truncate pv-flex-vertical",style:{"align-items":"flex-start","--flex-gap":"0"}},fNe=["title"],mNe=["title"],yNe={key:0,class:"pv-text-subdued pv-text-body-md"},vNe=m.defineComponent({__name:"PvMenuRadioItem",props:{text:{},subText:{},secondaryText:{},value:{type:Boolean}},emits:["handle-selected"],setup(e){return(t,i)=>(m.openBlock(),m.createElementBlock("label",hNe,[m.createElementVNode("input",{type:"radio",name:"radio",checked:t.value,class:"pv-radio",onChange:i[0]||(i[0]=o=>t.$emit("handle-selected"))},null,40,pNe),m.createElementVNode("div",gNe,[m.createElementVNode("span",{class:"pv-text-body-md pv-full-width pv-truncate",title:t.text},m.toDisplayString(t.text),9,fNe),t.subText?(m.openBlock(),m.createElementBlock("span",{key:0,class:"pv-text-body-xs pv-text-subdued pv-full-width pv-truncate",title:t.subText},m.toDisplayString(t.subText),9,mNe)):m.createCommentVNode("",!0)]),t.secondaryText?(m.openBlock(),m.createElementBlock("span",yNe,m.toDisplayString(t.secondaryText),1)):m.createCommentVNode("",!0)]))}}),bNe={class:"pv-relative",style:{width:"fit-content"}},CNe=["data-active"],tk=m.defineComponent({__name:"PvSelectButton",props:m.mergeModels({defaultOpen:{type:Boolean},disabled:{type:Boolean},teleportLocation:{default:"body"},isLoading:{type:Boolean},variant:{default:"secondary"},size:{default:"lg"},alignment:{},popoverCssProperties:{},prefixLabel:{},label:{default:"Select an option"},showMenuAction:{type:Boolean},showSearchInput:{type:Boolean,default:!0},optionsVariant:{default:"simple"},options:{},useTeleport:{type:Boolean,default:!0},allowDeselect:{type:Boolean,default:!0}},{modelValue:{required:!1},modelModifiers:{},searchInput:{required:!1,default:""},searchInputModifiers:{}}),emits:m.mergeModels(["dropdown-open","dropdown-closed"],["update:modelValue","update:searchInput"]),setup(e,{emit:t}){const i=e,o=t,s={simple:Lc,icon:Lc,company:Lc,radio:vNe,avatar:Lc},{popoverPositionStyle:n,updateRects:r,triggerRef:a,popoverRef:l}=dW({alignment:i.alignment,popoverCssProperties:i.popoverCssProperties,useTeleport:i.useTeleport}),c=m.useTemplateRef("select-menu-ref"),d=m.useTemplateRef("select-button-trigger-ref"),[u,h]=R7(i.defaultOpen),p=m.useModel(e,"modelValue"),g=m.useModel(e,"searchInput");m.watch(u,A=>{A?m.nextTick(()=>{r(),o("dropdown-open")}):o("dropdown-closed")}),m.onMounted(()=>{c.value?.popoverRef&&(l.value=c.value?.popoverRef),d.value?.triggerRef&&(a.value=d.value?.triggerRef)});const f=m.computed(()=>p.value&&p.value.text?p.value.text:i.label),v=m.computed(()=>{if(p.value&&p.value.icon)return p.value.icon}),y=m.computed(()=>{if(p.value&&p.value.companyName)return p.value.companyName}),C=m.computed(()=>g.value===""?i.options:i.options.filter(A=>A.text.toLocaleLowerCase().includes(g.value.toLocaleLowerCase()))),S=A=>{if(i.optionsVariant==="radio"||!i.allowDeselect){p.value=A,D();return}p.value?.id===A.id?p.value=void 0:p.value=A,D()},x=()=>{p.value=void 0},D=()=>{u.value=!1,g.value=""};return PL("Escape",()=>{u.value&&D()}),(A,k)=>m.withDirectives((m.openBlock(),m.createElementBlock("div",bNe,[m.createVNode(lW,{class:"pv-full-width",ref:"select-button-trigger-ref",variant:A.variant,size:A.size,disabled:A.disabled,counterPosition:void 0,prefixLabel:A.prefixLabel,label:f.value,icon:v.value,companyLogo:y.value,showClear:!1,showDropdown:!0,open:m.unref(u),"counter-value":0,isLoading:A.isLoading,onHandleClear:x,onHandleToggleDropdown:k[0]||(k[0]=w=>m.unref(h)())},null,8,["variant","size","disabled","prefixLabel","label","icon","companyLogo","open","isLoading"]),m.createVNode(aW,{ref:"select-menu-ref",open:m.unref(u),teleportLocation:A.teleportLocation,"use-teleport":A.useTeleport,popoverPositionStyle:{...m.unref(n),...A.popoverCssProperties}},{default:m.withCtx(()=>[A.showSearchInput?(m.openBlock(),m.createElementBlock(m.Fragment,{key:0},[m.createVNode(q7,{"model-value":g.value,"onUpdate:modelValue":k[1]||(k[1]=w=>g.value=w),class:"pv-stack-12"},null,8,["model-value"]),k[2]||(k[2]=m.createElementVNode("div",{class:"pv-border-top pv-stack-12"},null,-1))],64)):m.createCommentVNode("",!0),C.value.length>0?(m.openBlock(!0),m.createElementBlock(m.Fragment,{key:1},m.renderList(C.value,w=>(m.openBlock(),m.createElementBlock("li",{key:w.id,"data-active":p.value?.id===w.id?!0:null},[(m.openBlock(),m.createBlock(m.resolveDynamicComponent(s[A.optionsVariant]),{id:w.id,value:p.value?.id===w.id,"secondary-text":w.secondaryText,icon:A.optionsVariant==="icon"?w.icon:void 0,avatar:A.optionsVariant==="avatar"?w.avatar:void 0,companyName:A.optionsVariant==="company"?w.companyName?w.companyName:w.text:void 0,text:w.text,subText:w.subText,renderer:w.renderer,"renderer-props":w.rendererProps,classList:w.classList,onHandleSelected:()=>S(w)},null,40,["id","value","secondary-text","icon","avatar","companyName","text","subText","renderer","renderer-props","classList","onHandleSelected"]))],8,CNe))),128)):(m.openBlock(),m.createBlock(cW,{key:2}))]),_:1},8,["open","teleportLocation","use-teleport","popoverPositionStyle"])])),[[m.unref(GL),[D,{ignore:[".pv-popover"]}]]])}}),SNe=["for"],xNe=["disabled","type","placeholder","id","data-invalid"];Math.random().toString();rW.extend({name:"common"});var wNe={transitionDuration:"{transition.duration}"},MNe={borderWidth:"0 0 1px 0",borderColor:"{content.border.color}"},DNe={color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{text.color}",padding:"1.125rem",fontWeight:"600",borderRadius:"0",borderWidth:"0",borderColor:"{content.border.color}",background:"{content.background}",hoverBackground:"{content.background}",activeBackground:"{content.background}",activeHoverBackground:"{content.background}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"},toggleIcon:{color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{text.color}",activeHoverColor:"{text.color}"},first:{topBorderRadius:"{content.border.radius}",borderWidth:"0"},last:{bottomBorderRadius:"{content.border.radius}",activeBottomBorderRadius:"0"}},kNe={borderWidth:"0",borderColor:"{content.border.color}",background:"{content.background}",color:"{text.color}",padding:"0 1.125rem 1.125rem 1.125rem"},INe={root:wNe,panel:MNe,header:DNe,content:kNe},ANe={background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}"},RNe={background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},TNe={padding:"{list.padding}",gap:"{list.gap}"},LNe={focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusBackground:"{list.option.selected.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",selectedColor:"{list.option.selected.color}",selectedFocusColor:"{list.option.selected.focus.color}",padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}"},ENe={background:"{list.option.group.background}",color:"{list.option.group.color}",fontWeight:"{list.option.group.font.weight}",padding:"{list.option.group.padding}"},PNe={width:"2.5rem",sm:{width:"2rem"},lg:{width:"3rem"},borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.border.color}",activeBorderColor:"{form.field.border.color}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},NNe={borderRadius:"{border.radius.sm}"},ONe={padding:"{list.option.padding}"},FNe={light:{chip:{focusBackground:"{surface.200}",focusColor:"{surface.800}"},dropdown:{background:"{surface.100}",hoverBackground:"{surface.200}",activeBackground:"{surface.300}",color:"{surface.600}",hoverColor:"{surface.700}",activeColor:"{surface.800}"}},dark:{chip:{focusBackground:"{surface.700}",focusColor:"{surface.0}"},dropdown:{background:"{surface.800}",hoverBackground:"{surface.700}",activeBackground:"{surface.600}",color:"{surface.300}",hoverColor:"{surface.200}",activeColor:"{surface.100}"}}},BNe={root:ANe,overlay:RNe,list:TNe,option:LNe,optionGroup:ENe,dropdown:PNe,chip:NNe,emptyMessage:ONe,colorScheme:FNe},GNe={width:"2rem",height:"2rem",fontSize:"1rem",background:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}"},zNe={size:"1rem"},_Ne={borderColor:"{content.background}",offset:"-0.75rem"},VNe={width:"3rem",height:"3rem",fontSize:"1.5rem",icon:{size:"1.5rem"},group:{offset:"-1rem"}},HNe={width:"4rem",height:"4rem",fontSize:"2rem",icon:{size:"2rem"},group:{offset:"-1.5rem"}},WNe={root:GNe,icon:zNe,group:_Ne,lg:VNe,xl:HNe},jNe={borderRadius:"{border.radius.md}",padding:"0 0.5rem",fontSize:"0.75rem",fontWeight:"700",minWidth:"1.5rem",height:"1.5rem"},$Ne={size:"0.5rem"},UNe={fontSize:"0.625rem",minWidth:"1.25rem",height:"1.25rem"},KNe={fontSize:"0.875rem",minWidth:"1.75rem",height:"1.75rem"},YNe={fontSize:"1rem",minWidth:"2rem",height:"2rem"},XNe={light:{primary:{background:"{primary.color}",color:"{primary.contrast.color}"},secondary:{background:"{surface.100}",color:"{surface.600}"},success:{background:"{green.500}",color:"{surface.0}"},info:{background:"{sky.500}",color:"{surface.0}"},warn:{background:"{orange.500}",color:"{surface.0}"},danger:{background:"{red.500}",color:"{surface.0}"},contrast:{background:"{surface.950}",color:"{surface.0}"}},dark:{primary:{background:"{primary.color}",color:"{primary.contrast.color}"},secondary:{background:"{surface.800}",color:"{surface.300}"},success:{background:"{green.400}",color:"{green.950}"},info:{background:"{sky.400}",color:"{sky.950}"},warn:{background:"{orange.400}",color:"{orange.950}"},danger:{background:"{red.400}",color:"{red.950}"},contrast:{background:"{surface.0}",color:"{surface.950}"}}},ZNe={root:jNe,dot:$Ne,sm:UNe,lg:KNe,xl:YNe,colorScheme:XNe},qNe={borderRadius:{none:"0",xs:"2px",sm:"4px",md:"6px",lg:"8px",xl:"12px"},emerald:{50:"#ecfdf5",100:"#d1fae5",200:"#a7f3d0",300:"#6ee7b7",400:"#34d399",500:"#10b981",600:"#059669",700:"#047857",800:"#065f46",900:"#064e3b",950:"#022c22"},green:{50:"#f0fdf4",100:"#dcfce7",200:"#bbf7d0",300:"#86efac",400:"#4ade80",500:"#22c55e",600:"#16a34a",700:"#15803d",800:"#166534",900:"#14532d",950:"#052e16"},lime:{50:"#f7fee7",100:"#ecfccb",200:"#d9f99d",300:"#bef264",400:"#a3e635",500:"#84cc16",600:"#65a30d",700:"#4d7c0f",800:"#3f6212",900:"#365314",950:"#1a2e05"},red:{50:"#fef2f2",100:"#fee2e2",200:"#fecaca",300:"#fca5a5",400:"#f87171",500:"#ef4444",600:"#dc2626",700:"#b91c1c",800:"#991b1b",900:"#7f1d1d",950:"#450a0a"},orange:{50:"#fff7ed",100:"#ffedd5",200:"#fed7aa",300:"#fdba74",400:"#fb923c",500:"#f97316",600:"#ea580c",700:"#c2410c",800:"#9a3412",900:"#7c2d12",950:"#431407"},amber:{50:"#fffbeb",100:"#fef3c7",200:"#fde68a",300:"#fcd34d",400:"#fbbf24",500:"#f59e0b",600:"#d97706",700:"#b45309",800:"#92400e",900:"#78350f",950:"#451a03"},yellow:{50:"#fefce8",100:"#fef9c3",200:"#fef08a",300:"#fde047",400:"#facc15",500:"#eab308",600:"#ca8a04",700:"#a16207",800:"#854d0e",900:"#713f12",950:"#422006"},teal:{50:"#f0fdfa",100:"#ccfbf1",200:"#99f6e4",300:"#5eead4",400:"#2dd4bf",500:"#14b8a6",600:"#0d9488",700:"#0f766e",800:"#115e59",900:"#134e4a",950:"#042f2e"},cyan:{50:"#ecfeff",100:"#cffafe",200:"#a5f3fc",300:"#67e8f9",400:"#22d3ee",500:"#06b6d4",600:"#0891b2",700:"#0e7490",800:"#155e75",900:"#164e63",950:"#083344"},sky:{50:"#f0f9ff",100:"#e0f2fe",200:"#bae6fd",300:"#7dd3fc",400:"#38bdf8",500:"#0ea5e9",600:"#0284c7",700:"#0369a1",800:"#075985",900:"#0c4a6e",950:"#082f49"},blue:{50:"#eff6ff",100:"#dbeafe",200:"#bfdbfe",300:"#93c5fd",400:"#60a5fa",500:"#3b82f6",600:"#2563eb",700:"#1d4ed8",800:"#1e40af",900:"#1e3a8a",950:"#172554"},indigo:{50:"#eef2ff",100:"#e0e7ff",200:"#c7d2fe",300:"#a5b4fc",400:"#818cf8",500:"#6366f1",600:"#4f46e5",700:"#4338ca",800:"#3730a3",900:"#312e81",950:"#1e1b4b"},violet:{50:"#f5f3ff",100:"#ede9fe",200:"#ddd6fe",300:"#c4b5fd",400:"#a78bfa",500:"#8b5cf6",600:"#7c3aed",700:"#6d28d9",800:"#5b21b6",900:"#4c1d95",950:"#2e1065"},purple:{50:"#faf5ff",100:"#f3e8ff",200:"#e9d5ff",300:"#d8b4fe",400:"#c084fc",500:"#a855f7",600:"#9333ea",700:"#7e22ce",800:"#6b21a8",900:"#581c87",950:"#3b0764"},fuchsia:{50:"#fdf4ff",100:"#fae8ff",200:"#f5d0fe",300:"#f0abfc",400:"#e879f9",500:"#d946ef",600:"#c026d3",700:"#a21caf",800:"#86198f",900:"#701a75",950:"#4a044e"},pink:{50:"#fdf2f8",100:"#fce7f3",200:"#fbcfe8",300:"#f9a8d4",400:"#f472b6",500:"#ec4899",600:"#db2777",700:"#be185d",800:"#9d174d",900:"#831843",950:"#500724"},rose:{50:"#fff1f2",100:"#ffe4e6",200:"#fecdd3",300:"#fda4af",400:"#fb7185",500:"#f43f5e",600:"#e11d48",700:"#be123c",800:"#9f1239",900:"#881337",950:"#4c0519"},slate:{50:"#f8fafc",100:"#f1f5f9",200:"#e2e8f0",300:"#cbd5e1",400:"#94a3b8",500:"#64748b",600:"#475569",700:"#334155",800:"#1e293b",900:"#0f172a",950:"#020617"},gray:{50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5db",400:"#9ca3af",500:"#6b7280",600:"#4b5563",700:"#374151",800:"#1f2937",900:"#111827",950:"#030712"},zinc:{50:"#fafafa",100:"#f4f4f5",200:"#e4e4e7",300:"#d4d4d8",400:"#a1a1aa",500:"#71717a",600:"#52525b",700:"#3f3f46",800:"#27272a",900:"#18181b",950:"#09090b"},neutral:{50:"#fafafa",100:"#f5f5f5",200:"#e5e5e5",300:"#d4d4d4",400:"#a3a3a3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717",950:"#0a0a0a"},stone:{50:"#fafaf9",100:"#f5f5f4",200:"#e7e5e4",300:"#d6d3d1",400:"#a8a29e",500:"#78716c",600:"#57534e",700:"#44403c",800:"#292524",900:"#1c1917",950:"#0c0a09"}},QNe={transitionDuration:"0.2s",focusRing:{width:"1px",style:"solid",color:"{primary.color}",offset:"2px",shadow:"none"},disabledOpacity:"0.6",iconSize:"1rem",anchorGutter:"2px",primary:{50:"{emerald.50}",100:"{emerald.100}",200:"{emerald.200}",300:"{emerald.300}",400:"{emerald.400}",500:"{emerald.500}",600:"{emerald.600}",700:"{emerald.700}",800:"{emerald.800}",900:"{emerald.900}",950:"{emerald.950}"},formField:{paddingX:"0.75rem",paddingY:"0.5rem",sm:{fontSize:"0.875rem",paddingX:"0.625rem",paddingY:"0.375rem"},lg:{fontSize:"1.125rem",paddingX:"0.875rem",paddingY:"0.625rem"},borderRadius:"{border.radius.md}",focusRing:{width:"0",style:"none",color:"transparent",offset:"0",shadow:"none"},transitionDuration:"{transition.duration}"},list:{padding:"0.25rem 0.25rem",gap:"2px",header:{padding:"0.5rem 1rem 0.25rem 1rem"},option:{padding:"0.5rem 0.75rem",borderRadius:"{border.radius.sm}"},optionGroup:{padding:"0.5rem 0.75rem",fontWeight:"600"}},content:{borderRadius:"{border.radius.md}"},mask:{transitionDuration:"0.15s"},navigation:{list:{padding:"0.25rem 0.25rem",gap:"2px"},item:{padding:"0.5rem 0.75rem",borderRadius:"{border.radius.sm}",gap:"0.5rem"},submenuLabel:{padding:"0.5rem 0.75rem",fontWeight:"600"},submenuIcon:{size:"0.875rem"}},overlay:{select:{borderRadius:"{border.radius.md}",shadow:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)"},popover:{borderRadius:"{border.radius.md}",padding:"0.75rem",shadow:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)"},modal:{borderRadius:"{border.radius.xl}",padding:"1.25rem",shadow:"0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1)"},navigation:{shadow:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)"}},colorScheme:{light:{surface:{0:"#ffffff",50:"{slate.50}",100:"{slate.100}",200:"{slate.200}",300:"{slate.300}",400:"{slate.400}",500:"{slate.500}",600:"{slate.600}",700:"{slate.700}",800:"{slate.800}",900:"{slate.900}",950:"{slate.950}"},primary:{color:"{primary.500}",contrastColor:"#ffffff",hoverColor:"{primary.600}",activeColor:"{primary.700}"},highlight:{background:"{primary.50}",focusBackground:"{primary.100}",color:"{primary.700}",focusColor:"{primary.800}"},mask:{background:"rgba(0,0,0,0.4)",color:"{surface.200}"},formField:{background:"{surface.0}",disabledBackground:"{surface.200}",filledBackground:"{surface.50}",filledHoverBackground:"{surface.50}",filledFocusBackground:"{surface.50}",borderColor:"{surface.300}",hoverBorderColor:"{surface.400}",focusBorderColor:"{primary.color}",invalidBorderColor:"{red.400}",color:"{surface.700}",disabledColor:"{surface.500}",placeholderColor:"{surface.500}",invalidPlaceholderColor:"{red.600}",floatLabelColor:"{surface.500}",floatLabelFocusColor:"{primary.600}",floatLabelActiveColor:"{surface.500}",floatLabelInvalidColor:"{form.field.invalid.placeholder.color}",iconColor:"{surface.400}",shadow:"0 0 #0000, 0 0 #0000, 0 1px 2px 0 rgba(18, 18, 23, 0.05)"},text:{color:"{surface.700}",hoverColor:"{surface.800}",mutedColor:"{surface.500}",hoverMutedColor:"{surface.600}"},content:{background:"{surface.0}",hoverBackground:"{surface.100}",borderColor:"{surface.200}",color:"{text.color}",hoverColor:"{text.hover.color}"},overlay:{select:{background:"{surface.0}",borderColor:"{surface.200}",color:"{text.color}"},popover:{background:"{surface.0}",borderColor:"{surface.200}",color:"{text.color}"},modal:{background:"{surface.0}",borderColor:"{surface.200}",color:"{text.color}"}},list:{option:{focusBackground:"{surface.100}",selectedBackground:"{highlight.background}",selectedFocusBackground:"{highlight.focus.background}",color:"{text.color}",focusColor:"{text.hover.color}",selectedColor:"{highlight.color}",selectedFocusColor:"{highlight.focus.color}",icon:{color:"{surface.400}",focusColor:"{surface.500}"}},optionGroup:{background:"transparent",color:"{text.muted.color}"}},navigation:{item:{focusBackground:"{surface.100}",activeBackground:"{surface.100}",color:"{text.color}",focusColor:"{text.hover.color}",activeColor:"{text.hover.color}",icon:{color:"{surface.400}",focusColor:"{surface.500}",activeColor:"{surface.500}"}},submenuLabel:{background:"transparent",color:"{text.muted.color}"},submenuIcon:{color:"{surface.400}",focusColor:"{surface.500}",activeColor:"{surface.500}"}}},dark:{surface:{0:"#ffffff",50:"{zinc.50}",100:"{zinc.100}",200:"{zinc.200}",300:"{zinc.300}",400:"{zinc.400}",500:"{zinc.500}",600:"{zinc.600}",700:"{zinc.700}",800:"{zinc.800}",900:"{zinc.900}",950:"{zinc.950}"},primary:{color:"{primary.400}",contrastColor:"{surface.900}",hoverColor:"{primary.300}",activeColor:"{primary.200}"},highlight:{background:"color-mix(in srgb, {primary.400}, transparent 84%)",focusBackground:"color-mix(in srgb, {primary.400}, transparent 76%)",color:"rgba(255,255,255,.87)",focusColor:"rgba(255,255,255,.87)"},mask:{background:"rgba(0,0,0,0.6)",color:"{surface.200}"},formField:{background:"{surface.950}",disabledBackground:"{surface.700}",filledBackground:"{surface.800}",filledHoverBackground:"{surface.800}",filledFocusBackground:"{surface.800}",borderColor:"{surface.600}",hoverBorderColor:"{surface.500}",focusBorderColor:"{primary.color}",invalidBorderColor:"{red.300}",color:"{surface.0}",disabledColor:"{surface.400}",placeholderColor:"{surface.400}",invalidPlaceholderColor:"{red.400}",floatLabelColor:"{surface.400}",floatLabelFocusColor:"{primary.color}",floatLabelActiveColor:"{surface.400}",floatLabelInvalidColor:"{form.field.invalid.placeholder.color}",iconColor:"{surface.400}",shadow:"0 0 #0000, 0 0 #0000, 0 1px 2px 0 rgba(18, 18, 23, 0.05)"},text:{color:"{surface.0}",hoverColor:"{surface.0}",mutedColor:"{surface.400}",hoverMutedColor:"{surface.300}"},content:{background:"{surface.900}",hoverBackground:"{surface.800}",borderColor:"{surface.700}",color:"{text.color}",hoverColor:"{text.hover.color}"},overlay:{select:{background:"{surface.900}",borderColor:"{surface.700}",color:"{text.color}"},popover:{background:"{surface.900}",borderColor:"{surface.700}",color:"{text.color}"},modal:{background:"{surface.900}",borderColor:"{surface.700}",color:"{text.color}"}},list:{option:{focusBackground:"{surface.800}",selectedBackground:"{highlight.background}",selectedFocusBackground:"{highlight.focus.background}",color:"{text.color}",focusColor:"{text.hover.color}",selectedColor:"{highlight.color}",selectedFocusColor:"{highlight.focus.color}",icon:{color:"{surface.500}",focusColor:"{surface.400}"}},optionGroup:{background:"transparent",color:"{text.muted.color}"}},navigation:{item:{focusBackground:"{surface.800}",activeBackground:"{surface.800}",color:"{text.color}",focusColor:"{text.hover.color}",activeColor:"{text.hover.color}",icon:{color:"{surface.500}",focusColor:"{surface.400}",activeColor:"{surface.400}"}},submenuLabel:{background:"transparent",color:"{text.muted.color}"},submenuIcon:{color:"{surface.500}",focusColor:"{surface.400}",activeColor:"{surface.400}"}}}}},JNe={primitive:qNe,semantic:QNe},eOe={borderRadius:"{content.border.radius}"},tOe={root:eOe},iOe={padding:"1rem",background:"{content.background}",gap:"0.5rem",transitionDuration:"{transition.duration}"},oOe={color:"{text.muted.color}",hoverColor:"{text.color}",borderRadius:"{content.border.radius}",gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",hoverColor:"{navigation.item.icon.focus.color}"},focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},sOe={color:"{navigation.item.icon.color}"},nOe={root:iOe,item:oOe,separator:sOe},rOe={borderRadius:"{form.field.border.radius}",roundedBorderRadius:"2rem",gap:"0.5rem",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",iconOnlyWidth:"2.5rem",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}",iconOnlyWidth:"2rem"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}",iconOnlyWidth:"3rem"},label:{fontWeight:"500"},raisedShadow:"0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12)",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",offset:"{focus.ring.offset}"},badgeSize:"1rem",transitionDuration:"{form.field.transition.duration}"},aOe={light:{root:{primary:{background:"{primary.color}",hoverBackground:"{primary.hover.color}",activeBackground:"{primary.active.color}",borderColor:"{primary.color}",hoverBorderColor:"{primary.hover.color}",activeBorderColor:"{primary.active.color}",color:"{primary.contrast.color}",hoverColor:"{primary.contrast.color}",activeColor:"{primary.contrast.color}",focusRing:{color:"{primary.color}",shadow:"none"}},secondary:{background:"{surface.100}",hoverBackground:"{surface.200}",activeBackground:"{surface.300}",borderColor:"{surface.100}",hoverBorderColor:"{surface.200}",activeBorderColor:"{surface.300}",color:"{surface.600}",hoverColor:"{surface.700}",activeColor:"{surface.800}",focusRing:{color:"{surface.600}",shadow:"none"}},info:{background:"{sky.500}",hoverBackground:"{sky.600}",activeBackground:"{sky.700}",borderColor:"{sky.500}",hoverBorderColor:"{sky.600}",activeBorderColor:"{sky.700}",color:"#ffffff",hoverColor:"#ffffff",activeColor:"#ffffff",focusRing:{color:"{sky.500}",shadow:"none"}},success:{background:"{green.500}",hoverBackground:"{green.600}",activeBackground:"{green.700}",borderColor:"{green.500}",hoverBorderColor:"{green.600}",activeBorderColor:"{green.700}",color:"#ffffff",hoverColor:"#ffffff",activeColor:"#ffffff",focusRing:{color:"{green.500}",shadow:"none"}},warn:{background:"{orange.500}",hoverBackground:"{orange.600}",activeBackground:"{orange.700}",borderColor:"{orange.500}",hoverBorderColor:"{orange.600}",activeBorderColor:"{orange.700}",color:"#ffffff",hoverColor:"#ffffff",activeColor:"#ffffff",focusRing:{color:"{orange.500}",shadow:"none"}},help:{background:"{purple.500}",hoverBackground:"{purple.600}",activeBackground:"{purple.700}",borderColor:"{purple.500}",hoverBorderColor:"{purple.600}",activeBorderColor:"{purple.700}",color:"#ffffff",hoverColor:"#ffffff",activeColor:"#ffffff",focusRing:{color:"{purple.500}",shadow:"none"}},danger:{background:"{red.500}",hoverBackground:"{red.600}",activeBackground:"{red.700}",borderColor:"{red.500}",hoverBorderColor:"{red.600}",activeBorderColor:"{red.700}",color:"#ffffff",hoverColor:"#ffffff",activeColor:"#ffffff",focusRing:{color:"{red.500}",shadow:"none"}},contrast:{background:"{surface.950}",hoverBackground:"{surface.900}",activeBackground:"{surface.800}",borderColor:"{surface.950}",hoverBorderColor:"{surface.900}",activeBorderColor:"{surface.800}",color:"{surface.0}",hoverColor:"{surface.0}",activeColor:"{surface.0}",focusRing:{color:"{surface.950}",shadow:"none"}}},outlined:{primary:{hoverBackground:"{primary.50}",activeBackground:"{primary.100}",borderColor:"{primary.200}",color:"{primary.color}"},secondary:{hoverBackground:"{surface.50}",activeBackground:"{surface.100}",borderColor:"{surface.200}",color:"{surface.500}"},success:{hoverBackground:"{green.50}",activeBackground:"{green.100}",borderColor:"{green.200}",color:"{green.500}"},info:{hoverBackground:"{sky.50}",activeBackground:"{sky.100}",borderColor:"{sky.200}",color:"{sky.500}"},warn:{hoverBackground:"{orange.50}",activeBackground:"{orange.100}",borderColor:"{orange.200}",color:"{orange.500}"},help:{hoverBackground:"{purple.50}",activeBackground:"{purple.100}",borderColor:"{purple.200}",color:"{purple.500}"},danger:{hoverBackground:"{red.50}",activeBackground:"{red.100}",borderColor:"{red.200}",color:"{red.500}"},contrast:{hoverBackground:"{surface.50}",activeBackground:"{surface.100}",borderColor:"{surface.700}",color:"{surface.950}"},plain:{hoverBackground:"{surface.50}",activeBackground:"{surface.100}",borderColor:"{surface.200}",color:"{surface.700}"}},text:{primary:{hoverBackground:"{primary.50}",activeBackground:"{primary.100}",color:"{primary.color}"},secondary:{hoverBackground:"{surface.50}",activeBackground:"{surface.100}",color:"{surface.500}"},success:{hoverBackground:"{green.50}",activeBackground:"{green.100}",color:"{green.500}"},info:{hoverBackground:"{sky.50}",activeBackground:"{sky.100}",color:"{sky.500}"},warn:{hoverBackground:"{orange.50}",activeBackground:"{orange.100}",color:"{orange.500}"},help:{hoverBackground:"{purple.50}",activeBackground:"{purple.100}",color:"{purple.500}"},danger:{hoverBackground:"{red.50}",activeBackground:"{red.100}",color:"{red.500}"},contrast:{hoverBackground:"{surface.50}",activeBackground:"{surface.100}",color:"{surface.950}"},plain:{hoverBackground:"{surface.50}",activeBackground:"{surface.100}",color:"{surface.700}"}},link:{color:"{primary.color}",hoverColor:"{primary.color}",activeColor:"{primary.color}"}},dark:{root:{primary:{background:"{primary.color}",hoverBackground:"{primary.hover.color}",activeBackground:"{primary.active.color}",borderColor:"{primary.color}",hoverBorderColor:"{primary.hover.color}",activeBorderColor:"{primary.active.color}",color:"{primary.contrast.color}",hoverColor:"{primary.contrast.color}",activeColor:"{primary.contrast.color}",focusRing:{color:"{primary.color}",shadow:"none"}},secondary:{background:"{surface.800}",hoverBackground:"{surface.700}",activeBackground:"{surface.600}",borderColor:"{surface.800}",hoverBorderColor:"{surface.700}",activeBorderColor:"{surface.600}",color:"{surface.300}",hoverColor:"{surface.200}",activeColor:"{surface.100}",focusRing:{color:"{surface.300}",shadow:"none"}},info:{background:"{sky.400}",hoverBackground:"{sky.300}",activeBackground:"{sky.200}",borderColor:"{sky.400}",hoverBorderColor:"{sky.300}",activeBorderColor:"{sky.200}",color:"{sky.950}",hoverColor:"{sky.950}",activeColor:"{sky.950}",focusRing:{color:"{sky.400}",shadow:"none"}},success:{background:"{green.400}",hoverBackground:"{green.300}",activeBackground:"{green.200}",borderColor:"{green.400}",hoverBorderColor:"{green.300}",activeBorderColor:"{green.200}",color:"{green.950}",hoverColor:"{green.950}",activeColor:"{green.950}",focusRing:{color:"{green.400}",shadow:"none"}},warn:{background:"{orange.400}",hoverBackground:"{orange.300}",activeBackground:"{orange.200}",borderColor:"{orange.400}",hoverBorderColor:"{orange.300}",activeBorderColor:"{orange.200}",color:"{orange.950}",hoverColor:"{orange.950}",activeColor:"{orange.950}",focusRing:{color:"{orange.400}",shadow:"none"}},help:{background:"{purple.400}",hoverBackground:"{purple.300}",activeBackground:"{purple.200}",borderColor:"{purple.400}",hoverBorderColor:"{purple.300}",activeBorderColor:"{purple.200}",color:"{purple.950}",hoverColor:"{purple.950}",activeColor:"{purple.950}",focusRing:{color:"{purple.400}",shadow:"none"}},danger:{background:"{red.400}",hoverBackground:"{red.300}",activeBackground:"{red.200}",borderColor:"{red.400}",hoverBorderColor:"{red.300}",activeBorderColor:"{red.200}",color:"{red.950}",hoverColor:"{red.950}",activeColor:"{red.950}",focusRing:{color:"{red.400}",shadow:"none"}},contrast:{background:"{surface.0}",hoverBackground:"{surface.100}",activeBackground:"{surface.200}",borderColor:"{surface.0}",hoverBorderColor:"{surface.100}",activeBorderColor:"{surface.200}",color:"{surface.950}",hoverColor:"{surface.950}",activeColor:"{surface.950}",focusRing:{color:"{surface.0}",shadow:"none"}}},outlined:{primary:{hoverBackground:"color-mix(in srgb, {primary.color}, transparent 96%)",activeBackground:"color-mix(in srgb, {primary.color}, transparent 84%)",borderColor:"{primary.700}",color:"{primary.color}"},secondary:{hoverBackground:"rgba(255,255,255,0.04)",activeBackground:"rgba(255,255,255,0.16)",borderColor:"{surface.700}",color:"{surface.400}"},success:{hoverBackground:"color-mix(in srgb, {green.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {green.400}, transparent 84%)",borderColor:"{green.700}",color:"{green.400}"},info:{hoverBackground:"color-mix(in srgb, {sky.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {sky.400}, transparent 84%)",borderColor:"{sky.700}",color:"{sky.400}"},warn:{hoverBackground:"color-mix(in srgb, {orange.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {orange.400}, transparent 84%)",borderColor:"{orange.700}",color:"{orange.400}"},help:{hoverBackground:"color-mix(in srgb, {purple.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {purple.400}, transparent 84%)",borderColor:"{purple.700}",color:"{purple.400}"},danger:{hoverBackground:"color-mix(in srgb, {red.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {red.400}, transparent 84%)",borderColor:"{red.700}",color:"{red.400}"},contrast:{hoverBackground:"{surface.800}",activeBackground:"{surface.700}",borderColor:"{surface.500}",color:"{surface.0}"},plain:{hoverBackground:"{surface.800}",activeBackground:"{surface.700}",borderColor:"{surface.600}",color:"{surface.0}"}},text:{primary:{hoverBackground:"color-mix(in srgb, {primary.color}, transparent 96%)",activeBackground:"color-mix(in srgb, {primary.color}, transparent 84%)",color:"{primary.color}"},secondary:{hoverBackground:"{surface.800}",activeBackground:"{surface.700}",color:"{surface.400}"},success:{hoverBackground:"color-mix(in srgb, {green.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {green.400}, transparent 84%)",color:"{green.400}"},info:{hoverBackground:"color-mix(in srgb, {sky.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {sky.400}, transparent 84%)",color:"{sky.400}"},warn:{hoverBackground:"color-mix(in srgb, {orange.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {orange.400}, transparent 84%)",color:"{orange.400}"},help:{hoverBackground:"color-mix(in srgb, {purple.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {purple.400}, transparent 84%)",color:"{purple.400}"},danger:{hoverBackground:"color-mix(in srgb, {red.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {red.400}, transparent 84%)",color:"{red.400}"},contrast:{hoverBackground:"{surface.800}",activeBackground:"{surface.700}",color:"{surface.0}"},plain:{hoverBackground:"{surface.800}",activeBackground:"{surface.700}",color:"{surface.0}"}},link:{color:"{primary.color}",hoverColor:"{primary.color}",activeColor:"{primary.color}"}}},lOe={root:rOe,colorScheme:aOe},cOe={background:"{content.background}",borderRadius:"{border.radius.xl}",color:"{content.color}",shadow:"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1)"},dOe={padding:"1.25rem",gap:"0.5rem"},uOe={gap:"0.5rem"},hOe={fontSize:"1.25rem",fontWeight:"500"},pOe={color:"{text.muted.color}"},gOe={root:cOe,body:dOe,caption:uOe,title:hOe,subtitle:pOe},fOe={transitionDuration:"{transition.duration}"},mOe={gap:"0.25rem"},yOe={padding:"1rem",gap:"0.5rem"},vOe={width:"2rem",height:"0.5rem",borderRadius:"{content.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},bOe={light:{indicator:{background:"{surface.200}",hoverBackground:"{surface.300}",activeBackground:"{primary.color}"}},dark:{indicator:{background:"{surface.700}",hoverBackground:"{surface.600}",activeBackground:"{primary.color}"}}},COe={root:fOe,content:mOe,indicatorList:yOe,indicator:vOe,colorScheme:bOe},SOe={background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"}},xOe={width:"2.5rem",color:"{form.field.icon.color}"},wOe={background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},MOe={padding:"{list.padding}",gap:"{list.gap}",mobileIndent:"1rem"},DOe={focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusBackground:"{list.option.selected.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",selectedColor:"{list.option.selected.color}",selectedFocusColor:"{list.option.selected.focus.color}",padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}",icon:{color:"{list.option.icon.color}",focusColor:"{list.option.icon.focus.color}",size:"0.875rem"}},kOe={color:"{form.field.icon.color}"},IOe={root:SOe,dropdown:xOe,overlay:wOe,list:MOe,option:DOe,clearIcon:kOe},AOe={borderRadius:"{border.radius.sm}",width:"1.25rem",height:"1.25rem",background:"{form.field.background}",checkedBackground:"{primary.color}",checkedHoverBackground:"{primary.hover.color}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.border.color}",checkedBorderColor:"{primary.color}",checkedHoverBorderColor:"{primary.hover.color}",checkedFocusBorderColor:"{primary.color}",checkedDisabledBorderColor:"{form.field.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",shadow:"{form.field.shadow}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{width:"1rem",height:"1rem"},lg:{width:"1.5rem",height:"1.5rem"}},ROe={size:"0.875rem",color:"{form.field.color}",checkedColor:"{primary.contrast.color}",checkedHoverColor:"{primary.contrast.color}",disabledColor:"{form.field.disabled.color}",sm:{size:"0.75rem"},lg:{size:"1rem"}},TOe={root:AOe,icon:ROe},LOe={borderRadius:"16px",paddingX:"0.75rem",paddingY:"0.5rem",gap:"0.5rem",transitionDuration:"{transition.duration}"},EOe={width:"2rem",height:"2rem"},POe={size:"1rem"},NOe={size:"1rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"}},OOe={light:{root:{background:"{surface.100}",color:"{surface.800}"},icon:{color:"{surface.800}"},removeIcon:{color:"{surface.800}"}},dark:{root:{background:"{surface.800}",color:"{surface.0}"},icon:{color:"{surface.0}"},removeIcon:{color:"{surface.0}"}}},FOe={root:LOe,image:EOe,icon:POe,removeIcon:NOe,colorScheme:OOe},BOe={transitionDuration:"{transition.duration}"},GOe={width:"1.5rem",height:"1.5rem",borderRadius:"{form.field.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},zOe={shadow:"{overlay.popover.shadow}",borderRadius:"{overlay.popover.borderRadius}"},_Oe={light:{panel:{background:"{surface.800}",borderColor:"{surface.900}"},handle:{color:"{surface.0}"}},dark:{panel:{background:"{surface.900}",borderColor:"{surface.700}"},handle:{color:"{surface.0}"}}},VOe={root:BOe,preview:GOe,panel:zOe,colorScheme:_Oe},HOe={size:"2rem",color:"{overlay.modal.color}"},WOe={gap:"1rem"},jOe={icon:HOe,content:WOe},$Oe={background:"{overlay.popover.background}",borderColor:"{overlay.popover.border.color}",color:"{overlay.popover.color}",borderRadius:"{overlay.popover.border.radius}",shadow:"{overlay.popover.shadow}",gutter:"10px",arrowOffset:"1.25rem"},UOe={padding:"{overlay.popover.padding}",gap:"1rem"},KOe={size:"1.5rem",color:"{overlay.popover.color}"},YOe={gap:"0.5rem",padding:"0 {overlay.popover.padding} {overlay.popover.padding} {overlay.popover.padding}"},XOe={root:$Oe,content:UOe,icon:KOe,footer:YOe},ZOe={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}",shadow:"{overlay.navigation.shadow}",transitionDuration:"{transition.duration}"},qOe={padding:"{navigation.list.padding}",gap:"{navigation.list.gap}"},QOe={focusBackground:"{navigation.item.focus.background}",activeBackground:"{navigation.item.active.background}",color:"{navigation.item.color}",focusColor:"{navigation.item.focus.color}",activeColor:"{navigation.item.active.color}",padding:"{navigation.item.padding}",borderRadius:"{navigation.item.border.radius}",gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}",activeColor:"{navigation.item.icon.active.color}"}},JOe={mobileIndent:"1rem"},eFe={size:"{navigation.submenu.icon.size}",color:"{navigation.submenu.icon.color}",focusColor:"{navigation.submenu.icon.focus.color}",activeColor:"{navigation.submenu.icon.active.color}"},tFe={borderColor:"{content.border.color}"},iFe={root:ZOe,list:qOe,item:QOe,submenu:JOe,submenuIcon:eFe,separator:tFe},oFe={transitionDuration:"{transition.duration}"},sFe={background:"{content.background}",borderColor:"{datatable.border.color}",color:"{content.color}",borderWidth:"0 0 1px 0",padding:"0.75rem 1rem",sm:{padding:"0.375rem 0.5rem"},lg:{padding:"1rem 1.25rem"}},nFe={background:"{content.background}",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",borderColor:"{datatable.border.color}",color:"{content.color}",hoverColor:"{content.hover.color}",selectedColor:"{highlight.color}",gap:"0.5rem",padding:"0.75rem 1rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"},sm:{padding:"0.375rem 0.5rem"},lg:{padding:"1rem 1.25rem"}},rFe={fontWeight:"600"},aFe={background:"{content.background}",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",color:"{content.color}",hoverColor:"{content.hover.color}",selectedColor:"{highlight.color}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"}},lFe={borderColor:"{datatable.border.color}",padding:"0.75rem 1rem",sm:{padding:"0.375rem 0.5rem"},lg:{padding:"1rem 1.25rem"}},cFe={background:"{content.background}",borderColor:"{datatable.border.color}",color:"{content.color}",padding:"0.75rem 1rem",sm:{padding:"0.375rem 0.5rem"},lg:{padding:"1rem 1.25rem"}},dFe={fontWeight:"600"},uFe={background:"{content.background}",borderColor:"{datatable.border.color}",color:"{content.color}",borderWidth:"0 0 1px 0",padding:"0.75rem 1rem",sm:{padding:"0.375rem 0.5rem"},lg:{padding:"1rem 1.25rem"}},hFe={color:"{primary.color}"},pFe={width:"0.5rem"},gFe={width:"1px",color:"{primary.color}"},fFe={color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",size:"0.875rem"},mFe={size:"2rem"},yFe={hoverBackground:"{content.hover.background}",selectedHoverBackground:"{content.background}",color:"{text.muted.color}",hoverColor:"{text.color}",selectedHoverColor:"{primary.color}",size:"1.75rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},vFe={inlineGap:"0.5rem",overlaySelect:{background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},overlayPopover:{background:"{overlay.popover.background}",borderColor:"{overlay.popover.border.color}",borderRadius:"{overlay.popover.border.radius}",color:"{overlay.popover.color}",shadow:"{overlay.popover.shadow}",padding:"{overlay.popover.padding}",gap:"0.5rem"},rule:{borderColor:"{content.border.color}"},constraintList:{padding:"{list.padding}",gap:"{list.gap}"},constraint:{focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusBackground:"{list.option.selected.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",selectedColor:"{list.option.selected.color}",selectedFocusColor:"{list.option.selected.focus.color}",separator:{borderColor:"{content.border.color}"},padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}"}},bFe={borderColor:"{datatable.border.color}",borderWidth:"0 0 1px 0"},CFe={borderColor:"{datatable.border.color}",borderWidth:"0 0 1px 0"},SFe={light:{root:{borderColor:"{content.border.color}"},row:{stripedBackground:"{surface.50}"},bodyCell:{selectedBorderColor:"{primary.100}"}},dark:{root:{borderColor:"{surface.800}"},row:{stripedBackground:"{surface.950}"},bodyCell:{selectedBorderColor:"{primary.900}"}}},xFe={root:oFe,header:sFe,headerCell:nFe,columnTitle:rFe,row:aFe,bodyCell:lFe,footerCell:cFe,columnFooter:dFe,footer:uFe,dropPoint:hFe,columnResizer:pFe,resizeIndicator:gFe,sortIcon:fFe,loadingIcon:mFe,rowToggleButton:yFe,filter:vFe,paginatorTop:bFe,paginatorBottom:CFe,colorScheme:SFe},wFe={borderColor:"transparent",borderWidth:"0",borderRadius:"0",padding:"0"},MFe={background:"{content.background}",color:"{content.color}",borderColor:"{content.border.color}",borderWidth:"0 0 1px 0",padding:"0.75rem 1rem",borderRadius:"0"},DFe={background:"{content.background}",color:"{content.color}",borderColor:"transparent",borderWidth:"0",padding:"0",borderRadius:"0"},kFe={background:"{content.background}",color:"{content.color}",borderColor:"{content.border.color}",borderWidth:"1px 0 0 0",padding:"0.75rem 1rem",borderRadius:"0"},IFe={borderColor:"{content.border.color}",borderWidth:"0 0 1px 0"},AFe={borderColor:"{content.border.color}",borderWidth:"1px 0 0 0"},RFe={root:wFe,header:MFe,content:DFe,footer:kFe,paginatorTop:IFe,paginatorBottom:AFe},TFe={transitionDuration:"{transition.duration}"},LFe={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}",shadow:"{overlay.popover.shadow}",padding:"{overlay.popover.padding}"},EFe={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",padding:"0 0 0.5rem 0"},PFe={gap:"0.5rem",fontWeight:"500"},NFe={width:"2.5rem",sm:{width:"2rem"},lg:{width:"3rem"},borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.border.color}",activeBorderColor:"{form.field.border.color}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},OFe={color:"{form.field.icon.color}"},FFe={hoverBackground:"{content.hover.background}",color:"{content.color}",hoverColor:"{content.hover.color}",padding:"0.25rem 0.5rem",borderRadius:"{content.border.radius}"},BFe={hoverBackground:"{content.hover.background}",color:"{content.color}",hoverColor:"{content.hover.color}",padding:"0.25rem 0.5rem",borderRadius:"{content.border.radius}"},GFe={borderColor:"{content.border.color}",gap:"{overlay.popover.padding}"},zFe={margin:"0.5rem 0 0 0"},_Fe={padding:"0.25rem",fontWeight:"500",color:"{content.color}"},VFe={hoverBackground:"{content.hover.background}",selectedBackground:"{primary.color}",rangeSelectedBackground:"{highlight.background}",color:"{content.color}",hoverColor:"{content.hover.color}",selectedColor:"{primary.contrast.color}",rangeSelectedColor:"{highlight.color}",width:"2rem",height:"2rem",borderRadius:"50%",padding:"0.25rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},HFe={margin:"0.5rem 0 0 0"},WFe={padding:"0.375rem",borderRadius:"{content.border.radius}"},jFe={margin:"0.5rem 0 0 0"},$Fe={padding:"0.375rem",borderRadius:"{content.border.radius}"},UFe={padding:"0.5rem 0 0 0",borderColor:"{content.border.color}"},KFe={padding:"0.5rem 0 0 0",borderColor:"{content.border.color}",gap:"0.5rem",buttonGap:"0.25rem"},YFe={light:{dropdown:{background:"{surface.100}",hoverBackground:"{surface.200}",activeBackground:"{surface.300}",color:"{surface.600}",hoverColor:"{surface.700}",activeColor:"{surface.800}"},today:{background:"{surface.200}",color:"{surface.900}"}},dark:{dropdown:{background:"{surface.800}",hoverBackground:"{surface.700}",activeBackground:"{surface.600}",color:"{surface.300}",hoverColor:"{surface.200}",activeColor:"{surface.100}"},today:{background:"{surface.700}",color:"{surface.0}"}}},XFe={root:TFe,panel:LFe,header:EFe,title:PFe,dropdown:NFe,inputIcon:OFe,selectMonth:FFe,selectYear:BFe,group:GFe,dayView:zFe,weekDay:_Fe,date:VFe,monthView:HFe,month:WFe,yearView:jFe,year:$Fe,buttonbar:UFe,timePicker:KFe,colorScheme:YFe},ZFe={background:"{overlay.modal.background}",borderColor:"{overlay.modal.border.color}",color:"{overlay.modal.color}",borderRadius:"{overlay.modal.border.radius}",shadow:"{overlay.modal.shadow}"},qFe={padding:"{overlay.modal.padding}",gap:"0.5rem"},QFe={fontSize:"1.25rem",fontWeight:"600"},JFe={padding:"0 {overlay.modal.padding} {overlay.modal.padding} {overlay.modal.padding}"},e4e={padding:"0 {overlay.modal.padding} {overlay.modal.padding} {overlay.modal.padding}",gap:"0.5rem"},t4e={root:ZFe,header:qFe,title:QFe,content:JFe,footer:e4e},i4e={borderColor:"{content.border.color}"},o4e={background:"{content.background}",color:"{text.color}"},s4e={margin:"1rem 0",padding:"0 1rem",content:{padding:"0 0.5rem"}},n4e={margin:"0 1rem",padding:"0.5rem 0",content:{padding:"0.5rem 0"}},r4e={root:i4e,content:o4e,horizontal:s4e,vertical:n4e},a4e={background:"rgba(255, 255, 255, 0.1)",borderColor:"rgba(255, 255, 255, 0.2)",padding:"0.5rem",borderRadius:"{border.radius.xl}"},l4e={borderRadius:"{content.border.radius}",padding:"0.5rem",size:"3rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},c4e={root:a4e,item:l4e},d4e={background:"{overlay.modal.background}",borderColor:"{overlay.modal.border.color}",color:"{overlay.modal.color}",shadow:"{overlay.modal.shadow}"},u4e={padding:"{overlay.modal.padding}"},h4e={fontSize:"1.5rem",fontWeight:"600"},p4e={padding:"0 {overlay.modal.padding} {overlay.modal.padding} {overlay.modal.padding}"},g4e={padding:"{overlay.modal.padding}"},f4e={root:d4e,header:u4e,title:h4e,content:p4e,footer:g4e},m4e={background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}"},y4e={color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{primary.color}"},v4e={background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}",padding:"{list.padding}"},b4e={focusBackground:"{list.option.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}"},C4e={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}"},S4e={toolbar:m4e,toolbarItem:y4e,overlay:v4e,overlayOption:b4e,content:C4e},x4e={background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",color:"{content.color}",padding:"0 1.125rem 1.125rem 1.125rem",transitionDuration:"{transition.duration}"},w4e={background:"{content.background}",hoverBackground:"{content.hover.background}",color:"{content.color}",hoverColor:"{content.hover.color}",borderRadius:"{content.border.radius}",borderWidth:"1px",borderColor:"transparent",padding:"0.5rem 0.75rem",gap:"0.5rem",fontWeight:"600",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},M4e={color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}"},D4e={padding:"0"},k4e={root:x4e,legend:w4e,toggleIcon:M4e,content:D4e},I4e={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}",transitionDuration:"{transition.duration}"},A4e={background:"transparent",color:"{text.color}",padding:"1.125rem",borderColor:"unset",borderWidth:"0",borderRadius:"0",gap:"0.5rem"},R4e={highlightBorderColor:"{primary.color}",padding:"0 1.125rem 1.125rem 1.125rem",gap:"1rem"},T4e={padding:"1rem",gap:"1rem",borderColor:"{content.border.color}",info:{gap:"0.5rem"}},L4e={gap:"0.5rem"},E4e={height:"0.25rem"},P4e={gap:"0.5rem"},N4e={root:I4e,header:A4e,content:R4e,file:T4e,fileList:L4e,progressbar:E4e,basic:P4e},O4e={color:"{form.field.float.label.color}",focusColor:"{form.field.float.label.focus.color}",activeColor:"{form.field.float.label.active.color}",invalidColor:"{form.field.float.label.invalid.color}",transitionDuration:"0.2s",positionX:"{form.field.padding.x}",positionY:"{form.field.padding.y}",fontWeight:"500",active:{fontSize:"0.75rem",fontWeight:"400"}},F4e={active:{top:"-1.25rem"}},B4e={input:{paddingTop:"1.5rem",paddingBottom:"{form.field.padding.y}"},active:{top:"{form.field.padding.y}"}},G4e={borderRadius:"{border.radius.xs}",active:{background:"{form.field.background}",padding:"0 0.125rem"}},z4e={root:O4e,over:F4e,in:B4e,on:G4e},_4e={borderWidth:"1px",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",transitionDuration:"{transition.duration}"},V4e={background:"rgba(255, 255, 255, 0.1)",hoverBackground:"rgba(255, 255, 255, 0.2)",color:"{surface.100}",hoverColor:"{surface.0}",size:"3rem",gutter:"0.5rem",prev:{borderRadius:"50%"},next:{borderRadius:"50%"},focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},H4e={size:"1.5rem"},W4e={background:"{content.background}",padding:"1rem 0.25rem"},j4e={size:"2rem",borderRadius:"{content.border.radius}",gutter:"0.5rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},$4e={size:"1rem"},U4e={background:"rgba(0, 0, 0, 0.5)",color:"{surface.100}",padding:"1rem"},K4e={gap:"0.5rem",padding:"1rem"},Y4e={width:"1rem",height:"1rem",activeBackground:"{primary.color}",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},X4e={background:"rgba(0, 0, 0, 0.5)"},Z4e={background:"rgba(255, 255, 255, 0.4)",hoverBackground:"rgba(255, 255, 255, 0.6)",activeBackground:"rgba(255, 255, 255, 0.9)"},q4e={size:"3rem",gutter:"0.5rem",background:"rgba(255, 255, 255, 0.1)",hoverBackground:"rgba(255, 255, 255, 0.2)",color:"{surface.50}",hoverColor:"{surface.0}",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},Q4e={size:"1.5rem"},J4e={light:{thumbnailNavButton:{hoverBackground:"{surface.100}",color:"{surface.600}",hoverColor:"{surface.700}"},indicatorButton:{background:"{surface.200}",hoverBackground:"{surface.300}"}},dark:{thumbnailNavButton:{hoverBackground:"{surface.700}",color:"{surface.400}",hoverColor:"{surface.0}"},indicatorButton:{background:"{surface.700}",hoverBackground:"{surface.600}"}}},eBe={root:_4e,navButton:V4e,navIcon:H4e,thumbnailsContent:W4e,thumbnailNavButton:j4e,thumbnailNavButtonIcon:$4e,caption:U4e,indicatorList:K4e,indicatorButton:Y4e,insetIndicatorList:X4e,insetIndicatorButton:Z4e,closeButton:q4e,closeButtonIcon:Q4e,colorScheme:J4e},tBe={color:"{form.field.icon.color}"},iBe={icon:tBe},oBe={color:"{form.field.float.label.color}",focusColor:"{form.field.float.label.focus.color}",invalidColor:"{form.field.float.label.invalid.color}",transitionDuration:"0.2s",positionX:"{form.field.padding.x}",top:"{form.field.padding.y}",fontSize:"0.75rem",fontWeight:"400"},sBe={paddingTop:"1.5rem",paddingBottom:"{form.field.padding.y}"},nBe={root:oBe,input:sBe},rBe={transitionDuration:"{transition.duration}"},aBe={icon:{size:"1.5rem"},mask:{background:"{mask.background}",color:"{mask.color}"}},lBe={position:{left:"auto",right:"1rem",top:"1rem",bottom:"auto"},blur:"8px",background:"rgba(255,255,255,0.1)",borderColor:"rgba(255,255,255,0.2)",borderWidth:"1px",borderRadius:"30px",padding:".5rem",gap:"0.5rem"},cBe={hoverBackground:"rgba(255,255,255,0.1)",color:"{surface.50}",hoverColor:"{surface.0}",size:"3rem",iconSize:"1.5rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},dBe={root:rBe,preview:aBe,toolbar:lBe,action:cBe},uBe={size:"15px",hoverSize:"30px",background:"rgba(255,255,255,0.3)",hoverBackground:"rgba(255,255,255,0.3)",borderColor:"unset",hoverBorderColor:"unset",borderWidth:"0",borderRadius:"50%",transitionDuration:"{transition.duration}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"rgba(255,255,255,0.3)",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},hBe={handle:uBe},pBe={padding:"{form.field.padding.y} {form.field.padding.x}",borderRadius:"{content.border.radius}",gap:"0.5rem"},gBe={fontWeight:"500"},fBe={size:"1rem"},mBe={light:{info:{background:"color-mix(in srgb, {blue.50}, transparent 5%)",borderColor:"{blue.200}",color:"{blue.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)"},success:{background:"color-mix(in srgb, {green.50}, transparent 5%)",borderColor:"{green.200}",color:"{green.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)"},warn:{background:"color-mix(in srgb,{yellow.50}, transparent 5%)",borderColor:"{yellow.200}",color:"{yellow.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)"},error:{background:"color-mix(in srgb, {red.50}, transparent 5%)",borderColor:"{red.200}",color:"{red.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)"},secondary:{background:"{surface.100}",borderColor:"{surface.200}",color:"{surface.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.500}, transparent 96%)"},contrast:{background:"{surface.900}",borderColor:"{surface.950}",color:"{surface.50}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)"}},dark:{info:{background:"color-mix(in srgb, {blue.500}, transparent 84%)",borderColor:"color-mix(in srgb, {blue.700}, transparent 64%)",color:"{blue.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)"},success:{background:"color-mix(in srgb, {green.500}, transparent 84%)",borderColor:"color-mix(in srgb, {green.700}, transparent 64%)",color:"{green.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)"},warn:{background:"color-mix(in srgb, {yellow.500}, transparent 84%)",borderColor:"color-mix(in srgb, {yellow.700}, transparent 64%)",color:"{yellow.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)"},error:{background:"color-mix(in srgb, {red.500}, transparent 84%)",borderColor:"color-mix(in srgb, {red.700}, transparent 64%)",color:"{red.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)"},secondary:{background:"{surface.800}",borderColor:"{surface.700}",color:"{surface.300}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.500}, transparent 96%)"},contrast:{background:"{surface.0}",borderColor:"{surface.100}",color:"{surface.950}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)"}}},yBe={root:pBe,text:gBe,icon:fBe,colorScheme:mBe},vBe={padding:"{form.field.padding.y} {form.field.padding.x}",borderRadius:"{content.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},transitionDuration:"{transition.duration}"},bBe={hoverBackground:"{content.hover.background}",hoverColor:"{content.hover.color}"},CBe={root:vBe,display:bBe},SBe={background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}"},xBe={borderRadius:"{border.radius.sm}"},wBe={light:{chip:{focusBackground:"{surface.200}",color:"{surface.800}"}},dark:{chip:{focusBackground:"{surface.700}",color:"{surface.0}"}}},MBe={root:SBe,chip:xBe,colorScheme:wBe},DBe={background:"{form.field.background}",borderColor:"{form.field.border.color}",color:"{form.field.icon.color}",borderRadius:"{form.field.border.radius}",padding:"0.5rem",minWidth:"2.5rem"},kBe={addon:DBe},IBe={transitionDuration:"{transition.duration}"},ABe={width:"2.5rem",borderRadius:"{form.field.border.radius}",verticalPadding:"{form.field.padding.y}"},RBe={light:{button:{background:"transparent",hoverBackground:"{surface.100}",activeBackground:"{surface.200}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.border.color}",activeBorderColor:"{form.field.border.color}",color:"{surface.400}",hoverColor:"{surface.500}",activeColor:"{surface.600}"}},dark:{button:{background:"transparent",hoverBackground:"{surface.800}",activeBackground:"{surface.700}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.border.color}",activeBorderColor:"{form.field.border.color}",color:"{surface.400}",hoverColor:"{surface.300}",activeColor:"{surface.200}"}}},TBe={root:IBe,button:ABe,colorScheme:RBe},LBe={gap:"0.5rem"},EBe={width:"2.5rem",sm:{width:"2rem"},lg:{width:"3rem"}},PBe={root:LBe,input:EBe},NBe={background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"}},OBe={root:NBe},FBe={transitionDuration:"{transition.duration}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},BBe={background:"{primary.color}"},GBe={background:"{content.border.color}"},zBe={color:"{text.muted.color}"},_Be={root:FBe,value:BBe,range:GBe,text:zBe},VBe={background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",borderColor:"{form.field.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",shadow:"{form.field.shadow}",borderRadius:"{form.field.border.radius}",transitionDuration:"{form.field.transition.duration}"},HBe={padding:"{list.padding}",gap:"{list.gap}",header:{padding:"{list.header.padding}"}},WBe={focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusBackground:"{list.option.selected.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",selectedColor:"{list.option.selected.color}",selectedFocusColor:"{list.option.selected.focus.color}",padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}"},jBe={background:"{list.option.group.background}",color:"{list.option.group.color}",fontWeight:"{list.option.group.font.weight}",padding:"{list.option.group.padding}"},$Be={color:"{list.option.color}",gutterStart:"-0.375rem",gutterEnd:"0.375rem"},UBe={padding:"{list.option.padding}"},KBe={light:{option:{stripedBackground:"{surface.50}"}},dark:{option:{stripedBackground:"{surface.900}"}}},YBe={root:VBe,list:HBe,option:WBe,optionGroup:jBe,checkmark:$Be,emptyMessage:UBe,colorScheme:KBe},XBe={background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",color:"{content.color}",gap:"0.5rem",verticalOrientation:{padding:"{navigation.list.padding}",gap:"{navigation.list.gap}"},horizontalOrientation:{padding:"0.5rem 0.75rem",gap:"0.5rem"},transitionDuration:"{transition.duration}"},ZBe={borderRadius:"{content.border.radius}",padding:"{navigation.item.padding}"},qBe={focusBackground:"{navigation.item.focus.background}",activeBackground:"{navigation.item.active.background}",color:"{navigation.item.color}",focusColor:"{navigation.item.focus.color}",activeColor:"{navigation.item.active.color}",padding:"{navigation.item.padding}",borderRadius:"{navigation.item.border.radius}",gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}",activeColor:"{navigation.item.icon.active.color}"}},QBe={padding:"0",background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",color:"{content.color}",shadow:"{overlay.navigation.shadow}",gap:"0.5rem"},JBe={padding:"{navigation.list.padding}",gap:"{navigation.list.gap}"},e3e={padding:"{navigation.submenu.label.padding}",fontWeight:"{navigation.submenu.label.font.weight}",background:"{navigation.submenu.label.background.}",color:"{navigation.submenu.label.color}"},t3e={size:"{navigation.submenu.icon.size}",color:"{navigation.submenu.icon.color}",focusColor:"{navigation.submenu.icon.focus.color}",activeColor:"{navigation.submenu.icon.active.color}"},i3e={borderColor:"{content.border.color}"},o3e={borderRadius:"50%",size:"1.75rem",color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",hoverBackground:"{content.hover.background}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},s3e={root:XBe,baseItem:ZBe,item:qBe,overlay:QBe,submenu:JBe,submenuLabel:e3e,submenuIcon:t3e,separator:i3e,mobileButton:o3e},n3e={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}",shadow:"{overlay.navigation.shadow}",transitionDuration:"{transition.duration}"},r3e={padding:"{navigation.list.padding}",gap:"{navigation.list.gap}"},a3e={focusBackground:"{navigation.item.focus.background}",color:"{navigation.item.color}",focusColor:"{navigation.item.focus.color}",padding:"{navigation.item.padding}",borderRadius:"{navigation.item.border.radius}",gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}"}},l3e={padding:"{navigation.submenu.label.padding}",fontWeight:"{navigation.submenu.label.font.weight}",background:"{navigation.submenu.label.background}",color:"{navigation.submenu.label.color}"},c3e={borderColor:"{content.border.color}"},d3e={root:n3e,list:r3e,item:a3e,submenuLabel:l3e,separator:c3e},u3e={background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",color:"{content.color}",gap:"0.5rem",padding:"0.5rem 0.75rem",transitionDuration:"{transition.duration}"},h3e={borderRadius:"{content.border.radius}",padding:"{navigation.item.padding}"},p3e={focusBackground:"{navigation.item.focus.background}",activeBackground:"{navigation.item.active.background}",color:"{navigation.item.color}",focusColor:"{navigation.item.focus.color}",activeColor:"{navigation.item.active.color}",padding:"{navigation.item.padding}",borderRadius:"{navigation.item.border.radius}",gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}",activeColor:"{navigation.item.icon.active.color}"}},g3e={padding:"{navigation.list.padding}",gap:"{navigation.list.gap}",background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",shadow:"{overlay.navigation.shadow}",mobileIndent:"1rem",icon:{size:"{navigation.submenu.icon.size}",color:"{navigation.submenu.icon.color}",focusColor:"{navigation.submenu.icon.focus.color}",activeColor:"{navigation.submenu.icon.active.color}"}},f3e={borderColor:"{content.border.color}"},m3e={borderRadius:"50%",size:"1.75rem",color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",hoverBackground:"{content.hover.background}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},y3e={root:u3e,baseItem:h3e,item:p3e,submenu:g3e,separator:f3e,mobileButton:m3e},v3e={borderRadius:"{content.border.radius}",borderWidth:"1px",transitionDuration:"{transition.duration}"},b3e={padding:"0.5rem 0.75rem",gap:"0.5rem",sm:{padding:"0.375rem 0.625rem"},lg:{padding:"0.625rem 0.875rem"}},C3e={fontSize:"1rem",fontWeight:"500",sm:{fontSize:"0.875rem"},lg:{fontSize:"1.125rem"}},S3e={size:"1.125rem",sm:{size:"1rem"},lg:{size:"1.25rem"}},x3e={width:"1.75rem",height:"1.75rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",offset:"{focus.ring.offset}"}},w3e={size:"1rem",sm:{size:"0.875rem"},lg:{size:"1.125rem"}},M3e={root:{borderWidth:"1px"}},D3e={content:{padding:"0"}},k3e={light:{info:{background:"color-mix(in srgb, {blue.50}, transparent 5%)",borderColor:"{blue.200}",color:"{blue.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)",closeButton:{hoverBackground:"{blue.100}",focusRing:{color:"{blue.600}",shadow:"none"}},outlined:{color:"{blue.600}",borderColor:"{blue.600}"},simple:{color:"{blue.600}"}},success:{background:"color-mix(in srgb, {green.50}, transparent 5%)",borderColor:"{green.200}",color:"{green.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)",closeButton:{hoverBackground:"{green.100}",focusRing:{color:"{green.600}",shadow:"none"}},outlined:{color:"{green.600}",borderColor:"{green.600}"},simple:{color:"{green.600}"}},warn:{background:"color-mix(in srgb,{yellow.50}, transparent 5%)",borderColor:"{yellow.200}",color:"{yellow.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)",closeButton:{hoverBackground:"{yellow.100}",focusRing:{color:"{yellow.600}",shadow:"none"}},outlined:{color:"{yellow.600}",borderColor:"{yellow.600}"},simple:{color:"{yellow.600}"}},error:{background:"color-mix(in srgb, {red.50}, transparent 5%)",borderColor:"{red.200}",color:"{red.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)",closeButton:{hoverBackground:"{red.100}",focusRing:{color:"{red.600}",shadow:"none"}},outlined:{color:"{red.600}",borderColor:"{red.600}"},simple:{color:"{red.600}"}},secondary:{background:"{surface.100}",borderColor:"{surface.200}",color:"{surface.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.500}, transparent 96%)",closeButton:{hoverBackground:"{surface.200}",focusRing:{color:"{surface.600}",shadow:"none"}},outlined:{color:"{surface.500}",borderColor:"{surface.500}"},simple:{color:"{surface.500}"}},contrast:{background:"{surface.900}",borderColor:"{surface.950}",color:"{surface.50}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)",closeButton:{hoverBackground:"{surface.800}",focusRing:{color:"{surface.50}",shadow:"none"}},outlined:{color:"{surface.950}",borderColor:"{surface.950}"},simple:{color:"{surface.950}"}}},dark:{info:{background:"color-mix(in srgb, {blue.500}, transparent 84%)",borderColor:"color-mix(in srgb, {blue.700}, transparent 64%)",color:"{blue.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{blue.500}",shadow:"none"}},outlined:{color:"{blue.500}",borderColor:"{blue.500}"},simple:{color:"{blue.500}"}},success:{background:"color-mix(in srgb, {green.500}, transparent 84%)",borderColor:"color-mix(in srgb, {green.700}, transparent 64%)",color:"{green.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{green.500}",shadow:"none"}},outlined:{color:"{green.500}",borderColor:"{green.500}"},simple:{color:"{green.500}"}},warn:{background:"color-mix(in srgb, {yellow.500}, transparent 84%)",borderColor:"color-mix(in srgb, {yellow.700}, transparent 64%)",color:"{yellow.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{yellow.500}",shadow:"none"}},outlined:{color:"{yellow.500}",borderColor:"{yellow.500}"},simple:{color:"{yellow.500}"}},error:{background:"color-mix(in srgb, {red.500}, transparent 84%)",borderColor:"color-mix(in srgb, {red.700}, transparent 64%)",color:"{red.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{red.500}",shadow:"none"}},outlined:{color:"{red.500}",borderColor:"{red.500}"},simple:{color:"{red.500}"}},secondary:{background:"{surface.800}",borderColor:"{surface.700}",color:"{surface.300}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.500}, transparent 96%)",closeButton:{hoverBackground:"{surface.700}",focusRing:{color:"{surface.300}",shadow:"none"}},outlined:{color:"{surface.400}",borderColor:"{surface.400}"},simple:{color:"{surface.400}"}},contrast:{background:"{surface.0}",borderColor:"{surface.100}",color:"{surface.950}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)",closeButton:{hoverBackground:"{surface.100}",focusRing:{color:"{surface.950}",shadow:"none"}},outlined:{color:"{surface.0}",borderColor:"{surface.0}"},simple:{color:"{surface.0}"}}}},I3e={root:v3e,content:b3e,text:C3e,icon:S3e,closeButton:x3e,closeIcon:w3e,outlined:M3e,simple:D3e,colorScheme:k3e},A3e={borderRadius:"{content.border.radius}",gap:"1rem"},R3e={background:"{content.border.color}",size:"0.5rem"},T3e={gap:"0.5rem"},L3e={size:"0.5rem"},E3e={size:"1rem"},P3e={verticalGap:"0.5rem",horizontalGap:"1rem"},N3e={root:A3e,meters:R3e,label:T3e,labelMarker:L3e,labelIcon:E3e,labelList:P3e},O3e={background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"}},F3e={width:"2.5rem",color:"{form.field.icon.color}"},B3e={background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},G3e={padding:"{list.padding}",gap:"{list.gap}",header:{padding:"{list.header.padding}"}},z3e={focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusBackground:"{list.option.selected.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",selectedColor:"{list.option.selected.color}",selectedFocusColor:"{list.option.selected.focus.color}",padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}",gap:"0.5rem"},_3e={background:"{list.option.group.background}",color:"{list.option.group.color}",fontWeight:"{list.option.group.font.weight}",padding:"{list.option.group.padding}"},V3e={color:"{form.field.icon.color}"},H3e={borderRadius:"{border.radius.sm}"},W3e={padding:"{list.option.padding}"},j3e={root:O3e,dropdown:F3e,overlay:B3e,list:G3e,option:z3e,optionGroup:_3e,chip:H3e,clearIcon:V3e,emptyMessage:W3e},$3e={gap:"1.125rem"},U3e={gap:"0.5rem"},K3e={root:$3e,controls:U3e},Y3e={gutter:"0.75rem",transitionDuration:"{transition.duration}"},X3e={background:"{content.background}",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",borderColor:"{content.border.color}",color:"{content.color}",selectedColor:"{highlight.color}",hoverColor:"{content.hover.color}",padding:"0.75rem 1rem",toggleablePadding:"0.75rem 1rem 1.25rem 1rem",borderRadius:"{content.border.radius}"},Z3e={background:"{content.background}",hoverBackground:"{content.hover.background}",borderColor:"{content.border.color}",color:"{text.muted.color}",hoverColor:"{text.color}",size:"1.5rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},q3e={color:"{content.border.color}",borderRadius:"{content.border.radius}",height:"24px"},Q3e={root:Y3e,node:X3e,nodeToggleButton:Z3e,connector:q3e},J3e={outline:{width:"2px",color:"{content.background}"}},e5e={root:J3e},t5e={padding:"0.5rem 1rem",gap:"0.25rem",borderRadius:"{content.border.radius}",background:"{content.background}",color:"{content.color}",transitionDuration:"{transition.duration}"},i5e={background:"transparent",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",selectedColor:"{highlight.color}",width:"2.5rem",height:"2.5rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},o5e={color:"{text.muted.color}"},s5e={maxWidth:"2.5rem"},n5e={root:t5e,navButton:i5e,currentPageReport:o5e,jumpToPageInput:s5e},r5e={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}"},a5e={background:"transparent",color:"{text.color}",padding:"1.125rem",borderColor:"{content.border.color}",borderWidth:"0",borderRadius:"0"},l5e={padding:"0.375rem 1.125rem"},c5e={fontWeight:"600"},d5e={padding:"0 1.125rem 1.125rem 1.125rem"},u5e={padding:"0 1.125rem 1.125rem 1.125rem"},h5e={root:r5e,header:a5e,toggleableHeader:l5e,title:c5e,content:d5e,footer:u5e},p5e={gap:"0.5rem",transitionDuration:"{transition.duration}"},g5e={background:"{content.background}",borderColor:"{content.border.color}",borderWidth:"1px",color:"{content.color}",padding:"0.25rem 0.25rem",borderRadius:"{content.border.radius}",first:{borderWidth:"1px",topBorderRadius:"{content.border.radius}"},last:{borderWidth:"1px",bottomBorderRadius:"{content.border.radius}"}},f5e={focusBackground:"{navigation.item.focus.background}",color:"{navigation.item.color}",focusColor:"{navigation.item.focus.color}",gap:"0.5rem",padding:"{navigation.item.padding}",borderRadius:"{content.border.radius}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}"}},m5e={indent:"1rem"},y5e={color:"{navigation.submenu.icon.color}",focusColor:"{navigation.submenu.icon.focus.color}"},v5e={root:p5e,panel:g5e,item:f5e,submenu:m5e,submenuIcon:y5e},b5e={background:"{content.border.color}",borderRadius:"{content.border.radius}",height:".75rem"},C5e={color:"{form.field.icon.color}"},S5e={background:"{overlay.popover.background}",borderColor:"{overlay.popover.border.color}",borderRadius:"{overlay.popover.border.radius}",color:"{overlay.popover.color}",padding:"{overlay.popover.padding}",shadow:"{overlay.popover.shadow}"},x5e={gap:"0.5rem"},w5e={light:{strength:{weakBackground:"{red.500}",mediumBackground:"{amber.500}",strongBackground:"{green.500}"}},dark:{strength:{weakBackground:"{red.400}",mediumBackground:"{amber.400}",strongBackground:"{green.400}"}}},M5e={meter:b5e,icon:C5e,overlay:S5e,content:x5e,colorScheme:w5e},D5e={gap:"1.125rem"},k5e={gap:"0.5rem"},I5e={root:D5e,controls:k5e},A5e={background:"{overlay.popover.background}",borderColor:"{overlay.popover.border.color}",color:"{overlay.popover.color}",borderRadius:"{overlay.popover.border.radius}",shadow:"{overlay.popover.shadow}",gutter:"10px",arrowOffset:"1.25rem"},R5e={padding:"{overlay.popover.padding}"},T5e={root:A5e,content:R5e},L5e={background:"{content.border.color}",borderRadius:"{content.border.radius}",height:"1.25rem"},E5e={background:"{primary.color}"},P5e={color:"{primary.contrast.color}",fontSize:"0.75rem",fontWeight:"600"},N5e={root:L5e,value:E5e,label:P5e},O5e={light:{root:{colorOne:"{red.500}",colorTwo:"{blue.500}",colorThree:"{green.500}",colorFour:"{yellow.500}"}},dark:{root:{colorOne:"{red.400}",colorTwo:"{blue.400}",colorThree:"{green.400}",colorFour:"{yellow.400}"}}},F5e={colorScheme:O5e},B5e={width:"1.25rem",height:"1.25rem",background:"{form.field.background}",checkedBackground:"{primary.color}",checkedHoverBackground:"{primary.hover.color}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.border.color}",checkedBorderColor:"{primary.color}",checkedHoverBorderColor:"{primary.hover.color}",checkedFocusBorderColor:"{primary.color}",checkedDisabledBorderColor:"{form.field.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",shadow:"{form.field.shadow}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{width:"1rem",height:"1rem"},lg:{width:"1.5rem",height:"1.5rem"}},G5e={size:"0.75rem",checkedColor:"{primary.contrast.color}",checkedHoverColor:"{primary.contrast.color}",disabledColor:"{form.field.disabled.color}",sm:{size:"0.5rem"},lg:{size:"1rem"}},z5e={root:B5e,icon:G5e},_5e={gap:"0.25rem",transitionDuration:"{transition.duration}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},V5e={size:"1rem",color:"{text.muted.color}",hoverColor:"{primary.color}",activeColor:"{primary.color}"},H5e={root:_5e,icon:V5e},W5e={light:{root:{background:"rgba(0,0,0,0.1)"}},dark:{root:{background:"rgba(255,255,255,0.3)"}}},j5e={colorScheme:W5e},$5e={transitionDuration:"{transition.duration}"},U5e={size:"9px",borderRadius:"{border.radius.sm}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},K5e={light:{bar:{background:"{surface.100}"}},dark:{bar:{background:"{surface.800}"}}},Y5e={root:$5e,bar:U5e,colorScheme:K5e},X5e={background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"}},Z5e={width:"2.5rem",color:"{form.field.icon.color}"},q5e={background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},Q5e={padding:"{list.padding}",gap:"{list.gap}",header:{padding:"{list.header.padding}"}},J5e={focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusBackground:"{list.option.selected.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",selectedColor:"{list.option.selected.color}",selectedFocusColor:"{list.option.selected.focus.color}",padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}"},eGe={background:"{list.option.group.background}",color:"{list.option.group.color}",fontWeight:"{list.option.group.font.weight}",padding:"{list.option.group.padding}"},tGe={color:"{form.field.icon.color}"},iGe={color:"{list.option.color}",gutterStart:"-0.375rem",gutterEnd:"0.375rem"},oGe={padding:"{list.option.padding}"},sGe={root:X5e,dropdown:Z5e,overlay:q5e,list:Q5e,option:J5e,optionGroup:eGe,clearIcon:tGe,checkmark:iGe,emptyMessage:oGe},nGe={borderRadius:"{form.field.border.radius}"},rGe={light:{root:{invalidBorderColor:"{form.field.invalid.border.color}"}},dark:{root:{invalidBorderColor:"{form.field.invalid.border.color}"}}},aGe={root:nGe,colorScheme:rGe},lGe={borderRadius:"{content.border.radius}"},cGe={light:{root:{background:"{surface.200}",animationBackground:"rgba(255,255,255,0.4)"}},dark:{root:{background:"rgba(255, 255, 255, 0.06)",animationBackground:"rgba(255, 255, 255, 0.04)"}}},dGe={root:lGe,colorScheme:cGe},uGe={transitionDuration:"{transition.duration}"},hGe={background:"{content.border.color}",borderRadius:"{content.border.radius}",size:"3px"},pGe={background:"{primary.color}"},gGe={width:"20px",height:"20px",borderRadius:"50%",background:"{content.border.color}",hoverBackground:"{content.border.color}",content:{borderRadius:"50%",hoverBackground:"{content.background}",width:"16px",height:"16px",shadow:"0px 0.5px 0px 0px rgba(0, 0, 0, 0.08), 0px 1px 1px 0px rgba(0, 0, 0, 0.14)"},focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},fGe={light:{handle:{content:{background:"{surface.0}"}}},dark:{handle:{content:{background:"{surface.950}"}}}},mGe={root:uGe,track:hGe,range:pGe,handle:gGe,colorScheme:fGe},yGe={gap:"0.5rem",transitionDuration:"{transition.duration}"},vGe={root:yGe},bGe={borderRadius:"{form.field.border.radius}",roundedBorderRadius:"2rem",raisedShadow:"0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12)"},CGe={root:bGe},SGe={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",transitionDuration:"{transition.duration}"},xGe={background:"{content.border.color}"},wGe={size:"24px",background:"transparent",borderRadius:"{content.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},MGe={root:SGe,gutter:xGe,handle:wGe},DGe={transitionDuration:"{transition.duration}"},kGe={background:"{content.border.color}",activeBackground:"{primary.color}",margin:"0 0 0 1.625rem",size:"2px"},IGe={padding:"0.5rem",gap:"1rem"},AGe={padding:"0",borderRadius:"{content.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},gap:"0.5rem"},RGe={color:"{text.muted.color}",activeColor:"{primary.color}",fontWeight:"500"},TGe={background:"{content.background}",activeBackground:"{content.background}",borderColor:"{content.border.color}",activeBorderColor:"{content.border.color}",color:"{text.muted.color}",activeColor:"{primary.color}",size:"2rem",fontSize:"1.143rem",fontWeight:"500",borderRadius:"50%",shadow:"0px 0.5px 0px 0px rgba(0, 0, 0, 0.06), 0px 1px 1px 0px rgba(0, 0, 0, 0.12)"},LGe={padding:"0.875rem 0.5rem 1.125rem 0.5rem"},EGe={background:"{content.background}",color:"{content.color}",padding:"0",indent:"1rem"},PGe={root:DGe,separator:kGe,step:IGe,stepHeader:AGe,stepTitle:RGe,stepNumber:TGe,steppanels:LGe,steppanel:EGe},NGe={transitionDuration:"{transition.duration}"},OGe={background:"{content.border.color}"},FGe={borderRadius:"{content.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},gap:"0.5rem"},BGe={color:"{text.muted.color}",activeColor:"{primary.color}",fontWeight:"500"},GGe={background:"{content.background}",activeBackground:"{content.background}",borderColor:"{content.border.color}",activeBorderColor:"{content.border.color}",color:"{text.muted.color}",activeColor:"{primary.color}",size:"2rem",fontSize:"1.143rem",fontWeight:"500",borderRadius:"50%",shadow:"0px 0.5px 0px 0px rgba(0, 0, 0, 0.06), 0px 1px 1px 0px rgba(0, 0, 0, 0.12)"},zGe={root:NGe,separator:OGe,itemLink:FGe,itemLabel:BGe,itemNumber:GGe},_Ge={transitionDuration:"{transition.duration}"},VGe={borderWidth:"0 0 1px 0",background:"{content.background}",borderColor:"{content.border.color}"},HGe={background:"transparent",hoverBackground:"transparent",activeBackground:"transparent",borderWidth:"0 0 1px 0",borderColor:"{content.border.color}",hoverBorderColor:"{content.border.color}",activeBorderColor:"{primary.color}",color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{primary.color}",padding:"1rem 1.125rem",fontWeight:"600",margin:"0 0 -1px 0",gap:"0.5rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},WGe={color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{primary.color}"},jGe={height:"1px",bottom:"-1px",background:"{primary.color}"},$Ge={root:_Ge,tablist:VGe,item:HGe,itemIcon:WGe,activeBar:jGe},UGe={transitionDuration:"{transition.duration}"},KGe={borderWidth:"0 0 1px 0",background:"{content.background}",borderColor:"{content.border.color}"},YGe={background:"transparent",hoverBackground:"transparent",activeBackground:"transparent",borderWidth:"0 0 1px 0",borderColor:"{content.border.color}",hoverBorderColor:"{content.border.color}",activeBorderColor:"{primary.color}",color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{primary.color}",padding:"1rem 1.125rem",fontWeight:"600",margin:"0 0 -1px 0",gap:"0.5rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"}},XGe={background:"{content.background}",color:"{content.color}",padding:"0.875rem 1.125rem 1.125rem 1.125rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"inset {focus.ring.shadow}"}},ZGe={background:"{content.background}",color:"{text.muted.color}",hoverColor:"{text.color}",width:"2.5rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"}},qGe={height:"1px",bottom:"-1px",background:"{primary.color}"},QGe={light:{navButton:{shadow:"0px 0px 10px 50px rgba(255, 255, 255, 0.6)"}},dark:{navButton:{shadow:"0px 0px 10px 50px color-mix(in srgb, {content.background}, transparent 50%)"}}},JGe={root:UGe,tablist:KGe,tab:YGe,tabpanel:XGe,navButton:ZGe,activeBar:qGe,colorScheme:QGe},eze={transitionDuration:"{transition.duration}"},tze={background:"{content.background}",borderColor:"{content.border.color}"},ize={borderColor:"{content.border.color}",activeBorderColor:"{primary.color}",color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{primary.color}"},oze={background:"{content.background}",color:"{content.color}"},sze={background:"{content.background}",color:"{text.muted.color}",hoverColor:"{text.color}"},nze={light:{navButton:{shadow:"0px 0px 10px 50px rgba(255, 255, 255, 0.6)"}},dark:{navButton:{shadow:"0px 0px 10px 50px color-mix(in srgb, {content.background}, transparent 50%)"}}},rze={root:eze,tabList:tze,tab:ize,tabPanel:oze,navButton:sze,colorScheme:nze},aze={fontSize:"0.875rem",fontWeight:"700",padding:"0.25rem 0.5rem",gap:"0.25rem",borderRadius:"{content.border.radius}",roundedBorderRadius:"{border.radius.xl}"},lze={size:"0.75rem"},cze={light:{primary:{background:"{primary.100}",color:"{primary.700}"},secondary:{background:"{surface.100}",color:"{surface.600}"},success:{background:"{green.100}",color:"{green.700}"},info:{background:"{sky.100}",color:"{sky.700}"},warn:{background:"{orange.100}",color:"{orange.700}"},danger:{background:"{red.100}",color:"{red.700}"},contrast:{background:"{surface.950}",color:"{surface.0}"}},dark:{primary:{background:"color-mix(in srgb, {primary.500}, transparent 84%)",color:"{primary.300}"},secondary:{background:"{surface.800}",color:"{surface.300}"},success:{background:"color-mix(in srgb, {green.500}, transparent 84%)",color:"{green.300}"},info:{background:"color-mix(in srgb, {sky.500}, transparent 84%)",color:"{sky.300}"},warn:{background:"color-mix(in srgb, {orange.500}, transparent 84%)",color:"{orange.300}"},danger:{background:"color-mix(in srgb, {red.500}, transparent 84%)",color:"{red.300}"},contrast:{background:"{surface.0}",color:"{surface.950}"}}},dze={root:aze,icon:lze,colorScheme:cze},uze={background:"{form.field.background}",borderColor:"{form.field.border.color}",color:"{form.field.color}",height:"18rem",padding:"{form.field.padding.y} {form.field.padding.x}",borderRadius:"{form.field.border.radius}"},hze={gap:"0.25rem"},pze={margin:"2px 0"},gze={root:uze,prompt:hze,commandResponse:pze},fze={background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"}},mze={root:fze},yze={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}",shadow:"{overlay.navigation.shadow}",transitionDuration:"{transition.duration}"},vze={padding:"{navigation.list.padding}",gap:"{navigation.list.gap}"},bze={focusBackground:"{navigation.item.focus.background}",activeBackground:"{navigation.item.active.background}",color:"{navigation.item.color}",focusColor:"{navigation.item.focus.color}",activeColor:"{navigation.item.active.color}",padding:"{navigation.item.padding}",borderRadius:"{navigation.item.border.radius}",gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}",activeColor:"{navigation.item.icon.active.color}"}},Cze={mobileIndent:"1rem"},Sze={size:"{navigation.submenu.icon.size}",color:"{navigation.submenu.icon.color}",focusColor:"{navigation.submenu.icon.focus.color}",activeColor:"{navigation.submenu.icon.active.color}"},xze={borderColor:"{content.border.color}"},wze={root:yze,list:vze,item:bze,submenu:Cze,submenuIcon:Sze,separator:xze},Mze={minHeight:"5rem"},Dze={eventContent:{padding:"1rem 0"}},kze={eventContent:{padding:"0 1rem"}},Ize={size:"1.125rem",borderRadius:"50%",borderWidth:"2px",background:"{content.background}",borderColor:"{content.border.color}",content:{borderRadius:"50%",size:"0.375rem",background:"{primary.color}",insetShadow:"0px 0.5px 0px 0px rgba(0, 0, 0, 0.06), 0px 1px 1px 0px rgba(0, 0, 0, 0.12)"}},Aze={color:"{content.border.color}",size:"2px"},Rze={event:Mze,horizontal:Dze,vertical:kze,eventMarker:Ize,eventConnector:Aze},Tze={width:"25rem",borderRadius:"{content.border.radius}",borderWidth:"1px",transitionDuration:"{transition.duration}"},Lze={size:"1.125rem"},Eze={padding:"{overlay.popover.padding}",gap:"0.5rem"},Pze={gap:"0.5rem"},Nze={fontWeight:"500",fontSize:"1rem"},Oze={fontWeight:"500",fontSize:"0.875rem"},Fze={width:"1.75rem",height:"1.75rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",offset:"{focus.ring.offset}"}},Bze={size:"1rem"},Gze={light:{root:{blur:"1.5px"},info:{background:"color-mix(in srgb, {blue.50}, transparent 5%)",borderColor:"{blue.200}",color:"{blue.600}",detailColor:"{surface.700}",shadow:"0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)",closeButton:{hoverBackground:"{blue.100}",focusRing:{color:"{blue.600}",shadow:"none"}}},success:{background:"color-mix(in srgb, {green.50}, transparent 5%)",borderColor:"{green.200}",color:"{green.600}",detailColor:"{surface.700}",shadow:"0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)",closeButton:{hoverBackground:"{green.100}",focusRing:{color:"{green.600}",shadow:"none"}}},warn:{background:"color-mix(in srgb,{yellow.50}, transparent 5%)",borderColor:"{yellow.200}",color:"{yellow.600}",detailColor:"{surface.700}",shadow:"0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)",closeButton:{hoverBackground:"{yellow.100}",focusRing:{color:"{yellow.600}",shadow:"none"}}},error:{background:"color-mix(in srgb, {red.50}, transparent 5%)",borderColor:"{red.200}",color:"{red.600}",detailColor:"{surface.700}",shadow:"0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)",closeButton:{hoverBackground:"{red.100}",focusRing:{color:"{red.600}",shadow:"none"}}},secondary:{background:"{surface.100}",borderColor:"{surface.200}",color:"{surface.600}",detailColor:"{surface.700}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.500}, transparent 96%)",closeButton:{hoverBackground:"{surface.200}",focusRing:{color:"{surface.600}",shadow:"none"}}},contrast:{background:"{surface.900}",borderColor:"{surface.950}",color:"{surface.50}",detailColor:"{surface.0}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)",closeButton:{hoverBackground:"{surface.800}",focusRing:{color:"{surface.50}",shadow:"none"}}}},dark:{root:{blur:"10px"},info:{background:"color-mix(in srgb, {blue.500}, transparent 84%)",borderColor:"color-mix(in srgb, {blue.700}, transparent 64%)",color:"{blue.500}",detailColor:"{surface.0}",shadow:"0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{blue.500}",shadow:"none"}}},success:{background:"color-mix(in srgb, {green.500}, transparent 84%)",borderColor:"color-mix(in srgb, {green.700}, transparent 64%)",color:"{green.500}",detailColor:"{surface.0}",shadow:"0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{green.500}",shadow:"none"}}},warn:{background:"color-mix(in srgb, {yellow.500}, transparent 84%)",borderColor:"color-mix(in srgb, {yellow.700}, transparent 64%)",color:"{yellow.500}",detailColor:"{surface.0}",shadow:"0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{yellow.500}",shadow:"none"}}},error:{background:"color-mix(in srgb, {red.500}, transparent 84%)",borderColor:"color-mix(in srgb, {red.700}, transparent 64%)",color:"{red.500}",detailColor:"{surface.0}",shadow:"0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{red.500}",shadow:"none"}}},secondary:{background:"{surface.800}",borderColor:"{surface.700}",color:"{surface.300}",detailColor:"{surface.0}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.500}, transparent 96%)",closeButton:{hoverBackground:"{surface.700}",focusRing:{color:"{surface.300}",shadow:"none"}}},contrast:{background:"{surface.0}",borderColor:"{surface.100}",color:"{surface.950}",detailColor:"{surface.950}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)",closeButton:{hoverBackground:"{surface.100}",focusRing:{color:"{surface.950}",shadow:"none"}}}}},zze={root:Tze,icon:Lze,content:Eze,text:Pze,summary:Nze,detail:Oze,closeButton:Fze,closeIcon:Bze,colorScheme:Gze},_ze={padding:"0.25rem",borderRadius:"{content.border.radius}",gap:"0.5rem",fontWeight:"500",disabledBackground:"{form.field.disabled.background}",disabledBorderColor:"{form.field.disabled.background}",disabledColor:"{form.field.disabled.color}",invalidBorderColor:"{form.field.invalid.border.color}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",padding:"0.25rem"},lg:{fontSize:"{form.field.lg.font.size}",padding:"0.25rem"}},Vze={disabledColor:"{form.field.disabled.color}"},Hze={padding:"0.25rem 0.75rem",borderRadius:"{content.border.radius}",checkedShadow:"0px 1px 2px 0px rgba(0, 0, 0, 0.02), 0px 1px 2px 0px rgba(0, 0, 0, 0.04)",sm:{padding:"0.25rem 0.75rem"},lg:{padding:"0.25rem 0.75rem"}},Wze={light:{root:{background:"{surface.100}",checkedBackground:"{surface.100}",hoverBackground:"{surface.100}",borderColor:"{surface.100}",color:"{surface.500}",hoverColor:"{surface.700}",checkedColor:"{surface.900}",checkedBorderColor:"{surface.100}"},content:{checkedBackground:"{surface.0}"},icon:{color:"{surface.500}",hoverColor:"{surface.700}",checkedColor:"{surface.900}"}},dark:{root:{background:"{surface.950}",checkedBackground:"{surface.950}",hoverBackground:"{surface.950}",borderColor:"{surface.950}",color:"{surface.400}",hoverColor:"{surface.300}",checkedColor:"{surface.0}",checkedBorderColor:"{surface.950}"},content:{checkedBackground:"{surface.800}"},icon:{color:"{surface.400}",hoverColor:"{surface.300}",checkedColor:"{surface.0}"}}},jze={root:_ze,icon:Vze,content:Hze,colorScheme:Wze},$ze={width:"2.5rem",height:"1.5rem",borderRadius:"30px",gap:"0.25rem",shadow:"{form.field.shadow}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},borderWidth:"1px",borderColor:"transparent",hoverBorderColor:"transparent",checkedBorderColor:"transparent",checkedHoverBorderColor:"transparent",invalidBorderColor:"{form.field.invalid.border.color}",transitionDuration:"{form.field.transition.duration}",slideDuration:"0.2s"},Uze={borderRadius:"50%",size:"1rem"},Kze={light:{root:{background:"{surface.300}",disabledBackground:"{form.field.disabled.background}",hoverBackground:"{surface.400}",checkedBackground:"{primary.color}",checkedHoverBackground:"{primary.hover.color}"},handle:{background:"{surface.0}",disabledBackground:"{form.field.disabled.color}",hoverBackground:"{surface.0}",checkedBackground:"{surface.0}",checkedHoverBackground:"{surface.0}",color:"{text.muted.color}",hoverColor:"{text.color}",checkedColor:"{primary.color}",checkedHoverColor:"{primary.hover.color}"}},dark:{root:{background:"{surface.700}",disabledBackground:"{surface.600}",hoverBackground:"{surface.600}",checkedBackground:"{primary.color}",checkedHoverBackground:"{primary.hover.color}"},handle:{background:"{surface.400}",disabledBackground:"{surface.900}",hoverBackground:"{surface.300}",checkedBackground:"{surface.900}",checkedHoverBackground:"{surface.900}",color:"{surface.900}",hoverColor:"{surface.800}",checkedColor:"{primary.color}",checkedHoverColor:"{primary.hover.color}"}}},Yze={root:$ze,handle:Uze,colorScheme:Kze},Xze={background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",color:"{content.color}",gap:"0.5rem",padding:"0.75rem"},Zze={root:Xze},qze={maxWidth:"12.5rem",gutter:"0.25rem",shadow:"{overlay.popover.shadow}",padding:"0.5rem 0.75rem",borderRadius:"{overlay.popover.border.radius}"},Qze={light:{root:{background:"{surface.700}",color:"{surface.0}"}},dark:{root:{background:"{surface.700}",color:"{surface.0}"}}},Jze={root:qze,colorScheme:Qze},e_e={background:"{content.background}",color:"{content.color}",padding:"1rem",gap:"2px",indent:"1rem",transitionDuration:"{transition.duration}"},t_e={padding:"0.25rem 0.5rem",borderRadius:"{content.border.radius}",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",color:"{text.color}",hoverColor:"{text.hover.color}",selectedColor:"{highlight.color}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"},gap:"0.25rem"},i_e={color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",selectedColor:"{highlight.color}"},o_e={borderRadius:"50%",size:"1.75rem",hoverBackground:"{content.hover.background}",selectedHoverBackground:"{content.background}",color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",selectedHoverColor:"{primary.color}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},s_e={size:"2rem"},n_e={margin:"0 0 0.5rem 0"},r_e={root:e_e,node:t_e,nodeIcon:i_e,nodeToggleButton:o_e,loadingIcon:s_e,filter:n_e},a_e={background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"}},l_e={width:"2.5rem",color:"{form.field.icon.color}"},c_e={background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},d_e={padding:"{list.padding}"},u_e={padding:"{list.option.padding}"},h_e={borderRadius:"{border.radius.sm}"},p_e={color:"{form.field.icon.color}"},g_e={root:a_e,dropdown:l_e,overlay:c_e,tree:d_e,emptyMessage:u_e,chip:h_e,clearIcon:p_e},f_e={transitionDuration:"{transition.duration}"},m_e={background:"{content.background}",borderColor:"{treetable.border.color}",color:"{content.color}",borderWidth:"0 0 1px 0",padding:"0.75rem 1rem"},y_e={background:"{content.background}",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",borderColor:"{treetable.border.color}",color:"{content.color}",hoverColor:"{content.hover.color}",selectedColor:"{highlight.color}",gap:"0.5rem",padding:"0.75rem 1rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"}},v_e={fontWeight:"600"},b_e={background:"{content.background}",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",color:"{content.color}",hoverColor:"{content.hover.color}",selectedColor:"{highlight.color}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"}},C_e={borderColor:"{treetable.border.color}",padding:"0.75rem 1rem",gap:"0.5rem"},S_e={background:"{content.background}",borderColor:"{treetable.border.color}",color:"{content.color}",padding:"0.75rem 1rem"},x_e={fontWeight:"600"},w_e={background:"{content.background}",borderColor:"{treetable.border.color}",color:"{content.color}",borderWidth:"0 0 1px 0",padding:"0.75rem 1rem"},M_e={width:"0.5rem"},D_e={width:"1px",color:"{primary.color}"},k_e={color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",size:"0.875rem"},I_e={size:"2rem"},A_e={hoverBackground:"{content.hover.background}",selectedHoverBackground:"{content.background}",color:"{text.muted.color}",hoverColor:"{text.color}",selectedHoverColor:"{primary.color}",size:"1.75rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},R_e={borderColor:"{content.border.color}",borderWidth:"0 0 1px 0"},T_e={borderColor:"{content.border.color}",borderWidth:"0 0 1px 0"},L_e={light:{root:{borderColor:"{content.border.color}"},bodyCell:{selectedBorderColor:"{primary.100}"}},dark:{root:{borderColor:"{surface.800}"},bodyCell:{selectedBorderColor:"{primary.900}"}}},E_e={root:f_e,header:m_e,headerCell:y_e,columnTitle:v_e,row:b_e,bodyCell:C_e,footerCell:S_e,columnFooter:x_e,footer:w_e,columnResizer:M_e,resizeIndicator:D_e,sortIcon:k_e,loadingIcon:I_e,nodeToggleButton:A_e,paginatorTop:R_e,paginatorBottom:T_e,colorScheme:L_e},P_e={mask:{background:"{content.background}",color:"{text.muted.color}"},icon:{size:"2rem"}},N_e={loader:P_e},O_e=Object.defineProperty,F_e=Object.defineProperties,B_e=Object.getOwnPropertyDescriptors,cB=Object.getOwnPropertySymbols,G_e=Object.prototype.hasOwnProperty,z_e=Object.prototype.propertyIsEnumerable,dB=(e,t,i)=>t in e?O_e(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,uB;uB=((e,t)=>{for(var i in t||(t={}))G_e.call(t,i)&&dB(e,i,t[i]);if(cB)for(var i of cB(t))z_e.call(t,i)&&dB(e,i,t[i]);return e})({},JNe),F_e(uB,B_e({components:{accordion:INe,autocomplete:BNe,avatar:WNe,badge:ZNe,blockui:tOe,breadcrumb:nOe,button:lOe,card:gOe,carousel:COe,cascadeselect:IOe,checkbox:TOe,chip:FOe,colorpicker:VOe,confirmdialog:jOe,confirmpopup:XOe,contextmenu:iFe,datatable:xFe,dataview:RFe,datepicker:XFe,dialog:t4e,divider:r4e,dock:c4e,drawer:f4e,editor:S4e,fieldset:k4e,fileupload:N4e,floatlabel:z4e,galleria:eBe,iconfield:iBe,iftalabel:nBe,image:dBe,imagecompare:hBe,inlinemessage:yBe,inplace:CBe,inputchips:MBe,inputgroup:kBe,inputnumber:TBe,inputotp:PBe,inputtext:OBe,knob:_Be,listbox:YBe,megamenu:s3e,menu:d3e,menubar:y3e,message:I3e,metergroup:N3e,multiselect:j3e,orderlist:K3e,organizationchart:Q3e,overlaybadge:e5e,paginator:n5e,panel:h5e,panelmenu:v5e,password:M5e,picklist:I5e,popover:T5e,progressbar:N5e,progressspinner:F5e,radiobutton:z5e,rating:H5e,ripple:j5e,scrollpanel:Y5e,select:sGe,selectbutton:aGe,skeleton:dGe,slider:mGe,speeddial:vGe,splitbutton:CGe,splitter:MGe,stepper:PGe,steps:zGe,tabmenu:$Ge,tabs:JGe,tabview:rze,tag:dze,terminal:gze,textarea:mze,tieredmenu:wze,timeline:Rze,toast:zze,togglebutton:jze,toggleswitch:Yze,toolbar:Zze,tooltip:Jze,tree:r_e,treeselect:g_e,treetable:E_e,virtualscroller:N_e}}));const uW=Symbol("focusDataKey"),ow=()=>{const{focuses:e,focusType:t}=m.inject(uW,{focuses:m.ref([]),focusType:m.ref(null)}),i=r=>r?e.value.includes(r):!1,o=r=>{e.value=e.value.filter(a=>a!==r),e.value.length===0&&(t.value=null)};return{focuses:e,focusType:t,clearAllFocuses:()=>{e.value=[],t.value=null},handleFocusUpdate:(r,a)=>{if(a){if(t.value&&r!==t.value){e.value=[a],t.value=r;return}e.value.includes(a)?o(a):(e.value=[a],t.value=r)}},isFocused:i,removeFocus:o}},__e={class:"pv-flex",style:{"--flex-wrap":"nowrap"}},V_e=["id"],H_e={key:1,style:{"padding-left":"16px"}},W_e=["checked","disabled","onChange"],j_e={class:"pv-text-body-md"},$_e={key:2},U_e={key:0,class:"pv-text-subdued pv-text-body-xxs"},K_e=m.defineComponent({__name:"GroupBySelector",props:{rowGroupLimit:{},enableFocusView:{type:Boolean}},setup(e){const t=m.inject("gridApi"),i=m.inject("availableRowGroupColumns"),o=m.inject("rowGroupColumnFields"),s=e;m.watch(o,()=>{},{deep:!0});const n=v=>o.value.includes(v||""),{clearAllFocuses:r,focusType:a}=ow(),l=(v,y)=>{y?t.value.addRowGroupColumns([v]):t.value.removeRowGroupColumns([v]),s.enableFocusView&&a.value&&a.value!==o.value[0]&&r()},c=m.computed(()=>({"pv-hide":i.value.length===0})),d=m.computed(()=>s.rowGroupLimit?o.value.length>=s.rowGroupLimit:!1),u=m.computed(()=>o.value.map(v=>i.value.find(y=>y.field===v)).filter(v=>v!==void 0)),h=m.computed(()=>i.value.filter(v=>!o.value.includes(v.field))),p=m.computed(()=>{const v={label:"",value:"divider"},y=u.value.map(S=>({label:S.headerName,value:S.field})),C=h.value.map(S=>({label:S.headerName,value:S.field}));return[...y,v,...C]}),g=v=>`group-by-list-item-${v}`,f=v=>{const y=v.findIndex(x=>x==="divider"),S=v.slice(0,y).slice(0,s.rowGroupLimit).map(x=>x.replace("group-by-list-item-",""));t.value.setRowGroupColumns(S)};return(v,y)=>(m.openBlock(),m.createBlock(s2e,{isList:!0,isSortable:!0,popoverCssProperties:{width:"auto"},alignment:"right",class:m.normalizeClass(c.value),onListOrderUpdated:f},{trigger:m.withCtx(()=>[m.createElementVNode("div",__e,[y[0]||(y[0]=m.createElementVNode("p",{class:"pv-truncate pv-text-body-md"},"Compare",-1)),m.unref(o).length>0?(m.openBlock(),m.createBlock(m.unref(w0),{key:0,value:m.unref(o).length,variant:"tertiary"},null,8,["value"])):m.createCommentVNode("",!0)])]),default:m.withCtx(()=>[(m.openBlock(!0),m.createElementBlock(m.Fragment,null,m.renderList(p.value,(C,S)=>(m.openBlock(),m.createElementBlock(m.Fragment,{key:C.value},[C.value!=="divider"?(m.openBlock(),m.createElementBlock("li",{key:0,id:g(C.value)},[m.createElementVNode("label",{class:m.normalizeClass(["pv-flex",{"pv-border-bottom":S+1===m.unref(o).length}])},[n(C.value)?(m.openBlock(),m.createBlock(Wi,{key:0,name:"reorder",class:"pv-text-subdued"})):(m.openBlock(),m.createElementBlock("span",H_e)),m.createElementVNode("input",{type:"checkbox",class:"pv-checkbox",checked:n(C.value),disabled:!n(C.value)&&d.value,onChange:x=>l(C.value,x.target.checked)},null,40,W_e),m.createElementVNode("span",j_e,m.toDisplayString(C.label),1),n(C.value)?(m.openBlock(),m.createElementBlock("sup",$_e,m.toDisplayString(S+1),1)):m.createCommentVNode("",!0)],2)],8,V_e)):m.createCommentVNode("",!0)],64))),128)),d.value?(m.openBlock(),m.createElementBlock("p",U_e," Supports "+m.toDisplayString(v.rowGroupLimit)+" compare levels ",1)):m.createCommentVNode("",!0)]),_:1},8,["class"]))}}),Y_e={},X_e={class:"ag-custom-loading-cell pv-shimmer"};function Z_e(e,t){return m.openBlock(),m.createElementBlock("div",X_e)}const q_e=Ea(Y_e,[["render",Z_e]]),Q_e={key:0,class:"pv-table-group-cell"},J_e={class:"pv-text-body-xxs pv-text-subdued"},e8e={key:0},t8e={class:"pv-flex pv-space-between",style:{"line-height":"20px"}},i8e={class:"pv-text-title-md"},o8e={key:0,class:"pv-table-row-number"},s8e=m.defineComponent({__name:"GroupedCellRenderer",props:{params:{}},setup(e){const t=e,i=m.inject("rowGroupColumnFields"),o=m.inject("groupColumnCellValueColumn"),s=m.inject("expandedRows"),n=m.computed(()=>!t.params.displayBaseAggregationsOnly||a.value.level===i.value.length-1),r=m.computed(()=>t.params.rowNode.group),a=A7(t.params,"rowNode"),l=(p,g)=>p?p({value:g,data:a.value.data,node:a.value,api:t.params.api}):g,c=m.computed(()=>{if(!o.value)return"";const p=o.value.getColId()||"",g=o.value.getColDef().valueFormatter,f=a.value;return p&&f&&f.data&&p in f.data?l(g,f.data[p]):""}),d=m.computed(()=>a.value.data&&a.value.data.groupedRecordCount?a.value.data.groupedRecordCount||0:a.value.allChildrenCount||0),u=m.computed(()=>{const p=a.value.rowIndex,g=a.value.parent?.rowIndex;return p!=null&&g!=null?p-g:null}),h=p=>{const g=p.node.expanded,f=p.node.rowIndex;f!=null&&(s.value[f]=g)};return m.onMounted(()=>{const p=a.value,g=p.rowIndex,f=p.expanded;g!=null&&(s.value[g]=f),a.value.addEventListener("expandedChanged",h)}),m.onBeforeUnmount(()=>{const p=a.value;a.value.removeEventListener("expandedChanged",h);const g=p.rowIndex;g!=null&&(s.value[g]=!1)}),(p,g)=>(m.openBlock(),m.createElementBlock(m.Fragment,null,[r.value?(m.openBlock(),m.createElementBlock("div",Q_e,[m.createElementVNode("p",J_e,[m.createTextVNode(m.toDisplayString(m.unref(a).rowGroupColumn?.getColDef().headerName)+" ",1),p.params.displayCount&&n.value&&d.value>0?(m.openBlock(),m.createElementBlock("span",e8e," ("+m.toDisplayString(d.value.toLocaleString())+") ",1)):m.createCommentVNode("",!0)]),m.createElementVNode("div",t8e,[m.createElementVNode("p",i8e,m.toDisplayString(p.params.formattedValue||p.params.rowNode.key),1)])])):m.createCommentVNode("",!0),m.createElementVNode("div",null,[m.createElementVNode("p",null,[p.params.displayRowNumber&&u.value?(m.openBlock(),m.createElementBlock("span",o8e,m.toDisplayString(u.value),1)):m.createCommentVNode("",!0),m.createTextVNode(" "+m.toDisplayString(c.value),1)])])],64))}});function hB(e){const t=e.filter(o=>o!=null&&!isNaN(o)).sort((o,s)=>o-s),i=t.length;return i===0?null:t[Math.floor(i/2)]}var ws=(e=>(e.String="string",e.Number="number",e.Boolean="boolean",e.Date="date",e.Currency="currency",e.Formula="formula",e.Select="select",e.Percent="percent",e.Entity="entity",e.Id="id",e.Integer="integer",e.User="user",e.Link="link",e.Location="location",e.Status="status",e.Tag="tag",e.File="file",e.None="none",e))(ws||{});const n8e=e=>{switch(e){case"string":return"fonts";case"number":return"hash";case"boolean":return"list";case"date":return"calendar";case"currency":return"currency-dollar";case"formula":return"formula";case"select":return"list";case"percent":return"percent";case"entity":return"building";case"id":return"id-2";case"link":return"link";case"location":return"location";case"integer":return"hash";case"user":return"user";case"status":return"circle-chevron-down";case"tag":return"circle-chevron-down";case"file":return"file";case"none":return null;default:return null}},r8e=(e,t)=>{if(!e)return e;switch(t){case"percent":return e.replace(/^%+/,"").trim();default:return e}},a8e=e=>{if(!e)return!1;const t=e.context;if(t&&t.dataType){const i=t.dataType;return["number","integer","currency","percent"].includes(i)}return!1},l8e=(e,t)=>{if(!e)return!1;const i=e.context;return i&&i.dataType?i.dataType===t:!1},c8e=e=>{const t=["","K","M","B","T"],i=Math.abs(e);if(i<1e3)return{newValue:e.toString(),newSuffix:""};const o=Math.floor(Math.log10(i)/3),s=t[o]||`e${o*3}`;return{newValue:(e/Math.pow(10,o*3)).toFixed(0),newSuffix:s}},d8e={style:{"line-height":"20px"}},u8e={class:"pv-text-subdued pv-text-body-xxs pv-relative"},h8e=m.defineComponent({__name:"GroupAggCellRenderer",props:{params:{}},setup(e){const t=e,i=m.inject("expandedRows"),o=m.computed(()=>{const d=t.params.column?.getColDef()?.context;return d&&d.aggFuncDisplayName?d.aggFuncDisplayName:(t.params.column?.getAggFunc()||"agg").toLowerCase()}),s=()=>{const c=t.params.api;if(c){const d=!r.value;c.setRowNodeExpanded(t.params.node,d),n.value&&(i.value[n.value]=d)}},n=m.computed(()=>t.params.node?.rowIndex),r=m.computed(()=>{let c=!1;return n.value!=null&&(c=n.value in i.value?i.value[n.value]:!1),c}),a=m.computed(()=>r.value?"chevron-down":"chevron-right"),l=m.computed(()=>{const d=t.params.column?.getColDef()?.context,u=t.params.valueFormatted||t.params.value;return d&&d.dataType&&[ws.Currency,ws.Percent,ws.Number,ws.Integer].includes(d.dataType)?u.toLocaleString():u});return m.onMounted(()=>{t.params.node.expanded&&n.value&&(i.value[n.value]=!0)}),(c,d)=>(m.openBlock(),m.createElementBlock("div",{class:"pv-flex",ondblclick:s},[m.createElementVNode("div",d8e,[m.createElementVNode("p",null,m.toDisplayString(l.value),1),m.createElementVNode("p",u8e,m.toDisplayString(o.value),1)]),m.createVNode(es,{size:"xl",variant:"ghost","left-icon":a.value,onClick:s},null,8,["left-icon"])]))}}),gC=m.ref({}),hW=m.ref(null),p8e=m.ref(0),g8e=m.ref(0),ik=m.ref({}),_L=m.ref(void 0),VL=m.ref({}),sw=m.ref({}),HL=m.ref({}),pW=m.ref({}),f8e=()=>{const e={};return Object.entries(sw.value).forEach(([t,i])=>{const o=i.filter(s=>!!s);o.length>0&&(e[t]={filterType:"set",values:o})}),e},m8e=async(e,t,i,o)=>{const s=pW.value[t.field]||void 0,n=sw.value[t.field]||[];let r=o;hW.value!=null&&(r=f8e());const a={api:e,colDef:t,column:i,filterModel:r,query:s,selectedValues:n};ik.value[t.field]=!0;const l=n.map(u=>{const h=WL(t.field,u);return{value:h?.value||u,label:h?.label||u,isPreference:h?.isPreference||!1,isSelectable:h?.isSelectable||!0,metadata:h?.metadata||{}}}),c=await _L.value?.(a);l.forEach(u=>{c?.some(h=>h?.value===u?.value)||c?.push(u)}),t.field&&c&&(VL.value[t.field]=c);const d=c?.filter(u=>u!=null).map(u=>u.value)||[];return ik.value[t.field]=!1,d.filter((u,h)=>d.indexOf(u)===h)},WL=(e,t)=>{const i=[...VL.value[e]||[],...HL.value[e]||[]];return i?i.find(o=>o?.value===t):null},y8e=()=>_L.value!=null,v8e=(e,t)=>{sw.value[e]=t;const i=[];if(gC.value&&gC.value[e]?.values){const s=gC.value[e].values||[];i.push(...s)}i.push(...t);const o=[];return t.forEach(s=>{const n=WL(e,s);n&&o.push(n)}),HL.value[e]=o,i.filter((s,n)=>i.indexOf(s)===n)},b8e=e=>sw.value[e]||[],C8e=(e,t)=>{pW.value[e]=t},nw=()=>({filterModel:gC,filterModelUpdated:p8e,filterModelCleared:g8e,filterValuesLoadingStatus:ik,filterValueMap:VL,filterValueSelectedMetadataMap:HL,filterStoreHandler:_L,fetchFilterValues:m8e,filterValueContext:WL,getFilterSelectedValues:b8e,isServerSideFilter:y8e,stagedFilterModel:hW,setFilterSelectedValues:v8e,setFilterValueSearchText:C8e}),S8e={class:"pv-flex pv-full-width pv-space-between",style:{"max-height":"16px"}},x8e={key:0},w8e={key:1},M8e=m.defineComponent({__name:"FocusItemRenderer",props:{id:{},text:{},subText:{},secondaryText:{},icon:{},companyName:{},avatar:{},groupingLabel:{},disabled:{type:Boolean},renderer:{},rendererProps:{},classList:{}},emits:["focus-update"],setup(e){const t=e,{isFocused:i}=ow(),o=s=>{t.rendererProps?.onFocusUpdate&&t.rendererProps.onFocusUpdate(s)};return(s,n)=>(m.openBlock(),m.createElementBlock("div",S8e,[m.createElementVNode("span",null,m.toDisplayString(s.text),1),m.createVNode(k0,{variant:"dark",tooltipPosition:"top-right",size:"sm"},{label:m.withCtx(()=>[m.createVNode(es,{class:m.normalizeClass(["pv-space-between",m.unref(i)(s.id)?"":"focus-button"]),variant:"ghost","left-icon":"focus",onClick:n[0]||(n[0]=r=>o(s.id))},null,8,["class"])]),"tooltip-content":m.withCtx(()=>[m.unref(i)(s.id)?(m.openBlock(),m.createElementBlock("span",x8e," Remove Focus ")):(m.openBlock(),m.createElementBlock("span",w8e," Select as Focus "))]),_:1})]))}}),D8e={key:0,role:"list",class:"pv-flex pv-stack-4",style:{"--flex-wrap":"wrap"}},k8e={class:"pv-full-width pv-flex pv-space-between"},I8e={class:"pv-flex"},A8e={class:"pv-text-subdued pv-text-body-xxs"},R8e={key:0,class:"pv-full-width"},T8e={key:0,class:"pv-flex-inline"},L8e={role:"list",class:"pv-flex pv-stack-8",style:{"--flex-wrap":"wrap"}},E8e=4,P8e=m.defineComponent({__name:"SetFilter",props:{enableFocusView:{type:Boolean,default:!1},filterColDef:{},filterStyle:{default:"horizontal"},displayPreferencesIcon:{type:Boolean,default:!1}},emits:["filter-selection-changed","filter-closed","handle-settings-icon","focus-update"],setup(e,{emit:t}){const i=e,o=t,s=m.inject("gridApi"),n=m.inject("rowGroupColumnFields"),{filterModel:r,stagedFilterModel:a,filterModelCleared:l,filterModelUpdated:c,filterValuesLoadingStatus:d,filterValueContext:u,getFilterSelectedValues:h,isServerSideFilter:p,setFilterValueSearchText:g,setFilterSelectedValues:f}=nw(),{focuses:v,handleFocusUpdate:y,isFocused:C,removeFocus:S}=ow(),x=m.inject("firstDataRendered"),D=m.ref([]),A=m.ref([]),k=m.computed(()=>i.filterColDef.field||""),w=m.computed(()=>i.filterColDef.headerName||""),M=m.ref(!1),R=m.computed(()=>i.filterStyle=="vertical"),L=m.computed(()=>{const Y=i.filterColDef.context;return Y&&Y.filterValueFormatter&&typeof Y.filterValueFormatter=="function"?Y.filterValueFormatter:typeof i.filterColDef.valueFormatter=="function"?i.filterColDef.valueFormatter:null}),P=m.ref(""),N=m.ref(0),O=async()=>{F(),await z().then(()=>{M.value=!1})},F=()=>{const Y=[];if(r.value&&r.value[k.value]?.values){const $=r.value[k.value].values||[];Y.push(...$)}D.value=Array.from(new Set([...h(k.value),...Y]))},z=async(Y=!1,$=!1)=>{const Q=await s.value.getColumnFilterInstance(k.value);p()&&($||Y&&d.value[k.value]!==!0&&c.value>N.value)&&(Q.refreshFilterValues(),N.value=c.value),A.value=_(Q.getFilterValues())},_=Y=>Y.sort(($,Q)=>{const ae=D.value.includes($),ye=D.value.includes(Q);return ae&&!ye?-1:!ae&&ye?1:0}),V=Y=>{const $=u(k.value,Y);return L.value?L.value({value:Y,context:$}):Y},G=m.computed(()=>{const Y=i.filterColDef.context;return Y&&Y.filterSelectMax?Y.filterSelectMax:null}),H=m.computed(()=>{const Y=i.filterColDef.context;return Y&&Y.filterSelectMin?Y.filterSelectMin===1&&G.value===1:!1}),B=m.computed(()=>{const Y=i.filterColDef.context;return Y&&Y.filterOptionsSortDescription?Y.filterOptionsSortDescription:null}),W=m.computed(()=>{const Y=i.filterColDef.context;return Y&&Y.filterOptionsSortTooltip?Y.filterOptionsSortTooltip:null}),j=m.computed(()=>{const Y=i.filterColDef.context;return Y&&Y.filterSearch?Y.filterSearch:!0}),U=m.computed(()=>{const Y=i.filterColDef.context;if(Y&&Y.emptyFilterResultsRenderer)return Y.emptyFilterResultsRenderer}),ee=m.computed(()=>{const Y=i.filterColDef.context;if(Y&&Y.filterOptionsRenderer)return Y.filterOptionsRenderer}),q=m.computed(()=>{const Y=i.filterColDef.context;if(Y&&Y.filterFooterRenderer)return Y.filterFooterRenderer}),te=m.computed(()=>G.value?D.value.length>=G.value:!1),se=m.computed(()=>A.value.filter(Y=>!D.value.includes(Y))),Z=m.computed(()=>A.value.length===1&&A.value[0]===null&&D.value.length===0),ie=Y=>n.value[0]===Y&&i.enableFocusView,X=Y=>Z.value||u(k.value,Y)?.isSelectable===!1?!0:H.value?!1:te.value&&!D.value.includes(Y),ne=m.computed(()=>A.value.filter(($,Q)=>A.value.indexOf($)===Q).filter($=>$!=null&&$!=="").map($=>{let Q=B.value?"suggestions":null;return u(k.value,$)?.isPreference&&(Q="preferences"),{id:$,text:V($),groupingLabel:Q,disabled:X($),renderer:ie(k.value)?M8e:ee.value,rendererProps:{onFocusUpdate:Me},classList:["option-label"]}})),re=m.computed({get:()=>D.value.map(Y=>({id:Y,text:V(Y)})),set:Y=>{D.value=Y.map($=>$.id),me(),v.value.forEach($=>{D.value.includes($)||S($)}),o("filter-selection-changed")}});m.watch(()=>d.value[k.value],()=>{const Y=d.value[k.value];M.value&&!Y?(z(),M.value=!1):Y&&(M.value=!0)},{deep:!0}),m.watch(()=>r.value,()=>{c.value+=1,F()}),m.watch(()=>a.value,()=>{R.value&&(D.value=a.value?.[k.value]?.values||[])}),m.watch(()=>l.value,()=>{D.value=[]}),m.watch(()=>x.value,()=>{F()}),m.watch(()=>D.value,Y=>{f(k.value,Y)}),mEe(()=>P.value,async Y=>{g(k.value,Y),await z(!0,!0)},{debounce:300});const ue=Y=>{Y&&H.value?D.value=[Y]:Y&&!D.value.includes(Y)&&(D.value=[...D.value,Y]),me(),o("filter-selection-changed")},le=Y=>{D.value=D.value.filter($=>$!==Y),me(),o("filter-selection-changed"),C(Y)&&S(Y)},me=()=>{const Y=D.value.length>0?D.value:null;if(R.value){a.value={...a.value,[k.value]:{values:Y}},c.value+=1;return}s.value.setColumnFilterModel(k.value,{values:Y}).then(()=>{s.value.onFilterChanged()})},Me=Y=>{y(k.value,Y),Y&&!D.value.includes(Y)&&ue(Y),o("focus-update",{focuses:v.value,filterField:k.value||null})},pe=()=>{o("filter-closed")};return m.onMounted(()=>{O()}),(Y,$)=>(m.openBlock(),m.createElementBlock(m.Fragment,null,[m.createElementVNode("div",null,[R.value?(m.openBlock(),m.createElementBlock("ul",D8e,[(m.openBlock(!0),m.createElementBlock(m.Fragment,null,m.renderList(D.value,Q=>(m.openBlock(),m.createElementBlock("li",{key:`${w.value}-${Q}`},[m.createVNode(h2e,{label:V(Q)||"",showClear:!0,onHandleClose:ae=>le(Q)},null,8,["label","onHandleClose"])]))),128))])):m.createCommentVNode("",!0),m.createVNode(m.unref(uNe),{modelValue:re.value,"onUpdate:modelValue":$[1]||($[1]=Q=>re.value=Q),searchInput:P.value,"onUpdate:searchInput":$[2]||($[2]=Q=>P.value=Q),label:R.value?"":w.value,icon:R.value?"add-circle":void 0,variant:R.value?"ghost":"secondary",counterPosition:!R.value&&D.value.length>0?void 0:"none",showClear:!R.value,showSearchInput:j.value,showDropdown:!R.value,overlayTrigger:R.value,options:ne.value,popoverCssProperties:{maxHeight:"400px",maxWidth:R.value?"300px":"400px",overflowX:"auto",width:"auto"},groupings:["preferences","suggestions"],isLoading:M.value,onDropdownOpen:$[3]||($[3]=Q=>z(!0)),onDropdownClosed:pe},m.createSlots({preferences:m.withCtx(()=>[m.createElementVNode("div",k8e,[$[5]||($[5]=m.createElementVNode("p",{class:"pv-text-subdued pv-text-body-xxs"},"Your Preferences",-1)),m.createVNode(m.unref(k0),{variant:"dark",size:"sm"},{label:m.withCtx(()=>[m.createVNode(es,{size:"md",variant:"ghost",onClick:$[0]||($[0]=Q=>Y.$emit("handle-settings-icon",w.value)),"right-icon":"sliders-horizontal"})]),"tooltip-content":m.withCtx(()=>$[4]||($[4]=[m.createTextVNode(" Open Preferences ")])),_:1})])]),suggestions:m.withCtx(()=>[m.createVNode(m.unref(k0),{variant:"dark",interactive:!1,"tooltip-position":"top-left",size:"sm"},m.createSlots({label:m.withCtx(()=>[m.createElementVNode("div",I8e,[m.createVNode(Wi,{name:"ai",size:12}),m.createElementVNode("p",A8e,m.toDisplayString(B.value),1)])]),_:2},[W.value?{name:"tooltip-content",fn:m.withCtx(()=>[m.createTextVNode(m.toDisplayString(W.value),1)]),key:"0"}:void 0]),1024)]),_:2},[U.value?{name:"no-results",fn:m.withCtx(Q=>[(m.openBlock(),m.createBlock(m.resolveDynamicComponent(U.value),m.normalizeProps(m.guardReactiveProps(Q)),null,16))]),key:"0"}:void 0,q.value?{name:"footer",fn:m.withCtx(Q=>[(m.openBlock(),m.createBlock(m.resolveDynamicComponent(q.value),m.normalizeProps(m.guardReactiveProps(Q)),null,16))]),key:"1"}:void 0]),1032,["modelValue","searchInput","label","icon","variant","counterPosition","showClear","showSearchInput","showDropdown","overlayTrigger","options","popoverCssProperties","isLoading"])]),R.value?(m.openBlock(),m.createElementBlock("div",R8e,[se.value.length>0?(m.openBlock(),m.createElementBlock("div",T8e,[m.createElementVNode("ul",L8e,[$[6]||($[6]=m.createElementVNode("li",null,[m.createElementVNode("p",{class:"pv-text-subdued pv-text-body-md"},"Suggested:")],-1)),(m.openBlock(!0),m.createElementBlock(m.Fragment,null,m.renderList(se.value.filter(Q=>Q!==""&&Q!=null).slice(0,E8e),Q=>(m.openBlock(),m.createElementBlock("li",{key:`${w.value}-${Q}-suggest`},[m.createVNode(m.unref(L2e),{label:V(Q)||"",onHandleClick:ae=>ue(Q)},null,8,["label","onHandleClick"])]))),128))])])):m.createCommentVNode("",!0)])):m.createCommentVNode("",!0)],64))}}),pB=Ea(P8e,[["__scopeId","data-v-58806f9e"]]),N8e={class:"pv-flex"},O8e={class:"pv-flex"},F8e={id:"filter-vertical-drawer",class:"pv-flex-vertical pv-space-between pv-full-width",style:{height:"100%","overflow-x":"hidden"}},B8e={class:"pv-flex-vertical pv-full-width"},G8e={class:"pv-flex pv-inset-squish pv-full-width pv-space-between"},z8e={class:"pv-text-title-lg"},_8e={class:"pv-full-width pv-inset-inline-24"},V8e={class:"pv-details",open:""},H8e={class:"pv-flex",style:{width:"fit-content"}},W8e={class:"pv-text-title-lg"},j8e={class:"pv-inset-block-8"},$8e={class:"pv-sticky pv-border-top pv-full-width pv-inset-squish pv-flex pv-space-between pv-surface",style:{"--top":"unset",bottom:"0"}},U8e={class:"pv-flex"},K8e={class:"pv-flex",style:{"--flex-justify":"end","--flex-gap":"8px","margin-top":"auto"}},gB=5,Y8e=m.defineComponent({__name:"FilterPanel",props:{enableFocusView:{type:Boolean,default:!1},enableVerticalPanel:{type:Boolean,default:!0},displayPreferencesIcon:{type:Boolean,default:!1}},emits:["handle-settings-icon","focus-update"],setup(e){const t=m.inject("gridApi"),i=m.inject("availableFilterColumns"),o=m.inject("currentlyActiveFilter"),{filterModelCleared:s,stagedFilterModel:n,filterModel:r}=nw(),a=m.ref(null),l=m.ref(!1),c=m.computed(()=>{const C=[...i.value].slice(0,gB);return o.value?[...C.slice(0,gB-1),o.value]:C}),d=m.computed(()=>{const C=r.value||{};return Object.keys(C).length}),u=m.ref(!1),h=()=>{u.value=!0},p=()=>{u.value=!1,n.value=t.value.getFilterModel(),a.value?.showModal()},{clearAllFocuses:g}=ow(),f=()=>{n.value=null,t.value.setFilterModel(null),t.value.onFilterChanged(),s.value+=1,g(),l.value=!1},v=()=>{n.value=null,a.value?.close()},y=()=>{u.value&&(t.value.setFilterModel(n.value),t.value.onFilterChanged(),a.value?.close(),s.value+=1)};return(C,S)=>(m.openBlock(),m.createElementBlock(m.Fragment,null,[m.createElementVNode("div",N8e,[(m.openBlock(!0),m.createElementBlock(m.Fragment,null,m.renderList(c.value,x=>(m.openBlock(),m.createElementBlock(m.Fragment,{key:x.field},[m.unref(t)?(m.openBlock(),m.createBlock(pB,{key:0,"enable-focus-view":C.enableFocusView,"display-preferences-icon":C.displayPreferencesIcon,filterColDef:x,onHandleSettingsIcon:S[0]||(S[0]=D=>C.$emit("handle-settings-icon",D)),onFocusUpdate:S[1]||(S[1]=D=>C.$emit("focus-update",D))},null,8,["enable-focus-view","display-preferences-icon","filterColDef"])):m.createCommentVNode("",!0)],64))),128)),m.createElementVNode("div",O8e,[C.enableVerticalPanel?(m.openBlock(),m.createBlock(m.unref(es),{key:0,label:"All Filters",onClick:p,variant:"ghost","left-icon":"filter"})):m.createCommentVNode("",!0),d.value>0?(m.openBlock(),m.createElementBlock("button",{key:1,class:"pv-button-ghost",onClick:S[2]||(S[2]=x=>l.value=!0)},[m.createVNode(m.unref(Wi),{name:"close"}),S[12]||(S[12]=m.createTextVNode(" Clear All Filters ")),d.value>0?(m.openBlock(),m.createBlock(m.unref(w0),{key:0,value:d.value,variant:"tertiary"},null,8,["value"])):m.createCommentVNode("",!0)])):m.createCommentVNode("",!0)]),C.enableVerticalPanel?(m.openBlock(),m.createElementBlock("dialog",{key:0,ref_key:"filterDrawer",ref:a,class:"pv-drawer pv-surface",onClick:S[9]||(S[9]=m.withModifiers(x=>y(),["self"])),style:{"max-width":"450px"}},[m.createElementVNode("div",F8e,[m.createElementVNode("div",B8e,[m.createElementVNode("div",G8e,[m.createElementVNode("p",z8e," All Filters ("+m.toDisplayString(m.unref(i).length)+") ",1),m.createElementVNode("button",{class:"pv-button-ghost",onClick:S[3]||(S[3]=x=>v())},[m.createVNode(m.unref(Wi),{name:"close"})])]),m.createElementVNode("div",_8e,[(m.openBlock(!0),m.createElementBlock(m.Fragment,null,m.renderList(m.unref(i),(x,D)=>(m.openBlock(),m.createElementBlock("div",{key:x.field,class:m.normalizeClass([{"pv-border-bottom":D<m.unref(i).length-1},"pv-stack-12"])},[m.createElementVNode("details",V8e,[m.createElementVNode("summary",H8e,[m.createElementVNode("span",W8e,m.toDisplayString(x.headerName),1)]),m.createElementVNode("div",j8e,[m.unref(t)?(m.openBlock(),m.createBlock(pB,{key:0,"filter-style":"vertical","enable-focus-view":C.enableFocusView,filterColDef:x,"display-preferences-icon":C.displayPreferencesIcon,onFilterSelectionChanged:h,onHandleSettingsIcon:S[4]||(S[4]=A=>C.$emit("handle-settings-icon",A)),onFocusUpdate:S[5]||(S[5]=A=>C.$emit("focus-update",A))},null,8,["enable-focus-view","filterColDef","display-preferences-icon"])):m.createCommentVNode("",!0)])])],2))),128))])]),m.createElementVNode("div",$8e,[m.createElementVNode("button",{class:"pv-button-ghost",onClick:S[6]||(S[6]=x=>f())}," Clear All "),m.createElementVNode("div",U8e,[m.createVNode(m.unref(es),{variant:"ghost",label:"Cancel",onClick:S[7]||(S[7]=x=>v())}),u.value?(m.openBlock(),m.createBlock(m.unref(es),{key:0,variant:"primary",label:"Apply",onClick:S[8]||(S[8]=x=>y())})):(m.openBlock(),m.createBlock(m.unref(es),{key:1,variant:"primary",label:"No Changes",disabled:""}))])])])],512)):m.createCommentVNode("",!0)]),m.createVNode(m.unref(I2e),{modelValue:l.value,"onUpdate:modelValue":S[11]||(S[11]=x=>l.value=x),header:"Clear All Filters",style:{top:"50%"}},{body:m.withCtx(()=>S[13]||(S[13]=[m.createElementVNode("p",{class:"pv-text-body-lg"}," This action will remove all currently applied filters. Would you like to continue? ",-1)])),footer:m.withCtx(()=>[m.createElementVNode("div",K8e,[m.createVNode(m.unref(es),{label:"Cancel",variant:"secondary",size:"lg",onClick:S[10]||(S[10]=x=>l.value=!1)}),m.createVNode(m.unref(es),{label:"Clear All Filters",variant:"primary",size:"lg",onClick:f})])]),_:1},8,["modelValue"])],64))}}),X8e={class:"pv-flex"},Z8e={key:0,class:"pv-flex ag-header-actions"},q8e=m.defineComponent({__name:"HeaderCellRenderer",props:{params:{}},setup(e,{expose:t}){const i=e,o=m.ref(!1),s=m.ref(!1),n=m.ref(null),r=m.ref(null),a=m.ref(null),l=m.ref(!1),c=m.computed(()=>{const S=i.params.column.getColDef();return S.sortable||S.filter||S.enableRowGroup}),d=m.inject("sortState"),u=m.computed(()=>{if(!d.value||d.value.length===0)return"";const S=d.value.find(D=>D.colId===i.params.column.getColId()),x=S?S.sort:"";return x==="asc"?"arrow-up":x==="desc"?"arrow-down":""}),h=m.computed(()=>s.value?{cursor:"pointer"}:{}),p=m.computed(()=>l.value?{opacity:1}:{}),g=()=>{l.value=!1},f=()=>{l.value=!0,a.value&&i.params.showColumnMenu(a.value,g)},v=S=>{o.value=S.enableFilterButton,s.value=S.enableSorting||!1,n.value=S.displayName,r.value=n8e(S.column.getColDef().context?.dataType),n.value=r8e(n.value,S.column.getColDef().context?.dataType)},y=()=>{s.value&&i.params.progressSort(!1)};m.onBeforeMount(()=>{v(i.params)});function C(S){return v(S),!0}return t({refresh:C}),(S,x)=>(m.openBlock(),m.createElementBlock("div",{class:"ag-custom-header-cell pv-flex pv-full-width pv-space-between",style:m.normalizeStyle(h.value),onClick:y},[m.createElementVNode("div",X8e,[r.value?(m.openBlock(),m.createBlock(Wi,{key:0,name:r.value,class:"pv-text-subdued"},null,8,["name"])):m.createCommentVNode("",!0),m.createElementVNode("p",null,m.toDisplayString(n.value),1),s.value&&u.value!==""?(m.openBlock(),m.createBlock(Wi,{key:1,name:u.value},null,8,["name"])):m.createCommentVNode("",!0)]),c.value?(m.openBlock(),m.createElementBlock("div",Z8e,[m.createElementVNode("div",{ref_key:"menuButton",ref:a,class:"ag-header-cell-menu-button",style:m.normalizeStyle(p.value)},[m.createVNode(es,{size:"xl",variant:"ghost","left-icon":"menu",onClick:m.withModifiers(f,["stop","prevent"])})],4)])):m.createCommentVNode("",!0)],4))}}),fB=Ea(q8e,[["__scopeId","data-v-054d9038"]]),Q8e=kL.withParams({headerHeight:"30px",headerBackgroundColor:"#F7F8F8",headerCellHoverBackgroundColor:"#F7F8F8",headerColumnResizeHandleHeight:"50%",headerColumnResizeHandleWidth:"3px",headerColumnBorder:"none",headerFontWeight:"bold",headerFontSize:"12px",fontFamily:"Inter, sans-serif",fontSize:12,headerRowBorder:!0,rowHoverColor:"#F7F8F8",rangeSelectionBorderColor:"#36C5BA",rangeSelectionBorderStyle:"solid",wrapperBorder:"none",wrapperBorderRadius:"0px",menuBackgroundColor:"white",accentColor:"#36C5BA"}),J8e=kL.withParams({headerHeight:"30px",headerBackgroundColor:"white",headerCellHoverBackgroundColor:"#F7F8F8",headerColumnResizeHandleHeight:"50%",headerColumnResizeHandleWidth:"3px",headerColumnBorder:"none",headerFontWeight:"bold",headerFontSize:"12px",fontFamily:"Inter, sans-serif",fontSize:12,headerRowBorder:!0,rowHoverColor:"#F7F8F8",rangeSelectionBorderColor:"#36C5BA",rangeSelectionBorderStyle:"solid",wrapperBorder:"none",wrapperBorderRadius:"0px",menuBackgroundColor:"white",accentColor:"#36C5BA"}),eVe={class:"pv-popover-menu"},tVe={class:"pv-popover",style:{"--height":"auto"}},iVe=["disabled"],oVe=m.defineComponent({__name:"ExportMenu",props:{getCsvData:{type:Function}},setup(e){const t=e,i=m.ref(!1);async function o(){i.value=!0;const s=await t.getCsvData();if(!s){i.value=!1;return}const n=new Blob([s],{type:"text/csv;charset=utf-8;"}),r=document.createElement("a");r.href=URL.createObjectURL(n),r.setAttribute("download","datatable_export.csv"),r.click(),i.value=!1}return(s,n)=>(m.openBlock(),m.createElementBlock("nav",eVe,[n[0]||(n[0]=m.createElementVNode("button",{type:"button",class:"pv-button-icon"},[m.createElementVNode("svg",{"aria-hidden":"true",class:"pv-icon-24"},[m.createElementVNode("title",null,"ellipsis"),m.createElementVNode("use",{"xlink:href":"#ellipsis"})])],-1)),m.createElementVNode("div",tVe,[m.createElementVNode("button",{class:"pv-button pv-text-body-sm pv-inset-square-8",onClick:m.withModifiers(o,["prevent"]),disabled:i.value},[i.value?(m.openBlock(),m.createElementBlock(m.Fragment,{key:0},[m.createTextVNode("Exporting...")],64)):(m.openBlock(),m.createElementBlock(m.Fragment,{key:1},[m.createTextVNode("Download CSV")],64))],8,iVe)])]))}}),sVe={key:1,class:""},nVe=m.defineComponent({__name:"PaginationPanel",props:{panelSize:{default:"xl"}},setup(e){H6.registerModules([kAe]);const t=m.inject("gridApi"),i=m.inject("currentPage"),o=m.inject("totalPages"),s=e,n=m.computed(()=>{const c=o.value,d=i.value;if(c<=7)return Array.from({length:c},(h,p)=>p+1);const u=[];return d<=4?u.push(1,2,3,4,5,"...",c):d>=c-3?u.push(1,"...",c-4,c-3,c-2,c-1,c):u.push(1,"...",d-1,d,d+1,"...",c),u}),r=()=>{i.value>0&&t?.value.paginationGoToPage(i.value-2)},a=()=>{i.value<o.value&&t?.value.paginationGoToPage(i.value)},l=c=>{c>=1&&c<=o.value&&t?.value.paginationGoToPage(c-1)};return(c,d)=>(m.openBlock(),m.createElementBlock("div",{class:m.normalizeClass(["pv-flex",{"pv-hide":m.unref(o)<=1}])},[m.createVNode(es,{variant:"ghost",onClick:r,disabled:m.unref(i)===1,size:s.panelSize==="l"?"md":"lg","right-icon":"chevron-left"},null,8,["disabled","size"]),(m.openBlock(!0),m.createElementBlock(m.Fragment,null,m.renderList(n.value,u=>(m.openBlock(),m.createElementBlock(m.Fragment,{key:u},[typeof u=="number"?(m.openBlock(),m.createBlock(es,{key:0,variant:u===m.unref(i)?"primary":"ghost",size:s.panelSize==="l"?"md":"lg",onClick:h=>l(u),label:u.toString()},null,8,["variant","size","onClick","label"])):(m.openBlock(),m.createElementBlock("span",sVe,"..."))],64))),128)),m.createVNode(es,{variant:"ghost",onClick:a,disabled:m.unref(i)===m.unref(o),size:s.panelSize==="l"?"md":"lg","right-icon":"chevron-right"},null,8,["disabled","size"])],2))}});function rVe(){}function aVe(e,t=0){if(!Number.isInteger(t))throw new Error("Precision must be an integer.");const i=Math.pow(10,t);return Math.round(e*i)/i}function mB(e){return Object.getOwnPropertySymbols(e).filter(t=>Object.prototype.propertyIsEnumerable.call(e,t))}function yB(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}const lVe="[object RegExp]",cVe="[object String]",dVe="[object Number]",uVe="[object Boolean]",vB="[object Arguments]",hVe="[object Symbol]",pVe="[object Date]",gVe="[object Map]",fVe="[object Set]",mVe="[object Array]",yVe="[object Function]",vVe="[object ArrayBuffer]",I1="[object Object]",bVe="[object Error]",CVe="[object DataView]",SVe="[object Uint8Array]",xVe="[object Uint8ClampedArray]",wVe="[object Uint16Array]",MVe="[object Uint32Array]",DVe="[object BigUint64Array]",kVe="[object Int8Array]",IVe="[object Int16Array]",AVe="[object Int32Array]",RVe="[object BigInt64Array]",TVe="[object Float32Array]",LVe="[object Float64Array]";function bB(e){if(!e||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return t===null||t===Object.prototype||Object.getPrototypeOf(t)===null?Object.prototype.toString.call(e)==="[object Object]":!1}function EVe(e,t){return e===t||Number.isNaN(e)&&Number.isNaN(t)}function PVe(e,t,i){return mf(e,t,void 0,void 0,void 0,void 0,i)}function mf(e,t,i,o,s,n,r){const a=r(e,t,i,o,s,n);if(a!==void 0)return a;if(typeof e==typeof t)switch(typeof e){case"bigint":case"string":case"boolean":case"symbol":case"undefined":return e===t;case"number":return e===t||Object.is(e,t);case"function":return e===t;case"object":return jf(e,t,n,r)}return jf(e,t,n,r)}function jf(e,t,i,o){if(Object.is(e,t))return!0;let s=yB(e),n=yB(t);if(s===vB&&(s=I1),n===vB&&(n=I1),s!==n)return!1;switch(s){case cVe:return e.toString()===t.toString();case dVe:{const l=e.valueOf(),c=t.valueOf();return EVe(l,c)}case uVe:case pVe:case hVe:return Object.is(e.valueOf(),t.valueOf());case lVe:return e.source===t.source&&e.flags===t.flags;case yVe:return e===t}i=i??new Map;const r=i.get(e),a=i.get(t);if(r!=null&&a!=null)return r===t;i.set(e,t),i.set(t,e);try{switch(s){case gVe:{if(e.size!==t.size)return!1;for(const[l,c]of e.entries())if(!t.has(l)||!mf(c,t.get(l),l,e,t,i,o))return!1;return!0}case fVe:{if(e.size!==t.size)return!1;const l=Array.from(e.values()),c=Array.from(t.values());for(let d=0;d<l.length;d++){const u=l[d],h=c.findIndex(p=>mf(u,p,void 0,e,t,i,o));if(h===-1)return!1;c.splice(h,1)}return!0}case mVe:case SVe:case xVe:case wVe:case MVe:case DVe:case kVe:case IVe:case AVe:case RVe:case TVe:case LVe:{if(typeof Buffer<"u"&&Buffer.isBuffer(e)!==Buffer.isBuffer(t)||e.length!==t.length)return!1;for(let l=0;l<e.length;l++)if(!mf(e[l],t[l],l,e,t,i,o))return!1;return!0}case vVe:return e.byteLength!==t.byteLength?!1:jf(new Uint8Array(e),new Uint8Array(t),i,o);case CVe:return e.byteLength!==t.byteLength||e.byteOffset!==t.byteOffset?!1:jf(new Uint8Array(e),new Uint8Array(t),i,o);case bVe:return e.name===t.name&&e.message===t.message;case I1:{if(!(jf(e.constructor,t.constructor,i,o)||bB(e)&&bB(t)))return!1;const c=[...Object.keys(e),...mB(e)],d=[...Object.keys(t),...mB(t)];if(c.length!==d.length)return!1;for(let u=0;u<c.length;u++){const h=c[u],p=e[h];if(!Object.hasOwn(t,h))return!1;const g=t[h];if(!mf(p,g,h,e,t,i,o))return!1}return!0}default:return!1}}finally{i.delete(e),i.delete(t)}}function Nb(e,t){return PVe(e,t,rVe)}const NVe={key:0,class:"pv-tag"},OVe=m.defineComponent({__name:"TagCellRenderer",props:{params:{}},setup(e){const t=e,i=m.computed(()=>{const o=t.params.valueFormatted||t.params.value||"";return o.trim()===""?null:o});return(o,s)=>i.value?(m.openBlock(),m.createElementBlock("div",NVe,m.toDisplayString(i.value),1)):m.createCommentVNode("",!0)}}),FVe={key:0,class:"pv-table-row-number"},BVe=m.defineComponent({__name:"RowCountCellRenderer",props:{params:{}},setup(e){const t=e,i=m.computed(()=>(t.params.node?.rowIndex||0)+1),o=m.computed(()=>{const n=t.params.column?.getColDef()?.context,r=t.params.valueFormatted||t.params.value;return n&&n.dataType&&[ws.Currency,ws.Percent,ws.Number,ws.Integer].includes(n.dataType)?r.toLocaleString():r});return(s,n)=>(m.openBlock(),m.createElementBlock("div",null,[m.createElementVNode("p",null,[i.value?(m.openBlock(),m.createElementBlock("span",FVe,m.toDisplayString(i.value),1)):m.createCommentVNode("",!0),m.createTextVNode(" "+m.toDisplayString(o.value),1)])]))}}),GVe=Ea(BVe,[["__scopeId","data-v-ae67b797"]]),zVe={style:{"background-color":"white"},class:"pv-inset-square-8 pv-bordered-md pv-text-md"},_Ve={style:{color:"black"}},VVe=m.defineComponent({__name:"TableTooltip",props:{params:{}},setup(e){return(t,i)=>(m.openBlock(),m.createElementBlock("div",zVe,[m.createElementVNode("p",_Ve,m.toDisplayString(t.params.value),1)]))}}),HVe={class:"pv-stack-16"},WVe={class:"pv-flex pv-space-between"},jVe={class:"pv-flex"},$Ve={key:0,class:"pv-table-overlay"},UVe={class:"pv-text-body-xs pv-text-center",style:{"padding-top":"50px"}},KVe=m.defineComponent({__name:"PvDataTable",props:{colDefs:{},rowData:{},serverSideRowHandler:{},filterValuesSetHandler:{},initialGridState:{},initialFilterValueMap:{},theme:{},displayBaseAggregationsOnly:{type:Boolean,default:!1},displayRowNumber:{type:Boolean,default:!1},displayGroupCount:{type:Boolean,default:!0},displayPreferencesIcon:{type:Boolean,default:!1},enableColumnVisibilitySelector:{type:Boolean,default:!1},enableFocusView:{type:Boolean,default:!1},enableGroupBySelector:{type:Boolean,default:!1},enableVerticalFilterPanel:{type:Boolean,default:!0},rowGroupLimit:{},groupDefaultExpanded:{default:1},isClientSideGroupOpenByDefault:{},enableCsvExport:{type:Boolean,default:!1},csvRowLimit:{default:2e4},serverSideCsvHandler:{},uniqueRowIdField:{},requireFiltersToShowData:{type:Boolean,default:!1},isLoading:{type:Boolean},containerHeight:{default:500},containerMinHeight:{default:200},debugMode:{type:Boolean,default:!1},pagination:{type:Boolean,default:!1},paginationPageSize:{default:50},rowHeight:{},tooltipShowDelay:{default:1e3},tooltipHideDelay:{},hideTable:{type:Boolean}},emits:["column-moved","column-resized","column-row-group-changed","grid-ready","filter-changed","sort-changed","filter-opened","first-data-rendered","handle-settings-icon","focus-update"],setup(e,{expose:t,emit:i}){const o=[LIe,TIe,nMe,YRe,GIe,jIe,QLe,JLe,cTe,eLe,CAe,cAe,RAe];n7.setLicenseKey("Using_this_{AG_Grid}_Enterprise_key_{AG-065231}_in_excess_of_the_licence_granted_is_not_permitted___Please_report_misuse_to_legal@ag-grid.com___For_help_with_changing_this_key_please_contact_info@ag-grid.com___{Turquoise_Health}_is_granted_a_{Multiple_Applications}_Developer_License_for_{3}_Front-End_JavaScript_developers___All_Front-End_JavaScript_developers_need_to_be_licensed_in_addition_to_the_ones_working_with_{AG_Grid}_Enterprise___This_key_has_been_granted_a_Deployment_License_Add-on_for_{2}_Production_Environments___This_key_works_with_{AG_Grid}_Enterprise_versions_released_before_{16_August_2025}____[v3]_[01]_MTc1NTI5ODgwMDAwMA==c042c2db0e82c322692ccb41e7b58f3e");const n=e;n.debugMode&&o.push(Ske);const r=m.computed(()=>({height:`${n.containerHeight}px`,minHeight:`${n.containerMinHeight}px`})),a=m.computed(()=>n.theme?n.theme:C.value.length>0?J8e:Q8e),l=i,c="serverSideRowHandler"in n&&n.serverSideRowHandler?{getRows:K=>{if(!D.value){K.success({rowData:[]});return}n.serverSideRowHandler?.(K)}}:null,d="filterValuesSetHandler"in n&&n.filterValuesSetHandler?async K=>{let ce={...M.value};!S.value&&n.initialGridState&&(ce=n.initialGridState.filter?.filterModel||{});const Ie=await N(K.api,K.colDef,K.column,ce);K.success([...Ie,""])}:null,u=K=>{const ce=K.node,Ie=K.column?.getColId();return!ce.group||!Ie?!1:V.value.some(Ee=>{if(Ee.field===Ie)return!0})},h=(()=>{const K={suppressHeaderFilterButton:!0,editable:!1,sortable:!0,suppressHeaderMenuButton:!0,suppressColumnsToolPanel:!0,minWidth:200,flex:1,headerComponent:fB,cellDataType:!1,tooltipComponent:VVe,cellRendererSelector:ce=>{if(u(ce))return{component:h8e,params:ce};if(!ce.column?.getColDef().cellRenderer&&n.displayRowNumber&&C.value.length===0){const Ie=ce.api.getAllDisplayedColumns()||[],Ee=ce.column;if(Ie.findIndex(ai=>ai===Ee)===0)return{component:GVe,params:ce}}}};return c&&d&&(K.filterParams={values:d}),K})(),p=m.ref(void 0),g={name:"Column Filter",icon:'<span class="ag-icon ag-icon-filter"></span>',action:function(K){let ce=K.column?.getColId();if(K.column&&q(K.column)&&(ce=G.value?.getColId()||""),!me(ce)){const Ee=K.api.getColumn(ce)?.getColDef();Ee&&(y.value=Ee,m.nextTick(()=>{me(ce)}))}}},f=(K,ce)=>{const Ie={...K};return ce.isArrayField&&!K.valueFormatter?Ie.valueFormatter=Ee=>Bve(Ee,ce.dataType):ce.dataType===ws.Percent&&!K.valueFormatter?Ie.valueFormatter=Ee=>Ove(Ee,ce.valueDecimals||0):ce.dataType===ws.Currency&&!K.valueFormatter?Ie.valueFormatter=Ee=>E9(Ee,ce.valueDecimals||0):ce.dataType===ws.Integer&&!K.valueFormatter?Ie.valueFormatter=Fve:ce.dataType===ws.Tag&&!K.cellRenderer&&(Ie.cellRenderer=OVe),Ie},v=m.computed(()=>!n.colDefs||n.colDefs.length===0?[]:n.colDefs.map(K=>{const ce=K.context;return ce?f(K,ce):K})),y=m.ref(null),C=m.ref([]),S=m.ref(!1),x=m.computed(()=>{if(C.value.length>0){const K=C.value[0],ce=v.value.find(Ee=>Ee.field===K);if((!M.value||!M.value[K])&&ce?.context?.filterRequiredToGroup)return ce.headerName}return null}),D=m.computed(()=>(!M.value||Object.keys(M.value).length===0)&&n.requireFiltersToShowData?!1:x.value===null),A=m.computed(()=>x.value?`Select at least one value for "${x.value}" to view data.`:"Select a filter to view data."),k=m.shallowRef(null),w=m.ref([]),{filterModel:M,filterValuesLoadingStatus:R,filterValueMap:L,filterValueSelectedMetadataMap:P,fetchFilterValues:N,filterStoreHandler:O}=nw();O.value=n.filterValuesSetHandler,L.value=n.initialFilterValueMap||{};const F=m.ref(null),z=m.computed(()=>v.value.filter(K=>K.filter)),_=m.computed(()=>v.value.filter(K=>K.enableRowGroup)),V=m.computed(()=>v.value.filter(K=>K.aggFunc)),G=m.ref(null),H=m.ref({}),B=m.ref(1),W=m.ref(0);m.provide("filterModel",M),m.provide("sortState",w),m.provide("gridApi",k),m.provide("columnDisplayOrder",F),m.provide("currentlyActiveFilter",y),m.provide("availableFilterColumns",z),m.provide("availableRowGroupColumns",_),m.provide("rowGroupColumnFields",C),m.provide("groupColumnCellValueColumn",G),m.provide("expandedRows",H),m.provide("firstDataRendered",S),m.provide("filterValuesLoadingStatus",R),m.provide("displayUnfilteredTableData",D),m.provide("currentPage",B),m.provide("totalPages",W);const j=K=>{if(k.value=K.api,n.initialGridState){const ce=n.initialGridState.filter?.filterModel||null;ce&&k.value.setFilterModel(ce)}if(C.value.length>0){const ce=C.value[0];G.value=K.api.getColumn(ce),K.api.setColumnsVisible([ce],!1)}F.value=K.api.getAllGridColumns(),B.value=K.api.paginationGetCurrentPage()+1,W.value=K.api.paginationGetTotalPages(),l("grid-ready",K)},U=K=>{if(k.value){const ce=K.api.getFilterModel();Nb(M.value,ce)||(M.value=ce,l("filter-changed",K))}},ee=K=>{w.value=K.api?.getState()?.sort?.sortModel||[],l("sort-changed",K)},q=K=>K.getColId()&&K.getColId().includes("ag-Grid-AutoColumn"),te=m.ref(!1),se=async K=>{if(!k.value){console.error("Grid API not available");return}const ce=K||{route:[],purge:!0};k.value.refreshServerSide(ce)},Z=()=>P.value,ie=async()=>{if(te.value=!0,!k.value)return console.error("Grid API not available"),te.value=!1,null;try{const K=n.serverSideCsvHandler,ce=k.value?.getState(),Ie={rowGroupCols:[],valueCols:k.value?.getValueColumns().map(Ze=>({id:Ze.getId(),field:Ze.getColDef().field,aggFunc:typeof Ze.getColDef().aggFunc=="string"?Ze.getColDef().aggFunc:void 0,displayName:Ze.getColDef().headerName||Ze.getColDef().field||""}))||[],filterModel:ce?.filter?.filterModel||{},sortModel:ce?.sort?.sortModel||[],pivotCols:[],pivotMode:!1,groupKeys:[],startRow:0,endRow:n.csvRowLimit};if(K){const Ze={request:Ie,parentNode:{},api:k.value,context:void 0,success:()=>{},fail:()=>{}};return await n.serverSideCsvHandler(Ze),te.value=!1,null}const Ee=n.serverSideRowHandler;return Ee?await new Promise((Ze,ai)=>{const Mi=k.value?.getState(),Oa={request:Ie,parentNode:{},api:k.value,context:void 0,success:Ig=>{const rw=k.value?.getRowGroupColumns().map(Bs=>Bs.getColDef().field).filter(Bs=>!!Bs)||[],jL=k.value?.getAllDisplayedColumns().map(Bs=>Bs.getColDef().field).filter(Bs=>!!Bs)||[],aw=k.value?.getValueColumns().map(Bs=>Bs.getColDef().field).filter(Bs=>!!Bs)||[],mW=Array.from(new Set([...rw,...jL,...aw])),yW=Ig.rowData.map(Bs=>{const $L={};return mW.forEach(UL=>{const KL=Bs[UL];$L[UL]=KL!=null?String(KL):null}),$L}),vW=aEe.unparse(yW);te.value=!1,Ze(vW)},fail:()=>{te.value=!1,ai("CSV export failed.")}};Ee(Oa,!0)}):(console.warn("Client-side export does not return CSV string"),te.value=!1,k.value.exportDataAsCsv(),null)}catch(K){return console.error("CSV export failed",K),te.value=!1,null}},X=K=>{const ce=G.value,Ie=K.api.getRowGroupColumns();C.value=[...Ie].map(ai=>ai.getColId());const Ee=Ie.length>0?Ie[0]:null;Ee?(G.value=Ee,Y.value.headerName=Ee.getColDef().headerName,Y.value.headerComponent=fB,Y.value.context={dataType:G.value?.getColDef().context?.dataType||null},K.api.setColumnsVisible([Ee.getColId()],!1)):(G.value=null,Y.value.headerName="",Y.value.headerComponent=void 0,Y.value.context=null);const Ze=ce?.getColId();(!Ee||Ze!==Ee.getColId())&&K.api.setColumnsVisible([Ze||""],!0),l("column-row-group-changed",K)},ne=K=>{const ce=K.column?.getColId()||"";if(ce===G.value?.getColId()){K.api.setColumnsVisible([ce],!1);return}},re=K=>{K.finished&&(F.value=K.api.getAllGridColumns()),l("column-moved",K)},ue=K=>{K.api&&(B.value=K.api.paginationGetCurrentPage()+1,W.value=K.api.paginationGetTotalPages())},le=K=>"allChildrenRowCount"in K&&K.allChildrenRowCount||0,me=K=>{const ce=document.querySelector(`[data-horizontal-filter-field="${K}"]`);if(ce){const Ie=ce.querySelector("button");if(Ie)return Ie.click(),!0}return!1},Me=m.ref(q_e),pe=m.ref({loadingMessage:"One moment please..."}),Y=m.ref({headerName:"",minWidth:200,suppressMovable:!0,sortable:!1,pinned:"left",headerComponent:void 0,cellRendererParams:{suppressCount:!0,innerRenderer:s8e,innerRendererParams:K=>({displayBaseAggregationsOnly:n.displayBaseAggregationsOnly,displayRowNumber:n.displayRowNumber,displayCount:n.displayGroupCount,formattedValue:K.valueFormatted,rowNode:K.node,api:k.value})}}),$=K=>{if(K.node.group)return{backgroundColor:"#F7F8F8"}},Q={Median:K=>{const ce=K.values;if(K.rowNode.leafGroup){const Ze=hB(ce);return{values:ce,value:Ze}}const Ie=K.values.flatMap(Ze=>Ze.values||[]),Ee=hB(Ie);return{values:Ie,value:Ee}}};m.onBeforeMount(()=>{const K=Array.isArray(n.rowData)&&n.rowData.length>0,ce=typeof n.serverSideRowHandler=="function",Ie=typeof n.filterValuesSetHandler=="function";(K&&ce||K&&Ie)&&console.warn("Only one of `rowData` or `serverSideRowHandler + hasFilterValuesSetHandler` params should be provided to PvDataTable, not both."),p.value=Ee=>{const Ze=["sortAscending","sortDescending","sortUnSort","rowUnGroup","valueAggSubMenu"],ai=Ee.column&&q(Ee.column)?G.value:Ee.column;return ai&&ai.getColDef().filter&&Ze.splice(2,0,g),Ze.filter(Mi=>typeof Mi=="string"?Ee.defaultItems.includes(Mi):!0)}});const ae=K=>{const ce=k.value;if(!ce)return;const Ie=K.filter?.filterModel||null,Ee=K.rowGroup?.groupColIds||null,Ze=K.columnVisibility||null;Ie&&!Nb(Ie,Ie.value)&&ce.setFilterModel(Ie),Ee&&!Nb(Ee,C.value)&&ce.setRowGroupColumns(Ee),Ze&&!Nb(Ze,F.value)&&ce.setColumnsVisible(Ze.hiddenColIds,!1)};m.watch(()=>n.initialGridState,()=>{n.initialGridState&&ae(n.initialGridState)},{deep:!0}),m.onMounted(()=>{n.initialGridState&&(M.value=n.initialGridState.filter?.filterModel||null,C.value=n.initialGridState.rowGroup?.groupColIds||[])});const ye=K=>{S.value=!0,l("first-data-rendered",K)};t({getCsvData:ie,refreshData:se,getFilterValueSelectedMetadataMap:Z});const we=K=>c?K.rowNode.level===C.value.length-2:!1,De=m.computed(()=>{if(!c)return n.groupDefaultExpanded});return(K,ce)=>(m.openBlock(),m.createElementBlock("div",{class:"pv-full-width",style:m.normalizeStyle(r.value)},[m.createElementVNode("div",HVe,[m.createElementVNode("div",WVe,[z.value.length>0?(m.openBlock(),m.createBlock(Y8e,{key:0,"enable-focus-view":K.enableFocusView,"enable-vertical-panel":K.enableVerticalFilterPanel,"display-preferences-icon":K.displayPreferencesIcon,onHandleSettingsIcon:ce[0]||(ce[0]=Ie=>K.$emit("handle-settings-icon",Ie)),onFocusUpdate:ce[1]||(ce[1]=Ie=>K.$emit("focus-update",Ie))},null,8,["enable-focus-view","enable-vertical-panel","display-preferences-icon"])):m.createCommentVNode("",!0),m.createElementVNode("div",jVe,[K.enableGroupBySelector&&K.rowGroupLimit!==0?(m.openBlock(),m.createBlock(K_e,{key:0,rowGroupLimit:K.rowGroupLimit,enableFocusView:K.enableFocusView},null,8,["rowGroupLimit","enableFocusView"])):m.createCommentVNode("",!0),K.enableCsvExport?(m.openBlock(),m.createBlock(oVe,{key:1,getCsvData:ie})):m.createCommentVNode("",!0)])])]),m.createElementVNode("div",{class:m.normalizeClass(["pv-relative pv-stack-8",K.hideTable?"pv-hide":""]),style:{width:"100%",height:"90%","border-bottom":"1px solid #d2d7db"}},[m.createVNode(m.unref(zAe),m.mergeProps({ref:"gridRef",style:{width:"100%",height:"100%"}},m.unref(c)?{serverSideDatasource:m.unref(c)}:{},{onColumnMoved:re,onColumnRowGroupChanged:X,onColumnVisible:ne,onFilterChanged:U,onFilterOpened:ce[2]||(ce[2]=Ie=>l("filter-opened",Ie)),onFirstDataRendered:ye,onGridReady:j,onPaginationChanged:ue,onSortChanged:ee,aggFuncs:Q,autoGroupColumnDef:Y.value,columnDefs:v.value,debug:K.debugMode,defaultColDef:m.unref(h),getChildCount:le,getMainMenuItems:p.value,getRowStyle:$,groupDefaultExpanded:De.value,groupDisplayType:"singleColumn",initialState:K.initialGridState,isGroupOpenByDefault:m.unref(c)?void 0:n.isClientSideGroupOpenByDefault,isServerSideGroupOpenByDefault:we,loading:m.unref(c)?!1:K.isLoading,loadingCellRenderer:Me.value,loadingCellRendererParams:pe.value,maxConcurrentDatasourceRequests:m.unref(c)?10:void 0,modules:o,rowData:K.rowData,rowHeight:K.rowHeight,rowModelType:m.unref(c)?"serverSide":"clientSide",serverSideInitialRowCount:m.unref(c)?1:void 0,showOpenedGroup:!0,suppressAggFuncInHeader:!0,suppressColumnMoveAnimation:!0,suppressDragLeaveHidesColumns:!0,serverSideSortAllLevels:!1,serverSideEnableClientSideSort:!1,theme:a.value,pagination:K.pagination,suppressPaginationPanel:!0,paginationPageSize:K.paginationPageSize,suppressScrollOnNewData:!0,"tooltip-show-delay":K.tooltipShowDelay,"tooltip-hide-delay":K.tooltipHideDelay}),null,16,["autoGroupColumnDef","columnDefs","debug","defaultColDef","getMainMenuItems","groupDefaultExpanded","initialState","isGroupOpenByDefault","loading","loadingCellRenderer","loadingCellRendererParams","maxConcurrentDatasourceRequests","rowData","rowHeight","rowModelType","serverSideInitialRowCount","theme","pagination","paginationPageSize","tooltip-show-delay","tooltip-hide-delay"]),D.value?m.createCommentVNode("",!0):(m.openBlock(),m.createElementBlock("div",$Ve,[m.createElementVNode("p",UVe,m.toDisplayString(A.value),1)]))],2),K.pagination?(m.openBlock(),m.createBlock(nVe,{key:0})):m.createCommentVNode("",!0)],4))}}),YVe={class:"pv-stack-16 pv-chart-options-panel"},XVe={class:"pv-flex"},ZVe=m.defineComponent({__name:"PvChartOptionsPanel",props:{enablePanel:{type:Boolean},chartFilter:{}},setup(e){const t=e,i=m.inject("activeChartType"),o=m.inject("activeSort"),s=m.inject("chartTypes"),n=m.inject("sortTypes"),r=m.inject("rowGroupColumns"),a=m.inject("activeChartFilterOption"),l=m.computed(()=>{const d=[];return t.chartFilter&&t.chartFilter.options?t.chartFilter.options.map(u=>({label:u.label,value:u.value})):d}),c=m.computed(()=>(r.value.length>1?["bar_stacked","line","column_stacked","area"]:["bar","line","column","area"]).includes(i.value?.id));return m.watch(s,d=>{const u=i.value,h=u?.id.endsWith("_stacked"),p=d.find(g=>g.id===u.id);if(p){i.value=p;return}if(h){const g=u?.id.replace("_stacked",""),f=d.find(v=>v.id===g);if(f){i.value=f;return}}i.value=d[0]}),(d,u)=>(m.openBlock(),m.createElementBlock("div",YVe,[m.createElementVNode("div",null,[m.createElementVNode("div",{class:"pv-flex pv-space-between",style:m.normalizeStyle(d.chartFilter?{"--flex-justify":"flex-end"}:{})},[(m.openBlock(),m.createBlock(g2e,{key:0,options:l.value,modelValue:m.unref(a),"onUpdate:modelValue":u[0]||(u[0]=h=>m.isRef(a)?a.value=h:null)},null,8,["options","modelValue"])),m.createElementVNode("div",XVe,[m.createVNode(tk,{class:m.normalizeClass({"pv-hide":!c.value}),label:"Sort By",modelValue:m.unref(o),"onUpdate:modelValue":u[1]||(u[1]=h=>m.isRef(o)?o.value=h:null),options:m.unref(n),allowDeselect:!1,showSearchInput:!1,optionsVariant:"icon"},null,8,["class","modelValue","options"]),m.createVNode(tk,{label:"Select Chart Type",modelValue:m.unref(i),"onUpdate:modelValue":u[2]||(u[2]=h=>m.isRef(i)?i.value=h:null),options:m.unref(s),allowDeselect:!1,showSearchInput:!1,optionsVariant:"icon"},null,8,["modelValue","options"])])],4)])]))}}),qVe=[{text:"Column",id:"column",icon:"chart-column"},{text:"Bar",id:"bar",icon:"chart-bar"},{text:"Line",id:"line",icon:"chart-line"},{text:"Area",id:"area",icon:"chart-area"},{text:"Pie",id:"pie",icon:"chart-pie"}],QVe=[{text:"Grouped Column",id:"column",icon:"chart-column"},{text:"Stacked Column",id:"column_stacked",icon:"chart-column"},{text:"Grouped Bar",id:"bar",icon:"chart-bar"},{text:"Stacked Bar",id:"bar_stacked",icon:"chart-bar"}],JVe={style:{height:"100%",width:"100%"}},e9e={class:"pv-relative pv-margin-auto"},t9e={key:0,class:"pv-chart-overlay pv-text-body-xs"},i9e=m.defineComponent({__name:"PvDataTableWithChart",props:{enabledChartTypes:{default:()=>["column","bar","column_stacked","bar_stacked","line","area"]},overrideChartData:{type:Boolean,default:!1},showSeriesLabels:{type:Boolean,default:!0},truncateLabelValues:{type:Boolean,default:!0},initialChartData:{},displayChartLoading:{type:Boolean,default:!0},chartFilter:{},chartType:{default:"column"},yKey:{default:""},focusCategory:{},hideChart:{type:Boolean},hideTable:{type:Boolean},colDefs:{},rowData:{},serverSideRowHandler:{},filterValuesSetHandler:{},initialGridState:{default:()=>({})},initialFilterValueMap:{},theme:{},displayBaseAggregationsOnly:{type:Boolean,default:!1},displayRowNumber:{type:Boolean,default:!0},displayGroupCount:{type:Boolean,default:!0},displayPreferencesIcon:{type:Boolean,default:!1},enableColumnVisibilitySelector:{type:Boolean,default:!0},enableFocusView:{type:Boolean,default:!1},enableGroupBySelector:{type:Boolean,default:!0},enableVerticalFilterPanel:{type:Boolean,default:!0},rowGroupLimit:{default:2},groupDefaultExpanded:{},isClientSideGroupOpenByDefault:{},enableCsvExport:{type:Boolean,default:!1},csvRowLimit:{},serverSideCsvHandler:{},uniqueRowIdField:{},requireFiltersToShowData:{type:Boolean,default:!1},isLoading:{type:Boolean},containerHeight:{},containerMinHeight:{},debugMode:{type:Boolean},pagination:{type:Boolean},paginationPageSize:{},rowHeight:{},tooltipShowDelay:{},tooltipHideDelay:{}},emits:["chart-series-changed","column-moved","column-resized","column-row-group-changed","grid-ready","filter-changed","sort-changed","filter-opened","first-data-rendered","handle-settings-icon","focus-update"],setup(e,{expose:t,emit:i}){const o=e,s=i,n=m.ref(null),r=m.ref(null),a=m.ref(null),{setFilterSelectedValues:l}=nw(),c=$=>{n.value=$.api,s("grid-ready",$)},d=$=>{S.value=[...$.api.getRowGroupColumns()],U($.api),te($.api),s("column-row-group-changed",$)},u=async $=>{if(o.chartFilter){const ae=(await $.api.getColumnFilterInstance(o.chartFilter.colId))?.getModel();R.value=ae?.values?.[0]||""}te($.api),s("filter-changed",$)},h=m.ref([]);function p($,Q,ae=!0){return ye=>{ye.data=x.value?.find(Ee=>Ee[$]===ye.value);let we="";const De=f($),K=a8e(De);if(o.truncateLabelValues&&ae&&K&&!isNaN(Number(ye.value))){if(B.value){const Oa=ye.datum?.[A.value],rw=D.value?.find(aw=>aw[A.value]===Oa)?.[`${k.value}_sort_total`]||1/0;if(ye.value/rw<.05)return""}let Ee=0;l8e(De,ws.Percent)&&(Ee=2);const Ze=aVe(ye.value,Ee),{newValue:ai,newSuffix:Mi}=c8e(Ze);ye.value=ai,we=Mi}let Ie=ye.value;return Q&&(Ie=Q(ye)),Ie+we}}const g=($,Q=!1)=>{if(!$)return;const ae=f($);return ae&&typeof ae.valueFormatter=="function"?p($,ae.valueFormatter,Q):p($,null,Q)},f=$=>!$||!n.value?null:n.value?.getColumnDef($),v=m.computed(()=>(S.value.length>1?QVe:qVe).filter(Q=>o.enabledChartTypes?.includes(Q.id))),y=m.ref(void 0),C=m.ref([{text:"Lowest to Highest",id:"asc",icon:"arrow-up-wide-narrow"},{text:"Highest to Lowest",id:"desc",icon:"arrow-down-narrow-wide"}]),S=m.ref([]),x=m.ref([]),D=m.ref([]),A=m.ref("provider_name"),k=m.computed(()=>o.yKey),w=m.ref(null),M=m.ref(void 0),R=m.ref("");m.provide("activeChartFilterOption",R),m.provide("rowGroupColumns",S),m.provide("chartTypes",v),m.provide("sortTypes",C),m.provide("activeChartType",y),m.provide("activeSeries",k),m.provide("activeSort",M);const L={focuses:m.ref([]),focusType:m.ref(null)};m.provide(uW,L),m.watch(()=>o.chartType,$=>{const Q=v.value.find(ae=>ae.id===$);Q?y.value=Q:y.value=v.value[0]}),m.watch(R,$=>{if(o.chartFilter&&n.value){const Q=o.chartFilter.colId;let ae=o.chartFilter.options.find(ye=>ye.value===$)?.filterValues||null;ae&&ae.length===0&&(ae=null),l(Q,ae||[]),n.value.setColumnFilterModel(Q,{values:ae}).then(()=>{n.value?.onFilterChanged()})}});const P=m.computed(()=>{const $=h.value.find(Q=>Q.value===k.value);return $?$.label:""}),N=m.computed(()=>y.value?.id.includes("bar")),O=m.computed(()=>S.value.length>1),F=($,Q)=>`${$}_${Q}`,z=m.computed(()=>{if(h.value.length===0)return[];const $=H.value?"bar":y.value?.id||"";return["bar","line","area"].includes($)?W.value:$==="pie"?j.value:(console.error("Unsupported chart type",$),[])}),_=m.computed(()=>o.showSeriesLabels),V=$=>{let Q=$.datum[$.xKey];const ae=g($.xKey);ae&&typeof ae=="function"&&(Q=ae({value:Q}));const ye=$.yKey;let we=$.datum[ye];const De=g(ye);return De&&typeof De=="function"&&(we=De({value:we})),{heading:Q,data:[{label:P.value,value:we}]}},G=$=>{const Q=o.focusCategory||"";$.datum[A.value]},H=m.computed(()=>y.value?.id.includes("column")||y.value?.id.includes("bar")),B=m.computed(()=>y.value?.id.includes("stacked")),W=m.computed(()=>{const $=B.value,Q=H.value?"bar":y.value?.id;let ae=[];const ye=g(k.value,!0),we=g(w.value?.fieldName,!0);if(O.value)w.value?.fieldValues.forEach(ce=>{const Ie={type:Q,xKey:A.value,yKey:F(k.value,ce),yName:typeof we=="function"?we({value:ce}):ce,stacked:$,label:{enabled:_.value,color:$?"white":"black",fontFamily:"Inter",padding:5,fontSize:11,placement:$?"inside-end":"outside-end",formatter:ye},itemStyler:G};ae.push(Ie)});else{const K={type:Q,xKey:A.value,yKey:k.value,tooltip:{renderer:V},label:{enabled:_.value,color:"black",fontFamily:"Inter",padding:5,fontSize:11,placement:"outside-end",formatter:ye},itemStyler:G};ae.push(K)}let De={};if(Q==="column"||Q==="bar"){const K=De;K.direction=N.value?"horizontal":"vertical",De=K}else if(Q==="line"||Q==="area"){const K=De;K.connectMissingData=!0,De=K}return ae=ae.map(K=>({...K,...De})),ae}),j=m.computed(()=>h.value.length===0?[]:[{type:"pie",legendItemKey:A.value,angleKey:k.value}]),U=$=>{const Q=$.getAllGridColumns().filter(ae=>ae.getAggFunc()!==null&&ae.getAggFunc()!==void 0);A.value=S.value[0]?.getColId()||"",h.value=Q.map(ae=>{const ye=ae.getColId(),we=ae.getColDef();return{label:we.headerName||ye,value:ye,formatter:we.valueFormatter,dataType:we.context?.dataType}})};m.watch(k,$=>{s("chart-series-changed",{api:n.value,seriesField:$})});const ee=()=>{x.value=[],D.value=[],w.value=null},q=($,Q)=>{if(!$||$.length===0){ee();return}if(Q){const ae=A.value,ye=new Set;$.forEach(De=>{const K=De[Q];ye.add(K)});const we=$.reduce((De,K)=>{const ce=K[ae];De[ce]||(De[ce]={});const Ie=K[Q];for(const Ee of h.value){const Ze=Ee.value;let ai=De[`${Ze}_sort_total`]||0;const Mi=K[Ze];ye.add(Ie),Q&&Mi&&(De[ce][F(Ze,Ie)]=Mi,ai=ai+Mi),De[ce][`${Ze}_sort_total`]=ai}return De},{});D.value=Object.keys(we).map(De=>({[ae]:De,...we[De]})),w.value={fieldName:Q,fieldValues:Array.from(ye)}}else D.value=[],w.value=null;x.value=$},te=$=>{if(o.overrideChartData)return;const Q=S.value.length;if(ee(),Q===0||h.value.length===0)return;const ae=[],ye=[];let we=new Set;if($.forEachNodeAfterFilterAndSort(De=>{if(De.group&&De.level===0){if(S.value.length>1){const ce=De.childrenAfterFilter?.filter(Ze=>Ze.level===1&&Ze.aggData)||[],{rowData:Ie,fieldValues:Ee}=Z(De,ce);we=we.union(Ee),ye?.push(Ie)}const K=se(De);ae?.push(K)}}),x.value=ae,S.value.length>1&&ye&&ye.length>0){const De=S.value[1].getColId();D.value=ye,w.value={fieldName:De,fieldValues:Array.from(we)}}else D.value=[],w.value=null},se=$=>{const Q={[$.field]:$.key};for(const ae of h.value)!$.aggData||!$.aggData[ae.value]||(Q[ae.value]=$.aggData[ae.value]?.value??$.aggData[ae.value]);return Q},Z=($,Q)=>{const ae=new Set,ye={[$.field]:$.key};let we=0;for(const De of h.value)Q.forEach(K=>{const ce=K.key;ae.add(ce);const Ie=K.aggData;if(ce&&Ie){const Ee=K.aggData[De.value]?.value??K.aggData[De.value];ye[F(De.value,ce)]=Ee,we=we+Ee}}),ye[`${De.value}_sort_total`]=we;return{rowData:ye,fieldValues:ae}},ie=($,Q,ae)=>!$||$.length===0?$:$.slice().sort((ye,we)=>{const De=ae.includes(ye[Q])?0:1,K=ae.includes(we[Q])?0:1;return De-K}),X=m.computed(()=>{let $=O.value?D.value:x.value,Q=null;if(M.value&&(Q=O.value?`${k.value}_sort_total`:k.value),Q&&$&&M.value){const ae=M.value?.id.includes("desc")?-1:1;$=[...$].sort((ye,we)=>{const De=ye[Q]||0,K=we[Q]||0;return(De-K)*ae})}if(o.enableFocusView&&$&&($=ie($,A.value,L.focuses.value)),$&&$.length===1){const ae="",ye=" ";$=[{[A.value]:ae},$[0],{[A.value]:ye}]}return $}),ne=m.computed(()=>X.value?.length||0),re=m.computed(()=>w.value?.fieldValues?.length||0),ue=m.computed(()=>{const we=.25*Math.exp(-.12*ne.value);return Math.min(Math.max(we,.05),.75)}),le=m.computed(()=>re.value>5?.5:1),me=m.computed(()=>re.value>5?.25:.1),Me=m.computed(()=>S.value.length===0?"No groups selected. Select at least one group to display data.":X.value&&X.value?.length===0?"No data available to chart.":""),pe=m.computed(()=>{const $={};return $.overlays={noData:{text:""}},$.data=X.value,$.axes=[{type:"category",position:N.value?"left":"bottom",label:{formatter:Q=>{let ye=Q.value;const we=g(A.value);return typeof we=="function"&&(ye=we(Q)),typeof ye=="string"&&ye.length>35?ye.substring(0,35)+"...":ye}},paddingInner:ue.value,paddingOuter:le.value,groupPaddingInner:me.value},{type:"number",position:N.value?"bottom":"left",label:{formatter:g(k.value)},title:{enabled:!0,text:P.value}}],$.series=z.value,$}),Y=m.computed(()=>o.displayChartLoading&&o.isLoading&&(!X.value||X.value.length===0));return t({provideChartData:q,getChartImageDataURL:$=>a.value?.getChartImageDataURL($),getCsvData:()=>r.value?.getCsvData(),refreshData:$=>r.value?.refreshData($),getFilterValueSelectedMetadataMap:()=>r.value?.getFilterValueSelectedMetadataMap()}),m.onBeforeMount(()=>{o.chartType&&(y.value=v.value.find($=>$.id===o.chartType))}),($,Q)=>(m.openBlock(),m.createElementBlock("div",JVe,[m.createElementVNode("div",{class:m.normalizeClass($.hideChart?"pv-hide":"")},[m.createVNode(ZVe,{enablePanel:X.value!=null&&X.value.length>0,chartFilter:$.chartFilter},null,8,["enablePanel","chartFilter"]),m.createElementVNode("div",e9e,[m.createVNode($T,{ref_key:"pvChartRef",ref:a,isLoading:Y.value,options:pe.value,enableFocusView:$.enableFocusView},null,8,["isLoading","options","enableFocusView"]),!$.isLoading&&Me.value!==""?(m.openBlock(),m.createElementBlock("p",t9e,m.toDisplayString(Me.value),1)):m.createCommentVNode("",!0)])],2),m.createVNode(KVe,m.mergeProps({ref_key:"pvDataTableRef",ref:r},$.$props,{onColumnRowGroupChanged:d,onGridReady:c,onFilterChanged:u,onSortChanged:Q[0]||(Q[0]=ae=>s("sort-changed",ae)),onFilterOpened:Q[1]||(Q[1]=ae=>s("filter-opened",ae)),onFirstDataRendered:Q[2]||(Q[2]=ae=>s("first-data-rendered",ae)),onColumnMoved:Q[3]||(Q[3]=ae=>s("column-moved",ae)),onColumnResized:Q[4]||(Q[4]=ae=>s("column-resized",ae)),onHandleSettingsIcon:Q[5]||(Q[5]=ae=>s("handle-settings-icon",ae)),onFocusUpdate:Q[6]||(Q[6]=ae=>s("focus-update",ae))}),null,16)]))}}),o9e={type:"Feature",properties:{name:"Hawaii"},geometry:{type:"MultiPolygon",coordinates:[[[[-105.70409839588592,25.25161631830986],[-105.74881952767498,25.17708731830985],[-105.7324578028169,25.056085318309865],[-105.68895681047411,25.045162318309856],[-105.67536932349577,24.993176818309855],[-105.68981478149271,24.810911818309865],[-105.66432618951364,24.761803318309862],[-105.65719536478286,24.60298481830986],[-105.80352494114891,24.229658818309865],[-105.78141417789311,24.13590431830986],[-105.5774075760354,24.035093818309853],[-105.51858474640801,23.957137318309865],[-105.40936139329716,24.036536818309862],[-105.17504886992111,24.287800318309863],[-105.09153381173394,24.308866318309853],[-104.75568134783998,24.492257818309863],[-104.67362977026619,24.472298818309863],[-104.60114321656317,24.483500818309864],[-104.36533065836738,24.577913818309863],[-104.10476925447796,24.730772818309866],[-103.98390683066299,24.831910318309863],[-103.96829885998909,24.87607331830986],[-104.16112558606994,25.03073981830986],[-104.14508660820235,25.11696881830986],[-104.16077636759547,25.189867318309854],[-104.28677083656623,25.17295781830986],[-104.22696065992807,25.364036818309863],[-104.30886391690893,25.487773318309863],[-104.42831881051,25.602725818309867],[-104.7292827123988,25.752170818309864],[-104.80549464909689,25.778293318309863],[-104.86740887482102,25.767746818309853],[-105.02892662902929,25.915097818309864],[-105.179856822999,25.98826031830986],[-105.2436709875459,25.963798318309863],[-105.29910352520284,25.84654781830986],[-105.30628052032404,25.76630231830986],[-105.25460778276909,25.619854318309862],[-105.28450376869205,25.555100818309864],[-105.39882655591924,25.479181318309866],[-105.45434726738569,25.411627318309854],[-105.70409839588592,25.25161631830986]]],[[[-106.12948574382648,26.96188181830986],[-106.07741473079159,26.812798318309866],[-105.95781505204707,26.748550318309867],[-105.89969049073602,26.780132818309863],[-105.85535948600159,26.76707231830986],[-105.88848007156639,26.478152818309866],[-105.81685446816806,26.448578818309862],[-105.54119874286357,26.523715318309865],[-105.42119221780342,26.522222818309864],[-105.19421119770203,26.628034318309858],[-105.1464927521539,26.697305818309857],[-105.1479655567631,26.774255818309854],[-105.22481097438867,26.796748318309856],[-105.38612834141509,26.91890081830986],[-105.43465475582002,26.98769531830986],[-105.56569637466987,27.000613318309856],[-105.81253870992253,26.92823681830987],[-105.87520235947693,27.105188818309866],[-105.95450182345559,27.122627818309862],[-106.07074763534115,27.051331318309856],[-106.12948574382648,26.96188181830986]]],[[[-106.26500385364164,26.420801818309865],[-106.32611361105057,26.379614818309857],[-106.2894856754333,26.338045318309863],[-106.08465366443977,26.37240431830985],[-106.0640210422522,26.45111081830986],[-106.08797909227519,26.488280818309867],[-106.26500385364164,26.420801818309865]]],[[[-106.67206650899425,26.95104881830986],[-106.6873714878177,26.90788931830986],[-106.61477297142841,26.820842818309867],[-106.6383870557139,26.744791318309865],[-106.62453700158454,26.683558318309863],[-106.41552673236328,26.727800818309866],[-106.34284288111968,26.811532318309858],[-106.40247833141177,26.922956818309856],[-106.48364519658372,26.968849318309864],[-106.5901027113996,26.97557381830986],[-106.67206650899425,26.95104881830986]]],[[[-106.8743512794174,27.318584818309862],[-106.95385906910991,27.233378818309863],[-106.87365102641508,27.212443318309862],[-106.60839510156171,27.23390231830986],[-106.329971986028,27.154888318309858],[-106.20841720535509,27.18158081830986],[-106.09137759463795,27.247942318309864],[-106.02160452204271,27.31892081830987],[-106.06224098311128,27.34525931830986],[-106.32955113075946,27.334470268309868],[-106.37476177712728,27.39913481830986],[-106.50153299140214,27.367301818309862],[-106.81478829708749,27.41946431830987],[-106.8196443467553,27.357539818309863],[-106.8743512794174,27.318584818309862]]],[[[-108.08537911421956,27.956647318309855],[-108.15636510038496,27.949121818309855],[-108.1156589928778,27.866723818309865],[-108.13756652906989,27.81233831830986],[-108.09224078139147,27.726047818309866],[-108.10058365361573,27.68738831830986],[-108.05814130288644,27.64163831830986],[-108.04214174918206,27.527788318309856],[-107.84997603965871,27.554785318309857],[-107.71746916811958,27.540688318309865],[-107.62212128030012,27.467488318309854],[-107.53293144170925,27.497938318309867],[-107.45448649656424,27.476938318309855],[-107.3634024933304,27.54485876830986],[-107.42101311573185,27.618688318309857],[-107.38596655759613,27.76977581830987],[-107.44801920449714,27.772940818309863],[-107.53317700821418,27.74138831830986],[-107.56667011614633,27.781058818309862],[-107.52039554540318,27.87585581830987],[-107.62047543510062,28.149994318309865],[-107.76605754930574,28.087760818309864],[-107.92373977521368,27.96104681830986],[-108.08537911421956,27.956647318309855]]],[[[-110.1564241170338,28.67828381830987],[-110.18617122941907,28.60913981830986],[-110.16065456471978,28.547596318309864],[-110.02674980080172,28.481710318309865],[-109.97949443038658,28.419310318309854],[-109.7542536177283,28.383878818309864],[-109.5482735829072,28.507697818309857],[-109.49386328381894,28.64348531830986],[-109.38664612754872,28.765378318309864],[-109.38223762993277,28.855561318309856],[-109.4901978226747,28.92984281830987],[-109.54119835349013,28.910960818309853],[-109.62045020399529,28.925206318309865],[-109.66924404207424,28.886260318309873],[-109.76383456845343,28.916170318309863],[-110.03502542064291,28.790867818309852],[-110.08058661800197,28.727200318309865],[-110.1564241170338,28.67828381830987]]],[[[-110.99232788883813,28.30365581830986],[-110.94569224533905,28.25021531830986],[-110.82337922274428,28.38283331830986],[-110.6924098319239,28.425058318309862],[-110.68559015283807,28.471880818309852],[-110.60424702528303,28.55252831830987],[-110.60703136258246,28.57550831830986],[-110.68912028625044,28.573805818309864],[-110.75104143207164,28.503886318309867],[-110.85081915407153,28.46451731830986],[-110.92144004514194,28.414613818309856],[-110.99232788883813,28.30365581830986]]]]}},s9e={type:"Feature",properties:{name:"Alaska"},geometry:{type:"MultiPolygon",coordinates:[[[[-122.7926886429708,20.148124827090204],[-122.73342925165485,20.131405920916723],[-122.75745021977383,20.17904909838047],[-122.7926886429708,20.148124827090204]]],[[[-122.99250039142089,19.956898993535294],[-122.84420089151422,19.841417459721914],[-122.792609815177,19.86484231387806],[-122.99250039142089,19.956898993535294]]],[[[-123.02313421964743,20.104441675096734],[-123.0144348107421,20.065435473881923],[-122.994171978581,20.0943529264347],[-123.02313421964743,20.104441675096734]]],[[[-123.08206306798922,20.01904215984973],[-123.04374923122015,19.988796096613253],[-123.05367611453369,20.027877316867272],[-123.08206306798922,20.01904215984973]]],[[[-123.1066441957094,20.117686532237585],[-123.1006695175559,20.082761999607442],[-123.08253884015744,20.093212148384506],[-123.1066441957094,20.117686532237585]]],[[[-123.30632565438282,20.012310506219837],[-123.21850731989173,20.032063172020475],[-123.20101969494323,20.114571229685644],[-123.30632565438282,20.012310506219837]]],[[[-124.05573456261743,20.255607538913612],[-124.06620448573335,20.23820251180781],[-123.99047641535293,20.229550472679545],[-124.05573456261743,20.255607538913612]]],[[[-124.1548565212961,20.084984103342343],[-124.10816366370977,20.04207946654677],[-124.07924884087413,20.119501945955527],[-124.1548565212961,20.084984103342343]]],[[[-124.36952551514105,20.263343147888445],[-124.27207237164424,20.194819909308453],[-124.1543011003863,20.251269599445543],[-124.36952551514105,20.263343147888445]]],[[[-112.3998142680436,24.17642325037664],[-112.28211880509906,23.878308324079025],[-112.12118759458087,23.729587212600244],[-111.89635332782444,23.721806399501364],[-111.95483501009141,23.979313440017748],[-112.20075342784224,24.357703769869165],[-112.36118642705281,24.371218694881772],[-112.3998142680436,24.17642325037664]]],[[[-112.55666854674035,24.57720663570464],[-112.48018521665409,24.162092674496744],[-112.40192443002655,24.392405479322985],[-112.15365647813462,24.51406159062138],[-112.32512941577716,24.689323363053543],[-112.55666854674035,24.57720663570464]]],[[[-112.767715788028,25.240640443244324],[-112.62431793238392,24.675906636708184],[-112.49050057693404,24.79263157018713],[-112.52877771211763,25.065874427029787],[-112.767715788028,25.240640443244324]]],[[[-113.10159766297687,25.001284278742233],[-112.58112757954115,24.333530907501512],[-112.74569268283756,25.07665641164485],[-112.99738561343031,25.134211464229484],[-113.10159766297687,25.001284278742233]]],[[[-116.56777067266773,25.372080578021556],[-116.5310867438032,25.390394584514176],[-116.54560895752809,25.4198290794845],[-116.56777067266773,25.372080578021556]]],[[[-116.87873841076447,24.83162771900214],[-116.83191616629642,24.815600858931923],[-116.8391740527843,24.85298490747943],[-116.87873841076447,24.83162771900214]]],[[[-117.09432944180003,23.854137592351588],[-116.88612571458538,23.623532196939735],[-116.55224237749866,23.957544127256632],[-116.5395491515053,24.167174266583483],[-116.63577149336629,24.20555744232377],[-116.6167892923288,24.290340138012848],[-116.45895469929474,24.37766471697998],[-116.63628974580018,24.528772429776815],[-117.09432944180003,23.854137592351588]]],[[[-117.08524242962187,23.419594244629103],[-116.87678087225572,23.51591594833026],[-117.01745308870113,23.518687247543326],[-117.08524242962187,23.419594244629103]]],[[[-117.27259737622586,23.10383247833345],[-117.23566721895497,23.08390471052284],[-117.22598522279736,23.15539289534735],[-117.27259737622586,23.10383247833345]]],[[[-117.49754493618912,23.174251075797056],[-117.48412399643121,23.138666680296176],[-117.47083796073031,23.174172709179633],[-117.49754493618912,23.174251075797056]]],[[[-117.63127872796593,23.37140265132634],[-117.63870928052455,23.350966653395954],[-117.56138218321382,23.374370774600976],[-117.63127872796593,23.37140265132634]]],[[[-118.257551826542,22.475628165371802],[-118.04544648451815,22.498745192648318],[-118.09232796818412,22.63793840524038],[-118.257551826542,22.475628165371802]]],[[[-118.40025488177304,22.632492074519472],[-118.32273689272233,22.561830815176457],[-118.2446036969784,22.692776046083477],[-118.40025488177304,22.632492074519472]]],[[[-118.49429501567477,24.144676712310247],[-118.46805615064653,24.11240574015076],[-118.40871489637317,24.229540183477578],[-118.49429501567477,24.144676712310247]]],[[[-118.52550771892135,22.558832377733975],[-118.50620250443728,22.536113013958833],[-118.50409824091349,22.564695608270146],[-118.52550771892135,22.558832377733975]]],[[[-118.5865877585444,22.56091811369411],[-118.55530026859964,22.548111661646573],[-118.54821373449738,22.579461946714055],[-118.5865877585444,22.56091811369411]]],[[[-118.83051074575508,22.16783075287409],[-118.80922389593616,22.108491705574245],[-118.71653533280954,22.141665316204325],[-118.83051074575508,22.16783075287409]]],[[[-119.44206445249068,21.822727471649866],[-119.29714269336012,21.860856792151097],[-119.25640162320104,21.944478224327707],[-119.44206445249068,21.822727471649866]]],[[[-119.54714498632268,21.86498061884192],[-119.54183705052935,21.800975583207443],[-119.39517828687826,21.90272162517402],[-119.54714498632268,21.86498061884192]]],[[[-119.86848227420734,24.576437704086796],[-119.5814197084066,24.442349510538047],[-119.47292700533336,24.52633699368084],[-119.53574069829403,24.714248964627757],[-119.86848227420734,24.576437704086796]]],[[[-119.9249089967791,21.391666302622973],[-119.55026969386171,21.698751009984207],[-119.72823093613869,21.735618507092127],[-119.9249089967791,21.391666302622973]]],[[[-119.91265352240941,27.09158174406807],[-119.57775350009905,27.005801622480348],[-119.67386957674177,26.9023702357688],[-119.58870257341846,26.69474725777626],[-119.30227476181528,26.654155412857207],[-118.87522972766965,26.793511069634953],[-118.84261234648397,26.703800834601836],[-118.45847166181625,27.00980727304337],[-118.43133160427317,26.92168214724123],[-118.57200422780761,26.84025343678672],[-118.4326967056997,26.556238708325786],[-118.49876995517559,26.41909909126295],[-118.81363028942485,26.38255339338515],[-118.76630654961383,26.31342647339211],[-118.97174983930131,26.078067637662794],[-119.20543551378546,26.105330309212384],[-119.58389640364737,25.244978458804407],[-119.38586590563159,25.118841139713663],[-119.34697813152405,24.93956318742995],[-119.43558803922309,24.831187395359425],[-119.34286719887473,24.846882062216245],[-119.16112501948436,24.563118976553568],[-118.75126945449256,24.746815529028115],[-118.63568997334562,24.50995781256225],[-118.69771930379716,24.426425942170454],[-118.6516706209203,24.100722576638425],[-118.33276306481594,24.3796056444448],[-118.05268848005323,24.13973077967251],[-117.99398351606777,24.145137335923728],[-117.99379334114701,24.355821700328217],[-117.60731404776988,24.42456243977783],[-117.71962569453603,24.188803199507518],[-117.74466653671624,23.851236383546595],[-117.95773160693767,23.408109787544547],[-118.3122159530148,23.095087152961394],[-118.33248678223595,22.901290881069833],[-118.60058847530621,22.86054943441951],[-118.96871749095885,22.34374965856158],[-119.19313814304877,22.286051845327382],[-119.28475168495464,22.121942084016336],[-119.2545392277982,22.023933408202453],[-118.58211889524989,22.483040434641772],[-118.62397898565416,22.561221965685096],[-118.56824231016105,22.736143628901683],[-118.4895650455253,22.630818262557117],[-117.87314878544231,23.05636233087007],[-117.84135823658607,23.28084278952079],[-116.97374985457293,24.269204824799758],[-116.82537865111641,24.641858729039694],[-116.99083758819108,24.762304144478485],[-116.69518144491565,25.116235235472708],[-116.50359415211392,25.610150487497098],[-116.25722008839188,25.830216920264416],[-116.07628878908105,25.748941131268385],[-116.40232249010313,25.56936203665847],[-116.48378299211805,25.052657628234066],[-116.36518650655506,25.051749798902115],[-116.52300825273079,24.88705143498417],[-116.49553973413128,24.800261991685314],[-116.16304275689492,24.999414502308714],[-115.99650887957375,25.255117878566796],[-115.64699882025326,25.26394442424025],[-115.25738948043409,25.632777124981775],[-113.8542584416004,25.665761176511907],[-113.87474505125448,25.570344932873],[-113.79362400881877,25.47499274376388],[-113.11736529856114,25.082053083178657],[-112.59638111495718,25.18153688381942],[-112.36742132919011,24.752466514459297],[-112.14093538656965,24.61513268686305],[-112.10566958624861,24.533779607601293],[-112.23101958586017,24.40743845548205],[-112.00360782579776,24.258896098372972],[-111.81237609518018,23.845092945708515],[-111.58140576804607,23.805519150148292],[-111.47396461959875,24.06930096812232],[-111.55196208063421,24.444293076324332],[-111.9703728919057,24.579472265161815],[-112.50140661330033,25.389838530563154],[-112.95443390431916,25.843309427485547],[-113.34015164074606,25.353495731980036],[-113.73993627957441,25.770728688816646],[-113.76211319830429,25.915877217149234],[-114.17684125941025,25.821157926221666],[-114.4674954007902,30.058603182302807],[-114.92000596533842,30.198494619521185],[-115.2329101248647,30.048472714348666],[-116.11642404047836,30.122319499829015],[-116.55613179488483,29.99422167628973],[-116.68169464565437,30.1632423042783],[-117.00952268786364,30.0587650795822],[-117.15767550869339,30.18892186883472],[-117.31552630373727,30.02034990423595],[-117.36062246319005,30.051390806535952],[-117.2716808257232,30.138483342089845],[-117.50851485587941,30.19098002268101],[-117.70370029098274,29.961162790596294],[-118.51085523685276,29.542565438282924],[-118.74484072507744,29.26143880726765],[-118.88552489652596,28.90838633225396],[-119.4140220780115,28.682999627104564],[-119.55739985027878,28.40546918539004],[-119.07076292198656,28.189576158340657],[-118.98098101194222,28.004103985279876],[-118.46775239459947,27.697365543116497],[-119.00112904819855,27.468300027762268],[-119.04289473110691,27.520114812560596],[-118.97075062501915,27.70499906028542],[-119.12985936208906,27.682577774435853],[-119.91265352240941,27.09158174406807]]],[[[-120.25557893424866,21.06635194893392],[-119.93716549162576,21.412618618081456],[-120.02808637018944,21.455835197045527],[-120.25557893424866,21.06635194893392]]],[[[-120.40001478272552,22.81584883029637],[-120.37074114275748,22.77863218954447],[-120.3196203074649,22.809874671989384],[-120.40001478272552,22.81584883029637]]],[[[-120.45552486827194,21.023698265833357],[-120.34987457401189,21.04267139342526],[-120.34750233241823,21.162492294968555],[-120.45552486827194,21.023698265833357]]],[[[-120.53177137135572,23.055872356615797],[-120.50260334009988,23.02285507770324],[-120.46904320481201,23.054570449073346],[-120.53177137135572,23.055872356615797]]],[[[-120.60027369388712,20.92398965613366],[-120.59255031118278,20.881214291887122],[-120.53609425216723,20.95792729751363],[-120.60027369388712,20.92398965613366]]],[[[-120.71071841857571,20.83431482126511],[-120.69062311156301,20.811209997474116],[-120.68437756051367,20.84300519896518],[-120.71071841857571,20.83431482126511]]],[[[-120.73807825525381,25.951492866015975],[-120.28054924770879,25.775464287051925],[-120.10479060338628,25.92386908651319],[-120.40918321722211,26.071826545487646],[-120.71220585390631,26.057850841335693],[-120.73807825525381,25.951492866015975]]],[[[-121.00322948139103,20.685340060512395],[-120.93302174690507,20.711069573167762],[-120.96684507192828,20.732281955195724],[-121.00322948139103,20.685340060512395]]],[[[-121.06842057392294,24.558128282376558],[-121.06999794635101,24.46426119094211],[-120.89666016429408,24.4240586570819],[-121.06842057392294,24.558128282376558]]],[[[-121.61079858876042,20.438903042940755],[-121.07742940715599,20.577150710815225],[-121.29363684042534,20.545914702843884],[-121.33364920897407,20.653233860276263],[-121.61079858876042,20.438903042940755]]],[[[-121.98274780574764,20.188330922775798],[-121.63822800780474,20.394472650016933],[-121.78210767811049,20.427116744825227],[-121.98274780574764,20.188330922775798]]],[[[-122.14647603684779,20.179431708097002],[-122.01812324794764,20.195841899922],[-122.01777516696689,20.29630573059612],[-122.14647603684779,20.179431708097002]]],[[[-122.26657921071478,20.228721883118705],[-122.20015142291044,20.099963943552723],[-122.16586185174111,20.18891127954657],[-122.26657921071478,20.228721883118705]]],[[[-122.4226846062308,20.03998756811677],[-122.3534895953643,20.051841253197676],[-122.37489286016017,20.0760321040194],[-122.4226846062308,20.03998756811677]]],[[[-122.42053257814649,20.16438847431099],[-122.40116476293849,20.126002905416286],[-122.39852576241867,20.175426473502977],[-122.42053257814649,20.16438847431099]]],[[[-122.48650818616852,19.891343872718856],[-122.4263654792743,19.932766028298474],[-122.44633659142414,19.962707388305827],[-122.48650818616852,19.891343872718856]]]]}},I0="_FeatureMin",A0="_FeatureMax",gW=e=>fW[e]||e,n9e=s9e,r9e=o9e,fW={AL:"Alabama",AK:"Alaska",AZ:"Arizona",AR:"Arkansas",CA:"California",CO:"Colorado",CT:"Connecticut",DE:"Delaware",FL:"Florida",GA:"Georgia",HI:"Hawaii",ID:"Idaho",IL:"Illinois",IN:"Indiana",IA:"Iowa",KS:"Kansas",KY:"Kentucky",LA:"Louisiana",ME:"Maine",MD:"Maryland",MA:"Massachusetts",MI:"Michigan",MN:"Minnesota",MS:"Mississippi",MO:"Missouri",MT:"Montana",NE:"Nebraska",NV:"Nevada",NH:"New Hampshire",NJ:"New Jersey",NM:"New Mexico",NY:"New York",NC:"North Carolina",ND:"North Dakota",OH:"Ohio",OK:"Oklahoma",OR:"Oregon",PA:"Pennsylvania",RI:"Rhode Island",SC:"South Carolina",SD:"South Dakota",TN:"Tennessee",TX:"Texas",UT:"Utah",VT:"Vermont",VA:"Virginia",WA:"Washington",WV:"West Virginia",WI:"Wisconsin",WY:"Wyoming"},a9e={type:"FeatureCollection",features:[{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-79.477,39.721],[-79.477,39.721]]]},properties:{name:I0}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-79.477,39.721],[-79.477,39.721]]]},properties:{name:A0}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-79.477,39.721],[-79.487,39.206],[-79.091,39.472],[-78.707,39.556],[-78.461,39.526],[-78.383,39.622],[-78.082,39.671],[-77.83,39.587],[-77.72,39.321],[-77.46,39.219],[-77.463,39.076],[-77.12,38.934],[-77.039,38.792],[-77.13,38.635],[-76.864,38.269],[-76.591,38.214],[-76.393,38.24],[-76.393,38.389],[-76.518,38.539],[-76.559,38.756],[-76.45,38.941],[-76.425,39.206],[-76.233,39.091],[-76.362,38.939],[-76.336,38.492],[-76.218,38.306],[-75.889,38.241],[-75.899,37.975],[-75.67,37.951],[-75.242,38.027],[-75.049,38.451],[-75.694,38.46],[-75.789,39.722],[-77.469,39.72],[-79.477,39.721]]]},properties:{name:"Maryland"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-96.453,43.5],[-96.522,43.221],[-96.439,43.114],[-96.622,42.779],[-96.446,42.491],[-96.348,42.167],[-96.065,41.793],[-96.118,41.613],[-95.923,41.456],[-95.811,40.887],[-95.889,40.736],[-95.766,40.585],[-94.534,40.571],[-93.136,40.583],[-91.729,40.614],[-91.419,40.378],[-91.34,40.613],[-91.121,40.673],[-90.952,40.954],[-90.957,41.111],[-91.114,41.25],[-91.028,41.424],[-90.701,41.455],[-90.34,41.599],[-90.181,41.812],[-90.161,42.106],[-90.431,42.278],[-90.643,42.508],[-90.701,42.626],[-90.942,42.684],[-91.138,42.904],[-91.175,43.135],[-91.058,43.254],[-91.218,43.501],[-92.449,43.5],[-93.971,43.5],[-94.855,43.501],[-96.453,43.5]]]},properties:{name:"Iowa"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-75.415,39.802],[-75.57,39.839],[-75.789,39.722],[-75.694,38.46],[-75.049,38.451],[-75.089,38.797],[-75.304,38.913],[-75.408,39.265],[-75.528,39.498],[-75.559,39.63],[-75.415,39.802]]]},properties:{name:"Delaware"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-84.806,41.696],[-84.804,40.353],[-84.82,39.105],[-84.462,39.122],[-84.327,39.027],[-84.213,38.806],[-83.852,38.751],[-83.679,38.63],[-83.533,38.702],[-83.287,38.599],[-82.889,38.756],[-82.851,38.604],[-82.594,38.422],[-82.324,38.449],[-82.175,38.608],[-82.209,38.803],[-82.007,39.03],[-81.898,38.93],[-81.678,39.274],[-81.456,39.409],[-81.348,39.346],[-81.129,39.449],[-80.83,39.712],[-80.803,39.919],[-80.607,40.304],[-80.668,40.582],[-80.519,40.639],[-80.519,41.978],[-81.287,41.76],[-81.739,41.489],[-81.995,41.514],[-82.461,41.386],[-82.834,41.588],[-83.067,41.595],[-83.454,41.733],[-84.806,41.696]]]},properties:{name:"Ohio"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-80.519,41.978],[-80.519,40.639],[-80.519,39.721],[-79.477,39.721],[-77.469,39.72],[-75.789,39.722],[-75.57,39.839],[-75.415,39.802],[-74.722,40.154],[-75.187,40.569],[-75.133,40.98],[-74.695,41.357],[-74.982,41.496],[-75.113,41.841],[-75.341,41.993],[-76.462,41.999],[-77.832,41.999],[-79.761,41.999],[-79.762,42.27],[-80.519,41.978]]]},properties:{name:"Pennsylvania"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-104.053,43.001],[-104.053,42.25],[-104.053,41.001],[-102.052,41.002],[-102.052,40.003],[-101.06,40.002],[-99.813,40.001],[-98.076,40.002],[-96.47,40.001],[-95.308,40],[-95.473,40.236],[-95.654,40.323],[-95.766,40.585],[-95.889,40.736],[-95.811,40.887],[-95.923,41.456],[-96.118,41.613],[-96.065,41.793],[-96.348,42.167],[-96.446,42.491],[-96.611,42.506],[-96.698,42.659],[-97.131,42.772],[-97.238,42.853],[-97.858,42.865],[-97.95,42.77],[-98.435,42.929],[-98.499,42.999],[-100.198,42.998],[-102.082,42.999],[-104.053,43.001]]]},properties:{name:"Nebraska"}},{type:"Feature",geometry:{type:"MultiPolygon",coordinates:[[[[-123.237,48.683],[-123.141,48.505],[-122.874,48.418],[-122.743,48.662],[-122.938,48.79],[-123.237,48.683]]],[[[-117.032,48.999],[-118.837,49],[-120.001,48.999],[-121.751,48.997],[-122.758,49.002],[-122.643,48.588],[-122.76,48.143],[-123.004,48.091],[-124.051,48.178],[-124.653,48.391],[-124.722,48.153],[-124.672,47.964],[-124.412,47.691],[-124.319,47.356],[-124.236,47.287],[-124.081,46.735],[-124.081,46.267],[-123.548,46.259],[-123.28,46.145],[-123.116,46.185],[-122.814,45.961],[-122.775,45.68],[-122.263,45.544],[-121.811,45.707],[-121.533,45.727],[-121.085,45.648],[-120.591,45.747],[-120.211,45.726],[-119.966,45.824],[-119.126,45.933],[-118.987,46],[-116.916,45.995],[-117.036,46.41],[-117.042,47.735],[-117.032,48.999]]]]},properties:{name:"Washington"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-88.2,34.996],[-88.098,34.892],[-88.317,33.184],[-88.469,31.933],[-88.395,30.369],[-88.136,30.321],[-88.062,30.645],[-87.797,30.324],[-87.518,30.28],[-87.452,30.344],[-87.4,30.657],[-87.635,30.866],[-87.599,30.997],[-85.894,30.993],[-85.002,31.001],[-85.108,31.186],[-85.042,31.545],[-85.142,31.839],[-85.059,32.136],[-84.892,32.263],[-85.184,32.861],[-85.429,34.125],[-85.605,34.985],[-86.784,34.992],[-88.2,34.996]]]},properties:{name:"Alabama"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-94.618,36.499],[-94.432,35.37],[-94.486,33.638],[-94.354,33.556],[-94.043,33.551],[-94.043,33.019],[-92.223,33.009],[-91.166,33.004],[-91.069,33.233],[-91.216,33.529],[-91.027,33.764],[-91.061,33.878],[-90.895,34.224],[-90.575,34.415],[-90.587,34.616],[-90.474,34.789],[-90.25,34.907],[-90.309,34.996],[-90.091,35.118],[-90.122,35.305],[-89.958,35.542],[-89.957,35.695],[-89.723,35.809],[-89.733,36.001],[-90.369,35.996],[-90.064,36.303],[-90.154,36.495],[-91.127,36.498],[-92.35,36.498],[-93.959,36.499],[-94.618,36.499]]]},properties:{name:"Arkansas"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-109.045,36.999],[-109.046,36.117],[-109.046,34.96],[-109.046,33.875],[-109.047,32.778],[-109.05,31.333],[-108.209,31.333],[-108.208,31.784],[-106.528,31.783],[-106.618,32],[-104.644,32],[-103.064,32.001],[-103.065,32.849],[-103.044,34.079],[-103.043,35.183],[-103.042,36.5],[-103.002,36.5],[-103.002,37],[-104.732,36.993],[-106.006,36.995],[-108.001,37],[-109.045,36.999]]]},properties:{name:"New Mexico"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-103.002,36.5],[-103.042,36.5],[-103.043,35.183],[-103.044,34.079],[-103.065,32.849],[-103.064,32.001],[-104.644,32],[-106.618,32],[-106.528,31.783],[-106.418,31.752],[-106.176,31.456],[-105.954,31.365],[-105.773,31.167],[-105.315,30.817],[-105.001,30.673],[-104.86,30.39],[-104.703,30.212],[-104.672,29.911],[-104.54,29.676],[-104.144,29.383],[-103.789,29.258],[-103.281,28.982],[-102.871,29.242],[-102.809,29.522],[-102.677,29.738],[-102.393,29.766],[-102.301,29.878],[-101.966,29.807],[-101.401,29.738],[-101.255,29.52],[-101.06,29.459],[-100.675,29.1],[-100.5,28.662],[-100.397,28.576],[-100.268,28.25],[-99.932,27.968],[-99.845,27.779],[-99.557,27.614],[-99.43,27.159],[-99.447,27.026],[-99.269,26.843],[-99.111,26.426],[-98.807,26.369],[-98.654,26.236],[-98.443,26.199],[-98.197,26.056],[-97.795,26.055],[-97.423,25.84],[-97.146,25.971],[-97.197,26.306],[-97.323,26.702],[-97.379,27.06],[-97.296,27.427],[-97.141,27.717],[-96.886,28.031],[-96.194,28.502],[-95.382,28.866],[-95.026,29.148],[-94.723,29.331],[-94.595,29.468],[-94.057,29.671],[-93.838,29.691],[-93.929,29.803],[-93.704,30.054],[-93.729,30.545],[-93.531,30.925],[-93.535,31.186],[-93.835,31.586],[-93.803,31.701],[-94.042,31.992],[-94.043,33.019],[-94.043,33.551],[-94.354,33.556],[-94.486,33.638],[-94.842,33.739],[-95.226,33.962],[-95.283,33.878],[-95.557,33.927],[-96.152,33.832],[-96.363,33.694],[-96.593,33.831],[-96.851,33.847],[-96.952,33.945],[-97.206,33.81],[-97.444,33.824],[-97.672,33.991],[-97.866,33.849],[-98.099,34.104],[-98.364,34.157],[-98.737,34.131],[-99.19,34.214],[-99.275,34.387],[-99.696,34.381],[-100,34.561],[-100,35.619],[-100,36.5],[-101.624,36.5],[-103.002,36.5]]]},properties:{name:"Texas"}},{type:"Feature",geometry:{type:"MultiPolygon",coordinates:[[[[-120.368,34.076],[-120.122,33.896],[-120.055,34.038],[-120.368,34.076]]],[[[-124.212,41.998],[-124.063,41.44],[-124.164,41.139],[-124.118,40.989],[-124.41,40.438],[-124.363,40.261],[-124.087,40.078],[-123.852,39.832],[-123.766,39.553],[-123.825,39.361],[-123.691,39.021],[-123.711,38.913],[-123.166,38.475],[-123.004,38.297],[-122.94,38.032],[-122.537,37.83],[-122.394,38.143],[-122.263,38.051],[-122.313,37.777],[-122.163,37.668],[-122.517,37.521],[-122.397,37.187],[-122.106,36.956],[-121.906,36.969],[-121.792,36.815],[-121.97,36.583],[-121.888,36.303],[-121.68,36.166],[-121.272,35.667],[-121.003,35.461],[-120.897,35.248],[-120.636,35.124],[-120.61,34.858],[-120.646,34.581],[-120.451,34.447],[-120.141,34.473],[-119.874,34.409],[-119.617,34.421],[-119.27,34.253],[-119.11,34.095],[-118.805,34.001],[-118.52,34.028],[-118.397,33.736],[-118.133,33.753],[-117.646,33.441],[-117.446,33.269],[-117.281,33.012],[-117.282,32.84],[-117.125,32.534],[-115.465,32.667],[-114.72,32.719],[-114.469,32.845],[-114.511,33.023],[-114.671,33.038],[-114.707,33.377],[-114.525,33.552],[-114.535,33.928],[-114.428,34.093],[-114.139,34.26],[-114.335,34.45],[-114.465,34.691],[-114.634,34.873],[-114.633,35.002],[-115.648,35.809],[-116.488,36.459],[-117.681,37.353],[-118.95,38.269],[-120.001,39],[-119.998,39.957],[-120,41.184],[-119.999,41.995],[-121.035,41.993],[-122.501,42.008],[-124.212,41.998]]]]},properties:{name:"California"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-89.133,36.982],[-89.165,36.662],[-89.539,36.498],[-88.05,36.5],[-88.071,36.678],[-87.853,36.633],[-86.508,36.652],[-85.874,36.624],[-84.785,36.603],[-83.675,36.601],[-83.136,36.743],[-82.895,36.882],[-82.726,37.112],[-82.355,37.265],[-81.968,37.538],[-82.296,37.686],[-82.626,38.135],[-82.594,38.422],[-82.851,38.604],[-82.889,38.756],[-83.287,38.599],[-83.533,38.702],[-83.679,38.63],[-83.852,38.751],[-84.213,38.806],[-84.327,39.027],[-84.462,39.122],[-84.82,39.105],[-84.786,38.882],[-85.187,38.688],[-85.449,38.713],[-85.416,38.546],[-85.816,38.283],[-85.922,38.029],[-86.206,38.022],[-86.321,38.147],[-86.722,37.893],[-86.811,37.997],[-87.18,37.841],[-87.419,37.945],[-87.626,37.852],[-87.873,37.921],[-88.028,37.799],[-88.16,37.654],[-88.062,37.488],[-88.466,37.401],[-88.476,37.068],[-88.932,37.228],[-89.168,37.074],[-89.133,36.982]]]},properties:{name:"Kentucky"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-85.605,34.985],[-85.429,34.125],[-85.184,32.861],[-84.892,32.263],[-85.059,32.136],[-85.142,31.839],[-85.042,31.545],[-85.108,31.186],[-85.002,31.001],[-84.865,30.712],[-83.131,30.624],[-82.219,30.564],[-82.18,30.369],[-82.041,30.37],[-82.033,30.751],[-81.943,30.827],[-81.444,30.71],[-81.402,31.125],[-81.305,31.206],[-81.131,31.723],[-80.886,32.035],[-81.113,32.113],[-81.195,32.465],[-81.397,32.606],[-81.502,33.015],[-81.755,33.152],[-81.933,33.344],[-81.926,33.463],[-82.162,33.611],[-82.324,33.82],[-82.557,33.945],[-82.715,34.148],[-82.874,34.472],[-83.048,34.493],[-83.339,34.682],[-83.324,34.79],[-83.109,35.001],[-84.322,34.988],[-85.605,34.985]]]},properties:{name:"Georgia"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-92.015,46.706],[-92.292,46.663],[-92.294,46.074],[-92.721,45.884],[-92.87,45.715],[-92.647,45.438],[-92.762,45.285],[-92.751,44.942],[-92.805,44.768],[-92.549,44.578],[-91.964,44.362],[-91.893,44.231],[-91.441,44.002],[-91.244,43.773],[-91.218,43.501],[-91.058,43.254],[-91.175,43.135],[-91.138,42.904],[-90.942,42.684],[-90.701,42.626],[-90.643,42.508],[-88.707,42.494],[-87.8,42.492],[-87.767,42.785],[-87.896,43.016],[-87.889,43.308],[-87.706,43.68],[-87.736,43.874],[-87.447,44.586],[-87.063,45.079],[-87.265,45.081],[-87.581,44.852],[-87.775,44.639],[-87.983,44.72],[-87.813,44.954],[-87.59,45.095],[-87.863,45.353],[-87.781,45.674],[-88.135,45.822],[-88.115,45.922],[-88.527,46.021],[-88.812,46.022],[-89.092,46.139],[-90.12,46.337],[-90.215,46.5],[-90.418,46.566],[-90.755,46.646],[-90.881,46.74],[-90.745,46.894],[-90.924,47.002],[-91.168,46.845],[-91.82,46.69],[-92.015,46.706]]]},properties:{name:"Wisconsin"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-123.548,46.259],[-123.959,46.142],[-123.939,45.709],[-123.975,45.145],[-124.074,44.798],[-124.065,44.633],[-124.15,43.911],[-124.234,43.557],[-124.552,42.841],[-124.413,42.658],[-124.411,42.251],[-124.212,41.998],[-122.501,42.008],[-121.035,41.993],[-119.999,41.995],[-118.776,41.993],[-117.026,42],[-117.024,43.824],[-116.896,44.154],[-117.243,44.391],[-117.062,44.727],[-116.834,44.929],[-116.675,45.314],[-116.464,45.616],[-116.593,45.779],[-116.788,45.84],[-116.916,45.995],[-118.987,46],[-119.126,45.933],[-119.966,45.824],[-120.211,45.726],[-120.591,45.747],[-121.085,45.648],[-121.533,45.727],[-121.811,45.707],[-122.263,45.544],[-122.775,45.68],[-122.814,45.961],[-123.116,46.185],[-123.28,46.145],[-123.548,46.259]]]},properties:{name:"Oregon"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-95.766,40.585],[-95.654,40.323],[-95.473,40.236],[-95.308,40],[-94.86,39.75],[-95.114,39.554],[-94.8,39.206],[-94.607,39.113],[-94.613,38.238],[-94.618,36.999],[-94.618,36.499],[-93.959,36.499],[-92.35,36.498],[-91.127,36.498],[-90.154,36.495],[-90.064,36.303],[-90.369,35.996],[-89.733,36.001],[-89.523,36.345],[-89.539,36.498],[-89.165,36.662],[-89.133,36.982],[-89.359,37.043],[-89.495,37.325],[-89.522,37.696],[-90.219,38.094],[-90.373,38.323],[-90.185,38.612],[-90.113,38.849],[-90.468,38.962],[-90.657,38.92],[-90.73,39.256],[-91.038,39.448],[-91.368,39.729],[-91.512,40.17],[-91.419,40.378],[-91.729,40.614],[-93.136,40.583],[-94.534,40.571],[-95.766,40.585]]]},properties:{name:"Missouri"}},{type:"Feature",geometry:{type:"MultiPolygon",coordinates:[[[[-75.67,37.951],[-75.941,37.564],[-76.023,37.289],[-75.817,37.193],[-75.658,37.452],[-75.552,37.748],[-75.242,38.027],[-75.67,37.951]]],[[[-81.968,37.538],[-82.355,37.265],[-82.726,37.112],[-82.895,36.882],[-83.136,36.743],[-83.675,36.601],[-81.678,36.588],[-80.295,36.544],[-78.51,36.541],[-76.917,36.546],[-75.867,36.551],[-75.996,36.922],[-76.268,36.965],[-76.394,37.225],[-76.25,37.422],[-76.329,37.671],[-76.237,37.889],[-76.614,38.149],[-76.962,38.214],[-77.048,38.36],[-77.265,38.333],[-77.323,38.467],[-77.13,38.635],[-77.039,38.792],[-77.12,38.934],[-77.463,39.076],[-77.46,39.219],[-77.72,39.321],[-77.828,39.132],[-78.347,39.466],[-78.414,39.158],[-78.773,38.894],[-78.999,38.84],[-79.298,38.416],[-79.649,38.592],[-79.788,38.273],[-80.292,37.684],[-80.292,37.537],[-80.545,37.475],[-80.919,37.306],[-81.225,37.235],[-81.362,37.338],[-81.561,37.207],[-81.85,37.285],[-81.968,37.538]]]]},properties:{name:"Virginia"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-89.733,36.001],[-89.723,35.809],[-89.957,35.695],[-89.958,35.542],[-90.122,35.305],[-90.091,35.118],[-90.309,34.996],[-89.435,34.994],[-88.2,34.996],[-86.784,34.992],[-85.605,34.985],[-84.322,34.988],[-84.283,35.227],[-84.098,35.247],[-84.022,35.407],[-83.772,35.562],[-83.498,35.563],[-83.162,35.763],[-82.978,35.783],[-82.779,35.993],[-82.211,36.159],[-82.029,36.124],[-81.908,36.302],[-81.734,36.413],[-81.678,36.588],[-83.675,36.601],[-84.785,36.603],[-85.874,36.624],[-86.508,36.652],[-87.853,36.633],[-88.071,36.678],[-88.05,36.5],[-89.539,36.498],[-89.523,36.345],[-89.733,36.001]]]},properties:{name:"Tennessee"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-94.043,33.019],[-94.042,31.992],[-93.803,31.701],[-93.835,31.586],[-93.535,31.186],[-93.531,30.925],[-93.729,30.545],[-93.704,30.054],[-93.929,29.803],[-93.838,29.691],[-93.538,29.763],[-93.177,29.77],[-92.684,29.605],[-92.323,29.531],[-92.065,29.586],[-91.822,29.474],[-91.711,29.569],[-91.394,29.497],[-91.279,29.248],[-90.942,29.162],[-90.868,29.056],[-90.224,29.085],[-89.843,29.319],[-89.483,29.215],[-89.361,29.072],[-89.149,29.03],[-89.014,29.167],[-89.2,29.344],[-89.482,29.406],[-89.602,29.61],[-89.404,29.682],[-89.236,29.877],[-89.186,30.064],[-89.445,30.061],[-89.702,29.874],[-89.845,30.018],[-89.525,30.181],[-89.608,30.217],[-89.836,30.727],[-89.728,31.002],[-90.759,31],[-91.56,31.05],[-91.644,31.234],[-91.536,31.338],[-91.36,31.799],[-91.035,32.101],[-90.921,32.342],[-91.053,32.438],[-91.114,32.74],[-91.072,32.938],[-91.166,33.004],[-92.223,33.009],[-94.043,33.019]]]},properties:{name:"Louisiana"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-79.762,42.27],[-79.761,41.999],[-77.832,41.999],[-76.462,41.999],[-75.341,41.993],[-75.113,41.841],[-74.982,41.496],[-74.695,41.357],[-73.894,40.997],[-74.087,40.652],[-74.261,40.502],[-73.013,40.68],[-71.937,41.006],[-72.283,41.068],[-72.585,40.998],[-73.11,40.972],[-73.229,40.905],[-73.657,40.985],[-73.728,41.101],[-73.551,41.295],[-73.487,42.05],[-73.508,42.086],[-73.265,42.746],[-73.242,43.535],[-73.415,43.658],[-73.351,43.77],[-73.437,44.043],[-73.294,44.441],[-73.39,44.62],[-73.343,45.011],[-74.234,44.992],[-74.835,45.015],[-75.256,44.858],[-75.766,44.516],[-75.95,44.349],[-76.287,44.204],[-76.412,43.926],[-76.229,43.804],[-76.236,43.529],[-76.418,43.521],[-76.685,43.353],[-76.952,43.271],[-77.341,43.281],[-77.551,43.236],[-77.76,43.341],[-78.547,43.37],[-79.07,43.262],[-79.074,43.078],[-78.851,42.792],[-79.139,42.564],[-79.762,42.27]]]},properties:{name:"New York"}},{type:"Feature",geometry:{type:"MultiPolygon",coordinates:[[[[-83.454,41.733],[-83.442,41.809],[-83.134,42.088],[-83.097,42.29],[-82.924,42.352],[-82.859,42.542],[-82.679,42.522],[-82.51,42.637],[-82.416,43.006],[-82.523,43.225],[-82.634,43.831],[-82.929,44.069],[-83.407,43.92],[-83.683,43.591],[-83.948,43.735],[-83.869,43.961],[-83.584,44.057],[-83.525,44.262],[-83.337,44.333],[-83.266,45.027],[-83.385,45.274],[-84.196,45.621],[-84.462,45.652],[-84.719,45.778],[-84.867,45.752],[-85.12,45.569],[-85.041,45.437],[-85.372,45.271],[-85.381,45.046],[-86.059,44.911],[-86.089,44.741],[-86.248,44.699],[-86.269,44.345],[-86.515,44.058],[-86.431,43.841],[-86.541,43.645],[-86.255,43.083],[-86.208,42.763],[-86.356,42.254],[-86.598,41.918],[-86.825,41.76],[-84.806,41.76],[-84.806,41.696],[-83.454,41.733]]],[[[-89.221,47.908],[-89.158,47.824],[-88.579,48.041],[-88.632,48.148],[-89.221,47.908]]],[[[-90.418,46.566],[-90.215,46.5],[-90.12,46.337],[-89.092,46.139],[-88.812,46.022],[-88.527,46.021],[-88.115,45.922],[-88.135,45.822],[-87.781,45.674],[-87.863,45.353],[-87.59,45.095],[-87.172,45.662],[-86.964,45.673],[-86.773,45.811],[-86.541,45.708],[-86.278,45.942],[-85.914,45.919],[-85.541,46.08],[-85.152,46.051],[-84.793,45.859],[-84.633,45.951],[-84.08,45.971],[-83.526,45.919],[-83.599,46.09],[-83.882,46.042],[-84.115,46.174],[-84.118,46.518],[-84.969,46.476],[-85.028,46.675],[-85.257,46.753],[-85.482,46.68],[-86.138,46.673],[-86.558,46.487],[-86.811,46.45],[-86.977,46.527],[-87.367,46.507],[-87.595,46.783],[-88.144,46.967],[-88.455,46.923],[-88.194,47.209],[-87.943,47.336],[-87.929,47.479],[-88.218,47.449],[-89.415,46.844],[-89.832,46.804],[-90.045,46.668],[-90.418,46.566]]]]},properties:{name:"Michigan"}},r9e,{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-116.916,45.995],[-116.788,45.84],[-116.593,45.779],[-116.464,45.616],[-116.675,45.314],[-116.834,44.929],[-117.062,44.727],[-117.243,44.391],[-116.896,44.154],[-117.024,43.824],[-117.026,42],[-115.87,41.997],[-114.042,41.994],[-112.11,41.998],[-111.047,42.002],[-111.045,43.316],[-111.049,44.474],[-111.324,44.724],[-111.563,44.555],[-112.473,44.48],[-113.007,44.472],[-113.131,44.765],[-113.422,44.843],[-113.452,45.059],[-113.736,45.325],[-113.807,45.602],[-113.972,45.701],[-114.279,45.481],[-114.506,45.559],[-114.402,45.961],[-114.48,46.03],[-114.422,46.387],[-114.321,46.647],[-114.547,46.644],[-114.943,46.868],[-115.327,47.256],[-115.71,47.418],[-115.724,47.697],[-116.049,48],[-116.049,49.001],[-117.032,48.999],[-117.042,47.735],[-117.036,46.41],[-116.916,45.995]]]},properties:{name:"Idaho"}},{type:"Feature",geometry:{type:"MultiPolygon",coordinates:[[[[-81.812,24.569],[-81.685,24.559],[-81.243,24.674],[-81.444,24.813],[-81.751,24.654],[-81.812,24.569]]],[[[-85.002,31.001],[-85.894,30.993],[-87.599,30.997],[-87.635,30.866],[-87.4,30.657],[-87.452,30.344],[-87.518,30.28],[-86.633,30.396],[-86.223,30.344],[-86,30.271],[-85.385,29.921],[-85.353,29.66],[-85.045,29.587],[-84.565,29.81],[-84.29,30.057],[-84.063,30.101],[-83.679,29.919],[-83.402,29.523],[-83.17,29.29],[-82.824,29.099],[-82.657,28.545],[-82.764,28.244],[-82.86,28.174],[-82.847,27.854],[-82.705,27.625],[-82.692,27.437],[-82.54,27.254],[-82.265,26.757],[-82.181,26.476],[-81.924,26.437],[-81.845,26.328],[-81.727,25.907],[-81.384,25.777],[-81.147,25.408],[-81.171,25.246],[-81.08,25.119],[-80.812,25.186],[-80.495,25.2],[-80.358,25.153],[-80.301,25.613],[-80.11,25.818],[-80.11,26.087],[-80.039,26.569],[-80.046,26.859],[-80.384,27.74],[-80.548,28.049],[-80.607,28.336],[-80.525,28.459],[-80.584,28.598],[-80.966,29.148],[-81.257,29.785],[-81.396,30.34],[-81.444,30.71],[-81.943,30.827],[-82.033,30.751],[-82.041,30.37],[-82.18,30.369],[-82.219,30.564],[-83.131,30.624],[-84.865,30.712],[-85.002,31.001]]]]},properties:{name:"Florida"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-91.419,40.378],[-91.512,40.17],[-91.368,39.729],[-91.038,39.448],[-90.73,39.256],[-90.657,38.92],[-90.468,38.962],[-90.113,38.849],[-90.185,38.612],[-90.373,38.323],[-90.219,38.094],[-89.522,37.696],[-89.495,37.325],[-89.359,37.043],[-89.133,36.982],[-89.168,37.074],[-88.932,37.228],[-88.476,37.068],[-88.466,37.401],[-88.062,37.488],[-88.16,37.654],[-88.028,37.799],[-88.031,38.031],[-87.499,38.758],[-87.625,39.102],[-87.532,39.348],[-87.526,40.535],[-87.524,41.708],[-87.682,42.076],[-87.835,42.302],[-87.8,42.492],[-88.707,42.494],[-90.643,42.508],[-90.431,42.278],[-90.161,42.106],[-90.181,41.812],[-90.34,41.599],[-90.701,41.455],[-91.028,41.424],[-91.114,41.25],[-90.957,41.111],[-90.952,40.954],[-91.121,40.673],[-91.34,40.613],[-91.419,40.378]]]},properties:{name:"Illinois"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-116.049,49.001],[-116.049,48],[-115.724,47.697],[-115.71,47.418],[-115.327,47.256],[-114.943,46.868],[-114.547,46.644],[-114.321,46.647],[-114.422,46.387],[-114.48,46.03],[-114.402,45.961],[-114.506,45.559],[-114.279,45.481],[-113.972,45.701],[-113.807,45.602],[-113.736,45.325],[-113.452,45.059],[-113.422,44.843],[-113.131,44.765],[-113.007,44.472],[-112.473,44.48],[-111.563,44.555],[-111.324,44.724],[-111.049,44.474],[-111.044,45.001],[-108.621,45],[-106.264,44.994],[-104.058,44.997],[-104.045,45.945],[-104.042,47.803],[-104.049,49],[-106.051,48.999],[-107.441,48.999],[-109.001,48.999],[-111.501,48.997],[-113.693,48.998],[-116.049,49.001]]]},properties:{name:"Montana"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-97.229,49.001],[-97.1,48.668],[-97.147,48.169],[-96.854,47.572],[-96.791,46.637],[-96.601,46.32],[-96.564,45.935],[-96.587,45.816],[-96.826,45.654],[-96.711,45.437],[-96.458,45.308],[-96.453,43.5],[-94.855,43.501],[-93.971,43.5],[-92.449,43.5],[-91.218,43.501],[-91.244,43.773],[-91.441,44.002],[-91.893,44.231],[-91.964,44.362],[-92.549,44.578],[-92.805,44.768],[-92.751,44.942],[-92.762,45.285],[-92.647,45.438],[-92.87,45.715],[-92.721,45.884],[-92.294,46.074],[-92.292,46.663],[-92.015,46.706],[-92.062,46.804],[-91.457,47.139],[-90.868,47.557],[-90.537,47.703],[-89.974,47.831],[-89.868,47.99],[-90.136,48.112],[-90.704,48.096],[-90.844,48.244],[-91.25,48.084],[-91.543,48.053],[-91.715,48.199],[-91.981,48.248],[-92.955,48.631],[-93.207,48.642],[-93.468,48.546],[-93.815,48.527],[-93.844,48.629],[-94.447,48.693],[-94.694,48.789],[-94.816,49.321],[-95.153,49.384],[-95.154,48.999],[-97.229,49.001]]]},properties:{name:"Minnesota"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-87.524,41.708],[-87.526,40.535],[-87.532,39.348],[-87.625,39.102],[-87.499,38.758],[-88.031,38.031],[-88.028,37.799],[-87.873,37.921],[-87.626,37.852],[-87.419,37.945],[-87.18,37.841],[-86.811,37.997],[-86.722,37.893],[-86.321,38.147],[-86.206,38.022],[-85.922,38.029],[-85.816,38.283],[-85.416,38.546],[-85.449,38.713],[-85.187,38.688],[-84.786,38.882],[-84.82,39.105],[-84.804,40.353],[-84.806,41.696],[-84.806,41.76],[-86.825,41.76],[-87.262,41.62],[-87.524,41.708]]]},properties:{name:"Indiana"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-73.265,42.746],[-73.508,42.086],[-73.487,42.05],[-71.799,42.008],[-71.381,42.019],[-71.329,41.783],[-71.133,41.66],[-71.121,41.497],[-70.91,41.577],[-70.734,41.486],[-70.322,41.631],[-70.662,41.961],[-70.731,42.211],[-70.975,42.356],[-70.655,42.582],[-70.817,42.872],[-71.15,42.815],[-71.294,42.697],[-72.459,42.727],[-73.265,42.746]]]},properties:{name:"Massachusetts"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-102.052,40.003],[-102.046,38.698],[-102.042,36.993],[-100.856,36.999],[-99.129,36.999],[-97.462,36.999],[-95.787,36.999],[-94.618,36.999],[-94.613,38.238],[-94.607,39.113],[-94.8,39.206],[-95.114,39.554],[-94.86,39.75],[-95.308,40],[-96.47,40.001],[-98.076,40.002],[-99.813,40.001],[-101.06,40.002],[-102.052,40.003]]]},properties:{name:"Kansas"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-119.999,41.995],[-120,41.184],[-119.998,39.957],[-120.001,39],[-118.95,38.269],[-117.681,37.353],[-116.488,36.459],[-115.648,35.809],[-114.633,35.002],[-114.573,35.139],[-114.664,35.449],[-114.736,36.104],[-114.372,36.143],[-114.152,36.025],[-114.047,36.194],[-114.051,37],[-114.05,37.881],[-114.049,39.006],[-114.046,40.398],[-114.042,41.994],[-115.87,41.997],[-117.026,42],[-118.776,41.993],[-119.999,41.995]]]},properties:{name:"Nevada"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-73.343,45.011],[-73.39,44.62],[-73.294,44.441],[-73.437,44.043],[-73.351,43.77],[-73.415,43.658],[-73.242,43.535],[-73.265,42.746],[-72.459,42.727],[-72.54,42.805],[-72.445,43.004],[-72.379,43.574],[-72.183,43.808],[-72.037,44.103],[-72.046,44.292],[-71.819,44.353],[-71.58,44.502],[-71.627,44.747],[-71.501,45.013],[-72.349,45.006],[-73.343,45.011]]]},properties:{name:"Vermont"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-73.487,42.05],[-73.551,41.295],[-73.728,41.101],[-73.657,40.985],[-73.422,41.048],[-72.936,41.258],[-72.547,41.25],[-71.861,41.32],[-71.798,41.417],[-71.799,42.008],[-73.487,42.05]]]},properties:{name:"Connecticut"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-75.415,39.802],[-75.559,39.63],[-75.528,39.498],[-75.244,39.286],[-74.886,39.144],[-74.647,39.212],[-74.413,39.361],[-74.101,39.756],[-73.971,40.348],[-74.261,40.502],[-74.087,40.652],[-73.894,40.997],[-74.695,41.357],[-75.133,40.98],[-75.187,40.569],[-74.722,40.154],[-75.415,39.802]]]},properties:{name:"New Jersey"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-81.678,36.588],[-81.734,36.413],[-81.908,36.302],[-82.029,36.124],[-82.211,36.159],[-82.779,35.993],[-82.978,35.783],[-83.162,35.763],[-83.498,35.563],[-83.772,35.562],[-84.022,35.407],[-84.098,35.247],[-84.283,35.227],[-84.322,34.988],[-83.109,35.001],[-82.411,35.202],[-81.043,35.149],[-80.782,34.936],[-80.797,34.824],[-79.675,34.805],[-78.541,33.851],[-78.137,33.912],[-77.96,33.853],[-77.829,34.163],[-77.635,34.36],[-77.137,34.633],[-76.727,34.697],[-76.536,34.589],[-76.137,34.988],[-75.913,35.12],[-75.534,35.226],[-75.459,35.597],[-75.718,36.114],[-75.867,36.551],[-76.917,36.546],[-78.51,36.541],[-80.295,36.544],[-81.678,36.588]]]},properties:{name:"North Carolina"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-114.042,41.994],[-114.046,40.398],[-114.049,39.006],[-114.05,37.881],[-114.051,37],[-112.966,37],[-111.278,37],[-110.001,36.998],[-109.045,36.999],[-109.042,38.165],[-109.06,38.275],[-109.051,39.875],[-109.05,41.001],[-111.047,40.998],[-111.047,42.002],[-112.11,41.998],[-114.042,41.994]]]},properties:{name:"Utah"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-104.049,49],[-104.042,47.803],[-104.045,45.945],[-102.088,45.945],[-100.762,45.944],[-99.49,45.94],[-97.777,45.935],[-96.564,45.935],[-96.601,46.32],[-96.791,46.637],[-96.854,47.572],[-97.147,48.169],[-97.1,48.668],[-97.229,49.001],[-98.869,49],[-99.914,48.999],[-102.217,48.999],[-104.049,49]]]},properties:{name:"North Dakota"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-83.109,35.001],[-83.324,34.79],[-83.339,34.682],[-83.048,34.493],[-82.874,34.472],[-82.715,34.148],[-82.557,33.945],[-82.324,33.82],[-82.162,33.611],[-81.926,33.463],[-81.933,33.344],[-81.755,33.152],[-81.502,33.015],[-81.397,32.606],[-81.195,32.465],[-81.113,32.113],[-80.886,32.035],[-80.338,32.479],[-80.001,32.606],[-79.57,32.927],[-79.36,33.007],[-79.215,33.156],[-79.135,33.404],[-78.773,33.769],[-78.541,33.851],[-79.675,34.805],[-80.797,34.824],[-80.782,34.936],[-81.043,35.149],[-82.411,35.202],[-83.109,35.001]]]},properties:{name:"South Carolina"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-91.166,33.004],[-91.072,32.938],[-91.114,32.74],[-91.053,32.438],[-90.921,32.342],[-91.035,32.101],[-91.36,31.799],[-91.536,31.338],[-91.644,31.234],[-91.56,31.05],[-90.759,31],[-89.728,31.002],[-89.836,30.727],[-89.608,30.217],[-89.525,30.181],[-89.345,30.293],[-88.894,30.393],[-88.472,30.32],[-88.395,30.369],[-88.469,31.933],[-88.317,33.184],[-88.098,34.892],[-88.2,34.996],[-89.435,34.994],[-90.309,34.996],[-90.25,34.907],[-90.474,34.789],[-90.587,34.616],[-90.575,34.415],[-90.895,34.224],[-91.061,33.878],[-91.027,33.764],[-91.216,33.529],[-91.069,33.233],[-91.166,33.004]]]},properties:{name:"Mississippi"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-109.05,41.001],[-109.051,39.875],[-109.06,38.275],[-109.042,38.165],[-109.045,36.999],[-108.001,37],[-106.006,36.995],[-104.732,36.993],[-103.002,37],[-102.042,36.993],[-102.046,38.698],[-102.052,40.003],[-102.052,41.002],[-104.053,41.001],[-104.855,40.998],[-106.191,40.998],[-107.367,41.003],[-109.05,41.001]]]},properties:{name:"Colorado"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-104.058,44.997],[-104.055,44.25],[-104.053,43.001],[-102.082,42.999],[-100.198,42.998],[-98.499,42.999],[-98.435,42.929],[-97.95,42.77],[-97.858,42.865],[-97.238,42.853],[-97.131,42.772],[-96.698,42.659],[-96.611,42.506],[-96.446,42.491],[-96.622,42.779],[-96.439,43.114],[-96.522,43.221],[-96.453,43.5],[-96.458,45.308],[-96.711,45.437],[-96.826,45.654],[-96.587,45.816],[-96.564,45.935],[-97.777,45.935],[-99.49,45.94],[-100.762,45.944],[-102.088,45.945],[-104.045,45.945],[-104.058,44.997]]]},properties:{name:"South Dakota"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-103.002,37],[-103.002,36.5],[-101.624,36.5],[-100,36.5],[-100,35.619],[-100,34.561],[-99.696,34.381],[-99.275,34.387],[-99.19,34.214],[-98.737,34.131],[-98.364,34.157],[-98.099,34.104],[-97.866,33.849],[-97.672,33.991],[-97.444,33.824],[-97.206,33.81],[-96.952,33.945],[-96.851,33.847],[-96.593,33.831],[-96.363,33.694],[-96.152,33.832],[-95.557,33.927],[-95.283,33.878],[-95.226,33.962],[-94.842,33.739],[-94.486,33.638],[-94.432,35.37],[-94.618,36.499],[-94.618,36.999],[-95.787,36.999],[-97.462,36.999],[-99.129,36.999],[-100.856,36.999],[-102.042,36.993],[-103.002,37]]]},properties:{name:"Oklahoma"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-104.058,44.997],[-106.264,44.994],[-108.621,45],[-111.044,45.001],[-111.049,44.474],[-111.045,43.316],[-111.047,42.002],[-111.047,40.998],[-109.05,41.001],[-107.367,41.003],[-106.191,40.998],[-104.855,40.998],[-104.053,41.001],[-104.053,42.25],[-104.053,43.001],[-104.055,44.25],[-104.058,44.997]]]},properties:{name:"Wyoming"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-82.594,38.422],[-82.626,38.135],[-82.296,37.686],[-81.968,37.538],[-81.85,37.285],[-81.561,37.207],[-81.362,37.338],[-81.225,37.235],[-80.919,37.306],[-80.545,37.475],[-80.292,37.537],[-80.292,37.684],[-79.788,38.273],[-79.649,38.592],[-79.298,38.416],[-78.999,38.84],[-78.773,38.894],[-78.414,39.158],[-78.347,39.466],[-77.828,39.132],[-77.72,39.321],[-77.83,39.587],[-78.082,39.671],[-78.383,39.622],[-78.461,39.526],[-78.707,39.556],[-79.091,39.472],[-79.487,39.206],[-79.477,39.721],[-80.519,39.721],[-80.519,40.639],[-80.668,40.582],[-80.607,40.304],[-80.803,39.919],[-80.83,39.712],[-81.129,39.449],[-81.348,39.346],[-81.456,39.409],[-81.678,39.274],[-81.898,38.93],[-82.007,39.03],[-82.209,38.803],[-82.175,38.608],[-82.324,38.449],[-82.594,38.422]]]},properties:{name:"West Virginia"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-71.084,45.305],[-71.037,44.736],[-70.973,43.57],[-70.984,43.376],[-70.704,43.06],[-70.554,43.322],[-70.416,43.361],[-70.168,43.675],[-69.916,43.775],[-69.321,43.857],[-69.077,43.974],[-68.439,44.116],[-68.126,44.387],[-67.855,44.419],[-67.449,44.6],[-67.293,44.599],[-66.95,44.817],[-67.112,45.112],[-67.48,45.268],[-67.417,45.502],[-67.803,45.678],[-67.78,45.938],[-67.79,47.066],[-68.204,47.34],[-68.362,47.356],[-68.901,47.179],[-69.04,47.245],[-69.039,47.422],[-69.22,47.457],[-69.997,46.695],[-70.054,46.429],[-70.291,46.186],[-70.259,45.891],[-70.781,45.431],[-71.084,45.305]]]},properties:{name:"Maine"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-71.501,45.013],[-71.627,44.747],[-71.58,44.502],[-71.819,44.353],[-72.046,44.292],[-72.037,44.103],[-72.183,43.808],[-72.379,43.574],[-72.445,43.004],[-72.54,42.805],[-72.459,42.727],[-71.294,42.697],[-71.15,42.815],[-70.817,42.872],[-70.704,43.06],[-70.984,43.376],[-70.973,43.57],[-71.037,44.736],[-71.084,45.305],[-71.284,45.302],[-71.501,45.013]]]},properties:{name:"New Hampshire"}},n9e,{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-114.72,32.719],[-114.814,32.494],[-113.751,32.169],[-112.365,31.741],[-111.075,31.332],[-109.05,31.333],[-109.047,32.778],[-109.046,33.875],[-109.046,34.96],[-109.046,36.117],[-109.045,36.999],[-110.001,36.998],[-111.278,37],[-112.966,37],[-114.051,37],[-114.047,36.194],[-114.152,36.025],[-114.372,36.143],[-114.736,36.104],[-114.664,35.449],[-114.573,35.139],[-114.633,35.002],[-114.634,34.873],[-114.465,34.691],[-114.335,34.45],[-114.139,34.26],[-114.428,34.093],[-114.535,33.928],[-114.525,33.552],[-114.707,33.377],[-114.671,33.038],[-114.511,33.023],[-114.469,32.845],[-114.72,32.719]]]},properties:{name:"Arizona"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-71.861,41.32],[-71.483,41.372],[-71.429,41.454],[-71.121,41.497],[-71.133,41.66],[-71.329,41.783],[-71.381,42.019],[-71.799,42.008],[-71.798,41.417],[-71.861,41.32]]]},properties:{name:"Rhode Island"}}]},l9e={state:a9e},c9e=(e,t,i,o,s)=>{if(e.length===0)return[];if(t!=="state")throw new Error(`Unsupported topology type: ${t}`);if(!e.every(a=>a.hasOwnProperty(t)))throw new Error(`Input data must contain the field: ${t}`);const r=e.map(a=>{const l=gW(a[t]);return{...a,[t]:a[t],name:l}});return r.push({[t]:I0,[i]:o,name:I0}),r.push({[t]:A0,[i]:s,name:A0}),r},d9e=e=>{const t=l9e[e];if(!t)throw new Error(`No topology object found for type: ${e}`);return t},u9e=()=>({getTopologyObject:d9e,buildMapData:c9e}),h9e={style:{width:"30%"}},p9e=["min","max"],g9e={class:"pv-flex pv-space-between pv-text-body-xxs pv-text-subdued"},f9e=m.defineComponent({__name:"MapGradient",props:{min:{default:0},max:{default:100},valueFormatter:{}},setup(e){const t=e,i=o=>t.valueFormatter?t.valueFormatter(o):o.toLocaleString("en-US");return(o,s)=>(m.openBlock(),m.createElementBlock("div",h9e,[m.createElementVNode("div",{min:o.min,max:o.max,"aria-hidden":"true",class:"pv-full-width pv-stack-4",style:{appearance:"none",background:`linear-gradient(
|
|
241
|
+
`)},fPe={},mPe={},rW={name:"base",css:gPe,style:ePe,classes:fPe,inlineStyles:mPe,load:function(t){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(n){return n},s=o(Eb(q4||(q4=Pb(["",""])),t));return ii(s)?rPe(Wf(s),k1({name:this.name},i)):{}},loadCSS:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return this.load(this.css,t)},loadStyle:function(){var t=this,i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return this.load(this.style,i,function(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return Hs.transformCSS(i.name||t.name,"".concat(s).concat(Eb(Q4||(Q4=Pb(["",""])),o)))})},getCommonTheme:function(t){return Hs.getCommon(this.name,t)},getComponentTheme:function(t){return Hs.getComponent(this.name,t)},getDirectiveTheme:function(t){return Hs.getDirective(this.name,t)},getPresetTheme:function(t,i,o){return Hs.getCustomPreset(this.name,t,i,o)},getLayerOrderThemeCSS:function(){return Hs.getLayerOrderCSS(this.name)},getStyleSheet:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.css){var o=Tc(this.css,{dt:fu})||"",s=Wf(Eb(J4||(J4=Pb(["","",""])),o,t)),n=Object.entries(i).reduce(function(r,a){var l=tB(a,2),c=l[0],d=l[1];return r.push("".concat(c,'="').concat(d,'"'))&&r},[]).join(" ");return ii(s)?'<style type="text/css" data-primevue-style-id="'.concat(this.name,'" ').concat(n,">").concat(s,"</style>"):""}return""},getCommonThemeStyleSheet:function(t){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Hs.getCommonStyleSheet(this.name,t,i)},getThemeStyleSheet:function(t){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=[Hs.getStyleSheet(this.name,t,i)];if(this.style){var s=this.name==="base"?"global-style":"".concat(this.name,"-style"),n=Eb(eB||(eB=Pb(["",""])),Tc(this.style,{dt:fu})),r=Wf(Hs.transformCSS(s,n)),a=Object.entries(i).reduce(function(l,c){var d=tB(c,2),u=d[0],h=d[1];return l.push("".concat(u,'="').concat(h,'"'))&&l},[]).join(" ");ii(r)&&o.push('<style type="text/css" data-primevue-style-id="'.concat(s,'" ').concat(a,">").concat(r,"</style>"))}return o.join("")},extend:function(t){return k1(k1({},this),{},{css:void 0,style:void 0},t)}};rW.extend({name:"common"});var dC={exports:{}},yPe=dC.exports,sB;function vPe(){return sB||(sB=1,function(e,t){(function(i,o){e.exports=o()})(yPe,function(){var i=1e3,o=6e4,s=36e5,n="millisecond",r="second",a="minute",l="hour",c="day",d="week",u="month",h="quarter",p="year",g="date",f="Invalid Date",v=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,y=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,C={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(O){var F=["th","st","nd","rd"],z=O%100;return"["+O+(F[(z-20)%10]||F[z]||F[0])+"]"}},S=function(O,F,z){var _=String(O);return!_||_.length>=F?O:""+Array(F+1-_.length).join(z)+O},x={s:S,z:function(O){var F=-O.utcOffset(),z=Math.abs(F),_=Math.floor(z/60),V=z%60;return(F<=0?"+":"-")+S(_,2,"0")+":"+S(V,2,"0")},m:function O(F,z){if(F.date()<z.date())return-O(z,F);var _=12*(z.year()-F.year())+(z.month()-F.month()),V=F.clone().add(_,u),G=z-V<0,H=F.clone().add(_+(G?-1:1),u);return+(-(_+(z-V)/(G?V-H:H-V))||0)},a:function(O){return O<0?Math.ceil(O)||0:Math.floor(O)},p:function(O){return{M:u,y:p,w:d,d:c,D:g,h:l,m:a,s:r,ms:n,Q:h}[O]||String(O||"").toLowerCase().replace(/s$/,"")},u:function(O){return O===void 0}},D="en",A={};A[D]=C;var k="$isDayjsObject",w=function(O){return O instanceof P||!(!O||!O[k])},M=function O(F,z,_){var V;if(!F)return D;if(typeof F=="string"){var G=F.toLowerCase();A[G]&&(V=G),z&&(A[G]=z,V=G);var H=F.split("-");if(!V&&H.length>1)return O(H[0])}else{var B=F.name;A[B]=F,V=B}return!_&&V&&(D=V),V||!_&&D},R=function(O,F){if(w(O))return O.clone();var z=typeof F=="object"?F:{};return z.date=O,z.args=arguments,new P(z)},L=x;L.l=M,L.i=w,L.w=function(O,F){return R(O,{locale:F.$L,utc:F.$u,x:F.$x,$offset:F.$offset})};var P=function(){function O(z){this.$L=M(z.locale,null,!0),this.parse(z),this.$x=this.$x||z.x||{},this[k]=!0}var F=O.prototype;return F.parse=function(z){this.$d=function(_){var V=_.date,G=_.utc;if(V===null)return new Date(NaN);if(L.u(V))return new Date;if(V instanceof Date)return new Date(V);if(typeof V=="string"&&!/Z$/i.test(V)){var H=V.match(v);if(H){var B=H[2]-1||0,W=(H[7]||"0").substring(0,3);return G?new Date(Date.UTC(H[1],B,H[3]||1,H[4]||0,H[5]||0,H[6]||0,W)):new Date(H[1],B,H[3]||1,H[4]||0,H[5]||0,H[6]||0,W)}}return new Date(V)}(z),this.init()},F.init=function(){var z=this.$d;this.$y=z.getFullYear(),this.$M=z.getMonth(),this.$D=z.getDate(),this.$W=z.getDay(),this.$H=z.getHours(),this.$m=z.getMinutes(),this.$s=z.getSeconds(),this.$ms=z.getMilliseconds()},F.$utils=function(){return L},F.isValid=function(){return this.$d.toString()!==f},F.isSame=function(z,_){var V=R(z);return this.startOf(_)<=V&&V<=this.endOf(_)},F.isAfter=function(z,_){return R(z)<this.startOf(_)},F.isBefore=function(z,_){return this.endOf(_)<R(z)},F.$g=function(z,_,V){return L.u(z)?this[_]:this.set(V,z)},F.unix=function(){return Math.floor(this.valueOf()/1e3)},F.valueOf=function(){return this.$d.getTime()},F.startOf=function(z,_){var V=this,G=!!L.u(_)||_,H=L.p(z),B=function(Z,ie){var X=L.w(V.$u?Date.UTC(V.$y,ie,Z):new Date(V.$y,ie,Z),V);return G?X:X.endOf(c)},W=function(Z,ie){return L.w(V.toDate()[Z].apply(V.toDate("s"),(G?[0,0,0,0]:[23,59,59,999]).slice(ie)),V)},j=this.$W,U=this.$M,ee=this.$D,q="set"+(this.$u?"UTC":"");switch(H){case p:return G?B(1,0):B(31,11);case u:return G?B(1,U):B(0,U+1);case d:var te=this.$locale().weekStart||0,se=(j<te?j+7:j)-te;return B(G?ee-se:ee+(6-se),U);case c:case g:return W(q+"Hours",0);case l:return W(q+"Minutes",1);case a:return W(q+"Seconds",2);case r:return W(q+"Milliseconds",3);default:return this.clone()}},F.endOf=function(z){return this.startOf(z,!1)},F.$set=function(z,_){var V,G=L.p(z),H="set"+(this.$u?"UTC":""),B=(V={},V[c]=H+"Date",V[g]=H+"Date",V[u]=H+"Month",V[p]=H+"FullYear",V[l]=H+"Hours",V[a]=H+"Minutes",V[r]=H+"Seconds",V[n]=H+"Milliseconds",V)[G],W=G===c?this.$D+(_-this.$W):_;if(G===u||G===p){var j=this.clone().set(g,1);j.$d[B](W),j.init(),this.$d=j.set(g,Math.min(this.$D,j.daysInMonth())).$d}else B&&this.$d[B](W);return this.init(),this},F.set=function(z,_){return this.clone().$set(z,_)},F.get=function(z){return this[L.p(z)]()},F.add=function(z,_){var V,G=this;z=Number(z);var H=L.p(_),B=function(U){var ee=R(G);return L.w(ee.date(ee.date()+Math.round(U*z)),G)};if(H===u)return this.set(u,this.$M+z);if(H===p)return this.set(p,this.$y+z);if(H===c)return B(1);if(H===d)return B(7);var W=(V={},V[a]=o,V[l]=s,V[r]=i,V)[H]||1,j=this.$d.getTime()+z*W;return L.w(j,this)},F.subtract=function(z,_){return this.add(-1*z,_)},F.format=function(z){var _=this,V=this.$locale();if(!this.isValid())return V.invalidDate||f;var G=z||"YYYY-MM-DDTHH:mm:ssZ",H=L.z(this),B=this.$H,W=this.$m,j=this.$M,U=V.weekdays,ee=V.months,q=V.meridiem,te=function(ie,X,ne,re){return ie&&(ie[X]||ie(_,G))||ne[X].slice(0,re)},se=function(ie){return L.s(B%12||12,ie,"0")},Z=q||function(ie,X,ne){var re=ie<12?"AM":"PM";return ne?re.toLowerCase():re};return G.replace(y,function(ie,X){return X||function(ne){switch(ne){case"YY":return String(_.$y).slice(-2);case"YYYY":return L.s(_.$y,4,"0");case"M":return j+1;case"MM":return L.s(j+1,2,"0");case"MMM":return te(V.monthsShort,j,ee,3);case"MMMM":return te(ee,j);case"D":return _.$D;case"DD":return L.s(_.$D,2,"0");case"d":return String(_.$W);case"dd":return te(V.weekdaysMin,_.$W,U,2);case"ddd":return te(V.weekdaysShort,_.$W,U,3);case"dddd":return U[_.$W];case"H":return String(B);case"HH":return L.s(B,2,"0");case"h":return se(1);case"hh":return se(2);case"a":return Z(B,W,!0);case"A":return Z(B,W,!1);case"m":return String(W);case"mm":return L.s(W,2,"0");case"s":return String(_.$s);case"ss":return L.s(_.$s,2,"0");case"SSS":return L.s(_.$ms,3,"0");case"Z":return H}return null}(ie)||H.replace(":","")})},F.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},F.diff=function(z,_,V){var G,H=this,B=L.p(_),W=R(z),j=(W.utcOffset()-this.utcOffset())*o,U=this-W,ee=function(){return L.m(H,W)};switch(B){case p:G=ee()/12;break;case u:G=ee();break;case h:G=ee()/3;break;case d:G=(U-j)/6048e5;break;case c:G=(U-j)/864e5;break;case l:G=U/s;break;case a:G=U/o;break;case r:G=U/i;break;default:G=U}return V?G:L.a(G)},F.daysInMonth=function(){return this.endOf(u).$D},F.$locale=function(){return A[this.$L]},F.locale=function(z,_){if(!z)return this.$L;var V=this.clone(),G=M(z,_,!0);return G&&(V.$L=G),V},F.clone=function(){return L.w(this.$d,this)},F.toDate=function(){return new Date(this.valueOf())},F.toJSON=function(){return this.isValid()?this.toISOString():null},F.toISOString=function(){return this.$d.toISOString()},F.toString=function(){return this.$d.toUTCString()},O}(),N=P.prototype;return R.prototype=N,[["$ms",n],["$s",r],["$m",a],["$H",l],["$W",c],["$M",u],["$y",p],["$D",g]].forEach(function(O){N[O[1]]=function(F){return this.$g(F,O[0],O[1])}}),R.extend=function(O,F){return O.$i||(O(F,P,R),O.$i=!0),R},R.locale=M,R.isDayjs=w,R.unix=function(O){return R(1e3*O)},R.en=A[D],R.Ls=A,R.p={},R})}(dC)),dC.exports}var bPe=vPe();const zL=ev(bPe);var uC={exports:{}},CPe=uC.exports,nB;function SPe(){return nB||(nB=1,function(e,t){(function(i,o){e.exports=o()})(CPe,function(){var i="minute",o=/[+-]\d\d(?::?\d\d)?/g,s=/([+-]|\d\d)/g;return function(n,r,a){var l=r.prototype;a.utc=function(f){var v={date:f,utc:!0,args:arguments};return new r(v)},l.utc=function(f){var v=a(this.toDate(),{locale:this.$L,utc:!0});return f?v.add(this.utcOffset(),i):v},l.local=function(){return a(this.toDate(),{locale:this.$L,utc:!1})};var c=l.parse;l.parse=function(f){f.utc&&(this.$u=!0),this.$utils().u(f.$offset)||(this.$offset=f.$offset),c.call(this,f)};var d=l.init;l.init=function(){if(this.$u){var f=this.$d;this.$y=f.getUTCFullYear(),this.$M=f.getUTCMonth(),this.$D=f.getUTCDate(),this.$W=f.getUTCDay(),this.$H=f.getUTCHours(),this.$m=f.getUTCMinutes(),this.$s=f.getUTCSeconds(),this.$ms=f.getUTCMilliseconds()}else d.call(this)};var u=l.utcOffset;l.utcOffset=function(f,v){var y=this.$utils().u;if(y(f))return this.$u?0:y(this.$offset)?u.call(this):this.$offset;if(typeof f=="string"&&(f=function(D){D===void 0&&(D="");var A=D.match(o);if(!A)return null;var k=(""+A[0]).match(s)||["-",0,0],w=k[0],M=60*+k[1]+ +k[2];return M===0?0:w==="+"?M:-M}(f),f===null))return this;var C=Math.abs(f)<=16?60*f:f,S=this;if(v)return S.$offset=C,S.$u=f===0,S;if(f!==0){var x=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(S=this.local().add(C+x,i)).$offset=C,S.$x.$localOffset=x}else S=this.utc();return S};var h=l.format;l.format=function(f){var v=f||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return h.call(this,v)},l.valueOf=function(){var f=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*f},l.isUTC=function(){return!!this.$u},l.toISOString=function(){return this.toDate().toISOString()},l.toString=function(){return this.toDate().toUTCString()};var p=l.toDate;l.toDate=function(f){return f==="s"&&this.$offset?a(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():p.call(this)};var g=l.diff;l.diff=function(f,v,y){if(f&&this.$u===f.$u)return g.call(this,f,v,y);var C=this.local(),S=a(f).local();return g.call(C,S,v,y)}}})}(uC)),uC.exports}var xPe=SPe();const wPe=ev(xPe);var hC={exports:{}},MPe=hC.exports,rB;function DPe(){return rB||(rB=1,function(e,t){(function(i,o){e.exports=o()})(MPe,function(){var i={year:0,month:1,day:2,hour:3,minute:4,second:5},o={};return function(s,n,r){var a,l=function(h,p,g){g===void 0&&(g={});var f=new Date(h),v=function(y,C){C===void 0&&(C={});var S=C.timeZoneName||"short",x=y+"|"+S,D=o[x];return D||(D=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:y,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:S}),o[x]=D),D}(p,g);return v.formatToParts(f)},c=function(h,p){for(var g=l(h,p),f=[],v=0;v<g.length;v+=1){var y=g[v],C=y.type,S=y.value,x=i[C];x>=0&&(f[x]=parseInt(S,10))}var D=f[3],A=D===24?0:D,k=f[0]+"-"+f[1]+"-"+f[2]+" "+A+":"+f[4]+":"+f[5]+":000",w=+h;return(r.utc(k).valueOf()-(w-=w%1e3))/6e4},d=n.prototype;d.tz=function(h,p){h===void 0&&(h=a);var g,f=this.utcOffset(),v=this.toDate(),y=v.toLocaleString("en-US",{timeZone:h}),C=Math.round((v-new Date(y))/1e3/60),S=15*-Math.round(v.getTimezoneOffset()/15)-C;if(!Number(S))g=this.utcOffset(0,p);else if(g=r(y,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(S,!0),p){var x=g.utcOffset();g=g.add(f-x,"minute")}return g.$x.$timezone=h,g},d.offsetName=function(h){var p=this.$x.$timezone||r.tz.guess(),g=l(this.valueOf(),p,{timeZoneName:h}).find(function(f){return f.type.toLowerCase()==="timezonename"});return g&&g.value};var u=d.startOf;d.startOf=function(h,p){if(!this.$x||!this.$x.$timezone)return u.call(this,h,p);var g=r(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return u.call(g,h,p).tz(this.$x.$timezone,!0)},r.tz=function(h,p,g){var f=g&&p,v=g||p||a,y=c(+r(),v);if(typeof h!="string")return r(h).tz(v);var C=function(A,k,w){var M=A-60*k*1e3,R=c(M,w);if(k===R)return[M,k];var L=c(M-=60*(R-k)*1e3,w);return R===L?[M,R]:[A-60*Math.min(R,L)*1e3,Math.max(R,L)]}(r.utc(h,f).valueOf(),y,v),S=C[0],x=C[1],D=r(S).utcOffset(x);return D.$x.$timezone=v,D},r.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},r.tz.setDefault=function(h){a=h}}})}(hC)),hC.exports}var kPe=DPe();const IPe=ev(kPe);var pC={exports:{}},APe=pC.exports,aB;function RPe(){return aB||(aB=1,function(e,t){(function(i,o){e.exports=o()})(APe,function(){return function(i,o){var s=o.prototype,n=s.format;s.format=function(r){var a=this,l=this.$locale();if(!this.isValid())return n.bind(this)(r);var c=this.$utils(),d=(r||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(u){switch(u){case"Q":return Math.ceil((a.$M+1)/3);case"Do":return l.ordinal(a.$D);case"gggg":return a.weekYear();case"GGGG":return a.isoWeekYear();case"wo":return l.ordinal(a.week(),"W");case"w":case"ww":return c.s(a.week(),u==="w"?1:2,"0");case"W":case"WW":return c.s(a.isoWeek(),u==="W"?1:2,"0");case"k":case"kk":return c.s(String(a.$H===0?24:a.$H),u==="k"?1:2,"0");case"X":return Math.floor(a.$d.getTime()/1e3);case"x":return a.$d.getTime();case"z":return"["+a.offsetName()+"]";case"zzz":return"["+a.offsetName("long")+"]";default:return u}});return n.bind(this)(d)}}})}(pC)),pC.exports}var TPe=RPe();const LPe=ev(TPe);zL.extend(LPe);zL.extend(wPe);zL.extend(IPe);const EPe=["data-position","aria-labelledby","data-style","data-static"],PPe=["id"],NPe={key:1},k0=m.defineComponent({__name:"PvTooltip",props:{variant:{default:"white"},tooltipPosition:{default:"top-right"},ariaLabelledBy:{default:"ariaLabelledById"},size:{default:"md"},interactive:{type:Boolean,default:!0}},setup(e){return(t,i)=>t.$slots["tooltip-content"]?(m.openBlock(),m.createElementBlock("div",{key:0,"data-testid":"pv-tooltip",class:m.normalizeClass(["pv-tooltip",{"pv-tooltip-small":t.size==="sm"}]),"data-position":t.tooltipPosition,"aria-labelledby":t.ariaLabelledBy,"data-style":t.variant==="white"?"white":"dark","data-static":t.interactive===!1?!0:void 0},[m.renderSlot(t.$slots,"label"),m.createElementVNode("div",{role:"tooltip",id:t.ariaLabelledBy,"data-testid":"pv-tooltip-content"},[m.renderSlot(t.$slots,"tooltip-content")],8,PPe)],10,EPe)):(m.openBlock(),m.createElementBlock("div",NPe,[m.renderSlot(t.$slots,"label")]))}}),OPe={"data-testid":"pv-select-menu-control-panel",class:"pv-flex pv-space-between"},FPe=m.defineComponent({__name:"PvMenuControlPanel",props:{disabled:{type:Boolean}},emits:["handle-select-all","handle-clear-all"],setup(e){return(t,i)=>(m.openBlock(),m.createElementBlock("div",OPe,[m.createVNode(es,{variant:"ghost","data-testid":"pv-select-menu-item-select-all",onClick:i[0]||(i[0]=o=>t.$emit("handle-select-all")),label:"Select All",disabled:t.disabled},null,8,["disabled"]),m.createVNode(es,{label:"Clear All",variant:"ghost","data-testid":"pv-select-menu-item-clear-all",onClick:i[1]||(i[1]=o=>t.$emit("handle-clear-all")),disabled:t.disabled},null,8,["disabled"])]))}}),aW=m.defineComponent({__name:"PvMenu",props:{teleportLocation:{},open:{type:Boolean},popoverPositionStyle:{},cssCustomListProperties:{},useTeleport:{type:Boolean,default:!1}},setup(e,{expose:t}){const i=m.ref(null);return t({popoverRef:i}),(o,s)=>(m.openBlock(),m.createBlock(m.Teleport,{to:o.teleportLocation,disabled:!o.useTeleport},[m.createVNode(K7,{ref_key:"popoverRef",ref:i,class:m.normalizeClass({"pv-hide":!o.open}),"css-custom-list-properties":o.cssCustomListProperties,"css-custom-properties":{width:"auto",maxWidth:"260px",...o.popoverPositionStyle},isList:!0},{default:m.withCtx(()=>[m.renderSlot(o.$slots,"default")]),_:3},8,["class","css-custom-list-properties","css-custom-properties"])],8,["to","disabled"]))}}),BPe=["disabled"],GPe={key:0,"data-testid":"pv-select-prefix-label",class:"pv-border-right",style:{color:"#89989b","padding-right":"4px"}},zPe={key:4},lW=m.defineComponent({__name:"PvSelectButtonTrigger",props:{variant:{default:"secondary"},size:{default:"lg"},disabled:{type:Boolean},counterPosition:{},counterValue:{},prefixLabel:{},label:{},icon:{},companyLogo:{},showClear:{type:Boolean},showDropdown:{type:Boolean,default:!0},open:{type:Boolean},isLoading:{type:Boolean}},emits:["handle-toggle-dropdown","handle-clear"],setup(e,{expose:t}){const i={xl:"large",lg:void 0},o=m.ref(null);return t({triggerRef:o}),(s,n)=>(m.openBlock(),m.createElementBlock("button",{ref_key:"triggerRef",ref:o,"data-testid":"pv-multi-select-button-trigger",class:m.normalizeClass(["pv-flex","pv-space-between",{[`pv-button-${s.variant}`]:!0,[`pv-button-${i[s.size]}`]:!!s.size}]),style:{"--flex-gap":"0.25rem"},disabled:s.disabled||s.isLoading,onClick:n[1]||(n[1]=r=>s.$emit("handle-toggle-dropdown"))},[s.prefixLabel?(m.openBlock(),m.createElementBlock("p",GPe,m.toDisplayString(s.prefixLabel),1)):m.createCommentVNode("",!0),s.counterPosition==="left"?(m.openBlock(),m.createBlock(w0,{key:1,"data-testid":"pv-multi-select-left-counter-badge",value:s.counterValue,variant:"tertiary",size:"sm"},null,8,["value"])):m.createCommentVNode("",!0),s.icon?(m.openBlock(),m.createBlock(Wi,{key:2,"data-testid":"pv-multi-select-button-icon",name:s.icon},null,8,["name"])):m.createCommentVNode("",!0),s.companyLogo?(m.openBlock(),m.createBlock(Z7,{key:3,name:s.companyLogo,size:"sm"},null,8,["name"])):m.createCommentVNode("",!0),s.isLoading||s.label?(m.openBlock(),m.createElementBlock("span",zPe,m.toDisplayString(s.isLoading?"Loading...":s.label),1)):m.createCommentVNode("",!0),s.counterPosition==="right"?(m.openBlock(),m.createBlock(w0,{key:5,"data-testid":"pv-multi-select-right-counter-badge",value:s.counterValue,variant:"tertiary",size:"sm"},null,8,["value"])):m.createCommentVNode("",!0),s.showDropdown?(m.openBlock(),m.createBlock(Wi,{key:6,name:s.open?"chevron-up":"chevron-down"},null,8,["name"])):m.createCommentVNode("",!0),s.showClear?(m.openBlock(),m.createBlock(k0,{key:7,size:"sm",variant:"dark","tooltip-position":"top-left"},{label:m.withCtx(()=>[m.createVNode(Wi,{name:"close",onClick:n[0]||(n[0]=m.withModifiers(r=>s.$emit("handle-clear"),["stop"]))})]),"tooltip-content":m.withCtx(()=>n[2]||(n[2]=[m.createTextVNode(" Clear Selections ")])),_:1})):m.createCommentVNode("",!0)],10,BPe))}}),_Pe={},VPe={class:"pv-text-subdued pv-text-center pv-text-body-md"};function HPe(e,t){return m.openBlock(),m.createElementBlock("div",VPe,"No Results Found")}const cW=Ea(_Pe,[["render",HPe]]),WPe=["src"],jPe=m.defineComponent({__name:"PvAvatar",props:{size:{default:"lg"},image:{},initials:{}},setup(e){const t={sm:"pv-avatar-16",md:"pv-avatar-20",lg:"pv-avatar-xs",xl:"pv-avatar-sm","2x":"pv-avatar-md"};return(i,o)=>(m.openBlock(),m.createElementBlock("div",{class:m.normalizeClass(t[i.size]),"data-testid":"pv-avatar"},[i.initials?(m.openBlock(),m.createElementBlock(m.Fragment,{key:0},[m.createTextVNode(m.toDisplayString(i.initials),1)],64)):i.image?(m.openBlock(),m.createElementBlock("img",{key:1,src:i.image},null,8,WPe)):m.createCommentVNode("",!0)],2))}}),$Pe={class:"pv-full-width pv-truncate pv-flex-vertical",style:{"align-items":"flex-start","--flex-gap":"0"}},UPe=["title"],KPe=["title"],YPe={key:3,class:"pv-text-subdued pv-text-body-md"},Lc=m.defineComponent({__name:"PvMenuItem",props:{id:{},text:{},subText:{},secondaryText:{},icon:{},companyName:{},avatar:{},disabled:{type:Boolean},renderer:{},rendererProps:{},classList:{}},emits:["handle-selected"],setup(e){return(t,i)=>(m.openBlock(),m.createElementBlock("a",{class:m.normalizeClass(["pv-flex",t.classList]),"data-testid":"pv-menu-item",style:{cursor:"pointer"},role:"button",onClick:i[0]||(i[0]=o=>t.$emit("handle-selected"))},[t.renderer?(m.openBlock(),m.createBlock(m.resolveDynamicComponent(t.renderer),m.normalizeProps(m.mergeProps({key:0},t.$props)),null,16)):(m.openBlock(),m.createElementBlock(m.Fragment,{key:1},[t.avatar?(m.openBlock(),m.createBlock(jPe,{key:0,initials:t.avatar.initials,image:t.avatar.image,size:"lg"},null,8,["initials","image"])):m.createCommentVNode("",!0),t.icon?(m.openBlock(),m.createBlock(Wi,{key:1,name:t.icon},null,8,["name"])):m.createCommentVNode("",!0),t.companyName?(m.openBlock(),m.createBlock(Z7,{key:2,name:t.companyName,size:"sm"},null,8,["name"])):m.createCommentVNode("",!0),m.createElementVNode("div",$Pe,[m.createElementVNode("span",{class:"pv-text-body-md pv-full-width pv-truncate",title:t.text},m.toDisplayString(t.text),9,UPe),t.subText?(m.openBlock(),m.createElementBlock("span",{key:0,class:"pv-text-body-xs pv-text-subdued pv-full-width pv-truncate",title:t.subText},m.toDisplayString(t.subText),9,KPe)):m.createCommentVNode("",!0)]),t.secondaryText?(m.openBlock(),m.createElementBlock("span",YPe,m.toDisplayString(t.secondaryText),1)):m.createCommentVNode("",!0)],64))],2))}}),XPe=["checked","disabled"],ZPe={class:"pv-full-width pv-truncate pv-flex-vertical",style:{"align-items":"flex-start","--flex-gap":"0"}},qPe=["title"],QPe=["title"],JPe={key:0,class:"pv-text-subdued pv-text-body-md"},eNe=m.defineComponent({__name:"PvMenuCheckboxItem",props:{id:{},text:{},subText:{},secondaryText:{},value:{type:Boolean},disabled:{type:Boolean},renderer:{},rendererProps:{},classList:{}},emits:["handle-selected"],setup(e){return(t,i)=>(m.openBlock(),m.createElementBlock("label",{class:m.normalizeClass(["pv-label pv-label-hover pv-flex",t.classList]),"data-testid":"pv-menu-checkbox-item",style:{cursor:"pointer"}},[m.createElementVNode("input",{type:"checkbox",name:"checkbox",checked:t.value,class:"pv-checkbox",onChange:i[0]||(i[0]=o=>t.$emit("handle-selected")),disabled:t.disabled},null,40,XPe),t.renderer?(m.openBlock(),m.createBlock(m.resolveDynamicComponent(t.renderer),m.normalizeProps(m.mergeProps({key:0},t.$props)),null,16)):(m.openBlock(),m.createElementBlock(m.Fragment,{key:1},[m.createElementVNode("div",ZPe,[m.createElementVNode("span",{class:"pv-text-body-md pv-full-width pv-truncate",title:t.text},m.toDisplayString(t.text),9,qPe),t.subText?(m.openBlock(),m.createElementBlock("span",{key:0,class:"pv-text-body-xs pv-text-subdued pv-full-width pv-truncate",title:t.subText},m.toDisplayString(t.subText),9,QPe)):m.createCommentVNode("",!0)]),t.secondaryText?(m.openBlock(),m.createElementBlock("span",JPe,m.toDisplayString(t.secondaryText),1)):m.createCommentVNode("",!0)],64))],2))}}),lB=m.defineComponent({__name:"PvMultiSelectMenuItem",props:{optionsVariant:{default:"checkbox"},selected:{type:Boolean},option:{}},emits:["handle-select-item"],setup(e){const t={simple:Lc,icon:Lc,company:Lc,checkbox:eNe,avatar:Lc};return(i,o)=>(m.openBlock(),m.createBlock(m.resolveDynamicComponent(t[i.optionsVariant]),{id:i.option.id,value:i.selected,"secondary-text":i.option.secondaryText,icon:i.optionsVariant==="icon"?i.option.icon:void 0,avatar:i.optionsVariant==="avatar"?i.option.avatar:void 0,companyName:i.optionsVariant==="company"?i.option.companyName?i.option.companyName:i.option.text:void 0,text:i.option.text,subText:i.option.subText,disabled:i.option.disabled,renderer:i.option.renderer,rendererProps:i.option.rendererProps,classList:i.option.classList,onHandleSelected:o[0]||(o[0]=()=>i.$emit("handle-select-item",i.option))},null,40,["id","value","secondary-text","icon","avatar","companyName","text","subText","disabled","renderer","rendererProps","classList"]))}}),tNe=m.defineComponent({__name:"PvSpinner",props:{variant:{default:"primary"},size:{default:"lg"}},setup(e){const t={xs:"0.75rem",sm:"1rem",md:"1.25rem",lg:"1.5rem",xl:"2rem"},i={primary:"pv-spinner",dark:"pv-spinner-dark",white:"pv-spinner-light"};return(o,s)=>(m.openBlock(),m.createElementBlock("div",{"data-testid":"pv-spinner",class:m.normalizeClass(i[o.variant]),style:m.normalizeStyle({"--size":t[o.size]})},null,6))}}),dW=({alignment:e,useTeleport:t=!0,popoverCssProperties:i}={})=>{const o=m.ref(null),s=m.ref(null),n=m.ref(null),r=m.ref(null),a=m.computed(()=>!o.value||!s.value?0:e==="right"||e==="top right"?o.value.left+o.value.width-s.value.width:o.value.left),l=m.computed(()=>!o.value||!s.value?0:e==="top"||e==="top right"?o.value.top-s.value.height:o.value.top+window.scrollY+o.value.height),c=m.computed(()=>{if(!t)return i;const u={position:"absolute",left:`${a.value}px`,top:`${l.value}px`,zIndex:10};return{...i,...u}});return{triggerRef:n,popoverRef:r,triggerRect:o,popoverRect:s,popoverPositionStyle:c,updateRects:()=>{n.value&&(o.value=n.value.getBoundingClientRect()),r.value?.popoverRoot&&(s.value=r.value.popoverRoot.getBoundingClientRect())}}},iNe={class:"pv-relative",style:{width:"fit-content"}},oNe={key:1,class:"pv-text-body-sm",style:{color:"#89989b"}},sNe={role:"list"},nNe=["data-active"],rNe={key:2,class:"pv-border-top",style:{margin:"8px 0"}},aNe={key:1,role:"list"},lNe=["data-active"],cNe={key:2,class:"pv-flex pv-inset-block-8",style:{"justify-content":"center"}},dNe={class:"pv-sticky pv-surface pv-border-top",style:{"--flex-justify":"space-between","--bottom":"0","padding-top":"0.75rem","padding-bottom":"0.5rem"}},uNe=m.defineComponent({__name:"PvMultiSelectButton",props:m.mergeModels({groupings:{},defaultOpen:{type:Boolean},disabled:{type:Boolean},teleportLocation:{default:"body"},isLoading:{type:Boolean},variant:{default:"secondary"},size:{default:"lg"},alignment:{},popoverCssProperties:{},prefixLabel:{},label:{default:"Select"},icon:{},counterPosition:{default:"left"},companyLogo:{},showClear:{type:Boolean,default:!0},showDropdown:{type:Boolean,default:!0},showMenuAction:{type:Boolean,default:!0},showSearchInput:{type:Boolean,default:!0},overlayTrigger:{type:Boolean},optionsVariant:{default:"checkbox"},options:{default:()=>[]},useTeleport:{type:Boolean,default:!1}},{modelValue:{required:!1,default:()=>[]},modelModifiers:{},searchInput:{required:!1,default:""},searchInputModifiers:{}}),emits:m.mergeModels(["dropdown-open","dropdown-closed"],["update:modelValue","update:searchInput"]),setup(e,{emit:t}){const i=e,o=t,s={top:i.overlayTrigger?"0":"unset",...i.popoverCssProperties},{popoverPositionStyle:n,updateRects:r,triggerRef:a,popoverRef:l}=dW({alignment:i.alignment,popoverCssProperties:s,useTeleport:i.useTeleport}),c=m.useTemplateRef("select-menu-ref"),d=m.useTemplateRef("select-button-trigger-ref"),u=m.useTemplateRef("searchInputRef"),[h,p]=R7(i.defaultOpen),g=m.useModel(e,"modelValue"),f=m.useModel(e,"searchInput"),v=()=>{f.value="",h.value=!1};m.watch(h,w=>{w?m.nextTick(()=>{i.overlayTrigger&&i.showSearchInput&&u.value?.input?.focus(),r(),o("dropdown-open")}):o("dropdown-closed")}),m.onMounted(()=>{c.value?.popoverRef&&(l.value=c.value?.popoverRef),d.value?.triggerRef&&(a.value=d.value?.triggerRef)});const y=m.computed(()=>f.value===""?i.options:i.options.filter(w=>w.text.toLocaleLowerCase().includes(f.value.toLocaleLowerCase()))),C=w=>{const M=g.value,R=M.findIndex(P=>P.id===w.id);let L;R>-1?L=[...M.slice(0,R),...M.slice(R+1)]:L=[...M,{...w}],g.value=L},S=()=>{g.value=y.value.map(w=>({id:w.id,text:w.text}))},x=()=>{g.value=[]},D=m.computed(()=>{if(!i.groupings)return;const w=new Map;i.groupings.forEach(M=>{w.set(M,[])}),w.set("other",[]);for(const M of i.options){const R=M.groupingLabel,L=R&&w.has(R)?R:"other";w.get(L).push(M)}for(const[M,R]of w)R.length===0&&w.delete(M);return Array.from(w.entries())}),A=m.computed(()=>i.groupings&&f.value===""),k=w=>g.value.some(M=>M.id===w.id)?!0:null;return PL("Escape",()=>{h.value&&v()}),(w,M)=>m.withDirectives((m.openBlock(),m.createElementBlock("div",iNe,[m.createVNode(lW,{ref:"select-button-trigger-ref",variant:w.variant,size:w.size,disabled:w.disabled,counterPosition:w.counterPosition,prefixLabel:w.prefixLabel,label:w.label,icon:w.icon,companyLogo:w.companyLogo,showClear:w.showClear&&g.value.length>0,showDropdown:w.showDropdown&&g.value.length===0,open:m.unref(h),"counter-value":g.value.length,onHandleClear:x,onHandleToggleDropdown:M[0]||(M[0]=R=>m.unref(p)())},null,8,["variant","size","disabled","counterPosition","prefixLabel","label","icon","companyLogo","showClear","showDropdown","open","counter-value"]),m.createVNode(aW,{ref:"select-menu-ref",open:m.unref(h),teleportLocation:w.teleportLocation,"use-teleport":w.useTeleport,"css-custom-list-properties":w.showMenuAction?{"padding-bottom":0}:{},popoverPositionStyle:m.unref(n)},{default:m.withCtx(()=>[w.showSearchInput?(m.openBlock(),m.createElementBlock(m.Fragment,{key:0},[m.createVNode(q7,{ref:"searchInputRef","model-value":f.value,"onUpdate:modelValue":M[1]||(M[1]=R=>f.value=R),class:"pv-sticky pv-surface pv-stack-12",style:{"padding-top":"4px"}},null,8,["model-value"]),M[2]||(M[2]=m.createElementVNode("div",{class:"pv-border-top pv-stack-12"},null,-1))],64)):m.createCommentVNode("",!0),y.value.length>0?(m.openBlock(),m.createElementBlock(m.Fragment,{key:1},[A.value?(m.openBlock(!0),m.createElementBlock(m.Fragment,{key:0},m.renderList(D.value,([R,L],P)=>(m.openBlock(),m.createElementBlock("div",{key:R},[w.$slots[R]?m.renderSlot(w.$slots,R,{key:0}):R!=="other"?(m.openBlock(),m.createElementBlock("span",oNe,m.toDisplayString(R),1)):m.createCommentVNode("",!0),m.createElementVNode("ul",sNe,[(m.openBlock(!0),m.createElementBlock(m.Fragment,null,m.renderList(L,N=>m.withDirectives((m.openBlock(),m.createElementBlock("li",{key:N.id,"data-active":k(N),class:"pv-stack-4"},[m.createVNode(lB,{"data-testid":`pv-multiselect-${R}-item`,"options-variant":w.optionsVariant,selected:g.value.some(O=>O.id===N.id),option:N,onHandleSelectItem:C},null,8,["data-testid","options-variant","selected","option"])],8,nNe)),[[m.vShow,k(N)||!w.isLoading]])),128))]),D.value&&P!==D.value.length-1?(m.openBlock(),m.createElementBlock("div",rNe)):m.createCommentVNode("",!0)]))),128)):(m.openBlock(),m.createElementBlock("ul",aNe,[(m.openBlock(!0),m.createElementBlock(m.Fragment,null,m.renderList(y.value,R=>(m.openBlock(),m.createElementBlock("li",{key:R.id,"data-active":g.value.some(L=>L.id===R.id)?!0:null,class:"pv-stack-4"},[m.createVNode(lB,{"options-variant":w.optionsVariant,selected:g.value.some(L=>L.id===R.id),option:R,onHandleSelectItem:C},null,8,["options-variant","selected","option"])],8,lNe))),128))]))],64)):m.createCommentVNode("",!0),w.isLoading?(m.openBlock(),m.createElementBlock("div",cNe,[m.createVNode(tNe,{variant:"dark"})])):y.value.length===0?(m.openBlock(),m.createElementBlock(m.Fragment,{key:3},[w.$slots["no-results"]?m.renderSlot(w.$slots,"no-results",m.normalizeProps(m.mergeProps({key:0},w.$props))):(m.openBlock(),m.createBlock(cW,{key:1}))],64)):m.createCommentVNode("",!0),m.createElementVNode("div",dNe,[w.$slots.footer?m.renderSlot(w.$slots,"footer",m.normalizeProps(m.mergeProps({key:0},w.$props))):m.createCommentVNode("",!0),w.showMenuAction?(m.openBlock(),m.createBlock(FPe,{key:1,disabled:w.isLoading,onHandleClearAll:x,onHandleSelectAll:S},null,8,["disabled"])):m.createCommentVNode("",!0)])]),_:3},8,["open","teleportLocation","use-teleport","css-custom-list-properties","popoverPositionStyle"])])),[[m.unref(GL),[v,{ignore:[".pv-popover"]}]]])}}),hNe={"data-testid":"pv-menu-radio-item",class:"pv-label pv-label-hover pv-flex",style:{cursor:"pointer"}},pNe=["checked"],gNe={class:"pv-full-width pv-truncate pv-flex-vertical",style:{"align-items":"flex-start","--flex-gap":"0"}},fNe=["title"],mNe=["title"],yNe={key:0,class:"pv-text-subdued pv-text-body-md"},vNe=m.defineComponent({__name:"PvMenuRadioItem",props:{text:{},subText:{},secondaryText:{},value:{type:Boolean}},emits:["handle-selected"],setup(e){return(t,i)=>(m.openBlock(),m.createElementBlock("label",hNe,[m.createElementVNode("input",{type:"radio",name:"radio",checked:t.value,class:"pv-radio",onChange:i[0]||(i[0]=o=>t.$emit("handle-selected"))},null,40,pNe),m.createElementVNode("div",gNe,[m.createElementVNode("span",{class:"pv-text-body-md pv-full-width pv-truncate",title:t.text},m.toDisplayString(t.text),9,fNe),t.subText?(m.openBlock(),m.createElementBlock("span",{key:0,class:"pv-text-body-xs pv-text-subdued pv-full-width pv-truncate",title:t.subText},m.toDisplayString(t.subText),9,mNe)):m.createCommentVNode("",!0)]),t.secondaryText?(m.openBlock(),m.createElementBlock("span",yNe,m.toDisplayString(t.secondaryText),1)):m.createCommentVNode("",!0)]))}}),bNe={class:"pv-relative",style:{width:"fit-content"}},CNe=["data-active"],tk=m.defineComponent({__name:"PvSelectButton",props:m.mergeModels({defaultOpen:{type:Boolean},disabled:{type:Boolean},teleportLocation:{default:"body"},isLoading:{type:Boolean},variant:{default:"secondary"},size:{default:"lg"},alignment:{},popoverCssProperties:{},prefixLabel:{},label:{default:"Select an option"},showMenuAction:{type:Boolean},showSearchInput:{type:Boolean,default:!0},optionsVariant:{default:"simple"},options:{},useTeleport:{type:Boolean,default:!0},allowDeselect:{type:Boolean,default:!0}},{modelValue:{required:!1},modelModifiers:{},searchInput:{required:!1,default:""},searchInputModifiers:{}}),emits:m.mergeModels(["dropdown-open","dropdown-closed"],["update:modelValue","update:searchInput"]),setup(e,{emit:t}){const i=e,o=t,s={simple:Lc,icon:Lc,company:Lc,radio:vNe,avatar:Lc},{popoverPositionStyle:n,updateRects:r,triggerRef:a,popoverRef:l}=dW({alignment:i.alignment,popoverCssProperties:i.popoverCssProperties,useTeleport:i.useTeleport}),c=m.useTemplateRef("select-menu-ref"),d=m.useTemplateRef("select-button-trigger-ref"),[u,h]=R7(i.defaultOpen),p=m.useModel(e,"modelValue"),g=m.useModel(e,"searchInput");m.watch(u,A=>{A?m.nextTick(()=>{r(),o("dropdown-open")}):o("dropdown-closed")}),m.onMounted(()=>{c.value?.popoverRef&&(l.value=c.value?.popoverRef),d.value?.triggerRef&&(a.value=d.value?.triggerRef)});const f=m.computed(()=>p.value&&p.value.text?p.value.text:i.label),v=m.computed(()=>{if(p.value&&p.value.icon)return p.value.icon}),y=m.computed(()=>{if(p.value&&p.value.companyName)return p.value.companyName}),C=m.computed(()=>g.value===""?i.options:i.options.filter(A=>A.text.toLocaleLowerCase().includes(g.value.toLocaleLowerCase()))),S=A=>{if(i.optionsVariant==="radio"||!i.allowDeselect){p.value=A,D();return}p.value?.id===A.id?p.value=void 0:p.value=A,D()},x=()=>{p.value=void 0},D=()=>{u.value=!1,g.value=""};return PL("Escape",()=>{u.value&&D()}),(A,k)=>m.withDirectives((m.openBlock(),m.createElementBlock("div",bNe,[m.createVNode(lW,{class:"pv-full-width",ref:"select-button-trigger-ref",variant:A.variant,size:A.size,disabled:A.disabled,counterPosition:void 0,prefixLabel:A.prefixLabel,label:f.value,icon:v.value,companyLogo:y.value,showClear:!1,showDropdown:!0,open:m.unref(u),"counter-value":0,isLoading:A.isLoading,onHandleClear:x,onHandleToggleDropdown:k[0]||(k[0]=w=>m.unref(h)())},null,8,["variant","size","disabled","prefixLabel","label","icon","companyLogo","open","isLoading"]),m.createVNode(aW,{ref:"select-menu-ref",open:m.unref(u),teleportLocation:A.teleportLocation,"use-teleport":A.useTeleport,popoverPositionStyle:{...m.unref(n),...A.popoverCssProperties}},{default:m.withCtx(()=>[A.showSearchInput?(m.openBlock(),m.createElementBlock(m.Fragment,{key:0},[m.createVNode(q7,{"model-value":g.value,"onUpdate:modelValue":k[1]||(k[1]=w=>g.value=w),class:"pv-stack-12"},null,8,["model-value"]),k[2]||(k[2]=m.createElementVNode("div",{class:"pv-border-top pv-stack-12"},null,-1))],64)):m.createCommentVNode("",!0),C.value.length>0?(m.openBlock(!0),m.createElementBlock(m.Fragment,{key:1},m.renderList(C.value,w=>(m.openBlock(),m.createElementBlock("li",{key:w.id,"data-active":p.value?.id===w.id?!0:null},[(m.openBlock(),m.createBlock(m.resolveDynamicComponent(s[A.optionsVariant]),{id:w.id,value:p.value?.id===w.id,"secondary-text":w.secondaryText,icon:A.optionsVariant==="icon"?w.icon:void 0,avatar:A.optionsVariant==="avatar"?w.avatar:void 0,companyName:A.optionsVariant==="company"?w.companyName?w.companyName:w.text:void 0,text:w.text,subText:w.subText,renderer:w.renderer,"renderer-props":w.rendererProps,classList:w.classList,onHandleSelected:()=>S(w)},null,40,["id","value","secondary-text","icon","avatar","companyName","text","subText","renderer","renderer-props","classList","onHandleSelected"]))],8,CNe))),128)):(m.openBlock(),m.createBlock(cW,{key:2}))]),_:1},8,["open","teleportLocation","use-teleport","popoverPositionStyle"])])),[[m.unref(GL),[D,{ignore:[".pv-popover"]}]]])}}),SNe=["for"],xNe=["disabled","type","placeholder","id","data-invalid"];Math.random().toString();rW.extend({name:"common"});var wNe={transitionDuration:"{transition.duration}"},MNe={borderWidth:"0 0 1px 0",borderColor:"{content.border.color}"},DNe={color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{text.color}",padding:"1.125rem",fontWeight:"600",borderRadius:"0",borderWidth:"0",borderColor:"{content.border.color}",background:"{content.background}",hoverBackground:"{content.background}",activeBackground:"{content.background}",activeHoverBackground:"{content.background}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"},toggleIcon:{color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{text.color}",activeHoverColor:"{text.color}"},first:{topBorderRadius:"{content.border.radius}",borderWidth:"0"},last:{bottomBorderRadius:"{content.border.radius}",activeBottomBorderRadius:"0"}},kNe={borderWidth:"0",borderColor:"{content.border.color}",background:"{content.background}",color:"{text.color}",padding:"0 1.125rem 1.125rem 1.125rem"},INe={root:wNe,panel:MNe,header:DNe,content:kNe},ANe={background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}"},RNe={background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},TNe={padding:"{list.padding}",gap:"{list.gap}"},LNe={focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusBackground:"{list.option.selected.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",selectedColor:"{list.option.selected.color}",selectedFocusColor:"{list.option.selected.focus.color}",padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}"},ENe={background:"{list.option.group.background}",color:"{list.option.group.color}",fontWeight:"{list.option.group.font.weight}",padding:"{list.option.group.padding}"},PNe={width:"2.5rem",sm:{width:"2rem"},lg:{width:"3rem"},borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.border.color}",activeBorderColor:"{form.field.border.color}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},NNe={borderRadius:"{border.radius.sm}"},ONe={padding:"{list.option.padding}"},FNe={light:{chip:{focusBackground:"{surface.200}",focusColor:"{surface.800}"},dropdown:{background:"{surface.100}",hoverBackground:"{surface.200}",activeBackground:"{surface.300}",color:"{surface.600}",hoverColor:"{surface.700}",activeColor:"{surface.800}"}},dark:{chip:{focusBackground:"{surface.700}",focusColor:"{surface.0}"},dropdown:{background:"{surface.800}",hoverBackground:"{surface.700}",activeBackground:"{surface.600}",color:"{surface.300}",hoverColor:"{surface.200}",activeColor:"{surface.100}"}}},BNe={root:ANe,overlay:RNe,list:TNe,option:LNe,optionGroup:ENe,dropdown:PNe,chip:NNe,emptyMessage:ONe,colorScheme:FNe},GNe={width:"2rem",height:"2rem",fontSize:"1rem",background:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}"},zNe={size:"1rem"},_Ne={borderColor:"{content.background}",offset:"-0.75rem"},VNe={width:"3rem",height:"3rem",fontSize:"1.5rem",icon:{size:"1.5rem"},group:{offset:"-1rem"}},HNe={width:"4rem",height:"4rem",fontSize:"2rem",icon:{size:"2rem"},group:{offset:"-1.5rem"}},WNe={root:GNe,icon:zNe,group:_Ne,lg:VNe,xl:HNe},jNe={borderRadius:"{border.radius.md}",padding:"0 0.5rem",fontSize:"0.75rem",fontWeight:"700",minWidth:"1.5rem",height:"1.5rem"},$Ne={size:"0.5rem"},UNe={fontSize:"0.625rem",minWidth:"1.25rem",height:"1.25rem"},KNe={fontSize:"0.875rem",minWidth:"1.75rem",height:"1.75rem"},YNe={fontSize:"1rem",minWidth:"2rem",height:"2rem"},XNe={light:{primary:{background:"{primary.color}",color:"{primary.contrast.color}"},secondary:{background:"{surface.100}",color:"{surface.600}"},success:{background:"{green.500}",color:"{surface.0}"},info:{background:"{sky.500}",color:"{surface.0}"},warn:{background:"{orange.500}",color:"{surface.0}"},danger:{background:"{red.500}",color:"{surface.0}"},contrast:{background:"{surface.950}",color:"{surface.0}"}},dark:{primary:{background:"{primary.color}",color:"{primary.contrast.color}"},secondary:{background:"{surface.800}",color:"{surface.300}"},success:{background:"{green.400}",color:"{green.950}"},info:{background:"{sky.400}",color:"{sky.950}"},warn:{background:"{orange.400}",color:"{orange.950}"},danger:{background:"{red.400}",color:"{red.950}"},contrast:{background:"{surface.0}",color:"{surface.950}"}}},ZNe={root:jNe,dot:$Ne,sm:UNe,lg:KNe,xl:YNe,colorScheme:XNe},qNe={borderRadius:{none:"0",xs:"2px",sm:"4px",md:"6px",lg:"8px",xl:"12px"},emerald:{50:"#ecfdf5",100:"#d1fae5",200:"#a7f3d0",300:"#6ee7b7",400:"#34d399",500:"#10b981",600:"#059669",700:"#047857",800:"#065f46",900:"#064e3b",950:"#022c22"},green:{50:"#f0fdf4",100:"#dcfce7",200:"#bbf7d0",300:"#86efac",400:"#4ade80",500:"#22c55e",600:"#16a34a",700:"#15803d",800:"#166534",900:"#14532d",950:"#052e16"},lime:{50:"#f7fee7",100:"#ecfccb",200:"#d9f99d",300:"#bef264",400:"#a3e635",500:"#84cc16",600:"#65a30d",700:"#4d7c0f",800:"#3f6212",900:"#365314",950:"#1a2e05"},red:{50:"#fef2f2",100:"#fee2e2",200:"#fecaca",300:"#fca5a5",400:"#f87171",500:"#ef4444",600:"#dc2626",700:"#b91c1c",800:"#991b1b",900:"#7f1d1d",950:"#450a0a"},orange:{50:"#fff7ed",100:"#ffedd5",200:"#fed7aa",300:"#fdba74",400:"#fb923c",500:"#f97316",600:"#ea580c",700:"#c2410c",800:"#9a3412",900:"#7c2d12",950:"#431407"},amber:{50:"#fffbeb",100:"#fef3c7",200:"#fde68a",300:"#fcd34d",400:"#fbbf24",500:"#f59e0b",600:"#d97706",700:"#b45309",800:"#92400e",900:"#78350f",950:"#451a03"},yellow:{50:"#fefce8",100:"#fef9c3",200:"#fef08a",300:"#fde047",400:"#facc15",500:"#eab308",600:"#ca8a04",700:"#a16207",800:"#854d0e",900:"#713f12",950:"#422006"},teal:{50:"#f0fdfa",100:"#ccfbf1",200:"#99f6e4",300:"#5eead4",400:"#2dd4bf",500:"#14b8a6",600:"#0d9488",700:"#0f766e",800:"#115e59",900:"#134e4a",950:"#042f2e"},cyan:{50:"#ecfeff",100:"#cffafe",200:"#a5f3fc",300:"#67e8f9",400:"#22d3ee",500:"#06b6d4",600:"#0891b2",700:"#0e7490",800:"#155e75",900:"#164e63",950:"#083344"},sky:{50:"#f0f9ff",100:"#e0f2fe",200:"#bae6fd",300:"#7dd3fc",400:"#38bdf8",500:"#0ea5e9",600:"#0284c7",700:"#0369a1",800:"#075985",900:"#0c4a6e",950:"#082f49"},blue:{50:"#eff6ff",100:"#dbeafe",200:"#bfdbfe",300:"#93c5fd",400:"#60a5fa",500:"#3b82f6",600:"#2563eb",700:"#1d4ed8",800:"#1e40af",900:"#1e3a8a",950:"#172554"},indigo:{50:"#eef2ff",100:"#e0e7ff",200:"#c7d2fe",300:"#a5b4fc",400:"#818cf8",500:"#6366f1",600:"#4f46e5",700:"#4338ca",800:"#3730a3",900:"#312e81",950:"#1e1b4b"},violet:{50:"#f5f3ff",100:"#ede9fe",200:"#ddd6fe",300:"#c4b5fd",400:"#a78bfa",500:"#8b5cf6",600:"#7c3aed",700:"#6d28d9",800:"#5b21b6",900:"#4c1d95",950:"#2e1065"},purple:{50:"#faf5ff",100:"#f3e8ff",200:"#e9d5ff",300:"#d8b4fe",400:"#c084fc",500:"#a855f7",600:"#9333ea",700:"#7e22ce",800:"#6b21a8",900:"#581c87",950:"#3b0764"},fuchsia:{50:"#fdf4ff",100:"#fae8ff",200:"#f5d0fe",300:"#f0abfc",400:"#e879f9",500:"#d946ef",600:"#c026d3",700:"#a21caf",800:"#86198f",900:"#701a75",950:"#4a044e"},pink:{50:"#fdf2f8",100:"#fce7f3",200:"#fbcfe8",300:"#f9a8d4",400:"#f472b6",500:"#ec4899",600:"#db2777",700:"#be185d",800:"#9d174d",900:"#831843",950:"#500724"},rose:{50:"#fff1f2",100:"#ffe4e6",200:"#fecdd3",300:"#fda4af",400:"#fb7185",500:"#f43f5e",600:"#e11d48",700:"#be123c",800:"#9f1239",900:"#881337",950:"#4c0519"},slate:{50:"#f8fafc",100:"#f1f5f9",200:"#e2e8f0",300:"#cbd5e1",400:"#94a3b8",500:"#64748b",600:"#475569",700:"#334155",800:"#1e293b",900:"#0f172a",950:"#020617"},gray:{50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5db",400:"#9ca3af",500:"#6b7280",600:"#4b5563",700:"#374151",800:"#1f2937",900:"#111827",950:"#030712"},zinc:{50:"#fafafa",100:"#f4f4f5",200:"#e4e4e7",300:"#d4d4d8",400:"#a1a1aa",500:"#71717a",600:"#52525b",700:"#3f3f46",800:"#27272a",900:"#18181b",950:"#09090b"},neutral:{50:"#fafafa",100:"#f5f5f5",200:"#e5e5e5",300:"#d4d4d4",400:"#a3a3a3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717",950:"#0a0a0a"},stone:{50:"#fafaf9",100:"#f5f5f4",200:"#e7e5e4",300:"#d6d3d1",400:"#a8a29e",500:"#78716c",600:"#57534e",700:"#44403c",800:"#292524",900:"#1c1917",950:"#0c0a09"}},QNe={transitionDuration:"0.2s",focusRing:{width:"1px",style:"solid",color:"{primary.color}",offset:"2px",shadow:"none"},disabledOpacity:"0.6",iconSize:"1rem",anchorGutter:"2px",primary:{50:"{emerald.50}",100:"{emerald.100}",200:"{emerald.200}",300:"{emerald.300}",400:"{emerald.400}",500:"{emerald.500}",600:"{emerald.600}",700:"{emerald.700}",800:"{emerald.800}",900:"{emerald.900}",950:"{emerald.950}"},formField:{paddingX:"0.75rem",paddingY:"0.5rem",sm:{fontSize:"0.875rem",paddingX:"0.625rem",paddingY:"0.375rem"},lg:{fontSize:"1.125rem",paddingX:"0.875rem",paddingY:"0.625rem"},borderRadius:"{border.radius.md}",focusRing:{width:"0",style:"none",color:"transparent",offset:"0",shadow:"none"},transitionDuration:"{transition.duration}"},list:{padding:"0.25rem 0.25rem",gap:"2px",header:{padding:"0.5rem 1rem 0.25rem 1rem"},option:{padding:"0.5rem 0.75rem",borderRadius:"{border.radius.sm}"},optionGroup:{padding:"0.5rem 0.75rem",fontWeight:"600"}},content:{borderRadius:"{border.radius.md}"},mask:{transitionDuration:"0.15s"},navigation:{list:{padding:"0.25rem 0.25rem",gap:"2px"},item:{padding:"0.5rem 0.75rem",borderRadius:"{border.radius.sm}",gap:"0.5rem"},submenuLabel:{padding:"0.5rem 0.75rem",fontWeight:"600"},submenuIcon:{size:"0.875rem"}},overlay:{select:{borderRadius:"{border.radius.md}",shadow:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)"},popover:{borderRadius:"{border.radius.md}",padding:"0.75rem",shadow:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)"},modal:{borderRadius:"{border.radius.xl}",padding:"1.25rem",shadow:"0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1)"},navigation:{shadow:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)"}},colorScheme:{light:{surface:{0:"#ffffff",50:"{slate.50}",100:"{slate.100}",200:"{slate.200}",300:"{slate.300}",400:"{slate.400}",500:"{slate.500}",600:"{slate.600}",700:"{slate.700}",800:"{slate.800}",900:"{slate.900}",950:"{slate.950}"},primary:{color:"{primary.500}",contrastColor:"#ffffff",hoverColor:"{primary.600}",activeColor:"{primary.700}"},highlight:{background:"{primary.50}",focusBackground:"{primary.100}",color:"{primary.700}",focusColor:"{primary.800}"},mask:{background:"rgba(0,0,0,0.4)",color:"{surface.200}"},formField:{background:"{surface.0}",disabledBackground:"{surface.200}",filledBackground:"{surface.50}",filledHoverBackground:"{surface.50}",filledFocusBackground:"{surface.50}",borderColor:"{surface.300}",hoverBorderColor:"{surface.400}",focusBorderColor:"{primary.color}",invalidBorderColor:"{red.400}",color:"{surface.700}",disabledColor:"{surface.500}",placeholderColor:"{surface.500}",invalidPlaceholderColor:"{red.600}",floatLabelColor:"{surface.500}",floatLabelFocusColor:"{primary.600}",floatLabelActiveColor:"{surface.500}",floatLabelInvalidColor:"{form.field.invalid.placeholder.color}",iconColor:"{surface.400}",shadow:"0 0 #0000, 0 0 #0000, 0 1px 2px 0 rgba(18, 18, 23, 0.05)"},text:{color:"{surface.700}",hoverColor:"{surface.800}",mutedColor:"{surface.500}",hoverMutedColor:"{surface.600}"},content:{background:"{surface.0}",hoverBackground:"{surface.100}",borderColor:"{surface.200}",color:"{text.color}",hoverColor:"{text.hover.color}"},overlay:{select:{background:"{surface.0}",borderColor:"{surface.200}",color:"{text.color}"},popover:{background:"{surface.0}",borderColor:"{surface.200}",color:"{text.color}"},modal:{background:"{surface.0}",borderColor:"{surface.200}",color:"{text.color}"}},list:{option:{focusBackground:"{surface.100}",selectedBackground:"{highlight.background}",selectedFocusBackground:"{highlight.focus.background}",color:"{text.color}",focusColor:"{text.hover.color}",selectedColor:"{highlight.color}",selectedFocusColor:"{highlight.focus.color}",icon:{color:"{surface.400}",focusColor:"{surface.500}"}},optionGroup:{background:"transparent",color:"{text.muted.color}"}},navigation:{item:{focusBackground:"{surface.100}",activeBackground:"{surface.100}",color:"{text.color}",focusColor:"{text.hover.color}",activeColor:"{text.hover.color}",icon:{color:"{surface.400}",focusColor:"{surface.500}",activeColor:"{surface.500}"}},submenuLabel:{background:"transparent",color:"{text.muted.color}"},submenuIcon:{color:"{surface.400}",focusColor:"{surface.500}",activeColor:"{surface.500}"}}},dark:{surface:{0:"#ffffff",50:"{zinc.50}",100:"{zinc.100}",200:"{zinc.200}",300:"{zinc.300}",400:"{zinc.400}",500:"{zinc.500}",600:"{zinc.600}",700:"{zinc.700}",800:"{zinc.800}",900:"{zinc.900}",950:"{zinc.950}"},primary:{color:"{primary.400}",contrastColor:"{surface.900}",hoverColor:"{primary.300}",activeColor:"{primary.200}"},highlight:{background:"color-mix(in srgb, {primary.400}, transparent 84%)",focusBackground:"color-mix(in srgb, {primary.400}, transparent 76%)",color:"rgba(255,255,255,.87)",focusColor:"rgba(255,255,255,.87)"},mask:{background:"rgba(0,0,0,0.6)",color:"{surface.200}"},formField:{background:"{surface.950}",disabledBackground:"{surface.700}",filledBackground:"{surface.800}",filledHoverBackground:"{surface.800}",filledFocusBackground:"{surface.800}",borderColor:"{surface.600}",hoverBorderColor:"{surface.500}",focusBorderColor:"{primary.color}",invalidBorderColor:"{red.300}",color:"{surface.0}",disabledColor:"{surface.400}",placeholderColor:"{surface.400}",invalidPlaceholderColor:"{red.400}",floatLabelColor:"{surface.400}",floatLabelFocusColor:"{primary.color}",floatLabelActiveColor:"{surface.400}",floatLabelInvalidColor:"{form.field.invalid.placeholder.color}",iconColor:"{surface.400}",shadow:"0 0 #0000, 0 0 #0000, 0 1px 2px 0 rgba(18, 18, 23, 0.05)"},text:{color:"{surface.0}",hoverColor:"{surface.0}",mutedColor:"{surface.400}",hoverMutedColor:"{surface.300}"},content:{background:"{surface.900}",hoverBackground:"{surface.800}",borderColor:"{surface.700}",color:"{text.color}",hoverColor:"{text.hover.color}"},overlay:{select:{background:"{surface.900}",borderColor:"{surface.700}",color:"{text.color}"},popover:{background:"{surface.900}",borderColor:"{surface.700}",color:"{text.color}"},modal:{background:"{surface.900}",borderColor:"{surface.700}",color:"{text.color}"}},list:{option:{focusBackground:"{surface.800}",selectedBackground:"{highlight.background}",selectedFocusBackground:"{highlight.focus.background}",color:"{text.color}",focusColor:"{text.hover.color}",selectedColor:"{highlight.color}",selectedFocusColor:"{highlight.focus.color}",icon:{color:"{surface.500}",focusColor:"{surface.400}"}},optionGroup:{background:"transparent",color:"{text.muted.color}"}},navigation:{item:{focusBackground:"{surface.800}",activeBackground:"{surface.800}",color:"{text.color}",focusColor:"{text.hover.color}",activeColor:"{text.hover.color}",icon:{color:"{surface.500}",focusColor:"{surface.400}",activeColor:"{surface.400}"}},submenuLabel:{background:"transparent",color:"{text.muted.color}"},submenuIcon:{color:"{surface.500}",focusColor:"{surface.400}",activeColor:"{surface.400}"}}}}},JNe={primitive:qNe,semantic:QNe},eOe={borderRadius:"{content.border.radius}"},tOe={root:eOe},iOe={padding:"1rem",background:"{content.background}",gap:"0.5rem",transitionDuration:"{transition.duration}"},oOe={color:"{text.muted.color}",hoverColor:"{text.color}",borderRadius:"{content.border.radius}",gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",hoverColor:"{navigation.item.icon.focus.color}"},focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},sOe={color:"{navigation.item.icon.color}"},nOe={root:iOe,item:oOe,separator:sOe},rOe={borderRadius:"{form.field.border.radius}",roundedBorderRadius:"2rem",gap:"0.5rem",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",iconOnlyWidth:"2.5rem",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}",iconOnlyWidth:"2rem"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}",iconOnlyWidth:"3rem"},label:{fontWeight:"500"},raisedShadow:"0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12)",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",offset:"{focus.ring.offset}"},badgeSize:"1rem",transitionDuration:"{form.field.transition.duration}"},aOe={light:{root:{primary:{background:"{primary.color}",hoverBackground:"{primary.hover.color}",activeBackground:"{primary.active.color}",borderColor:"{primary.color}",hoverBorderColor:"{primary.hover.color}",activeBorderColor:"{primary.active.color}",color:"{primary.contrast.color}",hoverColor:"{primary.contrast.color}",activeColor:"{primary.contrast.color}",focusRing:{color:"{primary.color}",shadow:"none"}},secondary:{background:"{surface.100}",hoverBackground:"{surface.200}",activeBackground:"{surface.300}",borderColor:"{surface.100}",hoverBorderColor:"{surface.200}",activeBorderColor:"{surface.300}",color:"{surface.600}",hoverColor:"{surface.700}",activeColor:"{surface.800}",focusRing:{color:"{surface.600}",shadow:"none"}},info:{background:"{sky.500}",hoverBackground:"{sky.600}",activeBackground:"{sky.700}",borderColor:"{sky.500}",hoverBorderColor:"{sky.600}",activeBorderColor:"{sky.700}",color:"#ffffff",hoverColor:"#ffffff",activeColor:"#ffffff",focusRing:{color:"{sky.500}",shadow:"none"}},success:{background:"{green.500}",hoverBackground:"{green.600}",activeBackground:"{green.700}",borderColor:"{green.500}",hoverBorderColor:"{green.600}",activeBorderColor:"{green.700}",color:"#ffffff",hoverColor:"#ffffff",activeColor:"#ffffff",focusRing:{color:"{green.500}",shadow:"none"}},warn:{background:"{orange.500}",hoverBackground:"{orange.600}",activeBackground:"{orange.700}",borderColor:"{orange.500}",hoverBorderColor:"{orange.600}",activeBorderColor:"{orange.700}",color:"#ffffff",hoverColor:"#ffffff",activeColor:"#ffffff",focusRing:{color:"{orange.500}",shadow:"none"}},help:{background:"{purple.500}",hoverBackground:"{purple.600}",activeBackground:"{purple.700}",borderColor:"{purple.500}",hoverBorderColor:"{purple.600}",activeBorderColor:"{purple.700}",color:"#ffffff",hoverColor:"#ffffff",activeColor:"#ffffff",focusRing:{color:"{purple.500}",shadow:"none"}},danger:{background:"{red.500}",hoverBackground:"{red.600}",activeBackground:"{red.700}",borderColor:"{red.500}",hoverBorderColor:"{red.600}",activeBorderColor:"{red.700}",color:"#ffffff",hoverColor:"#ffffff",activeColor:"#ffffff",focusRing:{color:"{red.500}",shadow:"none"}},contrast:{background:"{surface.950}",hoverBackground:"{surface.900}",activeBackground:"{surface.800}",borderColor:"{surface.950}",hoverBorderColor:"{surface.900}",activeBorderColor:"{surface.800}",color:"{surface.0}",hoverColor:"{surface.0}",activeColor:"{surface.0}",focusRing:{color:"{surface.950}",shadow:"none"}}},outlined:{primary:{hoverBackground:"{primary.50}",activeBackground:"{primary.100}",borderColor:"{primary.200}",color:"{primary.color}"},secondary:{hoverBackground:"{surface.50}",activeBackground:"{surface.100}",borderColor:"{surface.200}",color:"{surface.500}"},success:{hoverBackground:"{green.50}",activeBackground:"{green.100}",borderColor:"{green.200}",color:"{green.500}"},info:{hoverBackground:"{sky.50}",activeBackground:"{sky.100}",borderColor:"{sky.200}",color:"{sky.500}"},warn:{hoverBackground:"{orange.50}",activeBackground:"{orange.100}",borderColor:"{orange.200}",color:"{orange.500}"},help:{hoverBackground:"{purple.50}",activeBackground:"{purple.100}",borderColor:"{purple.200}",color:"{purple.500}"},danger:{hoverBackground:"{red.50}",activeBackground:"{red.100}",borderColor:"{red.200}",color:"{red.500}"},contrast:{hoverBackground:"{surface.50}",activeBackground:"{surface.100}",borderColor:"{surface.700}",color:"{surface.950}"},plain:{hoverBackground:"{surface.50}",activeBackground:"{surface.100}",borderColor:"{surface.200}",color:"{surface.700}"}},text:{primary:{hoverBackground:"{primary.50}",activeBackground:"{primary.100}",color:"{primary.color}"},secondary:{hoverBackground:"{surface.50}",activeBackground:"{surface.100}",color:"{surface.500}"},success:{hoverBackground:"{green.50}",activeBackground:"{green.100}",color:"{green.500}"},info:{hoverBackground:"{sky.50}",activeBackground:"{sky.100}",color:"{sky.500}"},warn:{hoverBackground:"{orange.50}",activeBackground:"{orange.100}",color:"{orange.500}"},help:{hoverBackground:"{purple.50}",activeBackground:"{purple.100}",color:"{purple.500}"},danger:{hoverBackground:"{red.50}",activeBackground:"{red.100}",color:"{red.500}"},contrast:{hoverBackground:"{surface.50}",activeBackground:"{surface.100}",color:"{surface.950}"},plain:{hoverBackground:"{surface.50}",activeBackground:"{surface.100}",color:"{surface.700}"}},link:{color:"{primary.color}",hoverColor:"{primary.color}",activeColor:"{primary.color}"}},dark:{root:{primary:{background:"{primary.color}",hoverBackground:"{primary.hover.color}",activeBackground:"{primary.active.color}",borderColor:"{primary.color}",hoverBorderColor:"{primary.hover.color}",activeBorderColor:"{primary.active.color}",color:"{primary.contrast.color}",hoverColor:"{primary.contrast.color}",activeColor:"{primary.contrast.color}",focusRing:{color:"{primary.color}",shadow:"none"}},secondary:{background:"{surface.800}",hoverBackground:"{surface.700}",activeBackground:"{surface.600}",borderColor:"{surface.800}",hoverBorderColor:"{surface.700}",activeBorderColor:"{surface.600}",color:"{surface.300}",hoverColor:"{surface.200}",activeColor:"{surface.100}",focusRing:{color:"{surface.300}",shadow:"none"}},info:{background:"{sky.400}",hoverBackground:"{sky.300}",activeBackground:"{sky.200}",borderColor:"{sky.400}",hoverBorderColor:"{sky.300}",activeBorderColor:"{sky.200}",color:"{sky.950}",hoverColor:"{sky.950}",activeColor:"{sky.950}",focusRing:{color:"{sky.400}",shadow:"none"}},success:{background:"{green.400}",hoverBackground:"{green.300}",activeBackground:"{green.200}",borderColor:"{green.400}",hoverBorderColor:"{green.300}",activeBorderColor:"{green.200}",color:"{green.950}",hoverColor:"{green.950}",activeColor:"{green.950}",focusRing:{color:"{green.400}",shadow:"none"}},warn:{background:"{orange.400}",hoverBackground:"{orange.300}",activeBackground:"{orange.200}",borderColor:"{orange.400}",hoverBorderColor:"{orange.300}",activeBorderColor:"{orange.200}",color:"{orange.950}",hoverColor:"{orange.950}",activeColor:"{orange.950}",focusRing:{color:"{orange.400}",shadow:"none"}},help:{background:"{purple.400}",hoverBackground:"{purple.300}",activeBackground:"{purple.200}",borderColor:"{purple.400}",hoverBorderColor:"{purple.300}",activeBorderColor:"{purple.200}",color:"{purple.950}",hoverColor:"{purple.950}",activeColor:"{purple.950}",focusRing:{color:"{purple.400}",shadow:"none"}},danger:{background:"{red.400}",hoverBackground:"{red.300}",activeBackground:"{red.200}",borderColor:"{red.400}",hoverBorderColor:"{red.300}",activeBorderColor:"{red.200}",color:"{red.950}",hoverColor:"{red.950}",activeColor:"{red.950}",focusRing:{color:"{red.400}",shadow:"none"}},contrast:{background:"{surface.0}",hoverBackground:"{surface.100}",activeBackground:"{surface.200}",borderColor:"{surface.0}",hoverBorderColor:"{surface.100}",activeBorderColor:"{surface.200}",color:"{surface.950}",hoverColor:"{surface.950}",activeColor:"{surface.950}",focusRing:{color:"{surface.0}",shadow:"none"}}},outlined:{primary:{hoverBackground:"color-mix(in srgb, {primary.color}, transparent 96%)",activeBackground:"color-mix(in srgb, {primary.color}, transparent 84%)",borderColor:"{primary.700}",color:"{primary.color}"},secondary:{hoverBackground:"rgba(255,255,255,0.04)",activeBackground:"rgba(255,255,255,0.16)",borderColor:"{surface.700}",color:"{surface.400}"},success:{hoverBackground:"color-mix(in srgb, {green.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {green.400}, transparent 84%)",borderColor:"{green.700}",color:"{green.400}"},info:{hoverBackground:"color-mix(in srgb, {sky.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {sky.400}, transparent 84%)",borderColor:"{sky.700}",color:"{sky.400}"},warn:{hoverBackground:"color-mix(in srgb, {orange.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {orange.400}, transparent 84%)",borderColor:"{orange.700}",color:"{orange.400}"},help:{hoverBackground:"color-mix(in srgb, {purple.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {purple.400}, transparent 84%)",borderColor:"{purple.700}",color:"{purple.400}"},danger:{hoverBackground:"color-mix(in srgb, {red.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {red.400}, transparent 84%)",borderColor:"{red.700}",color:"{red.400}"},contrast:{hoverBackground:"{surface.800}",activeBackground:"{surface.700}",borderColor:"{surface.500}",color:"{surface.0}"},plain:{hoverBackground:"{surface.800}",activeBackground:"{surface.700}",borderColor:"{surface.600}",color:"{surface.0}"}},text:{primary:{hoverBackground:"color-mix(in srgb, {primary.color}, transparent 96%)",activeBackground:"color-mix(in srgb, {primary.color}, transparent 84%)",color:"{primary.color}"},secondary:{hoverBackground:"{surface.800}",activeBackground:"{surface.700}",color:"{surface.400}"},success:{hoverBackground:"color-mix(in srgb, {green.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {green.400}, transparent 84%)",color:"{green.400}"},info:{hoverBackground:"color-mix(in srgb, {sky.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {sky.400}, transparent 84%)",color:"{sky.400}"},warn:{hoverBackground:"color-mix(in srgb, {orange.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {orange.400}, transparent 84%)",color:"{orange.400}"},help:{hoverBackground:"color-mix(in srgb, {purple.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {purple.400}, transparent 84%)",color:"{purple.400}"},danger:{hoverBackground:"color-mix(in srgb, {red.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {red.400}, transparent 84%)",color:"{red.400}"},contrast:{hoverBackground:"{surface.800}",activeBackground:"{surface.700}",color:"{surface.0}"},plain:{hoverBackground:"{surface.800}",activeBackground:"{surface.700}",color:"{surface.0}"}},link:{color:"{primary.color}",hoverColor:"{primary.color}",activeColor:"{primary.color}"}}},lOe={root:rOe,colorScheme:aOe},cOe={background:"{content.background}",borderRadius:"{border.radius.xl}",color:"{content.color}",shadow:"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1)"},dOe={padding:"1.25rem",gap:"0.5rem"},uOe={gap:"0.5rem"},hOe={fontSize:"1.25rem",fontWeight:"500"},pOe={color:"{text.muted.color}"},gOe={root:cOe,body:dOe,caption:uOe,title:hOe,subtitle:pOe},fOe={transitionDuration:"{transition.duration}"},mOe={gap:"0.25rem"},yOe={padding:"1rem",gap:"0.5rem"},vOe={width:"2rem",height:"0.5rem",borderRadius:"{content.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},bOe={light:{indicator:{background:"{surface.200}",hoverBackground:"{surface.300}",activeBackground:"{primary.color}"}},dark:{indicator:{background:"{surface.700}",hoverBackground:"{surface.600}",activeBackground:"{primary.color}"}}},COe={root:fOe,content:mOe,indicatorList:yOe,indicator:vOe,colorScheme:bOe},SOe={background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"}},xOe={width:"2.5rem",color:"{form.field.icon.color}"},wOe={background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},MOe={padding:"{list.padding}",gap:"{list.gap}",mobileIndent:"1rem"},DOe={focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusBackground:"{list.option.selected.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",selectedColor:"{list.option.selected.color}",selectedFocusColor:"{list.option.selected.focus.color}",padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}",icon:{color:"{list.option.icon.color}",focusColor:"{list.option.icon.focus.color}",size:"0.875rem"}},kOe={color:"{form.field.icon.color}"},IOe={root:SOe,dropdown:xOe,overlay:wOe,list:MOe,option:DOe,clearIcon:kOe},AOe={borderRadius:"{border.radius.sm}",width:"1.25rem",height:"1.25rem",background:"{form.field.background}",checkedBackground:"{primary.color}",checkedHoverBackground:"{primary.hover.color}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.border.color}",checkedBorderColor:"{primary.color}",checkedHoverBorderColor:"{primary.hover.color}",checkedFocusBorderColor:"{primary.color}",checkedDisabledBorderColor:"{form.field.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",shadow:"{form.field.shadow}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{width:"1rem",height:"1rem"},lg:{width:"1.5rem",height:"1.5rem"}},ROe={size:"0.875rem",color:"{form.field.color}",checkedColor:"{primary.contrast.color}",checkedHoverColor:"{primary.contrast.color}",disabledColor:"{form.field.disabled.color}",sm:{size:"0.75rem"},lg:{size:"1rem"}},TOe={root:AOe,icon:ROe},LOe={borderRadius:"16px",paddingX:"0.75rem",paddingY:"0.5rem",gap:"0.5rem",transitionDuration:"{transition.duration}"},EOe={width:"2rem",height:"2rem"},POe={size:"1rem"},NOe={size:"1rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"}},OOe={light:{root:{background:"{surface.100}",color:"{surface.800}"},icon:{color:"{surface.800}"},removeIcon:{color:"{surface.800}"}},dark:{root:{background:"{surface.800}",color:"{surface.0}"},icon:{color:"{surface.0}"},removeIcon:{color:"{surface.0}"}}},FOe={root:LOe,image:EOe,icon:POe,removeIcon:NOe,colorScheme:OOe},BOe={transitionDuration:"{transition.duration}"},GOe={width:"1.5rem",height:"1.5rem",borderRadius:"{form.field.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},zOe={shadow:"{overlay.popover.shadow}",borderRadius:"{overlay.popover.borderRadius}"},_Oe={light:{panel:{background:"{surface.800}",borderColor:"{surface.900}"},handle:{color:"{surface.0}"}},dark:{panel:{background:"{surface.900}",borderColor:"{surface.700}"},handle:{color:"{surface.0}"}}},VOe={root:BOe,preview:GOe,panel:zOe,colorScheme:_Oe},HOe={size:"2rem",color:"{overlay.modal.color}"},WOe={gap:"1rem"},jOe={icon:HOe,content:WOe},$Oe={background:"{overlay.popover.background}",borderColor:"{overlay.popover.border.color}",color:"{overlay.popover.color}",borderRadius:"{overlay.popover.border.radius}",shadow:"{overlay.popover.shadow}",gutter:"10px",arrowOffset:"1.25rem"},UOe={padding:"{overlay.popover.padding}",gap:"1rem"},KOe={size:"1.5rem",color:"{overlay.popover.color}"},YOe={gap:"0.5rem",padding:"0 {overlay.popover.padding} {overlay.popover.padding} {overlay.popover.padding}"},XOe={root:$Oe,content:UOe,icon:KOe,footer:YOe},ZOe={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}",shadow:"{overlay.navigation.shadow}",transitionDuration:"{transition.duration}"},qOe={padding:"{navigation.list.padding}",gap:"{navigation.list.gap}"},QOe={focusBackground:"{navigation.item.focus.background}",activeBackground:"{navigation.item.active.background}",color:"{navigation.item.color}",focusColor:"{navigation.item.focus.color}",activeColor:"{navigation.item.active.color}",padding:"{navigation.item.padding}",borderRadius:"{navigation.item.border.radius}",gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}",activeColor:"{navigation.item.icon.active.color}"}},JOe={mobileIndent:"1rem"},eFe={size:"{navigation.submenu.icon.size}",color:"{navigation.submenu.icon.color}",focusColor:"{navigation.submenu.icon.focus.color}",activeColor:"{navigation.submenu.icon.active.color}"},tFe={borderColor:"{content.border.color}"},iFe={root:ZOe,list:qOe,item:QOe,submenu:JOe,submenuIcon:eFe,separator:tFe},oFe={transitionDuration:"{transition.duration}"},sFe={background:"{content.background}",borderColor:"{datatable.border.color}",color:"{content.color}",borderWidth:"0 0 1px 0",padding:"0.75rem 1rem",sm:{padding:"0.375rem 0.5rem"},lg:{padding:"1rem 1.25rem"}},nFe={background:"{content.background}",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",borderColor:"{datatable.border.color}",color:"{content.color}",hoverColor:"{content.hover.color}",selectedColor:"{highlight.color}",gap:"0.5rem",padding:"0.75rem 1rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"},sm:{padding:"0.375rem 0.5rem"},lg:{padding:"1rem 1.25rem"}},rFe={fontWeight:"600"},aFe={background:"{content.background}",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",color:"{content.color}",hoverColor:"{content.hover.color}",selectedColor:"{highlight.color}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"}},lFe={borderColor:"{datatable.border.color}",padding:"0.75rem 1rem",sm:{padding:"0.375rem 0.5rem"},lg:{padding:"1rem 1.25rem"}},cFe={background:"{content.background}",borderColor:"{datatable.border.color}",color:"{content.color}",padding:"0.75rem 1rem",sm:{padding:"0.375rem 0.5rem"},lg:{padding:"1rem 1.25rem"}},dFe={fontWeight:"600"},uFe={background:"{content.background}",borderColor:"{datatable.border.color}",color:"{content.color}",borderWidth:"0 0 1px 0",padding:"0.75rem 1rem",sm:{padding:"0.375rem 0.5rem"},lg:{padding:"1rem 1.25rem"}},hFe={color:"{primary.color}"},pFe={width:"0.5rem"},gFe={width:"1px",color:"{primary.color}"},fFe={color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",size:"0.875rem"},mFe={size:"2rem"},yFe={hoverBackground:"{content.hover.background}",selectedHoverBackground:"{content.background}",color:"{text.muted.color}",hoverColor:"{text.color}",selectedHoverColor:"{primary.color}",size:"1.75rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},vFe={inlineGap:"0.5rem",overlaySelect:{background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},overlayPopover:{background:"{overlay.popover.background}",borderColor:"{overlay.popover.border.color}",borderRadius:"{overlay.popover.border.radius}",color:"{overlay.popover.color}",shadow:"{overlay.popover.shadow}",padding:"{overlay.popover.padding}",gap:"0.5rem"},rule:{borderColor:"{content.border.color}"},constraintList:{padding:"{list.padding}",gap:"{list.gap}"},constraint:{focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusBackground:"{list.option.selected.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",selectedColor:"{list.option.selected.color}",selectedFocusColor:"{list.option.selected.focus.color}",separator:{borderColor:"{content.border.color}"},padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}"}},bFe={borderColor:"{datatable.border.color}",borderWidth:"0 0 1px 0"},CFe={borderColor:"{datatable.border.color}",borderWidth:"0 0 1px 0"},SFe={light:{root:{borderColor:"{content.border.color}"},row:{stripedBackground:"{surface.50}"},bodyCell:{selectedBorderColor:"{primary.100}"}},dark:{root:{borderColor:"{surface.800}"},row:{stripedBackground:"{surface.950}"},bodyCell:{selectedBorderColor:"{primary.900}"}}},xFe={root:oFe,header:sFe,headerCell:nFe,columnTitle:rFe,row:aFe,bodyCell:lFe,footerCell:cFe,columnFooter:dFe,footer:uFe,dropPoint:hFe,columnResizer:pFe,resizeIndicator:gFe,sortIcon:fFe,loadingIcon:mFe,rowToggleButton:yFe,filter:vFe,paginatorTop:bFe,paginatorBottom:CFe,colorScheme:SFe},wFe={borderColor:"transparent",borderWidth:"0",borderRadius:"0",padding:"0"},MFe={background:"{content.background}",color:"{content.color}",borderColor:"{content.border.color}",borderWidth:"0 0 1px 0",padding:"0.75rem 1rem",borderRadius:"0"},DFe={background:"{content.background}",color:"{content.color}",borderColor:"transparent",borderWidth:"0",padding:"0",borderRadius:"0"},kFe={background:"{content.background}",color:"{content.color}",borderColor:"{content.border.color}",borderWidth:"1px 0 0 0",padding:"0.75rem 1rem",borderRadius:"0"},IFe={borderColor:"{content.border.color}",borderWidth:"0 0 1px 0"},AFe={borderColor:"{content.border.color}",borderWidth:"1px 0 0 0"},RFe={root:wFe,header:MFe,content:DFe,footer:kFe,paginatorTop:IFe,paginatorBottom:AFe},TFe={transitionDuration:"{transition.duration}"},LFe={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}",shadow:"{overlay.popover.shadow}",padding:"{overlay.popover.padding}"},EFe={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",padding:"0 0 0.5rem 0"},PFe={gap:"0.5rem",fontWeight:"500"},NFe={width:"2.5rem",sm:{width:"2rem"},lg:{width:"3rem"},borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.border.color}",activeBorderColor:"{form.field.border.color}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},OFe={color:"{form.field.icon.color}"},FFe={hoverBackground:"{content.hover.background}",color:"{content.color}",hoverColor:"{content.hover.color}",padding:"0.25rem 0.5rem",borderRadius:"{content.border.radius}"},BFe={hoverBackground:"{content.hover.background}",color:"{content.color}",hoverColor:"{content.hover.color}",padding:"0.25rem 0.5rem",borderRadius:"{content.border.radius}"},GFe={borderColor:"{content.border.color}",gap:"{overlay.popover.padding}"},zFe={margin:"0.5rem 0 0 0"},_Fe={padding:"0.25rem",fontWeight:"500",color:"{content.color}"},VFe={hoverBackground:"{content.hover.background}",selectedBackground:"{primary.color}",rangeSelectedBackground:"{highlight.background}",color:"{content.color}",hoverColor:"{content.hover.color}",selectedColor:"{primary.contrast.color}",rangeSelectedColor:"{highlight.color}",width:"2rem",height:"2rem",borderRadius:"50%",padding:"0.25rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},HFe={margin:"0.5rem 0 0 0"},WFe={padding:"0.375rem",borderRadius:"{content.border.radius}"},jFe={margin:"0.5rem 0 0 0"},$Fe={padding:"0.375rem",borderRadius:"{content.border.radius}"},UFe={padding:"0.5rem 0 0 0",borderColor:"{content.border.color}"},KFe={padding:"0.5rem 0 0 0",borderColor:"{content.border.color}",gap:"0.5rem",buttonGap:"0.25rem"},YFe={light:{dropdown:{background:"{surface.100}",hoverBackground:"{surface.200}",activeBackground:"{surface.300}",color:"{surface.600}",hoverColor:"{surface.700}",activeColor:"{surface.800}"},today:{background:"{surface.200}",color:"{surface.900}"}},dark:{dropdown:{background:"{surface.800}",hoverBackground:"{surface.700}",activeBackground:"{surface.600}",color:"{surface.300}",hoverColor:"{surface.200}",activeColor:"{surface.100}"},today:{background:"{surface.700}",color:"{surface.0}"}}},XFe={root:TFe,panel:LFe,header:EFe,title:PFe,dropdown:NFe,inputIcon:OFe,selectMonth:FFe,selectYear:BFe,group:GFe,dayView:zFe,weekDay:_Fe,date:VFe,monthView:HFe,month:WFe,yearView:jFe,year:$Fe,buttonbar:UFe,timePicker:KFe,colorScheme:YFe},ZFe={background:"{overlay.modal.background}",borderColor:"{overlay.modal.border.color}",color:"{overlay.modal.color}",borderRadius:"{overlay.modal.border.radius}",shadow:"{overlay.modal.shadow}"},qFe={padding:"{overlay.modal.padding}",gap:"0.5rem"},QFe={fontSize:"1.25rem",fontWeight:"600"},JFe={padding:"0 {overlay.modal.padding} {overlay.modal.padding} {overlay.modal.padding}"},e4e={padding:"0 {overlay.modal.padding} {overlay.modal.padding} {overlay.modal.padding}",gap:"0.5rem"},t4e={root:ZFe,header:qFe,title:QFe,content:JFe,footer:e4e},i4e={borderColor:"{content.border.color}"},o4e={background:"{content.background}",color:"{text.color}"},s4e={margin:"1rem 0",padding:"0 1rem",content:{padding:"0 0.5rem"}},n4e={margin:"0 1rem",padding:"0.5rem 0",content:{padding:"0.5rem 0"}},r4e={root:i4e,content:o4e,horizontal:s4e,vertical:n4e},a4e={background:"rgba(255, 255, 255, 0.1)",borderColor:"rgba(255, 255, 255, 0.2)",padding:"0.5rem",borderRadius:"{border.radius.xl}"},l4e={borderRadius:"{content.border.radius}",padding:"0.5rem",size:"3rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},c4e={root:a4e,item:l4e},d4e={background:"{overlay.modal.background}",borderColor:"{overlay.modal.border.color}",color:"{overlay.modal.color}",shadow:"{overlay.modal.shadow}"},u4e={padding:"{overlay.modal.padding}"},h4e={fontSize:"1.5rem",fontWeight:"600"},p4e={padding:"0 {overlay.modal.padding} {overlay.modal.padding} {overlay.modal.padding}"},g4e={padding:"{overlay.modal.padding}"},f4e={root:d4e,header:u4e,title:h4e,content:p4e,footer:g4e},m4e={background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}"},y4e={color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{primary.color}"},v4e={background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}",padding:"{list.padding}"},b4e={focusBackground:"{list.option.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}"},C4e={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}"},S4e={toolbar:m4e,toolbarItem:y4e,overlay:v4e,overlayOption:b4e,content:C4e},x4e={background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",color:"{content.color}",padding:"0 1.125rem 1.125rem 1.125rem",transitionDuration:"{transition.duration}"},w4e={background:"{content.background}",hoverBackground:"{content.hover.background}",color:"{content.color}",hoverColor:"{content.hover.color}",borderRadius:"{content.border.radius}",borderWidth:"1px",borderColor:"transparent",padding:"0.5rem 0.75rem",gap:"0.5rem",fontWeight:"600",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},M4e={color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}"},D4e={padding:"0"},k4e={root:x4e,legend:w4e,toggleIcon:M4e,content:D4e},I4e={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}",transitionDuration:"{transition.duration}"},A4e={background:"transparent",color:"{text.color}",padding:"1.125rem",borderColor:"unset",borderWidth:"0",borderRadius:"0",gap:"0.5rem"},R4e={highlightBorderColor:"{primary.color}",padding:"0 1.125rem 1.125rem 1.125rem",gap:"1rem"},T4e={padding:"1rem",gap:"1rem",borderColor:"{content.border.color}",info:{gap:"0.5rem"}},L4e={gap:"0.5rem"},E4e={height:"0.25rem"},P4e={gap:"0.5rem"},N4e={root:I4e,header:A4e,content:R4e,file:T4e,fileList:L4e,progressbar:E4e,basic:P4e},O4e={color:"{form.field.float.label.color}",focusColor:"{form.field.float.label.focus.color}",activeColor:"{form.field.float.label.active.color}",invalidColor:"{form.field.float.label.invalid.color}",transitionDuration:"0.2s",positionX:"{form.field.padding.x}",positionY:"{form.field.padding.y}",fontWeight:"500",active:{fontSize:"0.75rem",fontWeight:"400"}},F4e={active:{top:"-1.25rem"}},B4e={input:{paddingTop:"1.5rem",paddingBottom:"{form.field.padding.y}"},active:{top:"{form.field.padding.y}"}},G4e={borderRadius:"{border.radius.xs}",active:{background:"{form.field.background}",padding:"0 0.125rem"}},z4e={root:O4e,over:F4e,in:B4e,on:G4e},_4e={borderWidth:"1px",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",transitionDuration:"{transition.duration}"},V4e={background:"rgba(255, 255, 255, 0.1)",hoverBackground:"rgba(255, 255, 255, 0.2)",color:"{surface.100}",hoverColor:"{surface.0}",size:"3rem",gutter:"0.5rem",prev:{borderRadius:"50%"},next:{borderRadius:"50%"},focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},H4e={size:"1.5rem"},W4e={background:"{content.background}",padding:"1rem 0.25rem"},j4e={size:"2rem",borderRadius:"{content.border.radius}",gutter:"0.5rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},$4e={size:"1rem"},U4e={background:"rgba(0, 0, 0, 0.5)",color:"{surface.100}",padding:"1rem"},K4e={gap:"0.5rem",padding:"1rem"},Y4e={width:"1rem",height:"1rem",activeBackground:"{primary.color}",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},X4e={background:"rgba(0, 0, 0, 0.5)"},Z4e={background:"rgba(255, 255, 255, 0.4)",hoverBackground:"rgba(255, 255, 255, 0.6)",activeBackground:"rgba(255, 255, 255, 0.9)"},q4e={size:"3rem",gutter:"0.5rem",background:"rgba(255, 255, 255, 0.1)",hoverBackground:"rgba(255, 255, 255, 0.2)",color:"{surface.50}",hoverColor:"{surface.0}",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},Q4e={size:"1.5rem"},J4e={light:{thumbnailNavButton:{hoverBackground:"{surface.100}",color:"{surface.600}",hoverColor:"{surface.700}"},indicatorButton:{background:"{surface.200}",hoverBackground:"{surface.300}"}},dark:{thumbnailNavButton:{hoverBackground:"{surface.700}",color:"{surface.400}",hoverColor:"{surface.0}"},indicatorButton:{background:"{surface.700}",hoverBackground:"{surface.600}"}}},eBe={root:_4e,navButton:V4e,navIcon:H4e,thumbnailsContent:W4e,thumbnailNavButton:j4e,thumbnailNavButtonIcon:$4e,caption:U4e,indicatorList:K4e,indicatorButton:Y4e,insetIndicatorList:X4e,insetIndicatorButton:Z4e,closeButton:q4e,closeButtonIcon:Q4e,colorScheme:J4e},tBe={color:"{form.field.icon.color}"},iBe={icon:tBe},oBe={color:"{form.field.float.label.color}",focusColor:"{form.field.float.label.focus.color}",invalidColor:"{form.field.float.label.invalid.color}",transitionDuration:"0.2s",positionX:"{form.field.padding.x}",top:"{form.field.padding.y}",fontSize:"0.75rem",fontWeight:"400"},sBe={paddingTop:"1.5rem",paddingBottom:"{form.field.padding.y}"},nBe={root:oBe,input:sBe},rBe={transitionDuration:"{transition.duration}"},aBe={icon:{size:"1.5rem"},mask:{background:"{mask.background}",color:"{mask.color}"}},lBe={position:{left:"auto",right:"1rem",top:"1rem",bottom:"auto"},blur:"8px",background:"rgba(255,255,255,0.1)",borderColor:"rgba(255,255,255,0.2)",borderWidth:"1px",borderRadius:"30px",padding:".5rem",gap:"0.5rem"},cBe={hoverBackground:"rgba(255,255,255,0.1)",color:"{surface.50}",hoverColor:"{surface.0}",size:"3rem",iconSize:"1.5rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},dBe={root:rBe,preview:aBe,toolbar:lBe,action:cBe},uBe={size:"15px",hoverSize:"30px",background:"rgba(255,255,255,0.3)",hoverBackground:"rgba(255,255,255,0.3)",borderColor:"unset",hoverBorderColor:"unset",borderWidth:"0",borderRadius:"50%",transitionDuration:"{transition.duration}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"rgba(255,255,255,0.3)",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},hBe={handle:uBe},pBe={padding:"{form.field.padding.y} {form.field.padding.x}",borderRadius:"{content.border.radius}",gap:"0.5rem"},gBe={fontWeight:"500"},fBe={size:"1rem"},mBe={light:{info:{background:"color-mix(in srgb, {blue.50}, transparent 5%)",borderColor:"{blue.200}",color:"{blue.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)"},success:{background:"color-mix(in srgb, {green.50}, transparent 5%)",borderColor:"{green.200}",color:"{green.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)"},warn:{background:"color-mix(in srgb,{yellow.50}, transparent 5%)",borderColor:"{yellow.200}",color:"{yellow.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)"},error:{background:"color-mix(in srgb, {red.50}, transparent 5%)",borderColor:"{red.200}",color:"{red.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)"},secondary:{background:"{surface.100}",borderColor:"{surface.200}",color:"{surface.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.500}, transparent 96%)"},contrast:{background:"{surface.900}",borderColor:"{surface.950}",color:"{surface.50}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)"}},dark:{info:{background:"color-mix(in srgb, {blue.500}, transparent 84%)",borderColor:"color-mix(in srgb, {blue.700}, transparent 64%)",color:"{blue.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)"},success:{background:"color-mix(in srgb, {green.500}, transparent 84%)",borderColor:"color-mix(in srgb, {green.700}, transparent 64%)",color:"{green.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)"},warn:{background:"color-mix(in srgb, {yellow.500}, transparent 84%)",borderColor:"color-mix(in srgb, {yellow.700}, transparent 64%)",color:"{yellow.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)"},error:{background:"color-mix(in srgb, {red.500}, transparent 84%)",borderColor:"color-mix(in srgb, {red.700}, transparent 64%)",color:"{red.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)"},secondary:{background:"{surface.800}",borderColor:"{surface.700}",color:"{surface.300}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.500}, transparent 96%)"},contrast:{background:"{surface.0}",borderColor:"{surface.100}",color:"{surface.950}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)"}}},yBe={root:pBe,text:gBe,icon:fBe,colorScheme:mBe},vBe={padding:"{form.field.padding.y} {form.field.padding.x}",borderRadius:"{content.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},transitionDuration:"{transition.duration}"},bBe={hoverBackground:"{content.hover.background}",hoverColor:"{content.hover.color}"},CBe={root:vBe,display:bBe},SBe={background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}"},xBe={borderRadius:"{border.radius.sm}"},wBe={light:{chip:{focusBackground:"{surface.200}",color:"{surface.800}"}},dark:{chip:{focusBackground:"{surface.700}",color:"{surface.0}"}}},MBe={root:SBe,chip:xBe,colorScheme:wBe},DBe={background:"{form.field.background}",borderColor:"{form.field.border.color}",color:"{form.field.icon.color}",borderRadius:"{form.field.border.radius}",padding:"0.5rem",minWidth:"2.5rem"},kBe={addon:DBe},IBe={transitionDuration:"{transition.duration}"},ABe={width:"2.5rem",borderRadius:"{form.field.border.radius}",verticalPadding:"{form.field.padding.y}"},RBe={light:{button:{background:"transparent",hoverBackground:"{surface.100}",activeBackground:"{surface.200}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.border.color}",activeBorderColor:"{form.field.border.color}",color:"{surface.400}",hoverColor:"{surface.500}",activeColor:"{surface.600}"}},dark:{button:{background:"transparent",hoverBackground:"{surface.800}",activeBackground:"{surface.700}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.border.color}",activeBorderColor:"{form.field.border.color}",color:"{surface.400}",hoverColor:"{surface.300}",activeColor:"{surface.200}"}}},TBe={root:IBe,button:ABe,colorScheme:RBe},LBe={gap:"0.5rem"},EBe={width:"2.5rem",sm:{width:"2rem"},lg:{width:"3rem"}},PBe={root:LBe,input:EBe},NBe={background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"}},OBe={root:NBe},FBe={transitionDuration:"{transition.duration}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},BBe={background:"{primary.color}"},GBe={background:"{content.border.color}"},zBe={color:"{text.muted.color}"},_Be={root:FBe,value:BBe,range:GBe,text:zBe},VBe={background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",borderColor:"{form.field.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",shadow:"{form.field.shadow}",borderRadius:"{form.field.border.radius}",transitionDuration:"{form.field.transition.duration}"},HBe={padding:"{list.padding}",gap:"{list.gap}",header:{padding:"{list.header.padding}"}},WBe={focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusBackground:"{list.option.selected.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",selectedColor:"{list.option.selected.color}",selectedFocusColor:"{list.option.selected.focus.color}",padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}"},jBe={background:"{list.option.group.background}",color:"{list.option.group.color}",fontWeight:"{list.option.group.font.weight}",padding:"{list.option.group.padding}"},$Be={color:"{list.option.color}",gutterStart:"-0.375rem",gutterEnd:"0.375rem"},UBe={padding:"{list.option.padding}"},KBe={light:{option:{stripedBackground:"{surface.50}"}},dark:{option:{stripedBackground:"{surface.900}"}}},YBe={root:VBe,list:HBe,option:WBe,optionGroup:jBe,checkmark:$Be,emptyMessage:UBe,colorScheme:KBe},XBe={background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",color:"{content.color}",gap:"0.5rem",verticalOrientation:{padding:"{navigation.list.padding}",gap:"{navigation.list.gap}"},horizontalOrientation:{padding:"0.5rem 0.75rem",gap:"0.5rem"},transitionDuration:"{transition.duration}"},ZBe={borderRadius:"{content.border.radius}",padding:"{navigation.item.padding}"},qBe={focusBackground:"{navigation.item.focus.background}",activeBackground:"{navigation.item.active.background}",color:"{navigation.item.color}",focusColor:"{navigation.item.focus.color}",activeColor:"{navigation.item.active.color}",padding:"{navigation.item.padding}",borderRadius:"{navigation.item.border.radius}",gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}",activeColor:"{navigation.item.icon.active.color}"}},QBe={padding:"0",background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",color:"{content.color}",shadow:"{overlay.navigation.shadow}",gap:"0.5rem"},JBe={padding:"{navigation.list.padding}",gap:"{navigation.list.gap}"},e3e={padding:"{navigation.submenu.label.padding}",fontWeight:"{navigation.submenu.label.font.weight}",background:"{navigation.submenu.label.background.}",color:"{navigation.submenu.label.color}"},t3e={size:"{navigation.submenu.icon.size}",color:"{navigation.submenu.icon.color}",focusColor:"{navigation.submenu.icon.focus.color}",activeColor:"{navigation.submenu.icon.active.color}"},i3e={borderColor:"{content.border.color}"},o3e={borderRadius:"50%",size:"1.75rem",color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",hoverBackground:"{content.hover.background}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},s3e={root:XBe,baseItem:ZBe,item:qBe,overlay:QBe,submenu:JBe,submenuLabel:e3e,submenuIcon:t3e,separator:i3e,mobileButton:o3e},n3e={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}",shadow:"{overlay.navigation.shadow}",transitionDuration:"{transition.duration}"},r3e={padding:"{navigation.list.padding}",gap:"{navigation.list.gap}"},a3e={focusBackground:"{navigation.item.focus.background}",color:"{navigation.item.color}",focusColor:"{navigation.item.focus.color}",padding:"{navigation.item.padding}",borderRadius:"{navigation.item.border.radius}",gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}"}},l3e={padding:"{navigation.submenu.label.padding}",fontWeight:"{navigation.submenu.label.font.weight}",background:"{navigation.submenu.label.background}",color:"{navigation.submenu.label.color}"},c3e={borderColor:"{content.border.color}"},d3e={root:n3e,list:r3e,item:a3e,submenuLabel:l3e,separator:c3e},u3e={background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",color:"{content.color}",gap:"0.5rem",padding:"0.5rem 0.75rem",transitionDuration:"{transition.duration}"},h3e={borderRadius:"{content.border.radius}",padding:"{navigation.item.padding}"},p3e={focusBackground:"{navigation.item.focus.background}",activeBackground:"{navigation.item.active.background}",color:"{navigation.item.color}",focusColor:"{navigation.item.focus.color}",activeColor:"{navigation.item.active.color}",padding:"{navigation.item.padding}",borderRadius:"{navigation.item.border.radius}",gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}",activeColor:"{navigation.item.icon.active.color}"}},g3e={padding:"{navigation.list.padding}",gap:"{navigation.list.gap}",background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",shadow:"{overlay.navigation.shadow}",mobileIndent:"1rem",icon:{size:"{navigation.submenu.icon.size}",color:"{navigation.submenu.icon.color}",focusColor:"{navigation.submenu.icon.focus.color}",activeColor:"{navigation.submenu.icon.active.color}"}},f3e={borderColor:"{content.border.color}"},m3e={borderRadius:"50%",size:"1.75rem",color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",hoverBackground:"{content.hover.background}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},y3e={root:u3e,baseItem:h3e,item:p3e,submenu:g3e,separator:f3e,mobileButton:m3e},v3e={borderRadius:"{content.border.radius}",borderWidth:"1px",transitionDuration:"{transition.duration}"},b3e={padding:"0.5rem 0.75rem",gap:"0.5rem",sm:{padding:"0.375rem 0.625rem"},lg:{padding:"0.625rem 0.875rem"}},C3e={fontSize:"1rem",fontWeight:"500",sm:{fontSize:"0.875rem"},lg:{fontSize:"1.125rem"}},S3e={size:"1.125rem",sm:{size:"1rem"},lg:{size:"1.25rem"}},x3e={width:"1.75rem",height:"1.75rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",offset:"{focus.ring.offset}"}},w3e={size:"1rem",sm:{size:"0.875rem"},lg:{size:"1.125rem"}},M3e={root:{borderWidth:"1px"}},D3e={content:{padding:"0"}},k3e={light:{info:{background:"color-mix(in srgb, {blue.50}, transparent 5%)",borderColor:"{blue.200}",color:"{blue.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)",closeButton:{hoverBackground:"{blue.100}",focusRing:{color:"{blue.600}",shadow:"none"}},outlined:{color:"{blue.600}",borderColor:"{blue.600}"},simple:{color:"{blue.600}"}},success:{background:"color-mix(in srgb, {green.50}, transparent 5%)",borderColor:"{green.200}",color:"{green.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)",closeButton:{hoverBackground:"{green.100}",focusRing:{color:"{green.600}",shadow:"none"}},outlined:{color:"{green.600}",borderColor:"{green.600}"},simple:{color:"{green.600}"}},warn:{background:"color-mix(in srgb,{yellow.50}, transparent 5%)",borderColor:"{yellow.200}",color:"{yellow.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)",closeButton:{hoverBackground:"{yellow.100}",focusRing:{color:"{yellow.600}",shadow:"none"}},outlined:{color:"{yellow.600}",borderColor:"{yellow.600}"},simple:{color:"{yellow.600}"}},error:{background:"color-mix(in srgb, {red.50}, transparent 5%)",borderColor:"{red.200}",color:"{red.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)",closeButton:{hoverBackground:"{red.100}",focusRing:{color:"{red.600}",shadow:"none"}},outlined:{color:"{red.600}",borderColor:"{red.600}"},simple:{color:"{red.600}"}},secondary:{background:"{surface.100}",borderColor:"{surface.200}",color:"{surface.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.500}, transparent 96%)",closeButton:{hoverBackground:"{surface.200}",focusRing:{color:"{surface.600}",shadow:"none"}},outlined:{color:"{surface.500}",borderColor:"{surface.500}"},simple:{color:"{surface.500}"}},contrast:{background:"{surface.900}",borderColor:"{surface.950}",color:"{surface.50}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)",closeButton:{hoverBackground:"{surface.800}",focusRing:{color:"{surface.50}",shadow:"none"}},outlined:{color:"{surface.950}",borderColor:"{surface.950}"},simple:{color:"{surface.950}"}}},dark:{info:{background:"color-mix(in srgb, {blue.500}, transparent 84%)",borderColor:"color-mix(in srgb, {blue.700}, transparent 64%)",color:"{blue.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{blue.500}",shadow:"none"}},outlined:{color:"{blue.500}",borderColor:"{blue.500}"},simple:{color:"{blue.500}"}},success:{background:"color-mix(in srgb, {green.500}, transparent 84%)",borderColor:"color-mix(in srgb, {green.700}, transparent 64%)",color:"{green.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{green.500}",shadow:"none"}},outlined:{color:"{green.500}",borderColor:"{green.500}"},simple:{color:"{green.500}"}},warn:{background:"color-mix(in srgb, {yellow.500}, transparent 84%)",borderColor:"color-mix(in srgb, {yellow.700}, transparent 64%)",color:"{yellow.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{yellow.500}",shadow:"none"}},outlined:{color:"{yellow.500}",borderColor:"{yellow.500}"},simple:{color:"{yellow.500}"}},error:{background:"color-mix(in srgb, {red.500}, transparent 84%)",borderColor:"color-mix(in srgb, {red.700}, transparent 64%)",color:"{red.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{red.500}",shadow:"none"}},outlined:{color:"{red.500}",borderColor:"{red.500}"},simple:{color:"{red.500}"}},secondary:{background:"{surface.800}",borderColor:"{surface.700}",color:"{surface.300}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.500}, transparent 96%)",closeButton:{hoverBackground:"{surface.700}",focusRing:{color:"{surface.300}",shadow:"none"}},outlined:{color:"{surface.400}",borderColor:"{surface.400}"},simple:{color:"{surface.400}"}},contrast:{background:"{surface.0}",borderColor:"{surface.100}",color:"{surface.950}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)",closeButton:{hoverBackground:"{surface.100}",focusRing:{color:"{surface.950}",shadow:"none"}},outlined:{color:"{surface.0}",borderColor:"{surface.0}"},simple:{color:"{surface.0}"}}}},I3e={root:v3e,content:b3e,text:C3e,icon:S3e,closeButton:x3e,closeIcon:w3e,outlined:M3e,simple:D3e,colorScheme:k3e},A3e={borderRadius:"{content.border.radius}",gap:"1rem"},R3e={background:"{content.border.color}",size:"0.5rem"},T3e={gap:"0.5rem"},L3e={size:"0.5rem"},E3e={size:"1rem"},P3e={verticalGap:"0.5rem",horizontalGap:"1rem"},N3e={root:A3e,meters:R3e,label:T3e,labelMarker:L3e,labelIcon:E3e,labelList:P3e},O3e={background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"}},F3e={width:"2.5rem",color:"{form.field.icon.color}"},B3e={background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},G3e={padding:"{list.padding}",gap:"{list.gap}",header:{padding:"{list.header.padding}"}},z3e={focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusBackground:"{list.option.selected.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",selectedColor:"{list.option.selected.color}",selectedFocusColor:"{list.option.selected.focus.color}",padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}",gap:"0.5rem"},_3e={background:"{list.option.group.background}",color:"{list.option.group.color}",fontWeight:"{list.option.group.font.weight}",padding:"{list.option.group.padding}"},V3e={color:"{form.field.icon.color}"},H3e={borderRadius:"{border.radius.sm}"},W3e={padding:"{list.option.padding}"},j3e={root:O3e,dropdown:F3e,overlay:B3e,list:G3e,option:z3e,optionGroup:_3e,chip:H3e,clearIcon:V3e,emptyMessage:W3e},$3e={gap:"1.125rem"},U3e={gap:"0.5rem"},K3e={root:$3e,controls:U3e},Y3e={gutter:"0.75rem",transitionDuration:"{transition.duration}"},X3e={background:"{content.background}",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",borderColor:"{content.border.color}",color:"{content.color}",selectedColor:"{highlight.color}",hoverColor:"{content.hover.color}",padding:"0.75rem 1rem",toggleablePadding:"0.75rem 1rem 1.25rem 1rem",borderRadius:"{content.border.radius}"},Z3e={background:"{content.background}",hoverBackground:"{content.hover.background}",borderColor:"{content.border.color}",color:"{text.muted.color}",hoverColor:"{text.color}",size:"1.5rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},q3e={color:"{content.border.color}",borderRadius:"{content.border.radius}",height:"24px"},Q3e={root:Y3e,node:X3e,nodeToggleButton:Z3e,connector:q3e},J3e={outline:{width:"2px",color:"{content.background}"}},e5e={root:J3e},t5e={padding:"0.5rem 1rem",gap:"0.25rem",borderRadius:"{content.border.radius}",background:"{content.background}",color:"{content.color}",transitionDuration:"{transition.duration}"},i5e={background:"transparent",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",selectedColor:"{highlight.color}",width:"2.5rem",height:"2.5rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},o5e={color:"{text.muted.color}"},s5e={maxWidth:"2.5rem"},n5e={root:t5e,navButton:i5e,currentPageReport:o5e,jumpToPageInput:s5e},r5e={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}"},a5e={background:"transparent",color:"{text.color}",padding:"1.125rem",borderColor:"{content.border.color}",borderWidth:"0",borderRadius:"0"},l5e={padding:"0.375rem 1.125rem"},c5e={fontWeight:"600"},d5e={padding:"0 1.125rem 1.125rem 1.125rem"},u5e={padding:"0 1.125rem 1.125rem 1.125rem"},h5e={root:r5e,header:a5e,toggleableHeader:l5e,title:c5e,content:d5e,footer:u5e},p5e={gap:"0.5rem",transitionDuration:"{transition.duration}"},g5e={background:"{content.background}",borderColor:"{content.border.color}",borderWidth:"1px",color:"{content.color}",padding:"0.25rem 0.25rem",borderRadius:"{content.border.radius}",first:{borderWidth:"1px",topBorderRadius:"{content.border.radius}"},last:{borderWidth:"1px",bottomBorderRadius:"{content.border.radius}"}},f5e={focusBackground:"{navigation.item.focus.background}",color:"{navigation.item.color}",focusColor:"{navigation.item.focus.color}",gap:"0.5rem",padding:"{navigation.item.padding}",borderRadius:"{content.border.radius}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}"}},m5e={indent:"1rem"},y5e={color:"{navigation.submenu.icon.color}",focusColor:"{navigation.submenu.icon.focus.color}"},v5e={root:p5e,panel:g5e,item:f5e,submenu:m5e,submenuIcon:y5e},b5e={background:"{content.border.color}",borderRadius:"{content.border.radius}",height:".75rem"},C5e={color:"{form.field.icon.color}"},S5e={background:"{overlay.popover.background}",borderColor:"{overlay.popover.border.color}",borderRadius:"{overlay.popover.border.radius}",color:"{overlay.popover.color}",padding:"{overlay.popover.padding}",shadow:"{overlay.popover.shadow}"},x5e={gap:"0.5rem"},w5e={light:{strength:{weakBackground:"{red.500}",mediumBackground:"{amber.500}",strongBackground:"{green.500}"}},dark:{strength:{weakBackground:"{red.400}",mediumBackground:"{amber.400}",strongBackground:"{green.400}"}}},M5e={meter:b5e,icon:C5e,overlay:S5e,content:x5e,colorScheme:w5e},D5e={gap:"1.125rem"},k5e={gap:"0.5rem"},I5e={root:D5e,controls:k5e},A5e={background:"{overlay.popover.background}",borderColor:"{overlay.popover.border.color}",color:"{overlay.popover.color}",borderRadius:"{overlay.popover.border.radius}",shadow:"{overlay.popover.shadow}",gutter:"10px",arrowOffset:"1.25rem"},R5e={padding:"{overlay.popover.padding}"},T5e={root:A5e,content:R5e},L5e={background:"{content.border.color}",borderRadius:"{content.border.radius}",height:"1.25rem"},E5e={background:"{primary.color}"},P5e={color:"{primary.contrast.color}",fontSize:"0.75rem",fontWeight:"600"},N5e={root:L5e,value:E5e,label:P5e},O5e={light:{root:{colorOne:"{red.500}",colorTwo:"{blue.500}",colorThree:"{green.500}",colorFour:"{yellow.500}"}},dark:{root:{colorOne:"{red.400}",colorTwo:"{blue.400}",colorThree:"{green.400}",colorFour:"{yellow.400}"}}},F5e={colorScheme:O5e},B5e={width:"1.25rem",height:"1.25rem",background:"{form.field.background}",checkedBackground:"{primary.color}",checkedHoverBackground:"{primary.hover.color}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.border.color}",checkedBorderColor:"{primary.color}",checkedHoverBorderColor:"{primary.hover.color}",checkedFocusBorderColor:"{primary.color}",checkedDisabledBorderColor:"{form.field.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",shadow:"{form.field.shadow}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{width:"1rem",height:"1rem"},lg:{width:"1.5rem",height:"1.5rem"}},G5e={size:"0.75rem",checkedColor:"{primary.contrast.color}",checkedHoverColor:"{primary.contrast.color}",disabledColor:"{form.field.disabled.color}",sm:{size:"0.5rem"},lg:{size:"1rem"}},z5e={root:B5e,icon:G5e},_5e={gap:"0.25rem",transitionDuration:"{transition.duration}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},V5e={size:"1rem",color:"{text.muted.color}",hoverColor:"{primary.color}",activeColor:"{primary.color}"},H5e={root:_5e,icon:V5e},W5e={light:{root:{background:"rgba(0,0,0,0.1)"}},dark:{root:{background:"rgba(255,255,255,0.3)"}}},j5e={colorScheme:W5e},$5e={transitionDuration:"{transition.duration}"},U5e={size:"9px",borderRadius:"{border.radius.sm}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},K5e={light:{bar:{background:"{surface.100}"}},dark:{bar:{background:"{surface.800}"}}},Y5e={root:$5e,bar:U5e,colorScheme:K5e},X5e={background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"}},Z5e={width:"2.5rem",color:"{form.field.icon.color}"},q5e={background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},Q5e={padding:"{list.padding}",gap:"{list.gap}",header:{padding:"{list.header.padding}"}},J5e={focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusBackground:"{list.option.selected.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",selectedColor:"{list.option.selected.color}",selectedFocusColor:"{list.option.selected.focus.color}",padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}"},eGe={background:"{list.option.group.background}",color:"{list.option.group.color}",fontWeight:"{list.option.group.font.weight}",padding:"{list.option.group.padding}"},tGe={color:"{form.field.icon.color}"},iGe={color:"{list.option.color}",gutterStart:"-0.375rem",gutterEnd:"0.375rem"},oGe={padding:"{list.option.padding}"},sGe={root:X5e,dropdown:Z5e,overlay:q5e,list:Q5e,option:J5e,optionGroup:eGe,clearIcon:tGe,checkmark:iGe,emptyMessage:oGe},nGe={borderRadius:"{form.field.border.radius}"},rGe={light:{root:{invalidBorderColor:"{form.field.invalid.border.color}"}},dark:{root:{invalidBorderColor:"{form.field.invalid.border.color}"}}},aGe={root:nGe,colorScheme:rGe},lGe={borderRadius:"{content.border.radius}"},cGe={light:{root:{background:"{surface.200}",animationBackground:"rgba(255,255,255,0.4)"}},dark:{root:{background:"rgba(255, 255, 255, 0.06)",animationBackground:"rgba(255, 255, 255, 0.04)"}}},dGe={root:lGe,colorScheme:cGe},uGe={transitionDuration:"{transition.duration}"},hGe={background:"{content.border.color}",borderRadius:"{content.border.radius}",size:"3px"},pGe={background:"{primary.color}"},gGe={width:"20px",height:"20px",borderRadius:"50%",background:"{content.border.color}",hoverBackground:"{content.border.color}",content:{borderRadius:"50%",hoverBackground:"{content.background}",width:"16px",height:"16px",shadow:"0px 0.5px 0px 0px rgba(0, 0, 0, 0.08), 0px 1px 1px 0px rgba(0, 0, 0, 0.14)"},focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},fGe={light:{handle:{content:{background:"{surface.0}"}}},dark:{handle:{content:{background:"{surface.950}"}}}},mGe={root:uGe,track:hGe,range:pGe,handle:gGe,colorScheme:fGe},yGe={gap:"0.5rem",transitionDuration:"{transition.duration}"},vGe={root:yGe},bGe={borderRadius:"{form.field.border.radius}",roundedBorderRadius:"2rem",raisedShadow:"0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12)"},CGe={root:bGe},SGe={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",transitionDuration:"{transition.duration}"},xGe={background:"{content.border.color}"},wGe={size:"24px",background:"transparent",borderRadius:"{content.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},MGe={root:SGe,gutter:xGe,handle:wGe},DGe={transitionDuration:"{transition.duration}"},kGe={background:"{content.border.color}",activeBackground:"{primary.color}",margin:"0 0 0 1.625rem",size:"2px"},IGe={padding:"0.5rem",gap:"1rem"},AGe={padding:"0",borderRadius:"{content.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},gap:"0.5rem"},RGe={color:"{text.muted.color}",activeColor:"{primary.color}",fontWeight:"500"},TGe={background:"{content.background}",activeBackground:"{content.background}",borderColor:"{content.border.color}",activeBorderColor:"{content.border.color}",color:"{text.muted.color}",activeColor:"{primary.color}",size:"2rem",fontSize:"1.143rem",fontWeight:"500",borderRadius:"50%",shadow:"0px 0.5px 0px 0px rgba(0, 0, 0, 0.06), 0px 1px 1px 0px rgba(0, 0, 0, 0.12)"},LGe={padding:"0.875rem 0.5rem 1.125rem 0.5rem"},EGe={background:"{content.background}",color:"{content.color}",padding:"0",indent:"1rem"},PGe={root:DGe,separator:kGe,step:IGe,stepHeader:AGe,stepTitle:RGe,stepNumber:TGe,steppanels:LGe,steppanel:EGe},NGe={transitionDuration:"{transition.duration}"},OGe={background:"{content.border.color}"},FGe={borderRadius:"{content.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},gap:"0.5rem"},BGe={color:"{text.muted.color}",activeColor:"{primary.color}",fontWeight:"500"},GGe={background:"{content.background}",activeBackground:"{content.background}",borderColor:"{content.border.color}",activeBorderColor:"{content.border.color}",color:"{text.muted.color}",activeColor:"{primary.color}",size:"2rem",fontSize:"1.143rem",fontWeight:"500",borderRadius:"50%",shadow:"0px 0.5px 0px 0px rgba(0, 0, 0, 0.06), 0px 1px 1px 0px rgba(0, 0, 0, 0.12)"},zGe={root:NGe,separator:OGe,itemLink:FGe,itemLabel:BGe,itemNumber:GGe},_Ge={transitionDuration:"{transition.duration}"},VGe={borderWidth:"0 0 1px 0",background:"{content.background}",borderColor:"{content.border.color}"},HGe={background:"transparent",hoverBackground:"transparent",activeBackground:"transparent",borderWidth:"0 0 1px 0",borderColor:"{content.border.color}",hoverBorderColor:"{content.border.color}",activeBorderColor:"{primary.color}",color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{primary.color}",padding:"1rem 1.125rem",fontWeight:"600",margin:"0 0 -1px 0",gap:"0.5rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},WGe={color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{primary.color}"},jGe={height:"1px",bottom:"-1px",background:"{primary.color}"},$Ge={root:_Ge,tablist:VGe,item:HGe,itemIcon:WGe,activeBar:jGe},UGe={transitionDuration:"{transition.duration}"},KGe={borderWidth:"0 0 1px 0",background:"{content.background}",borderColor:"{content.border.color}"},YGe={background:"transparent",hoverBackground:"transparent",activeBackground:"transparent",borderWidth:"0 0 1px 0",borderColor:"{content.border.color}",hoverBorderColor:"{content.border.color}",activeBorderColor:"{primary.color}",color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{primary.color}",padding:"1rem 1.125rem",fontWeight:"600",margin:"0 0 -1px 0",gap:"0.5rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"}},XGe={background:"{content.background}",color:"{content.color}",padding:"0.875rem 1.125rem 1.125rem 1.125rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"inset {focus.ring.shadow}"}},ZGe={background:"{content.background}",color:"{text.muted.color}",hoverColor:"{text.color}",width:"2.5rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"}},qGe={height:"1px",bottom:"-1px",background:"{primary.color}"},QGe={light:{navButton:{shadow:"0px 0px 10px 50px rgba(255, 255, 255, 0.6)"}},dark:{navButton:{shadow:"0px 0px 10px 50px color-mix(in srgb, {content.background}, transparent 50%)"}}},JGe={root:UGe,tablist:KGe,tab:YGe,tabpanel:XGe,navButton:ZGe,activeBar:qGe,colorScheme:QGe},eze={transitionDuration:"{transition.duration}"},tze={background:"{content.background}",borderColor:"{content.border.color}"},ize={borderColor:"{content.border.color}",activeBorderColor:"{primary.color}",color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{primary.color}"},oze={background:"{content.background}",color:"{content.color}"},sze={background:"{content.background}",color:"{text.muted.color}",hoverColor:"{text.color}"},nze={light:{navButton:{shadow:"0px 0px 10px 50px rgba(255, 255, 255, 0.6)"}},dark:{navButton:{shadow:"0px 0px 10px 50px color-mix(in srgb, {content.background}, transparent 50%)"}}},rze={root:eze,tabList:tze,tab:ize,tabPanel:oze,navButton:sze,colorScheme:nze},aze={fontSize:"0.875rem",fontWeight:"700",padding:"0.25rem 0.5rem",gap:"0.25rem",borderRadius:"{content.border.radius}",roundedBorderRadius:"{border.radius.xl}"},lze={size:"0.75rem"},cze={light:{primary:{background:"{primary.100}",color:"{primary.700}"},secondary:{background:"{surface.100}",color:"{surface.600}"},success:{background:"{green.100}",color:"{green.700}"},info:{background:"{sky.100}",color:"{sky.700}"},warn:{background:"{orange.100}",color:"{orange.700}"},danger:{background:"{red.100}",color:"{red.700}"},contrast:{background:"{surface.950}",color:"{surface.0}"}},dark:{primary:{background:"color-mix(in srgb, {primary.500}, transparent 84%)",color:"{primary.300}"},secondary:{background:"{surface.800}",color:"{surface.300}"},success:{background:"color-mix(in srgb, {green.500}, transparent 84%)",color:"{green.300}"},info:{background:"color-mix(in srgb, {sky.500}, transparent 84%)",color:"{sky.300}"},warn:{background:"color-mix(in srgb, {orange.500}, transparent 84%)",color:"{orange.300}"},danger:{background:"color-mix(in srgb, {red.500}, transparent 84%)",color:"{red.300}"},contrast:{background:"{surface.0}",color:"{surface.950}"}}},dze={root:aze,icon:lze,colorScheme:cze},uze={background:"{form.field.background}",borderColor:"{form.field.border.color}",color:"{form.field.color}",height:"18rem",padding:"{form.field.padding.y} {form.field.padding.x}",borderRadius:"{form.field.border.radius}"},hze={gap:"0.25rem"},pze={margin:"2px 0"},gze={root:uze,prompt:hze,commandResponse:pze},fze={background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"}},mze={root:fze},yze={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}",shadow:"{overlay.navigation.shadow}",transitionDuration:"{transition.duration}"},vze={padding:"{navigation.list.padding}",gap:"{navigation.list.gap}"},bze={focusBackground:"{navigation.item.focus.background}",activeBackground:"{navigation.item.active.background}",color:"{navigation.item.color}",focusColor:"{navigation.item.focus.color}",activeColor:"{navigation.item.active.color}",padding:"{navigation.item.padding}",borderRadius:"{navigation.item.border.radius}",gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}",activeColor:"{navigation.item.icon.active.color}"}},Cze={mobileIndent:"1rem"},Sze={size:"{navigation.submenu.icon.size}",color:"{navigation.submenu.icon.color}",focusColor:"{navigation.submenu.icon.focus.color}",activeColor:"{navigation.submenu.icon.active.color}"},xze={borderColor:"{content.border.color}"},wze={root:yze,list:vze,item:bze,submenu:Cze,submenuIcon:Sze,separator:xze},Mze={minHeight:"5rem"},Dze={eventContent:{padding:"1rem 0"}},kze={eventContent:{padding:"0 1rem"}},Ize={size:"1.125rem",borderRadius:"50%",borderWidth:"2px",background:"{content.background}",borderColor:"{content.border.color}",content:{borderRadius:"50%",size:"0.375rem",background:"{primary.color}",insetShadow:"0px 0.5px 0px 0px rgba(0, 0, 0, 0.06), 0px 1px 1px 0px rgba(0, 0, 0, 0.12)"}},Aze={color:"{content.border.color}",size:"2px"},Rze={event:Mze,horizontal:Dze,vertical:kze,eventMarker:Ize,eventConnector:Aze},Tze={width:"25rem",borderRadius:"{content.border.radius}",borderWidth:"1px",transitionDuration:"{transition.duration}"},Lze={size:"1.125rem"},Eze={padding:"{overlay.popover.padding}",gap:"0.5rem"},Pze={gap:"0.5rem"},Nze={fontWeight:"500",fontSize:"1rem"},Oze={fontWeight:"500",fontSize:"0.875rem"},Fze={width:"1.75rem",height:"1.75rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",offset:"{focus.ring.offset}"}},Bze={size:"1rem"},Gze={light:{root:{blur:"1.5px"},info:{background:"color-mix(in srgb, {blue.50}, transparent 5%)",borderColor:"{blue.200}",color:"{blue.600}",detailColor:"{surface.700}",shadow:"0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)",closeButton:{hoverBackground:"{blue.100}",focusRing:{color:"{blue.600}",shadow:"none"}}},success:{background:"color-mix(in srgb, {green.50}, transparent 5%)",borderColor:"{green.200}",color:"{green.600}",detailColor:"{surface.700}",shadow:"0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)",closeButton:{hoverBackground:"{green.100}",focusRing:{color:"{green.600}",shadow:"none"}}},warn:{background:"color-mix(in srgb,{yellow.50}, transparent 5%)",borderColor:"{yellow.200}",color:"{yellow.600}",detailColor:"{surface.700}",shadow:"0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)",closeButton:{hoverBackground:"{yellow.100}",focusRing:{color:"{yellow.600}",shadow:"none"}}},error:{background:"color-mix(in srgb, {red.50}, transparent 5%)",borderColor:"{red.200}",color:"{red.600}",detailColor:"{surface.700}",shadow:"0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)",closeButton:{hoverBackground:"{red.100}",focusRing:{color:"{red.600}",shadow:"none"}}},secondary:{background:"{surface.100}",borderColor:"{surface.200}",color:"{surface.600}",detailColor:"{surface.700}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.500}, transparent 96%)",closeButton:{hoverBackground:"{surface.200}",focusRing:{color:"{surface.600}",shadow:"none"}}},contrast:{background:"{surface.900}",borderColor:"{surface.950}",color:"{surface.50}",detailColor:"{surface.0}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)",closeButton:{hoverBackground:"{surface.800}",focusRing:{color:"{surface.50}",shadow:"none"}}}},dark:{root:{blur:"10px"},info:{background:"color-mix(in srgb, {blue.500}, transparent 84%)",borderColor:"color-mix(in srgb, {blue.700}, transparent 64%)",color:"{blue.500}",detailColor:"{surface.0}",shadow:"0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{blue.500}",shadow:"none"}}},success:{background:"color-mix(in srgb, {green.500}, transparent 84%)",borderColor:"color-mix(in srgb, {green.700}, transparent 64%)",color:"{green.500}",detailColor:"{surface.0}",shadow:"0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{green.500}",shadow:"none"}}},warn:{background:"color-mix(in srgb, {yellow.500}, transparent 84%)",borderColor:"color-mix(in srgb, {yellow.700}, transparent 64%)",color:"{yellow.500}",detailColor:"{surface.0}",shadow:"0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{yellow.500}",shadow:"none"}}},error:{background:"color-mix(in srgb, {red.500}, transparent 84%)",borderColor:"color-mix(in srgb, {red.700}, transparent 64%)",color:"{red.500}",detailColor:"{surface.0}",shadow:"0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{red.500}",shadow:"none"}}},secondary:{background:"{surface.800}",borderColor:"{surface.700}",color:"{surface.300}",detailColor:"{surface.0}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.500}, transparent 96%)",closeButton:{hoverBackground:"{surface.700}",focusRing:{color:"{surface.300}",shadow:"none"}}},contrast:{background:"{surface.0}",borderColor:"{surface.100}",color:"{surface.950}",detailColor:"{surface.950}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)",closeButton:{hoverBackground:"{surface.100}",focusRing:{color:"{surface.950}",shadow:"none"}}}}},zze={root:Tze,icon:Lze,content:Eze,text:Pze,summary:Nze,detail:Oze,closeButton:Fze,closeIcon:Bze,colorScheme:Gze},_ze={padding:"0.25rem",borderRadius:"{content.border.radius}",gap:"0.5rem",fontWeight:"500",disabledBackground:"{form.field.disabled.background}",disabledBorderColor:"{form.field.disabled.background}",disabledColor:"{form.field.disabled.color}",invalidBorderColor:"{form.field.invalid.border.color}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",padding:"0.25rem"},lg:{fontSize:"{form.field.lg.font.size}",padding:"0.25rem"}},Vze={disabledColor:"{form.field.disabled.color}"},Hze={padding:"0.25rem 0.75rem",borderRadius:"{content.border.radius}",checkedShadow:"0px 1px 2px 0px rgba(0, 0, 0, 0.02), 0px 1px 2px 0px rgba(0, 0, 0, 0.04)",sm:{padding:"0.25rem 0.75rem"},lg:{padding:"0.25rem 0.75rem"}},Wze={light:{root:{background:"{surface.100}",checkedBackground:"{surface.100}",hoverBackground:"{surface.100}",borderColor:"{surface.100}",color:"{surface.500}",hoverColor:"{surface.700}",checkedColor:"{surface.900}",checkedBorderColor:"{surface.100}"},content:{checkedBackground:"{surface.0}"},icon:{color:"{surface.500}",hoverColor:"{surface.700}",checkedColor:"{surface.900}"}},dark:{root:{background:"{surface.950}",checkedBackground:"{surface.950}",hoverBackground:"{surface.950}",borderColor:"{surface.950}",color:"{surface.400}",hoverColor:"{surface.300}",checkedColor:"{surface.0}",checkedBorderColor:"{surface.950}"},content:{checkedBackground:"{surface.800}"},icon:{color:"{surface.400}",hoverColor:"{surface.300}",checkedColor:"{surface.0}"}}},jze={root:_ze,icon:Vze,content:Hze,colorScheme:Wze},$ze={width:"2.5rem",height:"1.5rem",borderRadius:"30px",gap:"0.25rem",shadow:"{form.field.shadow}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},borderWidth:"1px",borderColor:"transparent",hoverBorderColor:"transparent",checkedBorderColor:"transparent",checkedHoverBorderColor:"transparent",invalidBorderColor:"{form.field.invalid.border.color}",transitionDuration:"{form.field.transition.duration}",slideDuration:"0.2s"},Uze={borderRadius:"50%",size:"1rem"},Kze={light:{root:{background:"{surface.300}",disabledBackground:"{form.field.disabled.background}",hoverBackground:"{surface.400}",checkedBackground:"{primary.color}",checkedHoverBackground:"{primary.hover.color}"},handle:{background:"{surface.0}",disabledBackground:"{form.field.disabled.color}",hoverBackground:"{surface.0}",checkedBackground:"{surface.0}",checkedHoverBackground:"{surface.0}",color:"{text.muted.color}",hoverColor:"{text.color}",checkedColor:"{primary.color}",checkedHoverColor:"{primary.hover.color}"}},dark:{root:{background:"{surface.700}",disabledBackground:"{surface.600}",hoverBackground:"{surface.600}",checkedBackground:"{primary.color}",checkedHoverBackground:"{primary.hover.color}"},handle:{background:"{surface.400}",disabledBackground:"{surface.900}",hoverBackground:"{surface.300}",checkedBackground:"{surface.900}",checkedHoverBackground:"{surface.900}",color:"{surface.900}",hoverColor:"{surface.800}",checkedColor:"{primary.color}",checkedHoverColor:"{primary.hover.color}"}}},Yze={root:$ze,handle:Uze,colorScheme:Kze},Xze={background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",color:"{content.color}",gap:"0.5rem",padding:"0.75rem"},Zze={root:Xze},qze={maxWidth:"12.5rem",gutter:"0.25rem",shadow:"{overlay.popover.shadow}",padding:"0.5rem 0.75rem",borderRadius:"{overlay.popover.border.radius}"},Qze={light:{root:{background:"{surface.700}",color:"{surface.0}"}},dark:{root:{background:"{surface.700}",color:"{surface.0}"}}},Jze={root:qze,colorScheme:Qze},e_e={background:"{content.background}",color:"{content.color}",padding:"1rem",gap:"2px",indent:"1rem",transitionDuration:"{transition.duration}"},t_e={padding:"0.25rem 0.5rem",borderRadius:"{content.border.radius}",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",color:"{text.color}",hoverColor:"{text.hover.color}",selectedColor:"{highlight.color}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"},gap:"0.25rem"},i_e={color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",selectedColor:"{highlight.color}"},o_e={borderRadius:"50%",size:"1.75rem",hoverBackground:"{content.hover.background}",selectedHoverBackground:"{content.background}",color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",selectedHoverColor:"{primary.color}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},s_e={size:"2rem"},n_e={margin:"0 0 0.5rem 0"},r_e={root:e_e,node:t_e,nodeIcon:i_e,nodeToggleButton:o_e,loadingIcon:s_e,filter:n_e},a_e={background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"}},l_e={width:"2.5rem",color:"{form.field.icon.color}"},c_e={background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},d_e={padding:"{list.padding}"},u_e={padding:"{list.option.padding}"},h_e={borderRadius:"{border.radius.sm}"},p_e={color:"{form.field.icon.color}"},g_e={root:a_e,dropdown:l_e,overlay:c_e,tree:d_e,emptyMessage:u_e,chip:h_e,clearIcon:p_e},f_e={transitionDuration:"{transition.duration}"},m_e={background:"{content.background}",borderColor:"{treetable.border.color}",color:"{content.color}",borderWidth:"0 0 1px 0",padding:"0.75rem 1rem"},y_e={background:"{content.background}",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",borderColor:"{treetable.border.color}",color:"{content.color}",hoverColor:"{content.hover.color}",selectedColor:"{highlight.color}",gap:"0.5rem",padding:"0.75rem 1rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"}},v_e={fontWeight:"600"},b_e={background:"{content.background}",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",color:"{content.color}",hoverColor:"{content.hover.color}",selectedColor:"{highlight.color}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"}},C_e={borderColor:"{treetable.border.color}",padding:"0.75rem 1rem",gap:"0.5rem"},S_e={background:"{content.background}",borderColor:"{treetable.border.color}",color:"{content.color}",padding:"0.75rem 1rem"},x_e={fontWeight:"600"},w_e={background:"{content.background}",borderColor:"{treetable.border.color}",color:"{content.color}",borderWidth:"0 0 1px 0",padding:"0.75rem 1rem"},M_e={width:"0.5rem"},D_e={width:"1px",color:"{primary.color}"},k_e={color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",size:"0.875rem"},I_e={size:"2rem"},A_e={hoverBackground:"{content.hover.background}",selectedHoverBackground:"{content.background}",color:"{text.muted.color}",hoverColor:"{text.color}",selectedHoverColor:"{primary.color}",size:"1.75rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},R_e={borderColor:"{content.border.color}",borderWidth:"0 0 1px 0"},T_e={borderColor:"{content.border.color}",borderWidth:"0 0 1px 0"},L_e={light:{root:{borderColor:"{content.border.color}"},bodyCell:{selectedBorderColor:"{primary.100}"}},dark:{root:{borderColor:"{surface.800}"},bodyCell:{selectedBorderColor:"{primary.900}"}}},E_e={root:f_e,header:m_e,headerCell:y_e,columnTitle:v_e,row:b_e,bodyCell:C_e,footerCell:S_e,columnFooter:x_e,footer:w_e,columnResizer:M_e,resizeIndicator:D_e,sortIcon:k_e,loadingIcon:I_e,nodeToggleButton:A_e,paginatorTop:R_e,paginatorBottom:T_e,colorScheme:L_e},P_e={mask:{background:"{content.background}",color:"{text.muted.color}"},icon:{size:"2rem"}},N_e={loader:P_e},O_e=Object.defineProperty,F_e=Object.defineProperties,B_e=Object.getOwnPropertyDescriptors,cB=Object.getOwnPropertySymbols,G_e=Object.prototype.hasOwnProperty,z_e=Object.prototype.propertyIsEnumerable,dB=(e,t,i)=>t in e?O_e(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,uB;uB=((e,t)=>{for(var i in t||(t={}))G_e.call(t,i)&&dB(e,i,t[i]);if(cB)for(var i of cB(t))z_e.call(t,i)&&dB(e,i,t[i]);return e})({},JNe),F_e(uB,B_e({components:{accordion:INe,autocomplete:BNe,avatar:WNe,badge:ZNe,blockui:tOe,breadcrumb:nOe,button:lOe,card:gOe,carousel:COe,cascadeselect:IOe,checkbox:TOe,chip:FOe,colorpicker:VOe,confirmdialog:jOe,confirmpopup:XOe,contextmenu:iFe,datatable:xFe,dataview:RFe,datepicker:XFe,dialog:t4e,divider:r4e,dock:c4e,drawer:f4e,editor:S4e,fieldset:k4e,fileupload:N4e,floatlabel:z4e,galleria:eBe,iconfield:iBe,iftalabel:nBe,image:dBe,imagecompare:hBe,inlinemessage:yBe,inplace:CBe,inputchips:MBe,inputgroup:kBe,inputnumber:TBe,inputotp:PBe,inputtext:OBe,knob:_Be,listbox:YBe,megamenu:s3e,menu:d3e,menubar:y3e,message:I3e,metergroup:N3e,multiselect:j3e,orderlist:K3e,organizationchart:Q3e,overlaybadge:e5e,paginator:n5e,panel:h5e,panelmenu:v5e,password:M5e,picklist:I5e,popover:T5e,progressbar:N5e,progressspinner:F5e,radiobutton:z5e,rating:H5e,ripple:j5e,scrollpanel:Y5e,select:sGe,selectbutton:aGe,skeleton:dGe,slider:mGe,speeddial:vGe,splitbutton:CGe,splitter:MGe,stepper:PGe,steps:zGe,tabmenu:$Ge,tabs:JGe,tabview:rze,tag:dze,terminal:gze,textarea:mze,tieredmenu:wze,timeline:Rze,toast:zze,togglebutton:jze,toggleswitch:Yze,toolbar:Zze,tooltip:Jze,tree:r_e,treeselect:g_e,treetable:E_e,virtualscroller:N_e}}));const uW=Symbol("focusDataKey"),ow=()=>{const{focuses:e,focusType:t}=m.inject(uW,{focuses:m.ref([]),focusType:m.ref(null)}),i=r=>r?e.value.includes(r):!1,o=r=>{e.value=e.value.filter(a=>a!==r),e.value.length===0&&(t.value=null)};return{focuses:e,focusType:t,clearAllFocuses:()=>{e.value=[],t.value=null},handleFocusUpdate:(r,a)=>{if(a){if(t.value&&r!==t.value){e.value=[a],t.value=r;return}e.value.includes(a)?o(a):(e.value=[a],t.value=r)}},isFocused:i,removeFocus:o}},__e={class:"pv-flex",style:{"--flex-wrap":"nowrap"}},V_e=["id"],H_e={key:1,style:{"padding-left":"16px"}},W_e=["checked","disabled","onChange"],j_e={class:"pv-text-body-md"},$_e={key:2},U_e={key:0,class:"pv-text-subdued pv-text-body-xxs"},K_e=m.defineComponent({__name:"GroupBySelector",props:{rowGroupLimit:{},enableFocusView:{type:Boolean}},setup(e){const t=m.inject("gridApi"),i=m.inject("availableRowGroupColumns"),o=m.inject("rowGroupColumnFields"),s=e;m.watch(o,()=>{},{deep:!0});const n=v=>o.value.includes(v||""),{clearAllFocuses:r,focusType:a}=ow(),l=(v,y)=>{y?t.value.addRowGroupColumns([v]):t.value.removeRowGroupColumns([v]),s.enableFocusView&&a.value&&a.value!==o.value[0]&&r()},c=m.computed(()=>({"pv-hide":i.value.length===0})),d=m.computed(()=>s.rowGroupLimit?o.value.length>=s.rowGroupLimit:!1),u=m.computed(()=>o.value.map(v=>i.value.find(y=>y.field===v)).filter(v=>v!==void 0)),h=m.computed(()=>i.value.filter(v=>!o.value.includes(v.field))),p=m.computed(()=>{const v={label:"",value:"divider"},y=u.value.map(S=>({label:S.headerName,value:S.field})),C=h.value.map(S=>({label:S.headerName,value:S.field}));return[...y,v,...C]}),g=v=>`group-by-list-item-${v}`,f=v=>{const y=v.findIndex(x=>x==="divider"),S=v.slice(0,y).slice(0,s.rowGroupLimit).map(x=>x.replace("group-by-list-item-",""));t.value.setRowGroupColumns(S)};return(v,y)=>(m.openBlock(),m.createBlock(s2e,{isList:!0,isSortable:!0,popoverCssProperties:{width:"auto"},alignment:"right",class:m.normalizeClass(c.value),onListOrderUpdated:f},{trigger:m.withCtx(()=>[m.createElementVNode("div",__e,[y[0]||(y[0]=m.createElementVNode("p",{class:"pv-truncate pv-text-body-md"},"Compare",-1)),m.unref(o).length>0?(m.openBlock(),m.createBlock(m.unref(w0),{key:0,value:m.unref(o).length,variant:"tertiary"},null,8,["value"])):m.createCommentVNode("",!0)])]),default:m.withCtx(()=>[(m.openBlock(!0),m.createElementBlock(m.Fragment,null,m.renderList(p.value,(C,S)=>(m.openBlock(),m.createElementBlock(m.Fragment,{key:C.value},[C.value!=="divider"?(m.openBlock(),m.createElementBlock("li",{key:0,id:g(C.value)},[m.createElementVNode("label",{class:m.normalizeClass(["pv-flex",{"pv-border-bottom":S+1===m.unref(o).length}])},[n(C.value)?(m.openBlock(),m.createBlock(Wi,{key:0,name:"reorder",class:"pv-text-subdued"})):(m.openBlock(),m.createElementBlock("span",H_e)),m.createElementVNode("input",{type:"checkbox",class:"pv-checkbox",checked:n(C.value),disabled:!n(C.value)&&d.value,onChange:x=>l(C.value,x.target.checked)},null,40,W_e),m.createElementVNode("span",j_e,m.toDisplayString(C.label),1),n(C.value)?(m.openBlock(),m.createElementBlock("sup",$_e,m.toDisplayString(S+1),1)):m.createCommentVNode("",!0)],2)],8,V_e)):m.createCommentVNode("",!0)],64))),128)),d.value?(m.openBlock(),m.createElementBlock("p",U_e," Supports "+m.toDisplayString(v.rowGroupLimit)+" compare levels ",1)):m.createCommentVNode("",!0)]),_:1},8,["class"]))}}),Y_e={},X_e={class:"ag-custom-loading-cell pv-shimmer"};function Z_e(e,t){return m.openBlock(),m.createElementBlock("div",X_e)}const q_e=Ea(Y_e,[["render",Z_e]]),Q_e={key:0,class:"pv-table-group-cell"},J_e={class:"pv-text-body-xxs pv-text-subdued"},e8e={key:0},t8e={class:"pv-flex pv-space-between",style:{"line-height":"20px"}},i8e={class:"pv-text-title-md"},o8e={key:0,class:"pv-table-row-number"},s8e=m.defineComponent({__name:"GroupedCellRenderer",props:{params:{}},setup(e){const t=e,i=m.inject("rowGroupColumnFields"),o=m.inject("groupColumnCellValueColumn"),s=m.inject("expandedRows"),n=m.computed(()=>!t.params.displayBaseAggregationsOnly||a.value.level===i.value.length-1),r=m.computed(()=>t.params.rowNode.group),a=A7(t.params,"rowNode"),l=(p,g)=>p?p({value:g,data:a.value.data,node:a.value,api:t.params.api}):g,c=m.computed(()=>{if(!o.value)return"";const p=o.value.getColId()||"",g=o.value.getColDef().valueFormatter,f=a.value;return p&&f&&f.data&&p in f.data?l(g,f.data[p]):""}),d=m.computed(()=>a.value.data&&a.value.data.groupedRecordCount?a.value.data.groupedRecordCount||0:a.value.allChildrenCount||0),u=m.computed(()=>{const p=a.value.rowIndex,g=a.value.parent?.rowIndex;return p!=null&&g!=null?p-g:null}),h=p=>{const g=p.node.expanded,f=p.node.rowIndex;f!=null&&(s.value[f]=g)};return m.onMounted(()=>{const p=a.value,g=p.rowIndex,f=p.expanded;g!=null&&(s.value[g]=f),a.value.addEventListener("expandedChanged",h)}),m.onBeforeUnmount(()=>{const p=a.value;a.value.removeEventListener("expandedChanged",h);const g=p.rowIndex;g!=null&&(s.value[g]=!1)}),(p,g)=>(m.openBlock(),m.createElementBlock(m.Fragment,null,[r.value?(m.openBlock(),m.createElementBlock("div",Q_e,[m.createElementVNode("p",J_e,[m.createTextVNode(m.toDisplayString(m.unref(a).rowGroupColumn?.getColDef().headerName)+" ",1),p.params.displayCount&&n.value&&d.value>0?(m.openBlock(),m.createElementBlock("span",e8e," ("+m.toDisplayString(d.value.toLocaleString())+") ",1)):m.createCommentVNode("",!0)]),m.createElementVNode("div",t8e,[m.createElementVNode("p",i8e,m.toDisplayString(p.params.formattedValue||p.params.rowNode.key),1)])])):m.createCommentVNode("",!0),m.createElementVNode("div",null,[m.createElementVNode("p",null,[p.params.displayRowNumber&&u.value?(m.openBlock(),m.createElementBlock("span",o8e,m.toDisplayString(u.value),1)):m.createCommentVNode("",!0),m.createTextVNode(" "+m.toDisplayString(c.value),1)])])],64))}});function hB(e){const t=e.filter(o=>o!=null&&!isNaN(o)).sort((o,s)=>o-s),i=t.length;return i===0?null:t[Math.floor(i/2)]}var ws=(e=>(e.String="string",e.Number="number",e.Boolean="boolean",e.Date="date",e.Currency="currency",e.Formula="formula",e.Select="select",e.Percent="percent",e.Entity="entity",e.Id="id",e.Integer="integer",e.User="user",e.Link="link",e.Location="location",e.Status="status",e.Tag="tag",e.File="file",e.None="none",e))(ws||{});const n8e=e=>{switch(e){case"string":return"fonts";case"number":return"hash";case"boolean":return"list";case"date":return"calendar";case"currency":return"currency-dollar";case"formula":return"formula";case"select":return"list";case"percent":return"percent";case"entity":return"building";case"id":return"id-2";case"link":return"link";case"location":return"location";case"integer":return"hash";case"user":return"user";case"status":return"circle-chevron-down";case"tag":return"circle-chevron-down";case"file":return"file";case"none":return null;default:return null}},r8e=(e,t)=>{if(!e)return e;switch(t){case"percent":return e.replace(/^%+/,"").trim();default:return e}},a8e=e=>{if(!e)return!1;const t=e.context;if(t&&t.dataType){const i=t.dataType;return["number","integer","currency","percent"].includes(i)}return!1},l8e=(e,t)=>{if(!e)return!1;const i=e.context;return i&&i.dataType?i.dataType===t:!1},c8e=e=>{const t=["","K","M","B","T"],i=Math.abs(e);if(i<1e3)return{newValue:e.toString(),newSuffix:""};const o=Math.floor(Math.log10(i)/3),s=t[o]||`e${o*3}`;return{newValue:(e/Math.pow(10,o*3)).toFixed(0),newSuffix:s}},d8e={style:{"line-height":"20px"}},u8e={class:"pv-text-subdued pv-text-body-xxs pv-relative"},h8e=m.defineComponent({__name:"GroupAggCellRenderer",props:{params:{}},setup(e){const t=e,i=m.inject("expandedRows"),o=m.computed(()=>{const d=t.params.column?.getColDef()?.context;return d&&d.aggFuncDisplayName?d.aggFuncDisplayName:(t.params.column?.getAggFunc()||"agg").toLowerCase()}),s=()=>{const c=t.params.api;if(c){const d=!r.value;c.setRowNodeExpanded(t.params.node,d),n.value&&(i.value[n.value]=d)}},n=m.computed(()=>t.params.node?.rowIndex),r=m.computed(()=>{let c=!1;return n.value!=null&&(c=n.value in i.value?i.value[n.value]:!1),c}),a=m.computed(()=>r.value?"chevron-down":"chevron-right"),l=m.computed(()=>{const d=t.params.column?.getColDef()?.context,u=t.params.valueFormatted||t.params.value;return d&&d.dataType&&[ws.Currency,ws.Percent,ws.Number,ws.Integer].includes(d.dataType)?u.toLocaleString():u});return m.onMounted(()=>{t.params.node.expanded&&n.value&&(i.value[n.value]=!0)}),(c,d)=>(m.openBlock(),m.createElementBlock("div",{class:"pv-flex",ondblclick:s},[m.createElementVNode("div",d8e,[m.createElementVNode("p",null,m.toDisplayString(l.value),1),m.createElementVNode("p",u8e,m.toDisplayString(o.value),1)]),m.createVNode(es,{size:"xl",variant:"ghost","left-icon":a.value,onClick:s},null,8,["left-icon"])]))}}),gC=m.ref({}),hW=m.ref(null),p8e=m.ref(0),g8e=m.ref(0),ik=m.ref({}),_L=m.ref(void 0),VL=m.ref({}),sw=m.ref({}),HL=m.ref({}),pW=m.ref({}),f8e=()=>{const e={};return Object.entries(sw.value).forEach(([t,i])=>{const o=i.filter(s=>!!s);o.length>0&&(e[t]={filterType:"set",values:o})}),e},m8e=async(e,t,i,o)=>{const s=pW.value[t.field]||void 0,n=sw.value[t.field]||[];let r=o;hW.value!=null&&(r=f8e());const a={api:e,colDef:t,column:i,filterModel:r,query:s,selectedValues:n};ik.value[t.field]=!0;const l=n.map(u=>{const h=WL(t.field,u);return{value:h?.value||u,label:h?.label||u,isPreference:h?.isPreference||!1,isSelectable:h?.isSelectable||!0,metadata:h?.metadata||{}}}),c=await _L.value?.(a);l.forEach(u=>{c?.some(h=>h?.value===u?.value)||c?.push(u)}),t.field&&c&&(VL.value[t.field]=c);const d=c?.filter(u=>u!=null).map(u=>u.value)||[];return ik.value[t.field]=!1,d.filter((u,h)=>d.indexOf(u)===h)},WL=(e,t)=>{const i=[...VL.value[e]||[],...HL.value[e]||[]];return i?i.find(o=>o?.value===t):null},y8e=()=>_L.value!=null,v8e=(e,t)=>{sw.value[e]=t;const i=[];if(gC.value&&gC.value[e]?.values){const s=gC.value[e].values||[];i.push(...s)}i.push(...t);const o=[];return t.forEach(s=>{const n=WL(e,s);n&&o.push(n)}),HL.value[e]=o,i.filter((s,n)=>i.indexOf(s)===n)},b8e=e=>sw.value[e]||[],C8e=(e,t)=>{pW.value[e]=t},nw=()=>({filterModel:gC,filterModelUpdated:p8e,filterModelCleared:g8e,filterValuesLoadingStatus:ik,filterValueMap:VL,filterValueSelectedMetadataMap:HL,filterStoreHandler:_L,fetchFilterValues:m8e,filterValueContext:WL,getFilterSelectedValues:b8e,isServerSideFilter:y8e,stagedFilterModel:hW,setFilterSelectedValues:v8e,setFilterValueSearchText:C8e}),S8e={class:"pv-flex pv-full-width pv-space-between",style:{"max-height":"16px"}},x8e={key:0},w8e={key:1},M8e=m.defineComponent({__name:"FocusItemRenderer",props:{id:{},text:{},subText:{},secondaryText:{},icon:{},companyName:{},avatar:{},groupingLabel:{},disabled:{type:Boolean},renderer:{},rendererProps:{},classList:{}},emits:["focus-update"],setup(e){const t=e,{isFocused:i}=ow(),o=s=>{t.rendererProps?.onFocusUpdate&&t.rendererProps.onFocusUpdate(s)};return(s,n)=>(m.openBlock(),m.createElementBlock("div",S8e,[m.createElementVNode("span",null,m.toDisplayString(s.text),1),m.createVNode(k0,{variant:"dark",tooltipPosition:"top-right",size:"sm"},{label:m.withCtx(()=>[m.createVNode(es,{class:m.normalizeClass(["pv-space-between",m.unref(i)(s.id)?"":"focus-button"]),variant:"ghost","left-icon":"focus",onClick:n[0]||(n[0]=r=>o(s.id))},null,8,["class"])]),"tooltip-content":m.withCtx(()=>[m.unref(i)(s.id)?(m.openBlock(),m.createElementBlock("span",x8e," Remove Focus ")):(m.openBlock(),m.createElementBlock("span",w8e," Select as Focus "))]),_:1})]))}}),D8e={key:0,role:"list",class:"pv-flex pv-stack-4",style:{"--flex-wrap":"wrap"}},k8e={class:"pv-full-width pv-flex pv-space-between"},I8e={class:"pv-flex"},A8e={class:"pv-text-subdued pv-text-body-xxs"},R8e={key:0,class:"pv-full-width"},T8e={key:0,class:"pv-flex-inline"},L8e={role:"list",class:"pv-flex pv-stack-8",style:{"--flex-wrap":"wrap"}},E8e=4,P8e=m.defineComponent({__name:"SetFilter",props:{enableFocusView:{type:Boolean,default:!1},filterColDef:{},filterStyle:{default:"horizontal"},displayPreferencesIcon:{type:Boolean,default:!1}},emits:["filter-selection-changed","filter-closed","handle-settings-icon","focus-update"],setup(e,{emit:t}){const i=e,o=t,s=m.inject("gridApi"),n=m.inject("rowGroupColumnFields"),{filterModel:r,stagedFilterModel:a,filterModelCleared:l,filterModelUpdated:c,filterValuesLoadingStatus:d,filterValueContext:u,getFilterSelectedValues:h,isServerSideFilter:p,setFilterValueSearchText:g,setFilterSelectedValues:f}=nw(),{focuses:v,handleFocusUpdate:y,isFocused:C,removeFocus:S}=ow(),x=m.inject("firstDataRendered"),D=m.ref([]),A=m.ref([]),k=m.computed(()=>i.filterColDef.field||""),w=m.computed(()=>i.filterColDef.headerName||""),M=m.ref(!1),R=m.computed(()=>i.filterStyle=="vertical"),L=m.computed(()=>{const Y=i.filterColDef.context;return Y&&Y.filterValueFormatter&&typeof Y.filterValueFormatter=="function"?Y.filterValueFormatter:typeof i.filterColDef.valueFormatter=="function"?i.filterColDef.valueFormatter:null}),P=m.ref(""),N=m.ref(0),O=async()=>{F(),await z().then(()=>{M.value=!1})},F=()=>{const Y=[];if(r.value&&r.value[k.value]?.values){const $=r.value[k.value].values||[];Y.push(...$)}D.value=Array.from(new Set([...h(k.value),...Y]))},z=async(Y=!1,$=!1)=>{const Q=await s.value.getColumnFilterInstance(k.value);p()&&($||Y&&d.value[k.value]!==!0&&c.value>N.value)&&(Q.refreshFilterValues(),N.value=c.value),A.value=_(Q.getFilterValues())},_=Y=>Y.sort(($,Q)=>{const ae=D.value.includes($),ye=D.value.includes(Q);return ae&&!ye?-1:!ae&&ye?1:0}),V=Y=>{const $=u(k.value,Y);return L.value?L.value({value:Y,context:$}):Y},G=m.computed(()=>{const Y=i.filterColDef.context;return Y&&Y.filterSelectMax?Y.filterSelectMax:null}),H=m.computed(()=>{const Y=i.filterColDef.context;return Y&&Y.filterSelectMin?Y.filterSelectMin===1&&G.value===1:!1}),B=m.computed(()=>{const Y=i.filterColDef.context;return Y&&Y.filterOptionsSortDescription?Y.filterOptionsSortDescription:null}),W=m.computed(()=>{const Y=i.filterColDef.context;return Y&&Y.filterOptionsSortTooltip?Y.filterOptionsSortTooltip:null}),j=m.computed(()=>{const Y=i.filterColDef.context;return Y&&Y.filterSearch?Y.filterSearch:!0}),U=m.computed(()=>{const Y=i.filterColDef.context;if(Y&&Y.emptyFilterResultsRenderer)return Y.emptyFilterResultsRenderer}),ee=m.computed(()=>{const Y=i.filterColDef.context;if(Y&&Y.filterOptionsRenderer)return Y.filterOptionsRenderer}),q=m.computed(()=>{const Y=i.filterColDef.context;if(Y&&Y.filterFooterRenderer)return Y.filterFooterRenderer}),te=m.computed(()=>G.value?D.value.length>=G.value:!1),se=m.computed(()=>A.value.filter(Y=>!D.value.includes(Y))),Z=m.computed(()=>A.value.length===1&&A.value[0]===null&&D.value.length===0),ie=Y=>n.value[0]===Y&&i.enableFocusView,X=Y=>Z.value||u(k.value,Y)?.isSelectable===!1?!0:H.value?!1:te.value&&!D.value.includes(Y),ne=m.computed(()=>A.value.filter(($,Q)=>A.value.indexOf($)===Q).filter($=>$!=null&&$!=="").map($=>{let Q=B.value?"suggestions":null;return u(k.value,$)?.isPreference&&(Q="preferences"),{id:$,text:V($),groupingLabel:Q,disabled:X($),renderer:ie(k.value)?M8e:ee.value,rendererProps:{onFocusUpdate:Me},classList:["option-label"]}})),re=m.computed({get:()=>D.value.map(Y=>({id:Y,text:V(Y)})),set:Y=>{D.value=Y.map($=>$.id),me(),v.value.forEach($=>{D.value.includes($)||S($)}),o("filter-selection-changed")}});m.watch(()=>d.value[k.value],()=>{const Y=d.value[k.value];M.value&&!Y?(z(),M.value=!1):Y&&(M.value=!0)},{deep:!0}),m.watch(()=>r.value,()=>{c.value+=1,F()}),m.watch(()=>a.value,()=>{R.value&&(D.value=a.value?.[k.value]?.values||[])}),m.watch(()=>l.value,()=>{D.value=[]}),m.watch(()=>x.value,()=>{F()}),m.watch(()=>D.value,Y=>{f(k.value,Y)}),mEe(()=>P.value,async Y=>{g(k.value,Y),await z(!0,!0)},{debounce:300});const ue=Y=>{Y&&H.value?D.value=[Y]:Y&&!D.value.includes(Y)&&(D.value=[...D.value,Y]),me(),o("filter-selection-changed")},le=Y=>{D.value=D.value.filter($=>$!==Y),me(),o("filter-selection-changed"),C(Y)&&S(Y)},me=()=>{const Y=D.value.length>0?D.value:null;if(R.value){a.value={...a.value,[k.value]:{values:Y}},c.value+=1;return}s.value.setColumnFilterModel(k.value,{values:Y}).then(()=>{s.value.onFilterChanged()})},Me=Y=>{y(k.value,Y),Y&&!D.value.includes(Y)&&ue(Y),o("focus-update",{focuses:v.value,filterField:k.value||null})},pe=()=>{o("filter-closed")};return m.onMounted(()=>{O()}),(Y,$)=>(m.openBlock(),m.createElementBlock(m.Fragment,null,[m.createElementVNode("div",null,[R.value?(m.openBlock(),m.createElementBlock("ul",D8e,[(m.openBlock(!0),m.createElementBlock(m.Fragment,null,m.renderList(D.value,Q=>(m.openBlock(),m.createElementBlock("li",{key:`${w.value}-${Q}`},[m.createVNode(h2e,{label:V(Q)||"",showClear:!0,onHandleClose:ae=>le(Q)},null,8,["label","onHandleClose"])]))),128))])):m.createCommentVNode("",!0),m.createVNode(m.unref(uNe),{modelValue:re.value,"onUpdate:modelValue":$[1]||($[1]=Q=>re.value=Q),searchInput:P.value,"onUpdate:searchInput":$[2]||($[2]=Q=>P.value=Q),label:R.value?"":w.value,icon:R.value?"add-circle":void 0,variant:R.value?"ghost":"secondary",counterPosition:!R.value&&D.value.length>0?void 0:"none",showClear:!R.value,showSearchInput:j.value,showDropdown:!R.value,overlayTrigger:R.value,options:ne.value,popoverCssProperties:{maxHeight:"400px",maxWidth:R.value?"300px":"400px",overflowX:"auto",width:"auto"},groupings:["preferences","suggestions"],isLoading:M.value,onDropdownOpen:$[3]||($[3]=Q=>z(!0)),onDropdownClosed:pe},m.createSlots({preferences:m.withCtx(()=>[m.createElementVNode("div",k8e,[$[5]||($[5]=m.createElementVNode("p",{class:"pv-text-subdued pv-text-body-xxs"},"Your Preferences",-1)),m.createVNode(m.unref(k0),{variant:"dark",size:"sm"},{label:m.withCtx(()=>[m.createVNode(es,{size:"md",variant:"ghost",onClick:$[0]||($[0]=Q=>Y.$emit("handle-settings-icon",w.value)),"right-icon":"sliders-horizontal"})]),"tooltip-content":m.withCtx(()=>$[4]||($[4]=[m.createTextVNode(" Open Preferences ")])),_:1})])]),suggestions:m.withCtx(()=>[m.createVNode(m.unref(k0),{variant:"dark",interactive:!1,"tooltip-position":"top-left",size:"sm"},m.createSlots({label:m.withCtx(()=>[m.createElementVNode("div",I8e,[m.createVNode(Wi,{name:"ai",size:12}),m.createElementVNode("p",A8e,m.toDisplayString(B.value),1)])]),_:2},[W.value?{name:"tooltip-content",fn:m.withCtx(()=>[m.createTextVNode(m.toDisplayString(W.value),1)]),key:"0"}:void 0]),1024)]),_:2},[U.value?{name:"no-results",fn:m.withCtx(Q=>[(m.openBlock(),m.createBlock(m.resolveDynamicComponent(U.value),m.normalizeProps(m.guardReactiveProps(Q)),null,16))]),key:"0"}:void 0,q.value?{name:"footer",fn:m.withCtx(Q=>[(m.openBlock(),m.createBlock(m.resolveDynamicComponent(q.value),m.normalizeProps(m.guardReactiveProps(Q)),null,16))]),key:"1"}:void 0]),1032,["modelValue","searchInput","label","icon","variant","counterPosition","showClear","showSearchInput","showDropdown","overlayTrigger","options","popoverCssProperties","isLoading"])]),R.value?(m.openBlock(),m.createElementBlock("div",R8e,[se.value.length>0?(m.openBlock(),m.createElementBlock("div",T8e,[m.createElementVNode("ul",L8e,[$[6]||($[6]=m.createElementVNode("li",null,[m.createElementVNode("p",{class:"pv-text-subdued pv-text-body-md"},"Suggested:")],-1)),(m.openBlock(!0),m.createElementBlock(m.Fragment,null,m.renderList(se.value.filter(Q=>Q!==""&&Q!=null).slice(0,E8e),Q=>(m.openBlock(),m.createElementBlock("li",{key:`${w.value}-${Q}-suggest`},[m.createVNode(m.unref(L2e),{label:V(Q)||"",onHandleClick:ae=>ue(Q)},null,8,["label","onHandleClick"])]))),128))])])):m.createCommentVNode("",!0)])):m.createCommentVNode("",!0)],64))}}),pB=Ea(P8e,[["__scopeId","data-v-58806f9e"]]),N8e={class:"pv-flex"},O8e={class:"pv-flex"},F8e={id:"filter-vertical-drawer",class:"pv-flex-vertical pv-space-between pv-full-width",style:{height:"100%","overflow-x":"hidden"}},B8e={class:"pv-flex-vertical pv-full-width"},G8e={class:"pv-flex pv-inset-squish pv-full-width pv-space-between"},z8e={class:"pv-text-title-lg"},_8e={class:"pv-full-width pv-inset-inline-24"},V8e={class:"pv-details",open:""},H8e={class:"pv-flex",style:{width:"fit-content"}},W8e={class:"pv-text-title-lg"},j8e={class:"pv-inset-block-8"},$8e={class:"pv-sticky pv-border-top pv-full-width pv-inset-squish pv-flex pv-space-between pv-surface",style:{"--top":"unset",bottom:"0"}},U8e={class:"pv-flex"},K8e={class:"pv-flex",style:{"--flex-justify":"end","--flex-gap":"8px","margin-top":"auto"}},gB=5,Y8e=m.defineComponent({__name:"FilterPanel",props:{enableFocusView:{type:Boolean,default:!1},enableVerticalPanel:{type:Boolean,default:!0},displayPreferencesIcon:{type:Boolean,default:!1}},emits:["handle-settings-icon","focus-update"],setup(e){const t=m.inject("gridApi"),i=m.inject("availableFilterColumns"),o=m.inject("currentlyActiveFilter"),{filterModelCleared:s,stagedFilterModel:n,filterModel:r}=nw(),a=m.ref(null),l=m.ref(!1),c=m.computed(()=>{const C=[...i.value].slice(0,gB);return o.value?[...C.slice(0,gB-1),o.value]:C}),d=m.computed(()=>{const C=r.value||{};return Object.keys(C).length}),u=m.ref(!1),h=()=>{u.value=!0},p=()=>{u.value=!1,n.value=t.value.getFilterModel(),a.value?.showModal()},{clearAllFocuses:g}=ow(),f=()=>{n.value=null,t.value.setFilterModel(null),t.value.onFilterChanged(),s.value+=1,g(),l.value=!1},v=()=>{n.value=null,a.value?.close()},y=()=>{u.value&&(t.value.setFilterModel(n.value),t.value.onFilterChanged(),s.value+=1),a.value?.close()};return(C,S)=>(m.openBlock(),m.createElementBlock(m.Fragment,null,[m.createElementVNode("div",N8e,[(m.openBlock(!0),m.createElementBlock(m.Fragment,null,m.renderList(c.value,x=>(m.openBlock(),m.createElementBlock(m.Fragment,{key:x.field},[m.unref(t)?(m.openBlock(),m.createBlock(pB,{key:0,"enable-focus-view":C.enableFocusView,"display-preferences-icon":C.displayPreferencesIcon,filterColDef:x,onHandleSettingsIcon:S[0]||(S[0]=D=>C.$emit("handle-settings-icon",D)),onFocusUpdate:S[1]||(S[1]=D=>C.$emit("focus-update",D))},null,8,["enable-focus-view","display-preferences-icon","filterColDef"])):m.createCommentVNode("",!0)],64))),128)),m.createElementVNode("div",O8e,[C.enableVerticalPanel?(m.openBlock(),m.createBlock(m.unref(es),{key:0,label:"All Filters",onClick:p,variant:"ghost","left-icon":"filter"})):m.createCommentVNode("",!0),d.value>0?(m.openBlock(),m.createElementBlock("button",{key:1,class:"pv-button-ghost",onClick:S[2]||(S[2]=x=>l.value=!0)},[m.createVNode(m.unref(Wi),{name:"close"}),S[12]||(S[12]=m.createTextVNode(" Clear All Filters ")),d.value>0?(m.openBlock(),m.createBlock(m.unref(w0),{key:0,value:d.value,variant:"tertiary"},null,8,["value"])):m.createCommentVNode("",!0)])):m.createCommentVNode("",!0)]),C.enableVerticalPanel?(m.openBlock(),m.createElementBlock("dialog",{key:0,ref_key:"filterDrawer",ref:a,class:"pv-drawer pv-surface",onClick:S[9]||(S[9]=m.withModifiers(x=>y(),["self"])),style:{"max-width":"450px"}},[m.createElementVNode("div",F8e,[m.createElementVNode("div",B8e,[m.createElementVNode("div",G8e,[m.createElementVNode("p",z8e," All Filters ("+m.toDisplayString(m.unref(i).length)+") ",1),m.createElementVNode("button",{class:"pv-button-ghost",onClick:S[3]||(S[3]=x=>v())},[m.createVNode(m.unref(Wi),{name:"close"})])]),m.createElementVNode("div",_8e,[(m.openBlock(!0),m.createElementBlock(m.Fragment,null,m.renderList(m.unref(i),(x,D)=>(m.openBlock(),m.createElementBlock("div",{key:x.field,class:m.normalizeClass([{"pv-border-bottom":D<m.unref(i).length-1},"pv-stack-12"])},[m.createElementVNode("details",V8e,[m.createElementVNode("summary",H8e,[m.createElementVNode("span",W8e,m.toDisplayString(x.headerName),1)]),m.createElementVNode("div",j8e,[m.unref(t)?(m.openBlock(),m.createBlock(pB,{key:0,"filter-style":"vertical","enable-focus-view":C.enableFocusView,filterColDef:x,"display-preferences-icon":C.displayPreferencesIcon,onFilterSelectionChanged:h,onHandleSettingsIcon:S[4]||(S[4]=A=>C.$emit("handle-settings-icon",A)),onFocusUpdate:S[5]||(S[5]=A=>C.$emit("focus-update",A))},null,8,["enable-focus-view","filterColDef","display-preferences-icon"])):m.createCommentVNode("",!0)])])],2))),128))])]),m.createElementVNode("div",$8e,[m.createElementVNode("button",{class:"pv-button-ghost",onClick:S[6]||(S[6]=x=>f())}," Clear All "),m.createElementVNode("div",U8e,[m.createVNode(m.unref(es),{variant:"ghost",label:"Cancel",onClick:S[7]||(S[7]=x=>v())}),u.value?(m.openBlock(),m.createBlock(m.unref(es),{key:0,variant:"primary",label:"Apply",onClick:S[8]||(S[8]=x=>y())})):(m.openBlock(),m.createBlock(m.unref(es),{key:1,variant:"primary",label:"No Changes",disabled:""}))])])])],512)):m.createCommentVNode("",!0)]),m.createVNode(m.unref(I2e),{modelValue:l.value,"onUpdate:modelValue":S[11]||(S[11]=x=>l.value=x),header:"Clear All Filters",style:{top:"50%"}},{body:m.withCtx(()=>S[13]||(S[13]=[m.createElementVNode("p",{class:"pv-text-body-lg"}," This action will remove all currently applied filters. Would you like to continue? ",-1)])),footer:m.withCtx(()=>[m.createElementVNode("div",K8e,[m.createVNode(m.unref(es),{label:"Cancel",variant:"secondary",size:"lg",onClick:S[10]||(S[10]=x=>l.value=!1)}),m.createVNode(m.unref(es),{label:"Clear All Filters",variant:"primary",size:"lg",onClick:f})])]),_:1},8,["modelValue"])],64))}}),X8e={class:"pv-flex"},Z8e={key:0,class:"pv-flex ag-header-actions"},q8e=m.defineComponent({__name:"HeaderCellRenderer",props:{params:{}},setup(e,{expose:t}){const i=e,o=m.ref(!1),s=m.ref(!1),n=m.ref(null),r=m.ref(null),a=m.ref(null),l=m.ref(!1),c=m.computed(()=>{const S=i.params.column.getColDef();return S.sortable||S.filter||S.enableRowGroup}),d=m.inject("sortState"),u=m.computed(()=>{if(!d.value||d.value.length===0)return"";const S=d.value.find(D=>D.colId===i.params.column.getColId()),x=S?S.sort:"";return x==="asc"?"arrow-up":x==="desc"?"arrow-down":""}),h=m.computed(()=>s.value?{cursor:"pointer"}:{}),p=m.computed(()=>l.value?{opacity:1}:{}),g=()=>{l.value=!1},f=()=>{l.value=!0,a.value&&i.params.showColumnMenu(a.value,g)},v=S=>{o.value=S.enableFilterButton,s.value=S.enableSorting||!1,n.value=S.displayName,r.value=n8e(S.column.getColDef().context?.dataType),n.value=r8e(n.value,S.column.getColDef().context?.dataType)},y=()=>{s.value&&i.params.progressSort(!1)};m.onBeforeMount(()=>{v(i.params)});function C(S){return v(S),!0}return t({refresh:C}),(S,x)=>(m.openBlock(),m.createElementBlock("div",{class:"ag-custom-header-cell pv-flex pv-full-width pv-space-between",style:m.normalizeStyle(h.value),onClick:y},[m.createElementVNode("div",X8e,[r.value?(m.openBlock(),m.createBlock(Wi,{key:0,name:r.value,class:"pv-text-subdued"},null,8,["name"])):m.createCommentVNode("",!0),m.createElementVNode("p",null,m.toDisplayString(n.value),1),s.value&&u.value!==""?(m.openBlock(),m.createBlock(Wi,{key:1,name:u.value},null,8,["name"])):m.createCommentVNode("",!0)]),c.value?(m.openBlock(),m.createElementBlock("div",Z8e,[m.createElementVNode("div",{ref_key:"menuButton",ref:a,class:"ag-header-cell-menu-button",style:m.normalizeStyle(p.value)},[m.createVNode(es,{size:"xl",variant:"ghost","left-icon":"menu",onClick:m.withModifiers(f,["stop","prevent"])})],4)])):m.createCommentVNode("",!0)],4))}}),fB=Ea(q8e,[["__scopeId","data-v-054d9038"]]),Q8e=kL.withParams({headerHeight:"30px",headerBackgroundColor:"#F7F8F8",headerCellHoverBackgroundColor:"#F7F8F8",headerColumnResizeHandleHeight:"50%",headerColumnResizeHandleWidth:"3px",headerColumnBorder:"none",headerFontWeight:"bold",headerFontSize:"12px",fontFamily:"Inter, sans-serif",fontSize:12,headerRowBorder:!0,rowHoverColor:"#F7F8F8",rangeSelectionBorderColor:"#36C5BA",rangeSelectionBorderStyle:"solid",wrapperBorder:"none",wrapperBorderRadius:"0px",menuBackgroundColor:"white",accentColor:"#36C5BA"}),J8e=kL.withParams({headerHeight:"30px",headerBackgroundColor:"white",headerCellHoverBackgroundColor:"#F7F8F8",headerColumnResizeHandleHeight:"50%",headerColumnResizeHandleWidth:"3px",headerColumnBorder:"none",headerFontWeight:"bold",headerFontSize:"12px",fontFamily:"Inter, sans-serif",fontSize:12,headerRowBorder:!0,rowHoverColor:"#F7F8F8",rangeSelectionBorderColor:"#36C5BA",rangeSelectionBorderStyle:"solid",wrapperBorder:"none",wrapperBorderRadius:"0px",menuBackgroundColor:"white",accentColor:"#36C5BA"}),eVe={class:"pv-popover-menu"},tVe={class:"pv-popover",style:{"--height":"auto"}},iVe=["disabled"],oVe=m.defineComponent({__name:"ExportMenu",props:{getCsvData:{type:Function}},setup(e){const t=e,i=m.ref(!1);async function o(){i.value=!0;const s=await t.getCsvData();if(!s){i.value=!1;return}const n=new Blob([s],{type:"text/csv;charset=utf-8;"}),r=document.createElement("a");r.href=URL.createObjectURL(n),r.setAttribute("download","datatable_export.csv"),r.click(),i.value=!1}return(s,n)=>(m.openBlock(),m.createElementBlock("nav",eVe,[n[0]||(n[0]=m.createElementVNode("button",{type:"button",class:"pv-button-icon"},[m.createElementVNode("svg",{"aria-hidden":"true",class:"pv-icon-24"},[m.createElementVNode("title",null,"ellipsis"),m.createElementVNode("use",{"xlink:href":"#ellipsis"})])],-1)),m.createElementVNode("div",tVe,[m.createElementVNode("button",{class:"pv-button pv-text-body-sm pv-inset-square-8",onClick:m.withModifiers(o,["prevent"]),disabled:i.value},[i.value?(m.openBlock(),m.createElementBlock(m.Fragment,{key:0},[m.createTextVNode("Exporting...")],64)):(m.openBlock(),m.createElementBlock(m.Fragment,{key:1},[m.createTextVNode("Download CSV")],64))],8,iVe)])]))}}),sVe={key:1,class:""},nVe=m.defineComponent({__name:"PaginationPanel",props:{panelSize:{default:"xl"}},setup(e){H6.registerModules([kAe]);const t=m.inject("gridApi"),i=m.inject("currentPage"),o=m.inject("totalPages"),s=e,n=m.computed(()=>{const c=o.value,d=i.value;if(c<=7)return Array.from({length:c},(h,p)=>p+1);const u=[];return d<=4?u.push(1,2,3,4,5,"...",c):d>=c-3?u.push(1,"...",c-4,c-3,c-2,c-1,c):u.push(1,"...",d-1,d,d+1,"...",c),u}),r=()=>{i.value>0&&t?.value.paginationGoToPage(i.value-2)},a=()=>{i.value<o.value&&t?.value.paginationGoToPage(i.value)},l=c=>{c>=1&&c<=o.value&&t?.value.paginationGoToPage(c-1)};return(c,d)=>(m.openBlock(),m.createElementBlock("div",{class:m.normalizeClass(["pv-flex",{"pv-hide":m.unref(o)<=1}])},[m.createVNode(es,{variant:"ghost",onClick:r,disabled:m.unref(i)===1,size:s.panelSize==="l"?"md":"lg","right-icon":"chevron-left"},null,8,["disabled","size"]),(m.openBlock(!0),m.createElementBlock(m.Fragment,null,m.renderList(n.value,u=>(m.openBlock(),m.createElementBlock(m.Fragment,{key:u},[typeof u=="number"?(m.openBlock(),m.createBlock(es,{key:0,variant:u===m.unref(i)?"primary":"ghost",size:s.panelSize==="l"?"md":"lg",onClick:h=>l(u),label:u.toString()},null,8,["variant","size","onClick","label"])):(m.openBlock(),m.createElementBlock("span",sVe,"..."))],64))),128)),m.createVNode(es,{variant:"ghost",onClick:a,disabled:m.unref(i)===m.unref(o),size:s.panelSize==="l"?"md":"lg","right-icon":"chevron-right"},null,8,["disabled","size"])],2))}});function rVe(){}function aVe(e,t=0){if(!Number.isInteger(t))throw new Error("Precision must be an integer.");const i=Math.pow(10,t);return Math.round(e*i)/i}function mB(e){return Object.getOwnPropertySymbols(e).filter(t=>Object.prototype.propertyIsEnumerable.call(e,t))}function yB(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}const lVe="[object RegExp]",cVe="[object String]",dVe="[object Number]",uVe="[object Boolean]",vB="[object Arguments]",hVe="[object Symbol]",pVe="[object Date]",gVe="[object Map]",fVe="[object Set]",mVe="[object Array]",yVe="[object Function]",vVe="[object ArrayBuffer]",I1="[object Object]",bVe="[object Error]",CVe="[object DataView]",SVe="[object Uint8Array]",xVe="[object Uint8ClampedArray]",wVe="[object Uint16Array]",MVe="[object Uint32Array]",DVe="[object BigUint64Array]",kVe="[object Int8Array]",IVe="[object Int16Array]",AVe="[object Int32Array]",RVe="[object BigInt64Array]",TVe="[object Float32Array]",LVe="[object Float64Array]";function bB(e){if(!e||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return t===null||t===Object.prototype||Object.getPrototypeOf(t)===null?Object.prototype.toString.call(e)==="[object Object]":!1}function EVe(e,t){return e===t||Number.isNaN(e)&&Number.isNaN(t)}function PVe(e,t,i){return mf(e,t,void 0,void 0,void 0,void 0,i)}function mf(e,t,i,o,s,n,r){const a=r(e,t,i,o,s,n);if(a!==void 0)return a;if(typeof e==typeof t)switch(typeof e){case"bigint":case"string":case"boolean":case"symbol":case"undefined":return e===t;case"number":return e===t||Object.is(e,t);case"function":return e===t;case"object":return jf(e,t,n,r)}return jf(e,t,n,r)}function jf(e,t,i,o){if(Object.is(e,t))return!0;let s=yB(e),n=yB(t);if(s===vB&&(s=I1),n===vB&&(n=I1),s!==n)return!1;switch(s){case cVe:return e.toString()===t.toString();case dVe:{const l=e.valueOf(),c=t.valueOf();return EVe(l,c)}case uVe:case pVe:case hVe:return Object.is(e.valueOf(),t.valueOf());case lVe:return e.source===t.source&&e.flags===t.flags;case yVe:return e===t}i=i??new Map;const r=i.get(e),a=i.get(t);if(r!=null&&a!=null)return r===t;i.set(e,t),i.set(t,e);try{switch(s){case gVe:{if(e.size!==t.size)return!1;for(const[l,c]of e.entries())if(!t.has(l)||!mf(c,t.get(l),l,e,t,i,o))return!1;return!0}case fVe:{if(e.size!==t.size)return!1;const l=Array.from(e.values()),c=Array.from(t.values());for(let d=0;d<l.length;d++){const u=l[d],h=c.findIndex(p=>mf(u,p,void 0,e,t,i,o));if(h===-1)return!1;c.splice(h,1)}return!0}case mVe:case SVe:case xVe:case wVe:case MVe:case DVe:case kVe:case IVe:case AVe:case RVe:case TVe:case LVe:{if(typeof Buffer<"u"&&Buffer.isBuffer(e)!==Buffer.isBuffer(t)||e.length!==t.length)return!1;for(let l=0;l<e.length;l++)if(!mf(e[l],t[l],l,e,t,i,o))return!1;return!0}case vVe:return e.byteLength!==t.byteLength?!1:jf(new Uint8Array(e),new Uint8Array(t),i,o);case CVe:return e.byteLength!==t.byteLength||e.byteOffset!==t.byteOffset?!1:jf(new Uint8Array(e),new Uint8Array(t),i,o);case bVe:return e.name===t.name&&e.message===t.message;case I1:{if(!(jf(e.constructor,t.constructor,i,o)||bB(e)&&bB(t)))return!1;const c=[...Object.keys(e),...mB(e)],d=[...Object.keys(t),...mB(t)];if(c.length!==d.length)return!1;for(let u=0;u<c.length;u++){const h=c[u],p=e[h];if(!Object.hasOwn(t,h))return!1;const g=t[h];if(!mf(p,g,h,e,t,i,o))return!1}return!0}default:return!1}}finally{i.delete(e),i.delete(t)}}function Nb(e,t){return PVe(e,t,rVe)}const NVe={key:0,class:"pv-tag"},OVe=m.defineComponent({__name:"TagCellRenderer",props:{params:{}},setup(e){const t=e,i=m.computed(()=>{const o=t.params.valueFormatted||t.params.value||"";return o.trim()===""?null:o});return(o,s)=>i.value?(m.openBlock(),m.createElementBlock("div",NVe,m.toDisplayString(i.value),1)):m.createCommentVNode("",!0)}}),FVe={key:0,class:"pv-table-row-number"},BVe=m.defineComponent({__name:"RowCountCellRenderer",props:{params:{}},setup(e){const t=e,i=m.computed(()=>(t.params.node?.rowIndex||0)+1),o=m.computed(()=>{const n=t.params.column?.getColDef()?.context,r=t.params.valueFormatted||t.params.value;return n&&n.dataType&&[ws.Currency,ws.Percent,ws.Number,ws.Integer].includes(n.dataType)?r.toLocaleString():r});return(s,n)=>(m.openBlock(),m.createElementBlock("div",null,[m.createElementVNode("p",null,[i.value?(m.openBlock(),m.createElementBlock("span",FVe,m.toDisplayString(i.value),1)):m.createCommentVNode("",!0),m.createTextVNode(" "+m.toDisplayString(o.value),1)])]))}}),GVe=Ea(BVe,[["__scopeId","data-v-ae67b797"]]),zVe={style:{"background-color":"white"},class:"pv-inset-square-8 pv-bordered-md pv-text-md"},_Ve={style:{color:"black"}},VVe=m.defineComponent({__name:"TableTooltip",props:{params:{}},setup(e){return(t,i)=>(m.openBlock(),m.createElementBlock("div",zVe,[m.createElementVNode("p",_Ve,m.toDisplayString(t.params.value),1)]))}}),HVe={class:"pv-stack-16"},WVe={class:"pv-flex pv-space-between"},jVe={class:"pv-flex"},$Ve={key:0,class:"pv-table-overlay"},UVe={class:"pv-text-body-xs pv-text-center",style:{"padding-top":"50px"}},KVe=m.defineComponent({__name:"PvDataTable",props:{colDefs:{},rowData:{},serverSideRowHandler:{},filterValuesSetHandler:{},initialGridState:{},initialFilterValueMap:{},theme:{},displayBaseAggregationsOnly:{type:Boolean,default:!1},displayRowNumber:{type:Boolean,default:!1},displayGroupCount:{type:Boolean,default:!0},displayPreferencesIcon:{type:Boolean,default:!1},enableColumnVisibilitySelector:{type:Boolean,default:!1},enableFocusView:{type:Boolean,default:!1},enableGroupBySelector:{type:Boolean,default:!1},enableVerticalFilterPanel:{type:Boolean,default:!0},rowGroupLimit:{},groupDefaultExpanded:{default:1},isClientSideGroupOpenByDefault:{},enableCsvExport:{type:Boolean,default:!1},csvRowLimit:{default:2e4},serverSideCsvHandler:{},uniqueRowIdField:{},requireFiltersToShowData:{type:Boolean,default:!1},isLoading:{type:Boolean},containerHeight:{default:500},containerMinHeight:{default:200},debugMode:{type:Boolean,default:!1},pagination:{type:Boolean,default:!1},paginationPageSize:{default:50},rowHeight:{},tooltipShowDelay:{default:1e3},tooltipHideDelay:{},hideTable:{type:Boolean}},emits:["column-moved","column-resized","column-row-group-changed","grid-ready","filter-changed","sort-changed","filter-opened","first-data-rendered","handle-settings-icon","focus-update"],setup(e,{expose:t,emit:i}){const o=[LIe,TIe,nMe,YRe,GIe,jIe,QLe,JLe,cTe,eLe,CAe,cAe,RAe];n7.setLicenseKey("Using_this_{AG_Grid}_Enterprise_key_{AG-065231}_in_excess_of_the_licence_granted_is_not_permitted___Please_report_misuse_to_legal@ag-grid.com___For_help_with_changing_this_key_please_contact_info@ag-grid.com___{Turquoise_Health}_is_granted_a_{Multiple_Applications}_Developer_License_for_{3}_Front-End_JavaScript_developers___All_Front-End_JavaScript_developers_need_to_be_licensed_in_addition_to_the_ones_working_with_{AG_Grid}_Enterprise___This_key_has_been_granted_a_Deployment_License_Add-on_for_{2}_Production_Environments___This_key_works_with_{AG_Grid}_Enterprise_versions_released_before_{16_August_2025}____[v3]_[01]_MTc1NTI5ODgwMDAwMA==c042c2db0e82c322692ccb41e7b58f3e");const n=e;n.debugMode&&o.push(Ske);const r=m.computed(()=>({height:`${n.containerHeight}px`,minHeight:`${n.containerMinHeight}px`})),a=m.computed(()=>n.theme?n.theme:C.value.length>0?J8e:Q8e),l=i,c="serverSideRowHandler"in n&&n.serverSideRowHandler?{getRows:K=>{if(!D.value){K.success({rowData:[]});return}n.serverSideRowHandler?.(K)}}:null,d="filterValuesSetHandler"in n&&n.filterValuesSetHandler?async K=>{let ce={...M.value};!S.value&&n.initialGridState&&(ce=n.initialGridState.filter?.filterModel||{});const Ie=await N(K.api,K.colDef,K.column,ce);K.success([...Ie,""])}:null,u=K=>{const ce=K.node,Ie=K.column?.getColId();return!ce.group||!Ie?!1:V.value.some(Ee=>{if(Ee.field===Ie)return!0})},h=(()=>{const K={suppressHeaderFilterButton:!0,editable:!1,sortable:!0,suppressHeaderMenuButton:!0,suppressColumnsToolPanel:!0,minWidth:200,flex:1,headerComponent:fB,cellDataType:!1,tooltipComponent:VVe,cellRendererSelector:ce=>{if(u(ce))return{component:h8e,params:ce};if(!ce.column?.getColDef().cellRenderer&&n.displayRowNumber&&C.value.length===0){const Ie=ce.api.getAllDisplayedColumns()||[],Ee=ce.column;if(Ie.findIndex(ai=>ai===Ee)===0)return{component:GVe,params:ce}}}};return c&&d&&(K.filterParams={values:d}),K})(),p=m.ref(void 0),g={name:"Column Filter",icon:'<span class="ag-icon ag-icon-filter"></span>',action:function(K){let ce=K.column?.getColId();if(K.column&&q(K.column)&&(ce=G.value?.getColId()||""),!me(ce)){const Ee=K.api.getColumn(ce)?.getColDef();Ee&&(y.value=Ee,m.nextTick(()=>{me(ce)}))}}},f=(K,ce)=>{const Ie={...K};return ce.isArrayField&&!K.valueFormatter?Ie.valueFormatter=Ee=>Bve(Ee,ce.dataType):ce.dataType===ws.Percent&&!K.valueFormatter?Ie.valueFormatter=Ee=>Ove(Ee,ce.valueDecimals||0):ce.dataType===ws.Currency&&!K.valueFormatter?Ie.valueFormatter=Ee=>E9(Ee,ce.valueDecimals||0):ce.dataType===ws.Integer&&!K.valueFormatter?Ie.valueFormatter=Fve:ce.dataType===ws.Tag&&!K.cellRenderer&&(Ie.cellRenderer=OVe),Ie},v=m.computed(()=>!n.colDefs||n.colDefs.length===0?[]:n.colDefs.map(K=>{const ce=K.context;return ce?f(K,ce):K})),y=m.ref(null),C=m.ref([]),S=m.ref(!1),x=m.computed(()=>{if(C.value.length>0){const K=C.value[0],ce=v.value.find(Ee=>Ee.field===K);if((!M.value||!M.value[K])&&ce?.context?.filterRequiredToGroup)return ce.headerName}return null}),D=m.computed(()=>(!M.value||Object.keys(M.value).length===0)&&n.requireFiltersToShowData?!1:x.value===null),A=m.computed(()=>x.value?`Select at least one value for "${x.value}" to view data.`:"Select a filter to view data."),k=m.shallowRef(null),w=m.ref([]),{filterModel:M,filterValuesLoadingStatus:R,filterValueMap:L,filterValueSelectedMetadataMap:P,fetchFilterValues:N,filterStoreHandler:O}=nw();O.value=n.filterValuesSetHandler,L.value=n.initialFilterValueMap||{};const F=m.ref(null),z=m.computed(()=>v.value.filter(K=>K.filter)),_=m.computed(()=>v.value.filter(K=>K.enableRowGroup)),V=m.computed(()=>v.value.filter(K=>K.aggFunc)),G=m.ref(null),H=m.ref({}),B=m.ref(1),W=m.ref(0);m.provide("filterModel",M),m.provide("sortState",w),m.provide("gridApi",k),m.provide("columnDisplayOrder",F),m.provide("currentlyActiveFilter",y),m.provide("availableFilterColumns",z),m.provide("availableRowGroupColumns",_),m.provide("rowGroupColumnFields",C),m.provide("groupColumnCellValueColumn",G),m.provide("expandedRows",H),m.provide("firstDataRendered",S),m.provide("filterValuesLoadingStatus",R),m.provide("displayUnfilteredTableData",D),m.provide("currentPage",B),m.provide("totalPages",W);const j=K=>{if(k.value=K.api,n.initialGridState){const ce=n.initialGridState.filter?.filterModel||null;ce&&k.value.setFilterModel(ce)}if(C.value.length>0){const ce=C.value[0];G.value=K.api.getColumn(ce),K.api.setColumnsVisible([ce],!1)}F.value=K.api.getAllGridColumns(),B.value=K.api.paginationGetCurrentPage()+1,W.value=K.api.paginationGetTotalPages(),l("grid-ready",K)},U=K=>{if(k.value){const ce=K.api.getFilterModel();Nb(M.value,ce)||(M.value=ce,l("filter-changed",K))}},ee=K=>{w.value=K.api?.getState()?.sort?.sortModel||[],l("sort-changed",K)},q=K=>K.getColId()&&K.getColId().includes("ag-Grid-AutoColumn"),te=m.ref(!1),se=async K=>{if(!k.value){console.error("Grid API not available");return}const ce=K||{route:[],purge:!0};k.value.refreshServerSide(ce)},Z=()=>P.value,ie=async()=>{if(te.value=!0,!k.value)return console.error("Grid API not available"),te.value=!1,null;try{const K=n.serverSideCsvHandler,ce=k.value?.getState(),Ie={rowGroupCols:[],valueCols:k.value?.getValueColumns().map(Ze=>({id:Ze.getId(),field:Ze.getColDef().field,aggFunc:typeof Ze.getColDef().aggFunc=="string"?Ze.getColDef().aggFunc:void 0,displayName:Ze.getColDef().headerName||Ze.getColDef().field||""}))||[],filterModel:ce?.filter?.filterModel||{},sortModel:ce?.sort?.sortModel||[],pivotCols:[],pivotMode:!1,groupKeys:[],startRow:0,endRow:n.csvRowLimit};if(K){const Ze={request:Ie,parentNode:{},api:k.value,context:void 0,success:()=>{},fail:()=>{}};return await n.serverSideCsvHandler(Ze),te.value=!1,null}const Ee=n.serverSideRowHandler;return Ee?await new Promise((Ze,ai)=>{const Mi=k.value?.getState(),Oa={request:Ie,parentNode:{},api:k.value,context:void 0,success:Ig=>{const rw=k.value?.getRowGroupColumns().map(Bs=>Bs.getColDef().field).filter(Bs=>!!Bs)||[],jL=k.value?.getAllDisplayedColumns().map(Bs=>Bs.getColDef().field).filter(Bs=>!!Bs)||[],aw=k.value?.getValueColumns().map(Bs=>Bs.getColDef().field).filter(Bs=>!!Bs)||[],mW=Array.from(new Set([...rw,...jL,...aw])),yW=Ig.rowData.map(Bs=>{const $L={};return mW.forEach(UL=>{const KL=Bs[UL];$L[UL]=KL!=null?String(KL):null}),$L}),vW=aEe.unparse(yW);te.value=!1,Ze(vW)},fail:()=>{te.value=!1,ai("CSV export failed.")}};Ee(Oa,!0)}):(console.warn("Client-side export does not return CSV string"),te.value=!1,k.value.exportDataAsCsv(),null)}catch(K){return console.error("CSV export failed",K),te.value=!1,null}},X=K=>{const ce=G.value,Ie=K.api.getRowGroupColumns();C.value=[...Ie].map(ai=>ai.getColId());const Ee=Ie.length>0?Ie[0]:null;Ee?(G.value=Ee,Y.value.headerName=Ee.getColDef().headerName,Y.value.headerComponent=fB,Y.value.context={dataType:G.value?.getColDef().context?.dataType||null},K.api.setColumnsVisible([Ee.getColId()],!1)):(G.value=null,Y.value.headerName="",Y.value.headerComponent=void 0,Y.value.context=null);const Ze=ce?.getColId();(!Ee||Ze!==Ee.getColId())&&K.api.setColumnsVisible([Ze||""],!0),l("column-row-group-changed",K)},ne=K=>{const ce=K.column?.getColId()||"";if(ce===G.value?.getColId()){K.api.setColumnsVisible([ce],!1);return}},re=K=>{K.finished&&(F.value=K.api.getAllGridColumns()),l("column-moved",K)},ue=K=>{K.api&&(B.value=K.api.paginationGetCurrentPage()+1,W.value=K.api.paginationGetTotalPages())},le=K=>"allChildrenRowCount"in K&&K.allChildrenRowCount||0,me=K=>{const ce=document.querySelector(`[data-horizontal-filter-field="${K}"]`);if(ce){const Ie=ce.querySelector("button");if(Ie)return Ie.click(),!0}return!1},Me=m.ref(q_e),pe=m.ref({loadingMessage:"One moment please..."}),Y=m.ref({headerName:"",minWidth:200,suppressMovable:!0,sortable:!1,pinned:"left",headerComponent:void 0,cellRendererParams:{suppressCount:!0,innerRenderer:s8e,innerRendererParams:K=>({displayBaseAggregationsOnly:n.displayBaseAggregationsOnly,displayRowNumber:n.displayRowNumber,displayCount:n.displayGroupCount,formattedValue:K.valueFormatted,rowNode:K.node,api:k.value})}}),$=K=>{if(K.node.group)return{backgroundColor:"#F7F8F8"}},Q={Median:K=>{const ce=K.values;if(K.rowNode.leafGroup){const Ze=hB(ce);return{values:ce,value:Ze}}const Ie=K.values.flatMap(Ze=>Ze.values||[]),Ee=hB(Ie);return{values:Ie,value:Ee}}};m.onBeforeMount(()=>{const K=Array.isArray(n.rowData)&&n.rowData.length>0,ce=typeof n.serverSideRowHandler=="function",Ie=typeof n.filterValuesSetHandler=="function";(K&&ce||K&&Ie)&&console.warn("Only one of `rowData` or `serverSideRowHandler + hasFilterValuesSetHandler` params should be provided to PvDataTable, not both."),p.value=Ee=>{const Ze=["sortAscending","sortDescending","sortUnSort","rowUnGroup","valueAggSubMenu"],ai=Ee.column&&q(Ee.column)?G.value:Ee.column;return ai&&ai.getColDef().filter&&Ze.splice(2,0,g),Ze.filter(Mi=>typeof Mi=="string"?Ee.defaultItems.includes(Mi):!0)}});const ae=K=>{const ce=k.value;if(!ce)return;const Ie=K.filter?.filterModel||null,Ee=K.rowGroup?.groupColIds||null,Ze=K.columnVisibility||null;Ie&&!Nb(Ie,Ie.value)&&ce.setFilterModel(Ie),Ee&&!Nb(Ee,C.value)&&ce.setRowGroupColumns(Ee),Ze&&!Nb(Ze,F.value)&&ce.setColumnsVisible(Ze.hiddenColIds,!1)};m.watch(()=>n.initialGridState,()=>{n.initialGridState&&ae(n.initialGridState)},{deep:!0}),m.onMounted(()=>{n.initialGridState&&(M.value=n.initialGridState.filter?.filterModel||null,C.value=n.initialGridState.rowGroup?.groupColIds||[])});const ye=K=>{S.value=!0,l("first-data-rendered",K)};t({getCsvData:ie,refreshData:se,getFilterValueSelectedMetadataMap:Z});const we=K=>c?K.rowNode.level===C.value.length-2:!1,De=m.computed(()=>{if(!c)return n.groupDefaultExpanded});return(K,ce)=>(m.openBlock(),m.createElementBlock("div",{class:"pv-full-width",style:m.normalizeStyle(r.value)},[m.createElementVNode("div",HVe,[m.createElementVNode("div",WVe,[z.value.length>0?(m.openBlock(),m.createBlock(Y8e,{key:0,"enable-focus-view":K.enableFocusView,"enable-vertical-panel":K.enableVerticalFilterPanel,"display-preferences-icon":K.displayPreferencesIcon,onHandleSettingsIcon:ce[0]||(ce[0]=Ie=>K.$emit("handle-settings-icon",Ie)),onFocusUpdate:ce[1]||(ce[1]=Ie=>K.$emit("focus-update",Ie))},null,8,["enable-focus-view","enable-vertical-panel","display-preferences-icon"])):m.createCommentVNode("",!0),m.createElementVNode("div",jVe,[K.enableGroupBySelector&&K.rowGroupLimit!==0?(m.openBlock(),m.createBlock(K_e,{key:0,rowGroupLimit:K.rowGroupLimit,enableFocusView:K.enableFocusView},null,8,["rowGroupLimit","enableFocusView"])):m.createCommentVNode("",!0),K.enableCsvExport?(m.openBlock(),m.createBlock(oVe,{key:1,getCsvData:ie})):m.createCommentVNode("",!0)])])]),m.createElementVNode("div",{class:m.normalizeClass(["pv-relative pv-stack-8",K.hideTable?"pv-hide":""]),style:{width:"100%",height:"90%","border-bottom":"1px solid #d2d7db"}},[m.createVNode(m.unref(zAe),m.mergeProps({ref:"gridRef",style:{width:"100%",height:"100%"}},m.unref(c)?{serverSideDatasource:m.unref(c)}:{},{onColumnMoved:re,onColumnRowGroupChanged:X,onColumnVisible:ne,onFilterChanged:U,onFilterOpened:ce[2]||(ce[2]=Ie=>l("filter-opened",Ie)),onFirstDataRendered:ye,onGridReady:j,onPaginationChanged:ue,onSortChanged:ee,aggFuncs:Q,autoGroupColumnDef:Y.value,columnDefs:v.value,debug:K.debugMode,defaultColDef:m.unref(h),getChildCount:le,getMainMenuItems:p.value,getRowStyle:$,groupDefaultExpanded:De.value,groupDisplayType:"singleColumn",initialState:K.initialGridState,isGroupOpenByDefault:m.unref(c)?void 0:n.isClientSideGroupOpenByDefault,isServerSideGroupOpenByDefault:we,loading:m.unref(c)?!1:K.isLoading,loadingCellRenderer:Me.value,loadingCellRendererParams:pe.value,maxConcurrentDatasourceRequests:m.unref(c)?10:void 0,modules:o,rowData:K.rowData,rowHeight:K.rowHeight,rowModelType:m.unref(c)?"serverSide":"clientSide",serverSideInitialRowCount:m.unref(c)?1:void 0,showOpenedGroup:!0,suppressAggFuncInHeader:!0,suppressColumnMoveAnimation:!0,suppressDragLeaveHidesColumns:!0,serverSideSortAllLevels:!1,serverSideEnableClientSideSort:!1,theme:a.value,pagination:K.pagination,suppressPaginationPanel:!0,paginationPageSize:K.paginationPageSize,suppressScrollOnNewData:!0,"tooltip-show-delay":K.tooltipShowDelay,"tooltip-hide-delay":K.tooltipHideDelay}),null,16,["autoGroupColumnDef","columnDefs","debug","defaultColDef","getMainMenuItems","groupDefaultExpanded","initialState","isGroupOpenByDefault","loading","loadingCellRenderer","loadingCellRendererParams","maxConcurrentDatasourceRequests","rowData","rowHeight","rowModelType","serverSideInitialRowCount","theme","pagination","paginationPageSize","tooltip-show-delay","tooltip-hide-delay"]),D.value?m.createCommentVNode("",!0):(m.openBlock(),m.createElementBlock("div",$Ve,[m.createElementVNode("p",UVe,m.toDisplayString(A.value),1)]))],2),K.pagination?(m.openBlock(),m.createBlock(nVe,{key:0})):m.createCommentVNode("",!0)],4))}}),YVe={class:"pv-stack-16 pv-chart-options-panel"},XVe={class:"pv-flex"},ZVe=m.defineComponent({__name:"PvChartOptionsPanel",props:{enablePanel:{type:Boolean},chartFilter:{}},setup(e){const t=e,i=m.inject("activeChartType"),o=m.inject("activeSort"),s=m.inject("chartTypes"),n=m.inject("sortTypes"),r=m.inject("rowGroupColumns"),a=m.inject("activeChartFilterOption"),l=m.computed(()=>{const d=[];return t.chartFilter&&t.chartFilter.options?t.chartFilter.options.map(u=>({label:u.label,value:u.value})):d}),c=m.computed(()=>(r.value.length>1?["bar_stacked","line","column_stacked","area"]:["bar","line","column","area"]).includes(i.value?.id));return m.watch(s,d=>{const u=i.value,h=u?.id.endsWith("_stacked"),p=d.find(g=>g.id===u.id);if(p){i.value=p;return}if(h){const g=u?.id.replace("_stacked",""),f=d.find(v=>v.id===g);if(f){i.value=f;return}}i.value=d[0]}),(d,u)=>(m.openBlock(),m.createElementBlock("div",YVe,[m.createElementVNode("div",null,[m.createElementVNode("div",{class:"pv-flex pv-space-between",style:m.normalizeStyle(d.chartFilter?{"--flex-justify":"flex-end"}:{})},[(m.openBlock(),m.createBlock(g2e,{key:0,options:l.value,modelValue:m.unref(a),"onUpdate:modelValue":u[0]||(u[0]=h=>m.isRef(a)?a.value=h:null)},null,8,["options","modelValue"])),m.createElementVNode("div",XVe,[m.createVNode(tk,{class:m.normalizeClass({"pv-hide":!c.value}),label:"Sort By",modelValue:m.unref(o),"onUpdate:modelValue":u[1]||(u[1]=h=>m.isRef(o)?o.value=h:null),options:m.unref(n),allowDeselect:!1,showSearchInput:!1,optionsVariant:"icon"},null,8,["class","modelValue","options"]),m.createVNode(tk,{label:"Select Chart Type",modelValue:m.unref(i),"onUpdate:modelValue":u[2]||(u[2]=h=>m.isRef(i)?i.value=h:null),options:m.unref(s),allowDeselect:!1,showSearchInput:!1,optionsVariant:"icon"},null,8,["modelValue","options"])])],4)])]))}}),qVe=[{text:"Column",id:"column",icon:"chart-column"},{text:"Bar",id:"bar",icon:"chart-bar"},{text:"Line",id:"line",icon:"chart-line"},{text:"Area",id:"area",icon:"chart-area"},{text:"Pie",id:"pie",icon:"chart-pie"}],QVe=[{text:"Grouped Column",id:"column",icon:"chart-column"},{text:"Stacked Column",id:"column_stacked",icon:"chart-column"},{text:"Grouped Bar",id:"bar",icon:"chart-bar"},{text:"Stacked Bar",id:"bar_stacked",icon:"chart-bar"}],JVe={style:{height:"100%",width:"100%"}},e9e={class:"pv-relative pv-margin-auto"},t9e={key:0,class:"pv-chart-overlay pv-text-body-xs"},i9e=m.defineComponent({__name:"PvDataTableWithChart",props:{enabledChartTypes:{default:()=>["column","bar","column_stacked","bar_stacked","line","area"]},overrideChartData:{type:Boolean,default:!1},showSeriesLabels:{type:Boolean,default:!0},truncateLabelValues:{type:Boolean,default:!0},initialChartData:{},displayChartLoading:{type:Boolean,default:!0},chartFilter:{},chartType:{default:"column"},yKey:{default:""},focusCategory:{},hideChart:{type:Boolean},hideTable:{type:Boolean},colDefs:{},rowData:{},serverSideRowHandler:{},filterValuesSetHandler:{},initialGridState:{default:()=>({})},initialFilterValueMap:{},theme:{},displayBaseAggregationsOnly:{type:Boolean,default:!1},displayRowNumber:{type:Boolean,default:!0},displayGroupCount:{type:Boolean,default:!0},displayPreferencesIcon:{type:Boolean,default:!1},enableColumnVisibilitySelector:{type:Boolean,default:!0},enableFocusView:{type:Boolean,default:!1},enableGroupBySelector:{type:Boolean,default:!0},enableVerticalFilterPanel:{type:Boolean,default:!0},rowGroupLimit:{default:2},groupDefaultExpanded:{},isClientSideGroupOpenByDefault:{},enableCsvExport:{type:Boolean,default:!1},csvRowLimit:{},serverSideCsvHandler:{},uniqueRowIdField:{},requireFiltersToShowData:{type:Boolean,default:!1},isLoading:{type:Boolean},containerHeight:{},containerMinHeight:{},debugMode:{type:Boolean},pagination:{type:Boolean},paginationPageSize:{},rowHeight:{},tooltipShowDelay:{},tooltipHideDelay:{}},emits:["chart-series-changed","column-moved","column-resized","column-row-group-changed","grid-ready","filter-changed","sort-changed","filter-opened","first-data-rendered","handle-settings-icon","focus-update"],setup(e,{expose:t,emit:i}){const o=e,s=i,n=m.ref(null),r=m.ref(null),a=m.ref(null),{setFilterSelectedValues:l}=nw(),c=$=>{n.value=$.api,s("grid-ready",$)},d=$=>{S.value=[...$.api.getRowGroupColumns()],U($.api),te($.api),s("column-row-group-changed",$)},u=async $=>{if(o.chartFilter){const ae=(await $.api.getColumnFilterInstance(o.chartFilter.colId))?.getModel();R.value=ae?.values?.[0]||""}te($.api),s("filter-changed",$)},h=m.ref([]);function p($,Q,ae=!0){return ye=>{ye.data=x.value?.find(Ee=>Ee[$]===ye.value);let we="";const De=f($),K=a8e(De);if(o.truncateLabelValues&&ae&&K&&!isNaN(Number(ye.value))){if(B.value){const Oa=ye.datum?.[A.value],rw=D.value?.find(aw=>aw[A.value]===Oa)?.[`${k.value}_sort_total`]||1/0;if(ye.value/rw<.05)return""}let Ee=0;l8e(De,ws.Percent)&&(Ee=2);const Ze=aVe(ye.value,Ee),{newValue:ai,newSuffix:Mi}=c8e(Ze);ye.value=ai,we=Mi}let Ie=ye.value;return Q&&(Ie=Q(ye)),Ie+we}}const g=($,Q=!1)=>{if(!$)return;const ae=f($);return ae&&typeof ae.valueFormatter=="function"?p($,ae.valueFormatter,Q):p($,null,Q)},f=$=>!$||!n.value?null:n.value?.getColumnDef($),v=m.computed(()=>(S.value.length>1?QVe:qVe).filter(Q=>o.enabledChartTypes?.includes(Q.id))),y=m.ref(void 0),C=m.ref([{text:"Lowest to Highest",id:"asc",icon:"arrow-up-wide-narrow"},{text:"Highest to Lowest",id:"desc",icon:"arrow-down-narrow-wide"}]),S=m.ref([]),x=m.ref([]),D=m.ref([]),A=m.ref("provider_name"),k=m.computed(()=>o.yKey),w=m.ref(null),M=m.ref(void 0),R=m.ref("");m.provide("activeChartFilterOption",R),m.provide("rowGroupColumns",S),m.provide("chartTypes",v),m.provide("sortTypes",C),m.provide("activeChartType",y),m.provide("activeSeries",k),m.provide("activeSort",M);const L={focuses:m.ref([]),focusType:m.ref(null)};m.provide(uW,L),m.watch(()=>o.chartType,$=>{const Q=v.value.find(ae=>ae.id===$);Q?y.value=Q:y.value=v.value[0]}),m.watch(R,$=>{if(o.chartFilter&&n.value){const Q=o.chartFilter.colId;let ae=o.chartFilter.options.find(ye=>ye.value===$)?.filterValues||null;ae&&ae.length===0&&(ae=null),l(Q,ae||[]),n.value.setColumnFilterModel(Q,{values:ae}).then(()=>{n.value?.onFilterChanged()})}});const P=m.computed(()=>{const $=h.value.find(Q=>Q.value===k.value);return $?$.label:""}),N=m.computed(()=>y.value?.id.includes("bar")),O=m.computed(()=>S.value.length>1),F=($,Q)=>`${$}_${Q}`,z=m.computed(()=>{if(h.value.length===0)return[];const $=H.value?"bar":y.value?.id||"";return["bar","line","area"].includes($)?W.value:$==="pie"?j.value:(console.error("Unsupported chart type",$),[])}),_=m.computed(()=>o.showSeriesLabels),V=$=>{let Q=$.datum[$.xKey];const ae=g($.xKey);ae&&typeof ae=="function"&&(Q=ae({value:Q}));const ye=$.yKey;let we=$.datum[ye];const De=g(ye);return De&&typeof De=="function"&&(we=De({value:we})),{heading:Q,data:[{label:P.value,value:we}]}},G=$=>{const Q=o.focusCategory||"";$.datum[A.value]},H=m.computed(()=>y.value?.id.includes("column")||y.value?.id.includes("bar")),B=m.computed(()=>y.value?.id.includes("stacked")),W=m.computed(()=>{const $=B.value,Q=H.value?"bar":y.value?.id;let ae=[];const ye=g(k.value,!0),we=g(w.value?.fieldName,!0);if(O.value)w.value?.fieldValues.forEach(ce=>{const Ie={type:Q,xKey:A.value,yKey:F(k.value,ce),yName:typeof we=="function"?we({value:ce}):ce,stacked:$,label:{enabled:_.value,color:$?"white":"black",fontFamily:"Inter",padding:5,fontSize:11,placement:$?"inside-end":"outside-end",formatter:ye},itemStyler:G};ae.push(Ie)});else{const K={type:Q,xKey:A.value,yKey:k.value,tooltip:{renderer:V},label:{enabled:_.value,color:"black",fontFamily:"Inter",padding:5,fontSize:11,placement:"outside-end",formatter:ye},itemStyler:G};ae.push(K)}let De={};if(Q==="column"||Q==="bar"){const K=De;K.direction=N.value?"horizontal":"vertical",De=K}else if(Q==="line"||Q==="area"){const K=De;K.connectMissingData=!0,De=K}return ae=ae.map(K=>({...K,...De})),ae}),j=m.computed(()=>h.value.length===0?[]:[{type:"pie",legendItemKey:A.value,angleKey:k.value}]),U=$=>{const Q=$.getAllGridColumns().filter(ae=>ae.getAggFunc()!==null&&ae.getAggFunc()!==void 0);A.value=S.value[0]?.getColId()||"",h.value=Q.map(ae=>{const ye=ae.getColId(),we=ae.getColDef();return{label:we.headerName||ye,value:ye,formatter:we.valueFormatter,dataType:we.context?.dataType}})};m.watch(k,$=>{s("chart-series-changed",{api:n.value,seriesField:$})});const ee=()=>{x.value=[],D.value=[],w.value=null},q=($,Q)=>{if(!$||$.length===0){ee();return}if(Q){const ae=A.value,ye=new Set;$.forEach(De=>{const K=De[Q];ye.add(K)});const we=$.reduce((De,K)=>{const ce=K[ae];De[ce]||(De[ce]={});const Ie=K[Q];for(const Ee of h.value){const Ze=Ee.value;let ai=De[`${Ze}_sort_total`]||0;const Mi=K[Ze];ye.add(Ie),Q&&Mi&&(De[ce][F(Ze,Ie)]=Mi,ai=ai+Mi),De[ce][`${Ze}_sort_total`]=ai}return De},{});D.value=Object.keys(we).map(De=>({[ae]:De,...we[De]})),w.value={fieldName:Q,fieldValues:Array.from(ye)}}else D.value=[],w.value=null;x.value=$},te=$=>{if(o.overrideChartData)return;const Q=S.value.length;if(ee(),Q===0||h.value.length===0)return;const ae=[],ye=[];let we=new Set;if($.forEachNodeAfterFilterAndSort(De=>{if(De.group&&De.level===0){if(S.value.length>1){const ce=De.childrenAfterFilter?.filter(Ze=>Ze.level===1&&Ze.aggData)||[],{rowData:Ie,fieldValues:Ee}=Z(De,ce);we=we.union(Ee),ye?.push(Ie)}const K=se(De);ae?.push(K)}}),x.value=ae,S.value.length>1&&ye&&ye.length>0){const De=S.value[1].getColId();D.value=ye,w.value={fieldName:De,fieldValues:Array.from(we)}}else D.value=[],w.value=null},se=$=>{const Q={[$.field]:$.key};for(const ae of h.value)!$.aggData||!$.aggData[ae.value]||(Q[ae.value]=$.aggData[ae.value]?.value??$.aggData[ae.value]);return Q},Z=($,Q)=>{const ae=new Set,ye={[$.field]:$.key};let we=0;for(const De of h.value)Q.forEach(K=>{const ce=K.key;ae.add(ce);const Ie=K.aggData;if(ce&&Ie){const Ee=K.aggData[De.value]?.value??K.aggData[De.value];ye[F(De.value,ce)]=Ee,we=we+Ee}}),ye[`${De.value}_sort_total`]=we;return{rowData:ye,fieldValues:ae}},ie=($,Q,ae)=>!$||$.length===0?$:$.slice().sort((ye,we)=>{const De=ae.includes(ye[Q])?0:1,K=ae.includes(we[Q])?0:1;return De-K}),X=m.computed(()=>{let $=O.value?D.value:x.value,Q=null;if(M.value&&(Q=O.value?`${k.value}_sort_total`:k.value),Q&&$&&M.value){const ae=M.value?.id.includes("desc")?-1:1;$=[...$].sort((ye,we)=>{const De=ye[Q]||0,K=we[Q]||0;return(De-K)*ae})}if(o.enableFocusView&&$&&($=ie($,A.value,L.focuses.value)),$&&$.length===1){const ae="",ye=" ";$=[{[A.value]:ae},$[0],{[A.value]:ye}]}return $}),ne=m.computed(()=>X.value?.length||0),re=m.computed(()=>w.value?.fieldValues?.length||0),ue=m.computed(()=>{const we=.25*Math.exp(-.12*ne.value);return Math.min(Math.max(we,.05),.75)}),le=m.computed(()=>re.value>5?.5:1),me=m.computed(()=>re.value>5?.25:.1),Me=m.computed(()=>S.value.length===0?"No groups selected. Select at least one group to display data.":X.value&&X.value?.length===0?"No data available to chart.":""),pe=m.computed(()=>{const $={};return $.overlays={noData:{text:""}},$.data=X.value,$.axes=[{type:"category",position:N.value?"left":"bottom",label:{formatter:Q=>{let ye=Q.value;const we=g(A.value);return typeof we=="function"&&(ye=we(Q)),typeof ye=="string"&&ye.length>35?ye.substring(0,35)+"...":ye}},paddingInner:ue.value,paddingOuter:le.value,groupPaddingInner:me.value},{type:"number",position:N.value?"bottom":"left",label:{formatter:g(k.value)},title:{enabled:!0,text:P.value}}],$.series=z.value,$}),Y=m.computed(()=>o.displayChartLoading&&o.isLoading&&(!X.value||X.value.length===0));return t({provideChartData:q,getChartImageDataURL:$=>a.value?.getChartImageDataURL($),getCsvData:()=>r.value?.getCsvData(),refreshData:$=>r.value?.refreshData($),getFilterValueSelectedMetadataMap:()=>r.value?.getFilterValueSelectedMetadataMap()}),m.onBeforeMount(()=>{o.chartType&&(y.value=v.value.find($=>$.id===o.chartType))}),($,Q)=>(m.openBlock(),m.createElementBlock("div",JVe,[m.createElementVNode("div",{class:m.normalizeClass($.hideChart?"pv-hide":"")},[m.createVNode(ZVe,{enablePanel:X.value!=null&&X.value.length>0,chartFilter:$.chartFilter},null,8,["enablePanel","chartFilter"]),m.createElementVNode("div",e9e,[m.createVNode($T,{ref_key:"pvChartRef",ref:a,isLoading:Y.value,options:pe.value,enableFocusView:$.enableFocusView},null,8,["isLoading","options","enableFocusView"]),!$.isLoading&&Me.value!==""?(m.openBlock(),m.createElementBlock("p",t9e,m.toDisplayString(Me.value),1)):m.createCommentVNode("",!0)])],2),m.createVNode(KVe,m.mergeProps({ref_key:"pvDataTableRef",ref:r},$.$props,{onColumnRowGroupChanged:d,onGridReady:c,onFilterChanged:u,onSortChanged:Q[0]||(Q[0]=ae=>s("sort-changed",ae)),onFilterOpened:Q[1]||(Q[1]=ae=>s("filter-opened",ae)),onFirstDataRendered:Q[2]||(Q[2]=ae=>s("first-data-rendered",ae)),onColumnMoved:Q[3]||(Q[3]=ae=>s("column-moved",ae)),onColumnResized:Q[4]||(Q[4]=ae=>s("column-resized",ae)),onHandleSettingsIcon:Q[5]||(Q[5]=ae=>s("handle-settings-icon",ae)),onFocusUpdate:Q[6]||(Q[6]=ae=>s("focus-update",ae))}),null,16)]))}}),o9e={type:"Feature",properties:{name:"Hawaii"},geometry:{type:"MultiPolygon",coordinates:[[[[-105.70409839588592,25.25161631830986],[-105.74881952767498,25.17708731830985],[-105.7324578028169,25.056085318309865],[-105.68895681047411,25.045162318309856],[-105.67536932349577,24.993176818309855],[-105.68981478149271,24.810911818309865],[-105.66432618951364,24.761803318309862],[-105.65719536478286,24.60298481830986],[-105.80352494114891,24.229658818309865],[-105.78141417789311,24.13590431830986],[-105.5774075760354,24.035093818309853],[-105.51858474640801,23.957137318309865],[-105.40936139329716,24.036536818309862],[-105.17504886992111,24.287800318309863],[-105.09153381173394,24.308866318309853],[-104.75568134783998,24.492257818309863],[-104.67362977026619,24.472298818309863],[-104.60114321656317,24.483500818309864],[-104.36533065836738,24.577913818309863],[-104.10476925447796,24.730772818309866],[-103.98390683066299,24.831910318309863],[-103.96829885998909,24.87607331830986],[-104.16112558606994,25.03073981830986],[-104.14508660820235,25.11696881830986],[-104.16077636759547,25.189867318309854],[-104.28677083656623,25.17295781830986],[-104.22696065992807,25.364036818309863],[-104.30886391690893,25.487773318309863],[-104.42831881051,25.602725818309867],[-104.7292827123988,25.752170818309864],[-104.80549464909689,25.778293318309863],[-104.86740887482102,25.767746818309853],[-105.02892662902929,25.915097818309864],[-105.179856822999,25.98826031830986],[-105.2436709875459,25.963798318309863],[-105.29910352520284,25.84654781830986],[-105.30628052032404,25.76630231830986],[-105.25460778276909,25.619854318309862],[-105.28450376869205,25.555100818309864],[-105.39882655591924,25.479181318309866],[-105.45434726738569,25.411627318309854],[-105.70409839588592,25.25161631830986]]],[[[-106.12948574382648,26.96188181830986],[-106.07741473079159,26.812798318309866],[-105.95781505204707,26.748550318309867],[-105.89969049073602,26.780132818309863],[-105.85535948600159,26.76707231830986],[-105.88848007156639,26.478152818309866],[-105.81685446816806,26.448578818309862],[-105.54119874286357,26.523715318309865],[-105.42119221780342,26.522222818309864],[-105.19421119770203,26.628034318309858],[-105.1464927521539,26.697305818309857],[-105.1479655567631,26.774255818309854],[-105.22481097438867,26.796748318309856],[-105.38612834141509,26.91890081830986],[-105.43465475582002,26.98769531830986],[-105.56569637466987,27.000613318309856],[-105.81253870992253,26.92823681830987],[-105.87520235947693,27.105188818309866],[-105.95450182345559,27.122627818309862],[-106.07074763534115,27.051331318309856],[-106.12948574382648,26.96188181830986]]],[[[-106.26500385364164,26.420801818309865],[-106.32611361105057,26.379614818309857],[-106.2894856754333,26.338045318309863],[-106.08465366443977,26.37240431830985],[-106.0640210422522,26.45111081830986],[-106.08797909227519,26.488280818309867],[-106.26500385364164,26.420801818309865]]],[[[-106.67206650899425,26.95104881830986],[-106.6873714878177,26.90788931830986],[-106.61477297142841,26.820842818309867],[-106.6383870557139,26.744791318309865],[-106.62453700158454,26.683558318309863],[-106.41552673236328,26.727800818309866],[-106.34284288111968,26.811532318309858],[-106.40247833141177,26.922956818309856],[-106.48364519658372,26.968849318309864],[-106.5901027113996,26.97557381830986],[-106.67206650899425,26.95104881830986]]],[[[-106.8743512794174,27.318584818309862],[-106.95385906910991,27.233378818309863],[-106.87365102641508,27.212443318309862],[-106.60839510156171,27.23390231830986],[-106.329971986028,27.154888318309858],[-106.20841720535509,27.18158081830986],[-106.09137759463795,27.247942318309864],[-106.02160452204271,27.31892081830987],[-106.06224098311128,27.34525931830986],[-106.32955113075946,27.334470268309868],[-106.37476177712728,27.39913481830986],[-106.50153299140214,27.367301818309862],[-106.81478829708749,27.41946431830987],[-106.8196443467553,27.357539818309863],[-106.8743512794174,27.318584818309862]]],[[[-108.08537911421956,27.956647318309855],[-108.15636510038496,27.949121818309855],[-108.1156589928778,27.866723818309865],[-108.13756652906989,27.81233831830986],[-108.09224078139147,27.726047818309866],[-108.10058365361573,27.68738831830986],[-108.05814130288644,27.64163831830986],[-108.04214174918206,27.527788318309856],[-107.84997603965871,27.554785318309857],[-107.71746916811958,27.540688318309865],[-107.62212128030012,27.467488318309854],[-107.53293144170925,27.497938318309867],[-107.45448649656424,27.476938318309855],[-107.3634024933304,27.54485876830986],[-107.42101311573185,27.618688318309857],[-107.38596655759613,27.76977581830987],[-107.44801920449714,27.772940818309863],[-107.53317700821418,27.74138831830986],[-107.56667011614633,27.781058818309862],[-107.52039554540318,27.87585581830987],[-107.62047543510062,28.149994318309865],[-107.76605754930574,28.087760818309864],[-107.92373977521368,27.96104681830986],[-108.08537911421956,27.956647318309855]]],[[[-110.1564241170338,28.67828381830987],[-110.18617122941907,28.60913981830986],[-110.16065456471978,28.547596318309864],[-110.02674980080172,28.481710318309865],[-109.97949443038658,28.419310318309854],[-109.7542536177283,28.383878818309864],[-109.5482735829072,28.507697818309857],[-109.49386328381894,28.64348531830986],[-109.38664612754872,28.765378318309864],[-109.38223762993277,28.855561318309856],[-109.4901978226747,28.92984281830987],[-109.54119835349013,28.910960818309853],[-109.62045020399529,28.925206318309865],[-109.66924404207424,28.886260318309873],[-109.76383456845343,28.916170318309863],[-110.03502542064291,28.790867818309852],[-110.08058661800197,28.727200318309865],[-110.1564241170338,28.67828381830987]]],[[[-110.99232788883813,28.30365581830986],[-110.94569224533905,28.25021531830986],[-110.82337922274428,28.38283331830986],[-110.6924098319239,28.425058318309862],[-110.68559015283807,28.471880818309852],[-110.60424702528303,28.55252831830987],[-110.60703136258246,28.57550831830986],[-110.68912028625044,28.573805818309864],[-110.75104143207164,28.503886318309867],[-110.85081915407153,28.46451731830986],[-110.92144004514194,28.414613818309856],[-110.99232788883813,28.30365581830986]]]]}},s9e={type:"Feature",properties:{name:"Alaska"},geometry:{type:"MultiPolygon",coordinates:[[[[-122.7926886429708,20.148124827090204],[-122.73342925165485,20.131405920916723],[-122.75745021977383,20.17904909838047],[-122.7926886429708,20.148124827090204]]],[[[-122.99250039142089,19.956898993535294],[-122.84420089151422,19.841417459721914],[-122.792609815177,19.86484231387806],[-122.99250039142089,19.956898993535294]]],[[[-123.02313421964743,20.104441675096734],[-123.0144348107421,20.065435473881923],[-122.994171978581,20.0943529264347],[-123.02313421964743,20.104441675096734]]],[[[-123.08206306798922,20.01904215984973],[-123.04374923122015,19.988796096613253],[-123.05367611453369,20.027877316867272],[-123.08206306798922,20.01904215984973]]],[[[-123.1066441957094,20.117686532237585],[-123.1006695175559,20.082761999607442],[-123.08253884015744,20.093212148384506],[-123.1066441957094,20.117686532237585]]],[[[-123.30632565438282,20.012310506219837],[-123.21850731989173,20.032063172020475],[-123.20101969494323,20.114571229685644],[-123.30632565438282,20.012310506219837]]],[[[-124.05573456261743,20.255607538913612],[-124.06620448573335,20.23820251180781],[-123.99047641535293,20.229550472679545],[-124.05573456261743,20.255607538913612]]],[[[-124.1548565212961,20.084984103342343],[-124.10816366370977,20.04207946654677],[-124.07924884087413,20.119501945955527],[-124.1548565212961,20.084984103342343]]],[[[-124.36952551514105,20.263343147888445],[-124.27207237164424,20.194819909308453],[-124.1543011003863,20.251269599445543],[-124.36952551514105,20.263343147888445]]],[[[-112.3998142680436,24.17642325037664],[-112.28211880509906,23.878308324079025],[-112.12118759458087,23.729587212600244],[-111.89635332782444,23.721806399501364],[-111.95483501009141,23.979313440017748],[-112.20075342784224,24.357703769869165],[-112.36118642705281,24.371218694881772],[-112.3998142680436,24.17642325037664]]],[[[-112.55666854674035,24.57720663570464],[-112.48018521665409,24.162092674496744],[-112.40192443002655,24.392405479322985],[-112.15365647813462,24.51406159062138],[-112.32512941577716,24.689323363053543],[-112.55666854674035,24.57720663570464]]],[[[-112.767715788028,25.240640443244324],[-112.62431793238392,24.675906636708184],[-112.49050057693404,24.79263157018713],[-112.52877771211763,25.065874427029787],[-112.767715788028,25.240640443244324]]],[[[-113.10159766297687,25.001284278742233],[-112.58112757954115,24.333530907501512],[-112.74569268283756,25.07665641164485],[-112.99738561343031,25.134211464229484],[-113.10159766297687,25.001284278742233]]],[[[-116.56777067266773,25.372080578021556],[-116.5310867438032,25.390394584514176],[-116.54560895752809,25.4198290794845],[-116.56777067266773,25.372080578021556]]],[[[-116.87873841076447,24.83162771900214],[-116.83191616629642,24.815600858931923],[-116.8391740527843,24.85298490747943],[-116.87873841076447,24.83162771900214]]],[[[-117.09432944180003,23.854137592351588],[-116.88612571458538,23.623532196939735],[-116.55224237749866,23.957544127256632],[-116.5395491515053,24.167174266583483],[-116.63577149336629,24.20555744232377],[-116.6167892923288,24.290340138012848],[-116.45895469929474,24.37766471697998],[-116.63628974580018,24.528772429776815],[-117.09432944180003,23.854137592351588]]],[[[-117.08524242962187,23.419594244629103],[-116.87678087225572,23.51591594833026],[-117.01745308870113,23.518687247543326],[-117.08524242962187,23.419594244629103]]],[[[-117.27259737622586,23.10383247833345],[-117.23566721895497,23.08390471052284],[-117.22598522279736,23.15539289534735],[-117.27259737622586,23.10383247833345]]],[[[-117.49754493618912,23.174251075797056],[-117.48412399643121,23.138666680296176],[-117.47083796073031,23.174172709179633],[-117.49754493618912,23.174251075797056]]],[[[-117.63127872796593,23.37140265132634],[-117.63870928052455,23.350966653395954],[-117.56138218321382,23.374370774600976],[-117.63127872796593,23.37140265132634]]],[[[-118.257551826542,22.475628165371802],[-118.04544648451815,22.498745192648318],[-118.09232796818412,22.63793840524038],[-118.257551826542,22.475628165371802]]],[[[-118.40025488177304,22.632492074519472],[-118.32273689272233,22.561830815176457],[-118.2446036969784,22.692776046083477],[-118.40025488177304,22.632492074519472]]],[[[-118.49429501567477,24.144676712310247],[-118.46805615064653,24.11240574015076],[-118.40871489637317,24.229540183477578],[-118.49429501567477,24.144676712310247]]],[[[-118.52550771892135,22.558832377733975],[-118.50620250443728,22.536113013958833],[-118.50409824091349,22.564695608270146],[-118.52550771892135,22.558832377733975]]],[[[-118.5865877585444,22.56091811369411],[-118.55530026859964,22.548111661646573],[-118.54821373449738,22.579461946714055],[-118.5865877585444,22.56091811369411]]],[[[-118.83051074575508,22.16783075287409],[-118.80922389593616,22.108491705574245],[-118.71653533280954,22.141665316204325],[-118.83051074575508,22.16783075287409]]],[[[-119.44206445249068,21.822727471649866],[-119.29714269336012,21.860856792151097],[-119.25640162320104,21.944478224327707],[-119.44206445249068,21.822727471649866]]],[[[-119.54714498632268,21.86498061884192],[-119.54183705052935,21.800975583207443],[-119.39517828687826,21.90272162517402],[-119.54714498632268,21.86498061884192]]],[[[-119.86848227420734,24.576437704086796],[-119.5814197084066,24.442349510538047],[-119.47292700533336,24.52633699368084],[-119.53574069829403,24.714248964627757],[-119.86848227420734,24.576437704086796]]],[[[-119.9249089967791,21.391666302622973],[-119.55026969386171,21.698751009984207],[-119.72823093613869,21.735618507092127],[-119.9249089967791,21.391666302622973]]],[[[-119.91265352240941,27.09158174406807],[-119.57775350009905,27.005801622480348],[-119.67386957674177,26.9023702357688],[-119.58870257341846,26.69474725777626],[-119.30227476181528,26.654155412857207],[-118.87522972766965,26.793511069634953],[-118.84261234648397,26.703800834601836],[-118.45847166181625,27.00980727304337],[-118.43133160427317,26.92168214724123],[-118.57200422780761,26.84025343678672],[-118.4326967056997,26.556238708325786],[-118.49876995517559,26.41909909126295],[-118.81363028942485,26.38255339338515],[-118.76630654961383,26.31342647339211],[-118.97174983930131,26.078067637662794],[-119.20543551378546,26.105330309212384],[-119.58389640364737,25.244978458804407],[-119.38586590563159,25.118841139713663],[-119.34697813152405,24.93956318742995],[-119.43558803922309,24.831187395359425],[-119.34286719887473,24.846882062216245],[-119.16112501948436,24.563118976553568],[-118.75126945449256,24.746815529028115],[-118.63568997334562,24.50995781256225],[-118.69771930379716,24.426425942170454],[-118.6516706209203,24.100722576638425],[-118.33276306481594,24.3796056444448],[-118.05268848005323,24.13973077967251],[-117.99398351606777,24.145137335923728],[-117.99379334114701,24.355821700328217],[-117.60731404776988,24.42456243977783],[-117.71962569453603,24.188803199507518],[-117.74466653671624,23.851236383546595],[-117.95773160693767,23.408109787544547],[-118.3122159530148,23.095087152961394],[-118.33248678223595,22.901290881069833],[-118.60058847530621,22.86054943441951],[-118.96871749095885,22.34374965856158],[-119.19313814304877,22.286051845327382],[-119.28475168495464,22.121942084016336],[-119.2545392277982,22.023933408202453],[-118.58211889524989,22.483040434641772],[-118.62397898565416,22.561221965685096],[-118.56824231016105,22.736143628901683],[-118.4895650455253,22.630818262557117],[-117.87314878544231,23.05636233087007],[-117.84135823658607,23.28084278952079],[-116.97374985457293,24.269204824799758],[-116.82537865111641,24.641858729039694],[-116.99083758819108,24.762304144478485],[-116.69518144491565,25.116235235472708],[-116.50359415211392,25.610150487497098],[-116.25722008839188,25.830216920264416],[-116.07628878908105,25.748941131268385],[-116.40232249010313,25.56936203665847],[-116.48378299211805,25.052657628234066],[-116.36518650655506,25.051749798902115],[-116.52300825273079,24.88705143498417],[-116.49553973413128,24.800261991685314],[-116.16304275689492,24.999414502308714],[-115.99650887957375,25.255117878566796],[-115.64699882025326,25.26394442424025],[-115.25738948043409,25.632777124981775],[-113.8542584416004,25.665761176511907],[-113.87474505125448,25.570344932873],[-113.79362400881877,25.47499274376388],[-113.11736529856114,25.082053083178657],[-112.59638111495718,25.18153688381942],[-112.36742132919011,24.752466514459297],[-112.14093538656965,24.61513268686305],[-112.10566958624861,24.533779607601293],[-112.23101958586017,24.40743845548205],[-112.00360782579776,24.258896098372972],[-111.81237609518018,23.845092945708515],[-111.58140576804607,23.805519150148292],[-111.47396461959875,24.06930096812232],[-111.55196208063421,24.444293076324332],[-111.9703728919057,24.579472265161815],[-112.50140661330033,25.389838530563154],[-112.95443390431916,25.843309427485547],[-113.34015164074606,25.353495731980036],[-113.73993627957441,25.770728688816646],[-113.76211319830429,25.915877217149234],[-114.17684125941025,25.821157926221666],[-114.4674954007902,30.058603182302807],[-114.92000596533842,30.198494619521185],[-115.2329101248647,30.048472714348666],[-116.11642404047836,30.122319499829015],[-116.55613179488483,29.99422167628973],[-116.68169464565437,30.1632423042783],[-117.00952268786364,30.0587650795822],[-117.15767550869339,30.18892186883472],[-117.31552630373727,30.02034990423595],[-117.36062246319005,30.051390806535952],[-117.2716808257232,30.138483342089845],[-117.50851485587941,30.19098002268101],[-117.70370029098274,29.961162790596294],[-118.51085523685276,29.542565438282924],[-118.74484072507744,29.26143880726765],[-118.88552489652596,28.90838633225396],[-119.4140220780115,28.682999627104564],[-119.55739985027878,28.40546918539004],[-119.07076292198656,28.189576158340657],[-118.98098101194222,28.004103985279876],[-118.46775239459947,27.697365543116497],[-119.00112904819855,27.468300027762268],[-119.04289473110691,27.520114812560596],[-118.97075062501915,27.70499906028542],[-119.12985936208906,27.682577774435853],[-119.91265352240941,27.09158174406807]]],[[[-120.25557893424866,21.06635194893392],[-119.93716549162576,21.412618618081456],[-120.02808637018944,21.455835197045527],[-120.25557893424866,21.06635194893392]]],[[[-120.40001478272552,22.81584883029637],[-120.37074114275748,22.77863218954447],[-120.3196203074649,22.809874671989384],[-120.40001478272552,22.81584883029637]]],[[[-120.45552486827194,21.023698265833357],[-120.34987457401189,21.04267139342526],[-120.34750233241823,21.162492294968555],[-120.45552486827194,21.023698265833357]]],[[[-120.53177137135572,23.055872356615797],[-120.50260334009988,23.02285507770324],[-120.46904320481201,23.054570449073346],[-120.53177137135572,23.055872356615797]]],[[[-120.60027369388712,20.92398965613366],[-120.59255031118278,20.881214291887122],[-120.53609425216723,20.95792729751363],[-120.60027369388712,20.92398965613366]]],[[[-120.71071841857571,20.83431482126511],[-120.69062311156301,20.811209997474116],[-120.68437756051367,20.84300519896518],[-120.71071841857571,20.83431482126511]]],[[[-120.73807825525381,25.951492866015975],[-120.28054924770879,25.775464287051925],[-120.10479060338628,25.92386908651319],[-120.40918321722211,26.071826545487646],[-120.71220585390631,26.057850841335693],[-120.73807825525381,25.951492866015975]]],[[[-121.00322948139103,20.685340060512395],[-120.93302174690507,20.711069573167762],[-120.96684507192828,20.732281955195724],[-121.00322948139103,20.685340060512395]]],[[[-121.06842057392294,24.558128282376558],[-121.06999794635101,24.46426119094211],[-120.89666016429408,24.4240586570819],[-121.06842057392294,24.558128282376558]]],[[[-121.61079858876042,20.438903042940755],[-121.07742940715599,20.577150710815225],[-121.29363684042534,20.545914702843884],[-121.33364920897407,20.653233860276263],[-121.61079858876042,20.438903042940755]]],[[[-121.98274780574764,20.188330922775798],[-121.63822800780474,20.394472650016933],[-121.78210767811049,20.427116744825227],[-121.98274780574764,20.188330922775798]]],[[[-122.14647603684779,20.179431708097002],[-122.01812324794764,20.195841899922],[-122.01777516696689,20.29630573059612],[-122.14647603684779,20.179431708097002]]],[[[-122.26657921071478,20.228721883118705],[-122.20015142291044,20.099963943552723],[-122.16586185174111,20.18891127954657],[-122.26657921071478,20.228721883118705]]],[[[-122.4226846062308,20.03998756811677],[-122.3534895953643,20.051841253197676],[-122.37489286016017,20.0760321040194],[-122.4226846062308,20.03998756811677]]],[[[-122.42053257814649,20.16438847431099],[-122.40116476293849,20.126002905416286],[-122.39852576241867,20.175426473502977],[-122.42053257814649,20.16438847431099]]],[[[-122.48650818616852,19.891343872718856],[-122.4263654792743,19.932766028298474],[-122.44633659142414,19.962707388305827],[-122.48650818616852,19.891343872718856]]]]}},I0="_FeatureMin",A0="_FeatureMax",gW=e=>fW[e]||e,n9e=s9e,r9e=o9e,fW={AL:"Alabama",AK:"Alaska",AZ:"Arizona",AR:"Arkansas",CA:"California",CO:"Colorado",CT:"Connecticut",DE:"Delaware",FL:"Florida",GA:"Georgia",HI:"Hawaii",ID:"Idaho",IL:"Illinois",IN:"Indiana",IA:"Iowa",KS:"Kansas",KY:"Kentucky",LA:"Louisiana",ME:"Maine",MD:"Maryland",MA:"Massachusetts",MI:"Michigan",MN:"Minnesota",MS:"Mississippi",MO:"Missouri",MT:"Montana",NE:"Nebraska",NV:"Nevada",NH:"New Hampshire",NJ:"New Jersey",NM:"New Mexico",NY:"New York",NC:"North Carolina",ND:"North Dakota",OH:"Ohio",OK:"Oklahoma",OR:"Oregon",PA:"Pennsylvania",RI:"Rhode Island",SC:"South Carolina",SD:"South Dakota",TN:"Tennessee",TX:"Texas",UT:"Utah",VT:"Vermont",VA:"Virginia",WA:"Washington",WV:"West Virginia",WI:"Wisconsin",WY:"Wyoming"},a9e={type:"FeatureCollection",features:[{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-79.477,39.721],[-79.477,39.721]]]},properties:{name:I0}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-79.477,39.721],[-79.477,39.721]]]},properties:{name:A0}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-79.477,39.721],[-79.487,39.206],[-79.091,39.472],[-78.707,39.556],[-78.461,39.526],[-78.383,39.622],[-78.082,39.671],[-77.83,39.587],[-77.72,39.321],[-77.46,39.219],[-77.463,39.076],[-77.12,38.934],[-77.039,38.792],[-77.13,38.635],[-76.864,38.269],[-76.591,38.214],[-76.393,38.24],[-76.393,38.389],[-76.518,38.539],[-76.559,38.756],[-76.45,38.941],[-76.425,39.206],[-76.233,39.091],[-76.362,38.939],[-76.336,38.492],[-76.218,38.306],[-75.889,38.241],[-75.899,37.975],[-75.67,37.951],[-75.242,38.027],[-75.049,38.451],[-75.694,38.46],[-75.789,39.722],[-77.469,39.72],[-79.477,39.721]]]},properties:{name:"Maryland"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-96.453,43.5],[-96.522,43.221],[-96.439,43.114],[-96.622,42.779],[-96.446,42.491],[-96.348,42.167],[-96.065,41.793],[-96.118,41.613],[-95.923,41.456],[-95.811,40.887],[-95.889,40.736],[-95.766,40.585],[-94.534,40.571],[-93.136,40.583],[-91.729,40.614],[-91.419,40.378],[-91.34,40.613],[-91.121,40.673],[-90.952,40.954],[-90.957,41.111],[-91.114,41.25],[-91.028,41.424],[-90.701,41.455],[-90.34,41.599],[-90.181,41.812],[-90.161,42.106],[-90.431,42.278],[-90.643,42.508],[-90.701,42.626],[-90.942,42.684],[-91.138,42.904],[-91.175,43.135],[-91.058,43.254],[-91.218,43.501],[-92.449,43.5],[-93.971,43.5],[-94.855,43.501],[-96.453,43.5]]]},properties:{name:"Iowa"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-75.415,39.802],[-75.57,39.839],[-75.789,39.722],[-75.694,38.46],[-75.049,38.451],[-75.089,38.797],[-75.304,38.913],[-75.408,39.265],[-75.528,39.498],[-75.559,39.63],[-75.415,39.802]]]},properties:{name:"Delaware"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-84.806,41.696],[-84.804,40.353],[-84.82,39.105],[-84.462,39.122],[-84.327,39.027],[-84.213,38.806],[-83.852,38.751],[-83.679,38.63],[-83.533,38.702],[-83.287,38.599],[-82.889,38.756],[-82.851,38.604],[-82.594,38.422],[-82.324,38.449],[-82.175,38.608],[-82.209,38.803],[-82.007,39.03],[-81.898,38.93],[-81.678,39.274],[-81.456,39.409],[-81.348,39.346],[-81.129,39.449],[-80.83,39.712],[-80.803,39.919],[-80.607,40.304],[-80.668,40.582],[-80.519,40.639],[-80.519,41.978],[-81.287,41.76],[-81.739,41.489],[-81.995,41.514],[-82.461,41.386],[-82.834,41.588],[-83.067,41.595],[-83.454,41.733],[-84.806,41.696]]]},properties:{name:"Ohio"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-80.519,41.978],[-80.519,40.639],[-80.519,39.721],[-79.477,39.721],[-77.469,39.72],[-75.789,39.722],[-75.57,39.839],[-75.415,39.802],[-74.722,40.154],[-75.187,40.569],[-75.133,40.98],[-74.695,41.357],[-74.982,41.496],[-75.113,41.841],[-75.341,41.993],[-76.462,41.999],[-77.832,41.999],[-79.761,41.999],[-79.762,42.27],[-80.519,41.978]]]},properties:{name:"Pennsylvania"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-104.053,43.001],[-104.053,42.25],[-104.053,41.001],[-102.052,41.002],[-102.052,40.003],[-101.06,40.002],[-99.813,40.001],[-98.076,40.002],[-96.47,40.001],[-95.308,40],[-95.473,40.236],[-95.654,40.323],[-95.766,40.585],[-95.889,40.736],[-95.811,40.887],[-95.923,41.456],[-96.118,41.613],[-96.065,41.793],[-96.348,42.167],[-96.446,42.491],[-96.611,42.506],[-96.698,42.659],[-97.131,42.772],[-97.238,42.853],[-97.858,42.865],[-97.95,42.77],[-98.435,42.929],[-98.499,42.999],[-100.198,42.998],[-102.082,42.999],[-104.053,43.001]]]},properties:{name:"Nebraska"}},{type:"Feature",geometry:{type:"MultiPolygon",coordinates:[[[[-123.237,48.683],[-123.141,48.505],[-122.874,48.418],[-122.743,48.662],[-122.938,48.79],[-123.237,48.683]]],[[[-117.032,48.999],[-118.837,49],[-120.001,48.999],[-121.751,48.997],[-122.758,49.002],[-122.643,48.588],[-122.76,48.143],[-123.004,48.091],[-124.051,48.178],[-124.653,48.391],[-124.722,48.153],[-124.672,47.964],[-124.412,47.691],[-124.319,47.356],[-124.236,47.287],[-124.081,46.735],[-124.081,46.267],[-123.548,46.259],[-123.28,46.145],[-123.116,46.185],[-122.814,45.961],[-122.775,45.68],[-122.263,45.544],[-121.811,45.707],[-121.533,45.727],[-121.085,45.648],[-120.591,45.747],[-120.211,45.726],[-119.966,45.824],[-119.126,45.933],[-118.987,46],[-116.916,45.995],[-117.036,46.41],[-117.042,47.735],[-117.032,48.999]]]]},properties:{name:"Washington"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-88.2,34.996],[-88.098,34.892],[-88.317,33.184],[-88.469,31.933],[-88.395,30.369],[-88.136,30.321],[-88.062,30.645],[-87.797,30.324],[-87.518,30.28],[-87.452,30.344],[-87.4,30.657],[-87.635,30.866],[-87.599,30.997],[-85.894,30.993],[-85.002,31.001],[-85.108,31.186],[-85.042,31.545],[-85.142,31.839],[-85.059,32.136],[-84.892,32.263],[-85.184,32.861],[-85.429,34.125],[-85.605,34.985],[-86.784,34.992],[-88.2,34.996]]]},properties:{name:"Alabama"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-94.618,36.499],[-94.432,35.37],[-94.486,33.638],[-94.354,33.556],[-94.043,33.551],[-94.043,33.019],[-92.223,33.009],[-91.166,33.004],[-91.069,33.233],[-91.216,33.529],[-91.027,33.764],[-91.061,33.878],[-90.895,34.224],[-90.575,34.415],[-90.587,34.616],[-90.474,34.789],[-90.25,34.907],[-90.309,34.996],[-90.091,35.118],[-90.122,35.305],[-89.958,35.542],[-89.957,35.695],[-89.723,35.809],[-89.733,36.001],[-90.369,35.996],[-90.064,36.303],[-90.154,36.495],[-91.127,36.498],[-92.35,36.498],[-93.959,36.499],[-94.618,36.499]]]},properties:{name:"Arkansas"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-109.045,36.999],[-109.046,36.117],[-109.046,34.96],[-109.046,33.875],[-109.047,32.778],[-109.05,31.333],[-108.209,31.333],[-108.208,31.784],[-106.528,31.783],[-106.618,32],[-104.644,32],[-103.064,32.001],[-103.065,32.849],[-103.044,34.079],[-103.043,35.183],[-103.042,36.5],[-103.002,36.5],[-103.002,37],[-104.732,36.993],[-106.006,36.995],[-108.001,37],[-109.045,36.999]]]},properties:{name:"New Mexico"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-103.002,36.5],[-103.042,36.5],[-103.043,35.183],[-103.044,34.079],[-103.065,32.849],[-103.064,32.001],[-104.644,32],[-106.618,32],[-106.528,31.783],[-106.418,31.752],[-106.176,31.456],[-105.954,31.365],[-105.773,31.167],[-105.315,30.817],[-105.001,30.673],[-104.86,30.39],[-104.703,30.212],[-104.672,29.911],[-104.54,29.676],[-104.144,29.383],[-103.789,29.258],[-103.281,28.982],[-102.871,29.242],[-102.809,29.522],[-102.677,29.738],[-102.393,29.766],[-102.301,29.878],[-101.966,29.807],[-101.401,29.738],[-101.255,29.52],[-101.06,29.459],[-100.675,29.1],[-100.5,28.662],[-100.397,28.576],[-100.268,28.25],[-99.932,27.968],[-99.845,27.779],[-99.557,27.614],[-99.43,27.159],[-99.447,27.026],[-99.269,26.843],[-99.111,26.426],[-98.807,26.369],[-98.654,26.236],[-98.443,26.199],[-98.197,26.056],[-97.795,26.055],[-97.423,25.84],[-97.146,25.971],[-97.197,26.306],[-97.323,26.702],[-97.379,27.06],[-97.296,27.427],[-97.141,27.717],[-96.886,28.031],[-96.194,28.502],[-95.382,28.866],[-95.026,29.148],[-94.723,29.331],[-94.595,29.468],[-94.057,29.671],[-93.838,29.691],[-93.929,29.803],[-93.704,30.054],[-93.729,30.545],[-93.531,30.925],[-93.535,31.186],[-93.835,31.586],[-93.803,31.701],[-94.042,31.992],[-94.043,33.019],[-94.043,33.551],[-94.354,33.556],[-94.486,33.638],[-94.842,33.739],[-95.226,33.962],[-95.283,33.878],[-95.557,33.927],[-96.152,33.832],[-96.363,33.694],[-96.593,33.831],[-96.851,33.847],[-96.952,33.945],[-97.206,33.81],[-97.444,33.824],[-97.672,33.991],[-97.866,33.849],[-98.099,34.104],[-98.364,34.157],[-98.737,34.131],[-99.19,34.214],[-99.275,34.387],[-99.696,34.381],[-100,34.561],[-100,35.619],[-100,36.5],[-101.624,36.5],[-103.002,36.5]]]},properties:{name:"Texas"}},{type:"Feature",geometry:{type:"MultiPolygon",coordinates:[[[[-120.368,34.076],[-120.122,33.896],[-120.055,34.038],[-120.368,34.076]]],[[[-124.212,41.998],[-124.063,41.44],[-124.164,41.139],[-124.118,40.989],[-124.41,40.438],[-124.363,40.261],[-124.087,40.078],[-123.852,39.832],[-123.766,39.553],[-123.825,39.361],[-123.691,39.021],[-123.711,38.913],[-123.166,38.475],[-123.004,38.297],[-122.94,38.032],[-122.537,37.83],[-122.394,38.143],[-122.263,38.051],[-122.313,37.777],[-122.163,37.668],[-122.517,37.521],[-122.397,37.187],[-122.106,36.956],[-121.906,36.969],[-121.792,36.815],[-121.97,36.583],[-121.888,36.303],[-121.68,36.166],[-121.272,35.667],[-121.003,35.461],[-120.897,35.248],[-120.636,35.124],[-120.61,34.858],[-120.646,34.581],[-120.451,34.447],[-120.141,34.473],[-119.874,34.409],[-119.617,34.421],[-119.27,34.253],[-119.11,34.095],[-118.805,34.001],[-118.52,34.028],[-118.397,33.736],[-118.133,33.753],[-117.646,33.441],[-117.446,33.269],[-117.281,33.012],[-117.282,32.84],[-117.125,32.534],[-115.465,32.667],[-114.72,32.719],[-114.469,32.845],[-114.511,33.023],[-114.671,33.038],[-114.707,33.377],[-114.525,33.552],[-114.535,33.928],[-114.428,34.093],[-114.139,34.26],[-114.335,34.45],[-114.465,34.691],[-114.634,34.873],[-114.633,35.002],[-115.648,35.809],[-116.488,36.459],[-117.681,37.353],[-118.95,38.269],[-120.001,39],[-119.998,39.957],[-120,41.184],[-119.999,41.995],[-121.035,41.993],[-122.501,42.008],[-124.212,41.998]]]]},properties:{name:"California"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-89.133,36.982],[-89.165,36.662],[-89.539,36.498],[-88.05,36.5],[-88.071,36.678],[-87.853,36.633],[-86.508,36.652],[-85.874,36.624],[-84.785,36.603],[-83.675,36.601],[-83.136,36.743],[-82.895,36.882],[-82.726,37.112],[-82.355,37.265],[-81.968,37.538],[-82.296,37.686],[-82.626,38.135],[-82.594,38.422],[-82.851,38.604],[-82.889,38.756],[-83.287,38.599],[-83.533,38.702],[-83.679,38.63],[-83.852,38.751],[-84.213,38.806],[-84.327,39.027],[-84.462,39.122],[-84.82,39.105],[-84.786,38.882],[-85.187,38.688],[-85.449,38.713],[-85.416,38.546],[-85.816,38.283],[-85.922,38.029],[-86.206,38.022],[-86.321,38.147],[-86.722,37.893],[-86.811,37.997],[-87.18,37.841],[-87.419,37.945],[-87.626,37.852],[-87.873,37.921],[-88.028,37.799],[-88.16,37.654],[-88.062,37.488],[-88.466,37.401],[-88.476,37.068],[-88.932,37.228],[-89.168,37.074],[-89.133,36.982]]]},properties:{name:"Kentucky"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-85.605,34.985],[-85.429,34.125],[-85.184,32.861],[-84.892,32.263],[-85.059,32.136],[-85.142,31.839],[-85.042,31.545],[-85.108,31.186],[-85.002,31.001],[-84.865,30.712],[-83.131,30.624],[-82.219,30.564],[-82.18,30.369],[-82.041,30.37],[-82.033,30.751],[-81.943,30.827],[-81.444,30.71],[-81.402,31.125],[-81.305,31.206],[-81.131,31.723],[-80.886,32.035],[-81.113,32.113],[-81.195,32.465],[-81.397,32.606],[-81.502,33.015],[-81.755,33.152],[-81.933,33.344],[-81.926,33.463],[-82.162,33.611],[-82.324,33.82],[-82.557,33.945],[-82.715,34.148],[-82.874,34.472],[-83.048,34.493],[-83.339,34.682],[-83.324,34.79],[-83.109,35.001],[-84.322,34.988],[-85.605,34.985]]]},properties:{name:"Georgia"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-92.015,46.706],[-92.292,46.663],[-92.294,46.074],[-92.721,45.884],[-92.87,45.715],[-92.647,45.438],[-92.762,45.285],[-92.751,44.942],[-92.805,44.768],[-92.549,44.578],[-91.964,44.362],[-91.893,44.231],[-91.441,44.002],[-91.244,43.773],[-91.218,43.501],[-91.058,43.254],[-91.175,43.135],[-91.138,42.904],[-90.942,42.684],[-90.701,42.626],[-90.643,42.508],[-88.707,42.494],[-87.8,42.492],[-87.767,42.785],[-87.896,43.016],[-87.889,43.308],[-87.706,43.68],[-87.736,43.874],[-87.447,44.586],[-87.063,45.079],[-87.265,45.081],[-87.581,44.852],[-87.775,44.639],[-87.983,44.72],[-87.813,44.954],[-87.59,45.095],[-87.863,45.353],[-87.781,45.674],[-88.135,45.822],[-88.115,45.922],[-88.527,46.021],[-88.812,46.022],[-89.092,46.139],[-90.12,46.337],[-90.215,46.5],[-90.418,46.566],[-90.755,46.646],[-90.881,46.74],[-90.745,46.894],[-90.924,47.002],[-91.168,46.845],[-91.82,46.69],[-92.015,46.706]]]},properties:{name:"Wisconsin"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-123.548,46.259],[-123.959,46.142],[-123.939,45.709],[-123.975,45.145],[-124.074,44.798],[-124.065,44.633],[-124.15,43.911],[-124.234,43.557],[-124.552,42.841],[-124.413,42.658],[-124.411,42.251],[-124.212,41.998],[-122.501,42.008],[-121.035,41.993],[-119.999,41.995],[-118.776,41.993],[-117.026,42],[-117.024,43.824],[-116.896,44.154],[-117.243,44.391],[-117.062,44.727],[-116.834,44.929],[-116.675,45.314],[-116.464,45.616],[-116.593,45.779],[-116.788,45.84],[-116.916,45.995],[-118.987,46],[-119.126,45.933],[-119.966,45.824],[-120.211,45.726],[-120.591,45.747],[-121.085,45.648],[-121.533,45.727],[-121.811,45.707],[-122.263,45.544],[-122.775,45.68],[-122.814,45.961],[-123.116,46.185],[-123.28,46.145],[-123.548,46.259]]]},properties:{name:"Oregon"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-95.766,40.585],[-95.654,40.323],[-95.473,40.236],[-95.308,40],[-94.86,39.75],[-95.114,39.554],[-94.8,39.206],[-94.607,39.113],[-94.613,38.238],[-94.618,36.999],[-94.618,36.499],[-93.959,36.499],[-92.35,36.498],[-91.127,36.498],[-90.154,36.495],[-90.064,36.303],[-90.369,35.996],[-89.733,36.001],[-89.523,36.345],[-89.539,36.498],[-89.165,36.662],[-89.133,36.982],[-89.359,37.043],[-89.495,37.325],[-89.522,37.696],[-90.219,38.094],[-90.373,38.323],[-90.185,38.612],[-90.113,38.849],[-90.468,38.962],[-90.657,38.92],[-90.73,39.256],[-91.038,39.448],[-91.368,39.729],[-91.512,40.17],[-91.419,40.378],[-91.729,40.614],[-93.136,40.583],[-94.534,40.571],[-95.766,40.585]]]},properties:{name:"Missouri"}},{type:"Feature",geometry:{type:"MultiPolygon",coordinates:[[[[-75.67,37.951],[-75.941,37.564],[-76.023,37.289],[-75.817,37.193],[-75.658,37.452],[-75.552,37.748],[-75.242,38.027],[-75.67,37.951]]],[[[-81.968,37.538],[-82.355,37.265],[-82.726,37.112],[-82.895,36.882],[-83.136,36.743],[-83.675,36.601],[-81.678,36.588],[-80.295,36.544],[-78.51,36.541],[-76.917,36.546],[-75.867,36.551],[-75.996,36.922],[-76.268,36.965],[-76.394,37.225],[-76.25,37.422],[-76.329,37.671],[-76.237,37.889],[-76.614,38.149],[-76.962,38.214],[-77.048,38.36],[-77.265,38.333],[-77.323,38.467],[-77.13,38.635],[-77.039,38.792],[-77.12,38.934],[-77.463,39.076],[-77.46,39.219],[-77.72,39.321],[-77.828,39.132],[-78.347,39.466],[-78.414,39.158],[-78.773,38.894],[-78.999,38.84],[-79.298,38.416],[-79.649,38.592],[-79.788,38.273],[-80.292,37.684],[-80.292,37.537],[-80.545,37.475],[-80.919,37.306],[-81.225,37.235],[-81.362,37.338],[-81.561,37.207],[-81.85,37.285],[-81.968,37.538]]]]},properties:{name:"Virginia"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-89.733,36.001],[-89.723,35.809],[-89.957,35.695],[-89.958,35.542],[-90.122,35.305],[-90.091,35.118],[-90.309,34.996],[-89.435,34.994],[-88.2,34.996],[-86.784,34.992],[-85.605,34.985],[-84.322,34.988],[-84.283,35.227],[-84.098,35.247],[-84.022,35.407],[-83.772,35.562],[-83.498,35.563],[-83.162,35.763],[-82.978,35.783],[-82.779,35.993],[-82.211,36.159],[-82.029,36.124],[-81.908,36.302],[-81.734,36.413],[-81.678,36.588],[-83.675,36.601],[-84.785,36.603],[-85.874,36.624],[-86.508,36.652],[-87.853,36.633],[-88.071,36.678],[-88.05,36.5],[-89.539,36.498],[-89.523,36.345],[-89.733,36.001]]]},properties:{name:"Tennessee"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-94.043,33.019],[-94.042,31.992],[-93.803,31.701],[-93.835,31.586],[-93.535,31.186],[-93.531,30.925],[-93.729,30.545],[-93.704,30.054],[-93.929,29.803],[-93.838,29.691],[-93.538,29.763],[-93.177,29.77],[-92.684,29.605],[-92.323,29.531],[-92.065,29.586],[-91.822,29.474],[-91.711,29.569],[-91.394,29.497],[-91.279,29.248],[-90.942,29.162],[-90.868,29.056],[-90.224,29.085],[-89.843,29.319],[-89.483,29.215],[-89.361,29.072],[-89.149,29.03],[-89.014,29.167],[-89.2,29.344],[-89.482,29.406],[-89.602,29.61],[-89.404,29.682],[-89.236,29.877],[-89.186,30.064],[-89.445,30.061],[-89.702,29.874],[-89.845,30.018],[-89.525,30.181],[-89.608,30.217],[-89.836,30.727],[-89.728,31.002],[-90.759,31],[-91.56,31.05],[-91.644,31.234],[-91.536,31.338],[-91.36,31.799],[-91.035,32.101],[-90.921,32.342],[-91.053,32.438],[-91.114,32.74],[-91.072,32.938],[-91.166,33.004],[-92.223,33.009],[-94.043,33.019]]]},properties:{name:"Louisiana"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-79.762,42.27],[-79.761,41.999],[-77.832,41.999],[-76.462,41.999],[-75.341,41.993],[-75.113,41.841],[-74.982,41.496],[-74.695,41.357],[-73.894,40.997],[-74.087,40.652],[-74.261,40.502],[-73.013,40.68],[-71.937,41.006],[-72.283,41.068],[-72.585,40.998],[-73.11,40.972],[-73.229,40.905],[-73.657,40.985],[-73.728,41.101],[-73.551,41.295],[-73.487,42.05],[-73.508,42.086],[-73.265,42.746],[-73.242,43.535],[-73.415,43.658],[-73.351,43.77],[-73.437,44.043],[-73.294,44.441],[-73.39,44.62],[-73.343,45.011],[-74.234,44.992],[-74.835,45.015],[-75.256,44.858],[-75.766,44.516],[-75.95,44.349],[-76.287,44.204],[-76.412,43.926],[-76.229,43.804],[-76.236,43.529],[-76.418,43.521],[-76.685,43.353],[-76.952,43.271],[-77.341,43.281],[-77.551,43.236],[-77.76,43.341],[-78.547,43.37],[-79.07,43.262],[-79.074,43.078],[-78.851,42.792],[-79.139,42.564],[-79.762,42.27]]]},properties:{name:"New York"}},{type:"Feature",geometry:{type:"MultiPolygon",coordinates:[[[[-83.454,41.733],[-83.442,41.809],[-83.134,42.088],[-83.097,42.29],[-82.924,42.352],[-82.859,42.542],[-82.679,42.522],[-82.51,42.637],[-82.416,43.006],[-82.523,43.225],[-82.634,43.831],[-82.929,44.069],[-83.407,43.92],[-83.683,43.591],[-83.948,43.735],[-83.869,43.961],[-83.584,44.057],[-83.525,44.262],[-83.337,44.333],[-83.266,45.027],[-83.385,45.274],[-84.196,45.621],[-84.462,45.652],[-84.719,45.778],[-84.867,45.752],[-85.12,45.569],[-85.041,45.437],[-85.372,45.271],[-85.381,45.046],[-86.059,44.911],[-86.089,44.741],[-86.248,44.699],[-86.269,44.345],[-86.515,44.058],[-86.431,43.841],[-86.541,43.645],[-86.255,43.083],[-86.208,42.763],[-86.356,42.254],[-86.598,41.918],[-86.825,41.76],[-84.806,41.76],[-84.806,41.696],[-83.454,41.733]]],[[[-89.221,47.908],[-89.158,47.824],[-88.579,48.041],[-88.632,48.148],[-89.221,47.908]]],[[[-90.418,46.566],[-90.215,46.5],[-90.12,46.337],[-89.092,46.139],[-88.812,46.022],[-88.527,46.021],[-88.115,45.922],[-88.135,45.822],[-87.781,45.674],[-87.863,45.353],[-87.59,45.095],[-87.172,45.662],[-86.964,45.673],[-86.773,45.811],[-86.541,45.708],[-86.278,45.942],[-85.914,45.919],[-85.541,46.08],[-85.152,46.051],[-84.793,45.859],[-84.633,45.951],[-84.08,45.971],[-83.526,45.919],[-83.599,46.09],[-83.882,46.042],[-84.115,46.174],[-84.118,46.518],[-84.969,46.476],[-85.028,46.675],[-85.257,46.753],[-85.482,46.68],[-86.138,46.673],[-86.558,46.487],[-86.811,46.45],[-86.977,46.527],[-87.367,46.507],[-87.595,46.783],[-88.144,46.967],[-88.455,46.923],[-88.194,47.209],[-87.943,47.336],[-87.929,47.479],[-88.218,47.449],[-89.415,46.844],[-89.832,46.804],[-90.045,46.668],[-90.418,46.566]]]]},properties:{name:"Michigan"}},r9e,{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-116.916,45.995],[-116.788,45.84],[-116.593,45.779],[-116.464,45.616],[-116.675,45.314],[-116.834,44.929],[-117.062,44.727],[-117.243,44.391],[-116.896,44.154],[-117.024,43.824],[-117.026,42],[-115.87,41.997],[-114.042,41.994],[-112.11,41.998],[-111.047,42.002],[-111.045,43.316],[-111.049,44.474],[-111.324,44.724],[-111.563,44.555],[-112.473,44.48],[-113.007,44.472],[-113.131,44.765],[-113.422,44.843],[-113.452,45.059],[-113.736,45.325],[-113.807,45.602],[-113.972,45.701],[-114.279,45.481],[-114.506,45.559],[-114.402,45.961],[-114.48,46.03],[-114.422,46.387],[-114.321,46.647],[-114.547,46.644],[-114.943,46.868],[-115.327,47.256],[-115.71,47.418],[-115.724,47.697],[-116.049,48],[-116.049,49.001],[-117.032,48.999],[-117.042,47.735],[-117.036,46.41],[-116.916,45.995]]]},properties:{name:"Idaho"}},{type:"Feature",geometry:{type:"MultiPolygon",coordinates:[[[[-81.812,24.569],[-81.685,24.559],[-81.243,24.674],[-81.444,24.813],[-81.751,24.654],[-81.812,24.569]]],[[[-85.002,31.001],[-85.894,30.993],[-87.599,30.997],[-87.635,30.866],[-87.4,30.657],[-87.452,30.344],[-87.518,30.28],[-86.633,30.396],[-86.223,30.344],[-86,30.271],[-85.385,29.921],[-85.353,29.66],[-85.045,29.587],[-84.565,29.81],[-84.29,30.057],[-84.063,30.101],[-83.679,29.919],[-83.402,29.523],[-83.17,29.29],[-82.824,29.099],[-82.657,28.545],[-82.764,28.244],[-82.86,28.174],[-82.847,27.854],[-82.705,27.625],[-82.692,27.437],[-82.54,27.254],[-82.265,26.757],[-82.181,26.476],[-81.924,26.437],[-81.845,26.328],[-81.727,25.907],[-81.384,25.777],[-81.147,25.408],[-81.171,25.246],[-81.08,25.119],[-80.812,25.186],[-80.495,25.2],[-80.358,25.153],[-80.301,25.613],[-80.11,25.818],[-80.11,26.087],[-80.039,26.569],[-80.046,26.859],[-80.384,27.74],[-80.548,28.049],[-80.607,28.336],[-80.525,28.459],[-80.584,28.598],[-80.966,29.148],[-81.257,29.785],[-81.396,30.34],[-81.444,30.71],[-81.943,30.827],[-82.033,30.751],[-82.041,30.37],[-82.18,30.369],[-82.219,30.564],[-83.131,30.624],[-84.865,30.712],[-85.002,31.001]]]]},properties:{name:"Florida"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-91.419,40.378],[-91.512,40.17],[-91.368,39.729],[-91.038,39.448],[-90.73,39.256],[-90.657,38.92],[-90.468,38.962],[-90.113,38.849],[-90.185,38.612],[-90.373,38.323],[-90.219,38.094],[-89.522,37.696],[-89.495,37.325],[-89.359,37.043],[-89.133,36.982],[-89.168,37.074],[-88.932,37.228],[-88.476,37.068],[-88.466,37.401],[-88.062,37.488],[-88.16,37.654],[-88.028,37.799],[-88.031,38.031],[-87.499,38.758],[-87.625,39.102],[-87.532,39.348],[-87.526,40.535],[-87.524,41.708],[-87.682,42.076],[-87.835,42.302],[-87.8,42.492],[-88.707,42.494],[-90.643,42.508],[-90.431,42.278],[-90.161,42.106],[-90.181,41.812],[-90.34,41.599],[-90.701,41.455],[-91.028,41.424],[-91.114,41.25],[-90.957,41.111],[-90.952,40.954],[-91.121,40.673],[-91.34,40.613],[-91.419,40.378]]]},properties:{name:"Illinois"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-116.049,49.001],[-116.049,48],[-115.724,47.697],[-115.71,47.418],[-115.327,47.256],[-114.943,46.868],[-114.547,46.644],[-114.321,46.647],[-114.422,46.387],[-114.48,46.03],[-114.402,45.961],[-114.506,45.559],[-114.279,45.481],[-113.972,45.701],[-113.807,45.602],[-113.736,45.325],[-113.452,45.059],[-113.422,44.843],[-113.131,44.765],[-113.007,44.472],[-112.473,44.48],[-111.563,44.555],[-111.324,44.724],[-111.049,44.474],[-111.044,45.001],[-108.621,45],[-106.264,44.994],[-104.058,44.997],[-104.045,45.945],[-104.042,47.803],[-104.049,49],[-106.051,48.999],[-107.441,48.999],[-109.001,48.999],[-111.501,48.997],[-113.693,48.998],[-116.049,49.001]]]},properties:{name:"Montana"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-97.229,49.001],[-97.1,48.668],[-97.147,48.169],[-96.854,47.572],[-96.791,46.637],[-96.601,46.32],[-96.564,45.935],[-96.587,45.816],[-96.826,45.654],[-96.711,45.437],[-96.458,45.308],[-96.453,43.5],[-94.855,43.501],[-93.971,43.5],[-92.449,43.5],[-91.218,43.501],[-91.244,43.773],[-91.441,44.002],[-91.893,44.231],[-91.964,44.362],[-92.549,44.578],[-92.805,44.768],[-92.751,44.942],[-92.762,45.285],[-92.647,45.438],[-92.87,45.715],[-92.721,45.884],[-92.294,46.074],[-92.292,46.663],[-92.015,46.706],[-92.062,46.804],[-91.457,47.139],[-90.868,47.557],[-90.537,47.703],[-89.974,47.831],[-89.868,47.99],[-90.136,48.112],[-90.704,48.096],[-90.844,48.244],[-91.25,48.084],[-91.543,48.053],[-91.715,48.199],[-91.981,48.248],[-92.955,48.631],[-93.207,48.642],[-93.468,48.546],[-93.815,48.527],[-93.844,48.629],[-94.447,48.693],[-94.694,48.789],[-94.816,49.321],[-95.153,49.384],[-95.154,48.999],[-97.229,49.001]]]},properties:{name:"Minnesota"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-87.524,41.708],[-87.526,40.535],[-87.532,39.348],[-87.625,39.102],[-87.499,38.758],[-88.031,38.031],[-88.028,37.799],[-87.873,37.921],[-87.626,37.852],[-87.419,37.945],[-87.18,37.841],[-86.811,37.997],[-86.722,37.893],[-86.321,38.147],[-86.206,38.022],[-85.922,38.029],[-85.816,38.283],[-85.416,38.546],[-85.449,38.713],[-85.187,38.688],[-84.786,38.882],[-84.82,39.105],[-84.804,40.353],[-84.806,41.696],[-84.806,41.76],[-86.825,41.76],[-87.262,41.62],[-87.524,41.708]]]},properties:{name:"Indiana"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-73.265,42.746],[-73.508,42.086],[-73.487,42.05],[-71.799,42.008],[-71.381,42.019],[-71.329,41.783],[-71.133,41.66],[-71.121,41.497],[-70.91,41.577],[-70.734,41.486],[-70.322,41.631],[-70.662,41.961],[-70.731,42.211],[-70.975,42.356],[-70.655,42.582],[-70.817,42.872],[-71.15,42.815],[-71.294,42.697],[-72.459,42.727],[-73.265,42.746]]]},properties:{name:"Massachusetts"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-102.052,40.003],[-102.046,38.698],[-102.042,36.993],[-100.856,36.999],[-99.129,36.999],[-97.462,36.999],[-95.787,36.999],[-94.618,36.999],[-94.613,38.238],[-94.607,39.113],[-94.8,39.206],[-95.114,39.554],[-94.86,39.75],[-95.308,40],[-96.47,40.001],[-98.076,40.002],[-99.813,40.001],[-101.06,40.002],[-102.052,40.003]]]},properties:{name:"Kansas"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-119.999,41.995],[-120,41.184],[-119.998,39.957],[-120.001,39],[-118.95,38.269],[-117.681,37.353],[-116.488,36.459],[-115.648,35.809],[-114.633,35.002],[-114.573,35.139],[-114.664,35.449],[-114.736,36.104],[-114.372,36.143],[-114.152,36.025],[-114.047,36.194],[-114.051,37],[-114.05,37.881],[-114.049,39.006],[-114.046,40.398],[-114.042,41.994],[-115.87,41.997],[-117.026,42],[-118.776,41.993],[-119.999,41.995]]]},properties:{name:"Nevada"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-73.343,45.011],[-73.39,44.62],[-73.294,44.441],[-73.437,44.043],[-73.351,43.77],[-73.415,43.658],[-73.242,43.535],[-73.265,42.746],[-72.459,42.727],[-72.54,42.805],[-72.445,43.004],[-72.379,43.574],[-72.183,43.808],[-72.037,44.103],[-72.046,44.292],[-71.819,44.353],[-71.58,44.502],[-71.627,44.747],[-71.501,45.013],[-72.349,45.006],[-73.343,45.011]]]},properties:{name:"Vermont"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-73.487,42.05],[-73.551,41.295],[-73.728,41.101],[-73.657,40.985],[-73.422,41.048],[-72.936,41.258],[-72.547,41.25],[-71.861,41.32],[-71.798,41.417],[-71.799,42.008],[-73.487,42.05]]]},properties:{name:"Connecticut"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-75.415,39.802],[-75.559,39.63],[-75.528,39.498],[-75.244,39.286],[-74.886,39.144],[-74.647,39.212],[-74.413,39.361],[-74.101,39.756],[-73.971,40.348],[-74.261,40.502],[-74.087,40.652],[-73.894,40.997],[-74.695,41.357],[-75.133,40.98],[-75.187,40.569],[-74.722,40.154],[-75.415,39.802]]]},properties:{name:"New Jersey"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-81.678,36.588],[-81.734,36.413],[-81.908,36.302],[-82.029,36.124],[-82.211,36.159],[-82.779,35.993],[-82.978,35.783],[-83.162,35.763],[-83.498,35.563],[-83.772,35.562],[-84.022,35.407],[-84.098,35.247],[-84.283,35.227],[-84.322,34.988],[-83.109,35.001],[-82.411,35.202],[-81.043,35.149],[-80.782,34.936],[-80.797,34.824],[-79.675,34.805],[-78.541,33.851],[-78.137,33.912],[-77.96,33.853],[-77.829,34.163],[-77.635,34.36],[-77.137,34.633],[-76.727,34.697],[-76.536,34.589],[-76.137,34.988],[-75.913,35.12],[-75.534,35.226],[-75.459,35.597],[-75.718,36.114],[-75.867,36.551],[-76.917,36.546],[-78.51,36.541],[-80.295,36.544],[-81.678,36.588]]]},properties:{name:"North Carolina"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-114.042,41.994],[-114.046,40.398],[-114.049,39.006],[-114.05,37.881],[-114.051,37],[-112.966,37],[-111.278,37],[-110.001,36.998],[-109.045,36.999],[-109.042,38.165],[-109.06,38.275],[-109.051,39.875],[-109.05,41.001],[-111.047,40.998],[-111.047,42.002],[-112.11,41.998],[-114.042,41.994]]]},properties:{name:"Utah"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-104.049,49],[-104.042,47.803],[-104.045,45.945],[-102.088,45.945],[-100.762,45.944],[-99.49,45.94],[-97.777,45.935],[-96.564,45.935],[-96.601,46.32],[-96.791,46.637],[-96.854,47.572],[-97.147,48.169],[-97.1,48.668],[-97.229,49.001],[-98.869,49],[-99.914,48.999],[-102.217,48.999],[-104.049,49]]]},properties:{name:"North Dakota"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-83.109,35.001],[-83.324,34.79],[-83.339,34.682],[-83.048,34.493],[-82.874,34.472],[-82.715,34.148],[-82.557,33.945],[-82.324,33.82],[-82.162,33.611],[-81.926,33.463],[-81.933,33.344],[-81.755,33.152],[-81.502,33.015],[-81.397,32.606],[-81.195,32.465],[-81.113,32.113],[-80.886,32.035],[-80.338,32.479],[-80.001,32.606],[-79.57,32.927],[-79.36,33.007],[-79.215,33.156],[-79.135,33.404],[-78.773,33.769],[-78.541,33.851],[-79.675,34.805],[-80.797,34.824],[-80.782,34.936],[-81.043,35.149],[-82.411,35.202],[-83.109,35.001]]]},properties:{name:"South Carolina"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-91.166,33.004],[-91.072,32.938],[-91.114,32.74],[-91.053,32.438],[-90.921,32.342],[-91.035,32.101],[-91.36,31.799],[-91.536,31.338],[-91.644,31.234],[-91.56,31.05],[-90.759,31],[-89.728,31.002],[-89.836,30.727],[-89.608,30.217],[-89.525,30.181],[-89.345,30.293],[-88.894,30.393],[-88.472,30.32],[-88.395,30.369],[-88.469,31.933],[-88.317,33.184],[-88.098,34.892],[-88.2,34.996],[-89.435,34.994],[-90.309,34.996],[-90.25,34.907],[-90.474,34.789],[-90.587,34.616],[-90.575,34.415],[-90.895,34.224],[-91.061,33.878],[-91.027,33.764],[-91.216,33.529],[-91.069,33.233],[-91.166,33.004]]]},properties:{name:"Mississippi"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-109.05,41.001],[-109.051,39.875],[-109.06,38.275],[-109.042,38.165],[-109.045,36.999],[-108.001,37],[-106.006,36.995],[-104.732,36.993],[-103.002,37],[-102.042,36.993],[-102.046,38.698],[-102.052,40.003],[-102.052,41.002],[-104.053,41.001],[-104.855,40.998],[-106.191,40.998],[-107.367,41.003],[-109.05,41.001]]]},properties:{name:"Colorado"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-104.058,44.997],[-104.055,44.25],[-104.053,43.001],[-102.082,42.999],[-100.198,42.998],[-98.499,42.999],[-98.435,42.929],[-97.95,42.77],[-97.858,42.865],[-97.238,42.853],[-97.131,42.772],[-96.698,42.659],[-96.611,42.506],[-96.446,42.491],[-96.622,42.779],[-96.439,43.114],[-96.522,43.221],[-96.453,43.5],[-96.458,45.308],[-96.711,45.437],[-96.826,45.654],[-96.587,45.816],[-96.564,45.935],[-97.777,45.935],[-99.49,45.94],[-100.762,45.944],[-102.088,45.945],[-104.045,45.945],[-104.058,44.997]]]},properties:{name:"South Dakota"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-103.002,37],[-103.002,36.5],[-101.624,36.5],[-100,36.5],[-100,35.619],[-100,34.561],[-99.696,34.381],[-99.275,34.387],[-99.19,34.214],[-98.737,34.131],[-98.364,34.157],[-98.099,34.104],[-97.866,33.849],[-97.672,33.991],[-97.444,33.824],[-97.206,33.81],[-96.952,33.945],[-96.851,33.847],[-96.593,33.831],[-96.363,33.694],[-96.152,33.832],[-95.557,33.927],[-95.283,33.878],[-95.226,33.962],[-94.842,33.739],[-94.486,33.638],[-94.432,35.37],[-94.618,36.499],[-94.618,36.999],[-95.787,36.999],[-97.462,36.999],[-99.129,36.999],[-100.856,36.999],[-102.042,36.993],[-103.002,37]]]},properties:{name:"Oklahoma"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-104.058,44.997],[-106.264,44.994],[-108.621,45],[-111.044,45.001],[-111.049,44.474],[-111.045,43.316],[-111.047,42.002],[-111.047,40.998],[-109.05,41.001],[-107.367,41.003],[-106.191,40.998],[-104.855,40.998],[-104.053,41.001],[-104.053,42.25],[-104.053,43.001],[-104.055,44.25],[-104.058,44.997]]]},properties:{name:"Wyoming"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-82.594,38.422],[-82.626,38.135],[-82.296,37.686],[-81.968,37.538],[-81.85,37.285],[-81.561,37.207],[-81.362,37.338],[-81.225,37.235],[-80.919,37.306],[-80.545,37.475],[-80.292,37.537],[-80.292,37.684],[-79.788,38.273],[-79.649,38.592],[-79.298,38.416],[-78.999,38.84],[-78.773,38.894],[-78.414,39.158],[-78.347,39.466],[-77.828,39.132],[-77.72,39.321],[-77.83,39.587],[-78.082,39.671],[-78.383,39.622],[-78.461,39.526],[-78.707,39.556],[-79.091,39.472],[-79.487,39.206],[-79.477,39.721],[-80.519,39.721],[-80.519,40.639],[-80.668,40.582],[-80.607,40.304],[-80.803,39.919],[-80.83,39.712],[-81.129,39.449],[-81.348,39.346],[-81.456,39.409],[-81.678,39.274],[-81.898,38.93],[-82.007,39.03],[-82.209,38.803],[-82.175,38.608],[-82.324,38.449],[-82.594,38.422]]]},properties:{name:"West Virginia"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-71.084,45.305],[-71.037,44.736],[-70.973,43.57],[-70.984,43.376],[-70.704,43.06],[-70.554,43.322],[-70.416,43.361],[-70.168,43.675],[-69.916,43.775],[-69.321,43.857],[-69.077,43.974],[-68.439,44.116],[-68.126,44.387],[-67.855,44.419],[-67.449,44.6],[-67.293,44.599],[-66.95,44.817],[-67.112,45.112],[-67.48,45.268],[-67.417,45.502],[-67.803,45.678],[-67.78,45.938],[-67.79,47.066],[-68.204,47.34],[-68.362,47.356],[-68.901,47.179],[-69.04,47.245],[-69.039,47.422],[-69.22,47.457],[-69.997,46.695],[-70.054,46.429],[-70.291,46.186],[-70.259,45.891],[-70.781,45.431],[-71.084,45.305]]]},properties:{name:"Maine"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-71.501,45.013],[-71.627,44.747],[-71.58,44.502],[-71.819,44.353],[-72.046,44.292],[-72.037,44.103],[-72.183,43.808],[-72.379,43.574],[-72.445,43.004],[-72.54,42.805],[-72.459,42.727],[-71.294,42.697],[-71.15,42.815],[-70.817,42.872],[-70.704,43.06],[-70.984,43.376],[-70.973,43.57],[-71.037,44.736],[-71.084,45.305],[-71.284,45.302],[-71.501,45.013]]]},properties:{name:"New Hampshire"}},n9e,{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-114.72,32.719],[-114.814,32.494],[-113.751,32.169],[-112.365,31.741],[-111.075,31.332],[-109.05,31.333],[-109.047,32.778],[-109.046,33.875],[-109.046,34.96],[-109.046,36.117],[-109.045,36.999],[-110.001,36.998],[-111.278,37],[-112.966,37],[-114.051,37],[-114.047,36.194],[-114.152,36.025],[-114.372,36.143],[-114.736,36.104],[-114.664,35.449],[-114.573,35.139],[-114.633,35.002],[-114.634,34.873],[-114.465,34.691],[-114.335,34.45],[-114.139,34.26],[-114.428,34.093],[-114.535,33.928],[-114.525,33.552],[-114.707,33.377],[-114.671,33.038],[-114.511,33.023],[-114.469,32.845],[-114.72,32.719]]]},properties:{name:"Arizona"}},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-71.861,41.32],[-71.483,41.372],[-71.429,41.454],[-71.121,41.497],[-71.133,41.66],[-71.329,41.783],[-71.381,42.019],[-71.799,42.008],[-71.798,41.417],[-71.861,41.32]]]},properties:{name:"Rhode Island"}}]},l9e={state:a9e},c9e=(e,t,i,o,s)=>{if(e.length===0)return[];if(t!=="state")throw new Error(`Unsupported topology type: ${t}`);if(!e.every(a=>a.hasOwnProperty(t)))throw new Error(`Input data must contain the field: ${t}`);const r=e.map(a=>{const l=gW(a[t]);return{...a,[t]:a[t],name:l}});return r.push({[t]:I0,[i]:o,name:I0}),r.push({[t]:A0,[i]:s,name:A0}),r},d9e=e=>{const t=l9e[e];if(!t)throw new Error(`No topology object found for type: ${e}`);return t},u9e=()=>({getTopologyObject:d9e,buildMapData:c9e}),h9e={style:{width:"30%"}},p9e=["min","max"],g9e={class:"pv-flex pv-space-between pv-text-body-xxs pv-text-subdued"},f9e=m.defineComponent({__name:"MapGradient",props:{min:{default:0},max:{default:100},valueFormatter:{}},setup(e){const t=e,i=o=>t.valueFormatter?t.valueFormatter(o):o.toLocaleString("en-US");return(o,s)=>(m.openBlock(),m.createElementBlock("div",h9e,[m.createElementVNode("div",{min:o.min,max:o.max,"aria-hidden":"true",class:"pv-full-width pv-stack-4",style:{appearance:"none",background:`linear-gradient(
|
|
242
242
|
90deg,
|
|
243
243
|
rgba(226, 247, 245, 1) 0%,
|
|
244
244
|
rgba(168, 230, 225, 1) 10%,
|